@wirecat/cli-memo 0.131.79 → 0.131.80
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/memo.js +2 -2
- package/dist/bundle/{all-profiles-ZMIHTBZD.js → all-profiles-RVKEGURX.js} +5 -5
- package/dist/bundle/{anthropic-PNRUKJHS.js → anthropic-FC6XUSWM.js} +2 -2
- package/dist/bundle/{app-server-RNASTWZO.js → app-server-IRNKU3IF.js} +36 -36
- package/dist/bundle/auto-GTL4YGZX.js +91 -0
- package/dist/bundle/{bun-QU4I5GWB.js → bun-TYBGE5BX.js} +2 -2
- package/dist/bundle/{bun-sqlite-J4KG5VML.js → bun-sqlite-YENHHNPL.js} +3 -3
- package/dist/bundle/{chunk-GJ7KTKIP.js → chunk-2CJIZZSI.js} +12 -12
- package/dist/bundle/{chunk-XO6RP5FV.js → chunk-2FICCBKH.js} +1 -1
- package/dist/bundle/{chunk-IU2QDYBO.js → chunk-3H56E3VI.js} +4 -4
- package/dist/bundle/{chunk-VIZBCX3C.js → chunk-4IKO3JAA.js} +4 -4
- package/dist/bundle/{chunk-5YS4WS74.js → chunk-666J5H2Z.js} +1 -1
- package/dist/bundle/{chunk-U3VXKVKI.js → chunk-6W6CLZKX.js} +12 -12
- package/dist/bundle/{chunk-TBCHID7L.js → chunk-BS5JBNGX.js} +591 -509
- package/dist/bundle/{chunk-CY7WACM7.js → chunk-C2FE62E5.js} +29 -29
- package/dist/bundle/{chunk-QOFD6JSB.js → chunk-C4TAEYDQ.js} +5 -5
- package/dist/bundle/{chunk-PI42ZHZQ.js → chunk-CEGA7A35.js} +2 -2
- package/dist/bundle/{chunk-Q5YM3JWV.js → chunk-CUWTYE5A.js} +2 -2
- package/dist/bundle/{chunk-UYKKJOND.js → chunk-CVQJ7L4C.js} +4 -4
- package/dist/bundle/{chunk-6ZO2ZVKV.js → chunk-DS5SA5QP.js} +5 -5
- package/dist/bundle/{chunk-J2KPUG2X.js → chunk-EOXWI2EX.js} +4 -4
- package/dist/bundle/{chunk-OP5MKU7T.js → chunk-F62N6QMI.js} +1 -1
- package/dist/bundle/{chunk-4XOAQ5EQ.js → chunk-FIJTCBPQ.js} +8 -8
- package/dist/bundle/{chunk-GDSCR5BG.js → chunk-FR646D4S.js} +1 -1
- package/dist/bundle/{chunk-BBJBWSGN.js → chunk-GHYJW4ZH.js} +2 -2
- package/dist/bundle/{chunk-PB4ZGGR4.js → chunk-GNII3UL7.js} +1 -1
- package/dist/bundle/{chunk-2C536VQW.js → chunk-HFQXEMRG.js} +1 -1
- package/dist/bundle/{chunk-RMKJWDVT.js → chunk-HHZMDFE2.js} +45 -45
- package/dist/bundle/{chunk-4FPSZCWN.js → chunk-HKXACNLD.js} +2 -2
- package/dist/bundle/{chunk-2TIK6LHL.js → chunk-HXPU3ABX.js} +362 -299
- package/dist/bundle/{chunk-GTYESBB2.js → chunk-IJUXHUNZ.js} +2 -2
- package/dist/bundle/{chunk-VSSWVVOZ.js → chunk-IW6O2SAG.js} +10 -10
- package/dist/bundle/{chunk-FCHVDLEL.js → chunk-JDQSL2EY.js} +2 -2
- package/dist/bundle/{chunk-ZIDR2CSX.js → chunk-JJ6ODCVQ.js} +2 -2
- package/dist/bundle/{chunk-4BSNHOEV.js → chunk-JPC7GSJO.js} +9 -9
- package/dist/bundle/{chunk-UC5YCXKS.js → chunk-JTQAMVZH.js} +13 -13
- package/dist/bundle/{chunk-46Z7UUCG.js → chunk-K3JEAMTT.js} +1 -1
- package/dist/bundle/{chunk-SM7PB5CU.js → chunk-KDLOSANT.js} +5 -5
- package/dist/bundle/{chunk-DAJEINOF.js → chunk-KNRYIHUJ.js} +281 -281
- package/dist/bundle/{chunk-QNI3Q7XS.js → chunk-KVQY7R66.js} +2 -2
- package/dist/bundle/{chunk-IE6AEPW3.js → chunk-MDIXXKVU.js} +9 -9
- package/dist/bundle/{chunk-SEIRBXJT.js → chunk-MLYPJ4EC.js} +6 -6
- package/dist/bundle/{chunk-DP2RZ6FO.js → chunk-NH7KIGIS.js} +2 -2
- package/dist/bundle/{chunk-H6QELEPY.js → chunk-NUKMYB65.js} +4 -4
- package/dist/bundle/{chunk-CLZHPHKI.js → chunk-OFRIG3CX.js} +3 -3
- package/dist/bundle/{chunk-WN7BSOD2.js → chunk-OH4AIBZF.js} +1 -1
- package/dist/bundle/{chunk-7SGURCSQ.js → chunk-OSE7GXAR.js} +1 -1
- package/dist/bundle/{chunk-LQBVQX47.js → chunk-PX55CRD3.js} +83 -78
- package/dist/bundle/{chunk-MQ6XB6BV.js → chunk-Q46O7KXY.js} +5 -5
- package/dist/bundle/{chunk-A5TSIMI2.js → chunk-R4XCBPD2.js} +1 -1
- package/dist/bundle/{chunk-YJUVVYS6.js → chunk-RUM4GGHP.js} +4 -4
- package/dist/bundle/{chunk-R24Q24U5.js → chunk-RWVB7SLQ.js} +20 -20
- package/dist/bundle/{chunk-CQPXUMIS.js → chunk-S2KXO7MO.js} +1 -1
- package/dist/bundle/{chunk-IHWPNLCI.js → chunk-SGV2Z4BO.js} +148 -148
- package/dist/bundle/{chunk-3GOMBG55.js → chunk-SKX3BNTE.js} +7 -7
- package/dist/bundle/{chunk-O4ZIN4AY.js → chunk-SULQCO3Y.js} +5 -5
- package/dist/bundle/{chunk-JDI7CKLO.js → chunk-TJ2B36VK.js} +7 -7
- package/dist/bundle/{chunk-3HCGK4FN.js → chunk-UBUCTVHB.js} +1 -1
- package/dist/bundle/{chunk-CX3D6D43.js → chunk-UTYGPWUY.js} +3 -3
- package/dist/bundle/{chunk-ZFUYVQII.js → chunk-VQJDYQ55.js} +32 -32
- package/dist/bundle/{chunk-RUHFWDHD.js → chunk-VTBIVTS5.js} +3 -3
- package/dist/bundle/{chunk-24FOGKJI.js → chunk-W26VONC6.js} +5 -5
- package/dist/bundle/{chunk-JX4YNSYT.js → chunk-X3NHAO6T.js} +1 -1
- package/dist/bundle/{chunk-TH3LLEA2.js → chunk-XZJUAG7B.js} +3 -3
- package/dist/bundle/{chunk-HKOHKYDY.js → chunk-ZMLDVE22.js} +6 -6
- package/dist/bundle/{chunk-AWUANCLC.js → chunk-ZMSEKQQQ.js} +1 -1
- package/dist/bundle/{command-contract-4ZJOMSQ2.js → command-contract-SR6ONYV4.js} +11 -11
- package/dist/bundle/{command-server-entry-VSWZ5K2Q.js → command-server-entry-2WXZVYIX.js} +17 -17
- package/dist/bundle/{decode-OPD4OHCW.js → decode-U7VFYQAA.js} +2 -2
- package/dist/bundle/{echarts-AXYKRYU7.js → echarts-2PXBBLLJ.js} +2 -2
- package/dist/bundle/{embed-6DBZRTQ7.js → embed-DPA5QOIR.js} +3 -3
- package/dist/bundle/{embedder-SQI6IDZC.js → embedder-IGI2UTFK.js} +6 -6
- package/dist/bundle/{entry-RV5QAV44.js → entry-7PAYGIQO.js} +5 -5
- package/dist/bundle/{entry-2GKNMGW6.js → entry-IFOQTBXC.js} +5 -5
- package/dist/bundle/failure-NAM37T2T.js +71 -0
- package/dist/bundle/{first-run-BBMUDHYX.js → first-run-WHDDKA4V.js} +5 -5
- package/dist/bundle/{first-screen-4BS5M4JW.js → first-screen-P5C57USR.js} +12 -12
- package/dist/bundle/{instructions-JNAROG65.js → instructions-W7F7OQZS.js} +1 -1
- package/dist/bundle/{mcp-3MBYSBNS.js → mcp-3LAFWOGW.js} +35 -35
- package/dist/bundle/memo.js +3 -3
- package/dist/bundle/{node-6OTEDFSP.js → node-K6MWX3SW.js} +2 -2
- package/dist/bundle/{node-sqlite-HBHJOJX6.js → node-sqlite-WV6GCPEC.js} +4 -4
- package/dist/bundle/{oauth-PVQSSPPE.js → oauth-EH2Y54DG.js} +4 -4
- package/dist/bundle/{open-ARBTD4LX.js → open-PB4W3UAM.js} +2 -2
- package/dist/bundle/{openai-2JRFTWUA.js → openai-76OKHXWR.js} +7 -7
- package/dist/bundle/{process-4ERCV4WX.js → process-FMQ7Q7AI.js} +1 -1
- package/dist/bundle/{program-5KVHPFJU.js → program-BR2QHF36.js} +174 -78
- package/dist/bundle/{prompt-4I34VBPK.js → prompt-AW4T6CC2.js} +2 -2
- package/dist/bundle/{recognize-22BJ7RWB.js → recognize-X5DMT3HH.js} +1 -1
- package/dist/bundle/{remote-BON3MKY5.js → remote-HVKKXNYZ.js} +4 -4
- package/dist/bundle/{rerank-6CCCIZDS.js → rerank-IXMWD7JV.js} +4 -4
- package/dist/bundle/{serve-FB54DFIV.js → serve-42XTYB26.js} +6 -6
- package/dist/bundle/server-HUEXB5QL.js +64 -0
- package/dist/bundle/{server-TL5WPR3I.js → server-NNE7MUYT.js} +52 -52
- package/dist/bundle/server-YLXOJOTR.js +50 -0
- package/dist/bundle/{state-23IF45K6.js → state-EOU37GAH.js} +3 -3
- package/dist/bundle/{store-FGNXSGJU.js → store-F3REYMA6.js} +9 -9
- package/dist/bundle/store-maintenance-command-TOBBH3ZK.js +49 -0
- package/dist/bundle/update-3QB752NL.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +1 -0
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +2 -0
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/document-context.d.ts +14 -0
- package/dist/knowledge/document-context.d.ts.map +1 -0
- package/dist/knowledge/document-context.js +33 -0
- package/dist/knowledge/document-context.js.map +1 -0
- package/dist/knowledge/project-activity-command.d.ts +5 -0
- package/dist/knowledge/project-activity-command.d.ts.map +1 -0
- package/dist/knowledge/project-activity-command.js +71 -0
- package/dist/knowledge/project-activity-command.js.map +1 -0
- package/dist/knowledge/relationships.d.ts +4 -0
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/knowledge/relationships.js +14 -0
- package/dist/knowledge/relationships.js.map +1 -1
- package/dist/knowledge/roles-command.d.ts.map +1 -1
- package/dist/knowledge/roles-command.js +7 -4
- package/dist/knowledge/roles-command.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -0
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-TRSJQGJH.js +0 -91
- package/dist/bundle/failure-7RJ4HOL4.js +0 -71
- package/dist/bundle/server-SG4BOF6U.js +0 -64
- package/dist/bundle/server-UYEXFEEB.js +0 -50
- package/dist/bundle/store-maintenance-command-PDLIZ4J2.js +0 -49
- package/dist/bundle/update-QTZREQD6.js +0 -74
- /package/dist/bundle/{chunk-2AFREBSM.js → chunk-ID2I2X2Z.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MLYPJ4EC.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-K3JEAMTT.js";
|
|
16
16
|
import {
|
|
17
17
|
permissionCeiling
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VTBIVTS5.js";
|
|
19
19
|
import {
|
|
20
20
|
envName,
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZMSEKQQQ.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
CATEGORIES,
|
|
@@ -98,23 +98,23 @@ import {
|
|
|
98
98
|
typedCommand,
|
|
99
99
|
untrusted,
|
|
100
100
|
useAsProcessRun
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-PX55CRD3.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure,
|
|
104
104
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-JJ6ODCVQ.js";
|
|
106
106
|
import {
|
|
107
107
|
readSharedSection,
|
|
108
108
|
sharedConfigPath,
|
|
109
109
|
writeSharedSection
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-RUM4GGHP.js";
|
|
111
111
|
import {
|
|
112
112
|
filesPresent,
|
|
113
113
|
sharedModelsDirectory
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-UTYGPWUY.js";
|
|
115
115
|
import {
|
|
116
116
|
storePath
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-R4XCBPD2.js";
|
|
118
118
|
import {
|
|
119
119
|
configFilePath,
|
|
120
120
|
createRecordLog,
|
|
@@ -3983,7 +3983,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3983
3983
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3984
3984
|
}), "commandsDocument");
|
|
3985
3985
|
|
|
3986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3987
3987
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3988
3988
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3989
3989
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4384,7 +4384,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4384
4384
|
}
|
|
4385
4385
|
}, "assertRetentionEvidenceRead");
|
|
4386
4386
|
|
|
4387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4388
4388
|
var account = strictObject({
|
|
4389
4389
|
provider: text,
|
|
4390
4390
|
id,
|
|
@@ -4394,7 +4394,7 @@ var account = strictObject({
|
|
|
4394
4394
|
scope: optional(picklist(["personal", "work"]))
|
|
4395
4395
|
});
|
|
4396
4396
|
|
|
4397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4398
4398
|
var accountSession = strictObject({
|
|
4399
4399
|
current: boolean(),
|
|
4400
4400
|
client: nullable(text),
|
|
@@ -4404,7 +4404,7 @@ var accountSession = strictObject({
|
|
|
4404
4404
|
created_at: optional(nullable(time))
|
|
4405
4405
|
});
|
|
4406
4406
|
|
|
4407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4408
4408
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4409
4409
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4410
4410
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4433,7 +4433,7 @@ var accountRemoval = strictObject({
|
|
|
4433
4433
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4434
4434
|
});
|
|
4435
4435
|
|
|
4436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4437
4437
|
var accountProfile = strictObject({
|
|
4438
4438
|
profile: id,
|
|
4439
4439
|
current: boolean(),
|
|
@@ -4445,7 +4445,7 @@ var accountProfile = strictObject({
|
|
|
4445
4445
|
bot: optional(literal(true))
|
|
4446
4446
|
});
|
|
4447
4447
|
|
|
4448
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4449
4449
|
var milliseconds = pipe(number(), minValue(0));
|
|
4450
4450
|
var counterReading = strictObject({
|
|
4451
4451
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4457,7 +4457,7 @@ var counterReading = strictObject({
|
|
|
4457
4457
|
});
|
|
4458
4458
|
var selection = record(string(), unknown());
|
|
4459
4459
|
|
|
4460
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4461
4461
|
var adminRow = strictObject({
|
|
4462
4462
|
ref: reference,
|
|
4463
4463
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4510,7 +4510,7 @@ var adminReport = strictObject({
|
|
|
4510
4510
|
rows: array(adminRow)
|
|
4511
4511
|
});
|
|
4512
4512
|
|
|
4513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4514
4514
|
var closeSuggestion = strictObject({
|
|
4515
4515
|
as: picklist(["done", "dismissed"]),
|
|
4516
4516
|
/** The agent's name. */
|
|
@@ -4572,7 +4572,7 @@ var task = strictObject({
|
|
|
4572
4572
|
updated_at: optional(time)
|
|
4573
4573
|
});
|
|
4574
4574
|
|
|
4575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4576
4576
|
var agendaChat = strictObject({
|
|
4577
4577
|
chat: reference,
|
|
4578
4578
|
title: nullable(text),
|
|
@@ -4642,11 +4642,11 @@ var agenda = strictObject({
|
|
|
4642
4642
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4643
4643
|
});
|
|
4644
4644
|
|
|
4645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4646
4646
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4647
4647
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4648
4648
|
|
|
4649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4650
4650
|
var attachment = strictObject({
|
|
4651
4651
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4652
4652
|
message: optional(reference),
|
|
@@ -4684,7 +4684,7 @@ var attachment = strictObject({
|
|
|
4684
4684
|
});
|
|
4685
4685
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
4686
4686
|
|
|
4687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4688
4688
|
var actionableError = objectWithRest({
|
|
4689
4689
|
code: text,
|
|
4690
4690
|
message: text,
|
|
@@ -4701,7 +4701,7 @@ var batchResult = strictObject({
|
|
|
4701
4701
|
max_error_percent: count
|
|
4702
4702
|
});
|
|
4703
4703
|
|
|
4704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4705
4705
|
var extractionItem = strictObject({
|
|
4706
4706
|
ref: reference,
|
|
4707
4707
|
attachment: count,
|
|
@@ -4734,7 +4734,7 @@ var extractionReport = strictObject({
|
|
|
4734
4734
|
cursor: optional(text)
|
|
4735
4735
|
});
|
|
4736
4736
|
|
|
4737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4738
4738
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4739
4739
|
var attachmentBytes = strictObject({
|
|
4740
4740
|
ref: reference,
|
|
@@ -4762,7 +4762,7 @@ var attachmentTextChange = strictObject({
|
|
|
4762
4762
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
4763
4763
|
});
|
|
4764
4764
|
|
|
4765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4766
4766
|
var WEIGHTS = {
|
|
4767
4767
|
bot: 3,
|
|
4768
4768
|
scam: 3,
|
|
@@ -4787,7 +4787,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4787
4787
|
var DIGITS = /\d{5,}/;
|
|
4788
4788
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4789
4789
|
|
|
4790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4791
4791
|
var linkedIdentity = strictObject({
|
|
4792
4792
|
provider: text,
|
|
4793
4793
|
id,
|
|
@@ -4837,7 +4837,7 @@ var contactCheck = strictObject({
|
|
|
4837
4837
|
checked_at: time
|
|
4838
4838
|
});
|
|
4839
4839
|
|
|
4840
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4841
4841
|
var member = strictObject({
|
|
4842
4842
|
id,
|
|
4843
4843
|
name: nullable(text),
|
|
@@ -4860,7 +4860,7 @@ var member = strictObject({
|
|
|
4860
4860
|
check: optional(record(string(), unknown()))
|
|
4861
4861
|
});
|
|
4862
4862
|
|
|
4863
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4863
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4864
4864
|
var setting = optional(nullable(boolean()));
|
|
4865
4865
|
var chat = strictObject({
|
|
4866
4866
|
ref: reference,
|
|
@@ -4901,7 +4901,7 @@ var chat = strictObject({
|
|
|
4901
4901
|
members: optional(array(member))
|
|
4902
4902
|
});
|
|
4903
4903
|
|
|
4904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4904
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4905
4905
|
var quoted = strictObject({
|
|
4906
4906
|
id,
|
|
4907
4907
|
sender_id: nullable(id),
|
|
@@ -5020,7 +5020,7 @@ var message = strictObject({
|
|
|
5020
5020
|
provider_metadata: providerMetadata
|
|
5021
5021
|
});
|
|
5022
5022
|
|
|
5023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5024
5024
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5025
5025
|
var contextMessage = strictObject({
|
|
5026
5026
|
locator: reference,
|
|
@@ -5224,7 +5224,7 @@ var contactPreparation = strictObject({
|
|
|
5224
5224
|
})
|
|
5225
5225
|
});
|
|
5226
5226
|
|
|
5227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5228
5228
|
var nullableText = nullable(text);
|
|
5229
5229
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5230
5230
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5316,7 +5316,7 @@ var stage = strictObject({
|
|
|
5316
5316
|
untrusted
|
|
5317
5317
|
});
|
|
5318
5318
|
|
|
5319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5320
5320
|
var nullableText2 = nullable(text);
|
|
5321
5321
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5322
5322
|
var standing = picklist(STANDINGS);
|
|
@@ -5490,7 +5490,7 @@ var dealBrief = strictObject({
|
|
|
5490
5490
|
not_read: coverage2.entries.not_read
|
|
5491
5491
|
});
|
|
5492
5492
|
|
|
5493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5494
5494
|
var chart = strictObject({
|
|
5495
5495
|
version: literal(1),
|
|
5496
5496
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5505,7 +5505,7 @@ var chart = strictObject({
|
|
|
5505
5505
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5506
5506
|
});
|
|
5507
5507
|
|
|
5508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5509
5509
|
var named = strictObject({
|
|
5510
5510
|
id,
|
|
5511
5511
|
title: nullable(text),
|
|
@@ -5528,7 +5528,7 @@ var folder = strictObject({
|
|
|
5528
5528
|
excluded_chats: optional(array(named))
|
|
5529
5529
|
});
|
|
5530
5530
|
|
|
5531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5532
5532
|
var inviteLink = strictObject({
|
|
5533
5533
|
link: text,
|
|
5534
5534
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5544,7 +5544,7 @@ var inviteLink = strictObject({
|
|
|
5544
5544
|
joined_count: optional(count)
|
|
5545
5545
|
});
|
|
5546
5546
|
|
|
5547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5548
5548
|
var operated = { operation_id: id, chat_id: id };
|
|
5549
5549
|
var group = strictObject({
|
|
5550
5550
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5624,7 +5624,7 @@ var chatFolderOrder = strictObject({
|
|
|
5624
5624
|
folders: array(strictObject({ id, title: text }))
|
|
5625
5625
|
});
|
|
5626
5626
|
|
|
5627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5628
5628
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5629
5629
|
var chatRemoval = strictObject(operated2);
|
|
5630
5630
|
var chatMuting = strictObject({
|
|
@@ -5635,7 +5635,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5635
5635
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5636
5636
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5637
5637
|
|
|
5638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5639
5639
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5640
5640
|
var chatEvent = strictObject({
|
|
5641
5641
|
chat_id: id,
|
|
@@ -5652,7 +5652,7 @@ var chatEvent = strictObject({
|
|
|
5652
5652
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5653
5653
|
});
|
|
5654
5654
|
|
|
5655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5656
5656
|
var chatMetadata = strictObject({
|
|
5657
5657
|
chat_id: id,
|
|
5658
5658
|
title: nullable(text),
|
|
@@ -5667,7 +5667,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5667
5667
|
has_more: boolean()
|
|
5668
5668
|
});
|
|
5669
5669
|
|
|
5670
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5671
5671
|
var action = picklist(["report", "delete", "remove"]);
|
|
5672
5672
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5673
5673
|
var chatRules = strictObject({
|
|
@@ -5704,7 +5704,7 @@ var chatModeration = strictObject({
|
|
|
5704
5704
|
}))
|
|
5705
5705
|
});
|
|
5706
5706
|
|
|
5707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5708
5708
|
var optionalCount = optional(count);
|
|
5709
5709
|
var minutes = nullable(number());
|
|
5710
5710
|
var chatStats = strictObject({
|
|
@@ -5780,7 +5780,7 @@ var taskStats = strictObject({
|
|
|
5780
5780
|
}))
|
|
5781
5781
|
});
|
|
5782
5782
|
|
|
5783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5784
5784
|
var memberCount = strictObject({
|
|
5785
5785
|
day: pipe(text, isoDate()),
|
|
5786
5786
|
participants: nullable(count),
|
|
@@ -5803,7 +5803,7 @@ var chatTracking = strictObject({
|
|
|
5803
5803
|
tracked: boolean()
|
|
5804
5804
|
});
|
|
5805
5805
|
|
|
5806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5807
5807
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5808
5808
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5809
5809
|
var profileFields = {
|
|
@@ -5841,7 +5841,7 @@ var profileFields = {
|
|
|
5841
5841
|
}))
|
|
5842
5842
|
};
|
|
5843
5843
|
|
|
5844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5845
5845
|
var contact = strictObject({
|
|
5846
5846
|
ref: reference,
|
|
5847
5847
|
id,
|
|
@@ -5872,7 +5872,7 @@ var contact = strictObject({
|
|
|
5872
5872
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5873
5873
|
});
|
|
5874
5874
|
|
|
5875
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5876
5876
|
var contactNote = strictObject({
|
|
5877
5877
|
id,
|
|
5878
5878
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5884,13 +5884,13 @@ var contactNote = strictObject({
|
|
|
5884
5884
|
updated_at: time
|
|
5885
5885
|
});
|
|
5886
5886
|
|
|
5887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5888
5888
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5889
5889
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5890
5890
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5891
5891
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5892
5892
|
|
|
5893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5894
5894
|
var conversation = strictObject({
|
|
5895
5895
|
id,
|
|
5896
5896
|
chat: reference,
|
|
@@ -5905,7 +5905,7 @@ var conversation = strictObject({
|
|
|
5905
5905
|
rules_version: count
|
|
5906
5906
|
});
|
|
5907
5907
|
|
|
5908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5909
5909
|
var conversationBuild = strictObject({
|
|
5910
5910
|
chat: id,
|
|
5911
5911
|
messages: count,
|
|
@@ -5930,7 +5930,7 @@ var catchUpPreparation = strictObject({
|
|
|
5930
5930
|
prepared: optional(conversationPreparation)
|
|
5931
5931
|
});
|
|
5932
5932
|
|
|
5933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5934
5934
|
var conversationDetails = union([
|
|
5935
5935
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5936
5936
|
message
|
|
@@ -6020,7 +6020,7 @@ var conversationHit = strictObject({
|
|
|
6020
6020
|
stale: boolean()
|
|
6021
6021
|
});
|
|
6022
6022
|
|
|
6023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6024
6024
|
var counters = strictObject({
|
|
6025
6025
|
cutoff: time,
|
|
6026
6026
|
max_age_ms: milliseconds,
|
|
@@ -6050,7 +6050,7 @@ var counterRefresh = strictObject({
|
|
|
6050
6050
|
complete: optional(boolean())
|
|
6051
6051
|
});
|
|
6052
6052
|
|
|
6053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6053
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6054
6054
|
var document = strictObject({
|
|
6055
6055
|
ref: reference,
|
|
6056
6056
|
id,
|
|
@@ -6065,7 +6065,7 @@ var document = strictObject({
|
|
|
6065
6065
|
owners: optional(array(text))
|
|
6066
6066
|
});
|
|
6067
6067
|
|
|
6068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6069
6069
|
var documentLink = strictObject({
|
|
6070
6070
|
ref: reference,
|
|
6071
6071
|
url: text,
|
|
@@ -6076,7 +6076,7 @@ var documentLink = strictObject({
|
|
|
6076
6076
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6077
6077
|
});
|
|
6078
6078
|
|
|
6079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6080
6080
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6081
6081
|
var contribution = strictObject({
|
|
6082
6082
|
message: evidenceMessage,
|
|
@@ -6106,7 +6106,7 @@ var retentionStay = strictObject({
|
|
|
6106
6106
|
});
|
|
6107
6107
|
var evidence = union([contribution, retentionStay]);
|
|
6108
6108
|
|
|
6109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6110
6110
|
var fact = strictObject({
|
|
6111
6111
|
ref: reference,
|
|
6112
6112
|
id,
|
|
@@ -6137,7 +6137,7 @@ var fact = strictObject({
|
|
|
6137
6137
|
updated_at: time
|
|
6138
6138
|
});
|
|
6139
6139
|
|
|
6140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6141
6141
|
var hit = strictObject({
|
|
6142
6142
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6143
6143
|
ref: reference,
|
|
@@ -6183,7 +6183,7 @@ var hit = strictObject({
|
|
|
6183
6183
|
untrusted
|
|
6184
6184
|
});
|
|
6185
6185
|
|
|
6186
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6187
6187
|
var identity = strictObject({
|
|
6188
6188
|
ref: reference,
|
|
6189
6189
|
provider: text,
|
|
@@ -6199,7 +6199,7 @@ var identity = strictObject({
|
|
|
6199
6199
|
person: optional(nullable(reference))
|
|
6200
6200
|
});
|
|
6201
6201
|
|
|
6202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6203
6203
|
var imageEmbedding = strictObject({
|
|
6204
6204
|
model: text,
|
|
6205
6205
|
embedded: count,
|
|
@@ -6208,13 +6208,13 @@ var imageEmbedding = strictObject({
|
|
|
6208
6208
|
more: boolean()
|
|
6209
6209
|
});
|
|
6210
6210
|
|
|
6211
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6211
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6212
6212
|
import { spawn } from "node:child_process";
|
|
6213
6213
|
import { randomBytes } from "node:crypto";
|
|
6214
6214
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6215
6215
|
import { dirname, join } from "node:path";
|
|
6216
6216
|
|
|
6217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6218
6218
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6219
6219
|
const total = input.total ?? null;
|
|
6220
6220
|
const updated = input.updatedAt ?? null;
|
|
@@ -6245,7 +6245,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
6245
6245
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
6246
6246
|
}, "progressLine");
|
|
6247
6247
|
|
|
6248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6249
6249
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6250
6250
|
const run = currentRun();
|
|
6251
6251
|
const trace = traceId ?? run.traceId;
|
|
@@ -6259,7 +6259,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6259
6259
|
}));
|
|
6260
6260
|
}, "recordLogFor");
|
|
6261
6261
|
|
|
6262
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6262
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6263
6263
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6264
6264
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6265
6265
|
const out = openSync(log, "a", 384);
|
|
@@ -6414,7 +6414,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6414
6414
|
return { job: id6, pid, chat: input.chat, log };
|
|
6415
6415
|
}, "startArchiveJob");
|
|
6416
6416
|
|
|
6417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6418
6418
|
var problem = strictObject({ code: text, message: text });
|
|
6419
6419
|
var job = strictObject({
|
|
6420
6420
|
id,
|
|
@@ -6437,7 +6437,7 @@ var job = strictObject({
|
|
|
6437
6437
|
error: optional(problem)
|
|
6438
6438
|
});
|
|
6439
6439
|
|
|
6440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6440
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6441
6441
|
var joinRequest = strictObject({
|
|
6442
6442
|
person_id: id,
|
|
6443
6443
|
name: nullable(text),
|
|
@@ -6448,7 +6448,7 @@ var joinRequest = strictObject({
|
|
|
6448
6448
|
about: optional(text)
|
|
6449
6449
|
});
|
|
6450
6450
|
|
|
6451
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6452
6452
|
var botProfile = strictObject({
|
|
6453
6453
|
name: text,
|
|
6454
6454
|
token: text,
|
|
@@ -6545,7 +6545,7 @@ var stickerInventory = strictObject({
|
|
|
6545
6545
|
url: optional(nullable(text))
|
|
6546
6546
|
});
|
|
6547
6547
|
|
|
6548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6549
6549
|
var pollVote = strictObject({
|
|
6550
6550
|
person_id: id,
|
|
6551
6551
|
name: nullable(text),
|
|
@@ -6555,7 +6555,7 @@ var pollVote = strictObject({
|
|
|
6555
6555
|
voted_at: time
|
|
6556
6556
|
});
|
|
6557
6557
|
|
|
6558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6559
6559
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6560
6560
|
var observation = strictObject({
|
|
6561
6561
|
value: pipe(number(), minValue(0)),
|
|
@@ -6597,7 +6597,7 @@ var serveSummary = strictObject({
|
|
|
6597
6597
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6598
6598
|
});
|
|
6599
6599
|
|
|
6600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6601
6601
|
var mailCounts = strictObject({
|
|
6602
6602
|
by: picklist(["day", "week", "sender"]),
|
|
6603
6603
|
received: count,
|
|
@@ -6612,7 +6612,7 @@ var mailCounts = strictObject({
|
|
|
6612
6612
|
}))
|
|
6613
6613
|
});
|
|
6614
6614
|
|
|
6615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6616
6616
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6617
6617
|
var base = { id, evidence: array(evidence2) };
|
|
6618
6618
|
var finding = variant("kind", [
|
|
@@ -6756,7 +6756,7 @@ var mailFindings = strictObject({
|
|
|
6756
6756
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6757
6757
|
});
|
|
6758
6758
|
|
|
6759
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6759
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6760
6760
|
var mediaArchive = strictObject({
|
|
6761
6761
|
directory: text,
|
|
6762
6762
|
chats: count,
|
|
@@ -6788,7 +6788,7 @@ var mediaArchiveTimer = union([
|
|
|
6788
6788
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6789
6789
|
]);
|
|
6790
6790
|
|
|
6791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6792
6792
|
var preparationId = pipe(string(), minLength(1));
|
|
6793
6793
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6794
6794
|
var preparationTime = nullable(isoTime);
|
|
@@ -6880,7 +6880,7 @@ var preparationMeeting = strictObject({
|
|
|
6880
6880
|
updated_at: isoTime
|
|
6881
6881
|
});
|
|
6882
6882
|
|
|
6883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6884
6884
|
var meetingEvidence = preparationEvidence;
|
|
6885
6885
|
var meetingPersonContext = strictObject({
|
|
6886
6886
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6902,7 +6902,7 @@ var meetingPersonContext = strictObject({
|
|
|
6902
6902
|
})
|
|
6903
6903
|
});
|
|
6904
6904
|
|
|
6905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6906
6906
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6907
6907
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6908
6908
|
var finding2 = variant("kind", [
|
|
@@ -6940,7 +6940,7 @@ var meetingFindings = strictObject({
|
|
|
6940
6940
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6941
6941
|
});
|
|
6942
6942
|
|
|
6943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6943
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6944
6944
|
var communicationCoverage = strictObject({
|
|
6945
6945
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6946
6946
|
query: string(),
|
|
@@ -6985,7 +6985,7 @@ var preparationCommunications = strictObject({
|
|
|
6985
6985
|
}))
|
|
6986
6986
|
});
|
|
6987
6987
|
|
|
6988
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6988
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6989
6989
|
var meetingPreparation = strictObject({
|
|
6990
6990
|
communications: optional(preparationCommunications),
|
|
6991
6991
|
schema_version: literal(1),
|
|
@@ -7098,7 +7098,7 @@ var meetingPreparation = strictObject({
|
|
|
7098
7098
|
})
|
|
7099
7099
|
});
|
|
7100
7100
|
|
|
7101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7102
7102
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7103
7103
|
var id3 = pipe(string(), minLength(1));
|
|
7104
7104
|
var text3 = string();
|
|
@@ -7162,7 +7162,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7162
7162
|
})
|
|
7163
7163
|
});
|
|
7164
7164
|
|
|
7165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7166
7166
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7167
7167
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7168
7168
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7192,7 +7192,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7192
7192
|
})
|
|
7193
7193
|
});
|
|
7194
7194
|
|
|
7195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7196
7196
|
var text4 = string();
|
|
7197
7197
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7198
7198
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7209,7 +7209,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7209
7209
|
persistence: literal("proposal-only")
|
|
7210
7210
|
});
|
|
7211
7211
|
|
|
7212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7213
7213
|
var memory = strictObject({
|
|
7214
7214
|
ref: reference,
|
|
7215
7215
|
id,
|
|
@@ -7237,7 +7237,7 @@ var memory = strictObject({
|
|
|
7237
7237
|
updated_at: time
|
|
7238
7238
|
});
|
|
7239
7239
|
|
|
7240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7241
7241
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7242
7242
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7243
7243
|
var mention = strictObject({
|
|
@@ -7281,13 +7281,13 @@ var mentionRebuild = strictObject({
|
|
|
7281
7281
|
mentions: count
|
|
7282
7282
|
});
|
|
7283
7283
|
|
|
7284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7285
7285
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7286
7286
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7287
7287
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7288
7288
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7289
7289
|
|
|
7290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7291
7291
|
var messageTranscript = strictObject({
|
|
7292
7292
|
message_id: id,
|
|
7293
7293
|
text,
|
|
@@ -7345,7 +7345,7 @@ var evidencePacket = strictObject({
|
|
|
7345
7345
|
}))
|
|
7346
7346
|
});
|
|
7347
7347
|
|
|
7348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7348
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7349
7349
|
var messageThread = strictObject({
|
|
7350
7350
|
ref: reference,
|
|
7351
7351
|
chat: id,
|
|
@@ -7362,7 +7362,7 @@ var messageThread = strictObject({
|
|
|
7362
7362
|
});
|
|
7363
7363
|
var messageContext = union([message, messageThread]);
|
|
7364
7364
|
|
|
7365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7366
7366
|
var messageCounts = strictObject({
|
|
7367
7367
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7368
7368
|
total: count,
|
|
@@ -7375,7 +7375,7 @@ var messageCounts = strictObject({
|
|
|
7375
7375
|
}))
|
|
7376
7376
|
});
|
|
7377
7377
|
|
|
7378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7379
7379
|
var messageLink = strictObject({
|
|
7380
7380
|
ref: reference,
|
|
7381
7381
|
url: nullable(text),
|
|
@@ -7392,7 +7392,7 @@ var messageLink = strictObject({
|
|
|
7392
7392
|
})))
|
|
7393
7393
|
});
|
|
7394
7394
|
|
|
7395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7395
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7396
7396
|
var savedMessageFile = strictObject({
|
|
7397
7397
|
kind: text,
|
|
7398
7398
|
path: text,
|
|
@@ -7479,7 +7479,7 @@ var messageSyncAll = strictObject({
|
|
|
7479
7479
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7480
7480
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7481
7481
|
|
|
7482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7483
7483
|
var messageWrite = strictObject({
|
|
7484
7484
|
operation_id: id,
|
|
7485
7485
|
message,
|
|
@@ -7494,7 +7494,7 @@ var draftWrite = strictObject({
|
|
|
7494
7494
|
});
|
|
7495
7495
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7496
7496
|
|
|
7497
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7498
7498
|
var model = strictObject({
|
|
7499
7499
|
id,
|
|
7500
7500
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7529,7 +7529,7 @@ var chosenModel = strictObject({
|
|
|
7529
7529
|
estimate_seconds: nullable(count)
|
|
7530
7530
|
});
|
|
7531
7531
|
|
|
7532
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7533
7533
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7534
7534
|
var modelKey = strictObject({
|
|
7535
7535
|
provider: text,
|
|
@@ -7539,7 +7539,7 @@ var modelKey = strictObject({
|
|
|
7539
7539
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7540
7540
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7541
7541
|
|
|
7542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
7543
7543
|
var link = {
|
|
7544
7544
|
target_text: nullable(text),
|
|
7545
7545
|
kind: text,
|
|
@@ -7580,7 +7580,7 @@ var note = strictObject({
|
|
|
7580
7580
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
7581
7581
|
});
|
|
7582
7582
|
|
|
7583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7584
7584
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7585
7585
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7586
7586
|
var graph = strictObject({
|
|
@@ -7614,14 +7614,14 @@ var officialStats = strictObject({
|
|
|
7614
7614
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7615
7615
|
});
|
|
7616
7616
|
|
|
7617
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7617
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7618
7618
|
var person2 = strictObject({
|
|
7619
7619
|
ref: reference,
|
|
7620
7620
|
name: nullable(text),
|
|
7621
7621
|
identities: optional(array(identity))
|
|
7622
7622
|
});
|
|
7623
7623
|
|
|
7624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7625
7625
|
var poll = strictObject({
|
|
7626
7626
|
chat_id: id,
|
|
7627
7627
|
message_id: id,
|
|
@@ -7637,11 +7637,11 @@ var poll = strictObject({
|
|
|
7637
7637
|
});
|
|
7638
7638
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7639
7639
|
|
|
7640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7641
7641
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7642
7642
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7643
7643
|
|
|
7644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7645
7645
|
var figures = record(string(), number());
|
|
7646
7646
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7647
7647
|
var rankingRow = strictObject({
|
|
@@ -7688,7 +7688,7 @@ var ranking = strictObject({
|
|
|
7688
7688
|
rows: array(rankingRow)
|
|
7689
7689
|
});
|
|
7690
7690
|
|
|
7691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7692
7692
|
var reaction = strictObject({
|
|
7693
7693
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7694
7694
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7696,7 +7696,7 @@ var reaction = strictObject({
|
|
|
7696
7696
|
reacted_at: time
|
|
7697
7697
|
});
|
|
7698
7698
|
|
|
7699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7700
7700
|
var reactionChange = strictObject({
|
|
7701
7701
|
operation_id: id,
|
|
7702
7702
|
chat_id: id,
|
|
@@ -7704,7 +7704,7 @@ var reactionChange = strictObject({
|
|
|
7704
7704
|
reaction: nullable(text)
|
|
7705
7705
|
});
|
|
7706
7706
|
|
|
7707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7708
7708
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7709
7709
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7710
7710
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7715,7 +7715,7 @@ var recipientChange = strictObject({
|
|
|
7715
7715
|
...partial(recipientOff).entries
|
|
7716
7716
|
});
|
|
7717
7717
|
|
|
7718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7719
7719
|
var events = array(record(string(), unknown()));
|
|
7720
7720
|
var recordedRun = strictObject({
|
|
7721
7721
|
run_id: id,
|
|
@@ -7787,7 +7787,7 @@ var runHit = strictObject({
|
|
|
7787
7787
|
});
|
|
7788
7788
|
var runLocation = strictObject({ path: text });
|
|
7789
7789
|
|
|
7790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7791
7791
|
var relationship = strictObject({
|
|
7792
7792
|
id,
|
|
7793
7793
|
from: reference,
|
|
@@ -7814,7 +7814,7 @@ var relationship = strictObject({
|
|
|
7814
7814
|
created_at: time
|
|
7815
7815
|
});
|
|
7816
7816
|
|
|
7817
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7818
7818
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7819
7819
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7820
7820
|
var responseTimes = strictObject({
|
|
@@ -7831,7 +7831,7 @@ var waitingChats = strictObject({
|
|
|
7831
7831
|
by_kind: strictObject({ private: count, group: count })
|
|
7832
7832
|
});
|
|
7833
7833
|
|
|
7834
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7835
7835
|
var retentionCohort = strictObject({
|
|
7836
7836
|
/** The first day of the joining day or week. */
|
|
7837
7837
|
cohort: text,
|
|
@@ -7879,7 +7879,7 @@ var retention = strictObject({
|
|
|
7879
7879
|
rows: array(retentionCohort)
|
|
7880
7880
|
});
|
|
7881
7881
|
|
|
7882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7883
7883
|
var savedSearch = strictObject({
|
|
7884
7884
|
id,
|
|
7885
7885
|
/** `null` for a run in the history. */
|
|
@@ -7896,7 +7896,7 @@ var savedSearch = strictObject({
|
|
|
7896
7896
|
});
|
|
7897
7897
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7898
7898
|
|
|
7899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7900
7900
|
var sendAttempt = strictObject({
|
|
7901
7901
|
at: time,
|
|
7902
7902
|
profile: text,
|
|
@@ -7924,7 +7924,7 @@ var sendAttempt = strictObject({
|
|
|
7924
7924
|
error_code: optional(text)
|
|
7925
7925
|
});
|
|
7926
7926
|
|
|
7927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7927
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7928
7928
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7929
7929
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7930
7930
|
var infoSchema = strictObject({
|
|
@@ -8154,7 +8154,7 @@ var storeRepair = union([
|
|
|
8154
8154
|
]);
|
|
8155
8155
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8156
8156
|
|
|
8157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8158
8158
|
var range = strictObject({ from: number(), to: number() });
|
|
8159
8159
|
var storeChatStatus = strictObject({
|
|
8160
8160
|
chat_id: id,
|
|
@@ -8252,7 +8252,7 @@ var storeJobRetry = union([
|
|
|
8252
8252
|
]);
|
|
8253
8253
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8254
8254
|
|
|
8255
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8255
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8256
8256
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8257
8257
|
var storeTable = strictObject({
|
|
8258
8258
|
name: text,
|
|
@@ -8261,7 +8261,7 @@ var storeTable = strictObject({
|
|
|
8261
8261
|
bytes: optional(nullable(count))
|
|
8262
8262
|
});
|
|
8263
8263
|
|
|
8264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8265
8265
|
var tagTarget = variant("type", [
|
|
8266
8266
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8267
8267
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8292,7 +8292,7 @@ var automaticTags = strictObject({
|
|
|
8292
8292
|
dry_run: boolean()
|
|
8293
8293
|
});
|
|
8294
8294
|
|
|
8295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8296
8296
|
var tagging = strictObject({
|
|
8297
8297
|
tag: text,
|
|
8298
8298
|
type: picklist(TAG_TYPES),
|
|
@@ -8305,7 +8305,7 @@ var tagging = strictObject({
|
|
|
8305
8305
|
created_at: time
|
|
8306
8306
|
});
|
|
8307
8307
|
|
|
8308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8309
8309
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8310
8310
|
var taskPair = strictObject({
|
|
8311
8311
|
task: nullable(side),
|
|
@@ -8328,7 +8328,7 @@ var taskPair = strictObject({
|
|
|
8328
8328
|
created_at: time
|
|
8329
8329
|
});
|
|
8330
8330
|
|
|
8331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8332
8332
|
var nullableTime = nullable(time);
|
|
8333
8333
|
var link2 = strictObject({
|
|
8334
8334
|
id,
|
|
@@ -8502,7 +8502,7 @@ var taskReview = strictObject({
|
|
|
8502
8502
|
untrusted
|
|
8503
8503
|
});
|
|
8504
8504
|
|
|
8505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8506
8506
|
var template = strictObject({
|
|
8507
8507
|
key: text,
|
|
8508
8508
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8514,7 +8514,7 @@ var template = strictObject({
|
|
|
8514
8514
|
updated_by: nullable(text)
|
|
8515
8515
|
});
|
|
8516
8516
|
|
|
8517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8518
8518
|
var topic = strictObject({
|
|
8519
8519
|
id,
|
|
8520
8520
|
title: text,
|
|
@@ -8528,7 +8528,7 @@ var topic = strictObject({
|
|
|
8528
8528
|
untrusted
|
|
8529
8529
|
});
|
|
8530
8530
|
|
|
8531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8532
8532
|
var ENTITIES = {
|
|
8533
8533
|
sync_progress: progress,
|
|
8534
8534
|
deal,
|
|
@@ -8822,7 +8822,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8822
8822
|
return [name, definition];
|
|
8823
8823
|
})), "entityDefinitions");
|
|
8824
8824
|
|
|
8825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8826
8826
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8827
8827
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8828
8828
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8856,7 +8856,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8856
8856
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8857
8857
|
}, "answerRow");
|
|
8858
8858
|
|
|
8859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8860
8860
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8861
8861
|
var requests = new AsyncLocalStorage();
|
|
8862
8862
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8871,7 +8871,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8871
8871
|
return direct;
|
|
8872
8872
|
}, "exitCodeSet");
|
|
8873
8873
|
|
|
8874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8875
8875
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8876
8876
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8877
8877
|
messageId: message2.id,
|
|
@@ -8977,7 +8977,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
8977
8977
|
}, "guardedWrite");
|
|
8978
8978
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
8979
8979
|
|
|
8980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
8981
8981
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
8982
8982
|
try {
|
|
8983
8983
|
return work();
|
|
@@ -9004,7 +9004,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9004
9004
|
return projectFields(value, fields);
|
|
9005
9005
|
}), "projectFields");
|
|
9006
9006
|
|
|
9007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9008
9008
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9009
9009
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
9010
9010
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -9026,7 +9026,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9026
9026
|
}
|
|
9027
9027
|
}, "withAbort");
|
|
9028
9028
|
|
|
9029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9030
9030
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9031
9031
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9032
9032
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9086,7 +9086,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
9086
9086
|
return root;
|
|
9087
9087
|
}, "rootOf");
|
|
9088
9088
|
|
|
9089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9090
9090
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9091
9091
|
import { join as join2 } from "node:path";
|
|
9092
9092
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9108,12 +9108,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9108
9108
|
}, "profilesWithAccounts");
|
|
9109
9109
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9110
9110
|
|
|
9111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
9112
9112
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
9113
9113
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
9114
9114
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
9115
9115
|
|
|
9116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9117
9117
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9118
9118
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9119
9119
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9149,7 +9149,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9149
9149
|
return value;
|
|
9150
9150
|
}, "atDetail");
|
|
9151
9151
|
|
|
9152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/output.js
|
|
9153
9153
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9154
9154
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9155
9155
|
if (other)
|
|
@@ -9213,7 +9213,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9213
9213
|
}, "warn")
|
|
9214
9214
|
}), "silence");
|
|
9215
9215
|
|
|
9216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9217
9217
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9218
9218
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9219
9219
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9249,7 +9249,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9249
9249
|
store: "store.write"
|
|
9250
9250
|
};
|
|
9251
9251
|
|
|
9252
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9253
9253
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9254
9254
|
const recording = startRecording(options);
|
|
9255
9255
|
try {
|
|
@@ -9464,7 +9464,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9464
9464
|
return void 0;
|
|
9465
9465
|
}, "partialOutcome");
|
|
9466
9466
|
|
|
9467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9468
9468
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9469
9469
|
if (ms2 === void 0)
|
|
9470
9470
|
return body();
|
|
@@ -9490,10 +9490,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9490
9490
|
}
|
|
9491
9491
|
}, "withDeadline");
|
|
9492
9492
|
|
|
9493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9494
9494
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9495
9495
|
|
|
9496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
9497
9497
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
9498
9498
|
try {
|
|
9499
9499
|
const url3 = new URL(value);
|
|
@@ -9503,7 +9503,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
9503
9503
|
}
|
|
9504
9504
|
}, "endpoint");
|
|
9505
9505
|
|
|
9506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9507
9507
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9508
9508
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9509
9509
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9572,7 +9572,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9572
9572
|
};
|
|
9573
9573
|
}, "modelTarget");
|
|
9574
9574
|
|
|
9575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9576
9576
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9577
9577
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9578
9578
|
var AI_FIELDS = {
|
|
@@ -9616,7 +9616,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9616
9616
|
};
|
|
9617
9617
|
}, "resolveAISettings");
|
|
9618
9618
|
|
|
9619
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9620
9620
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9621
9621
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9622
9622
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9630,7 +9630,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9630
9630
|
return ms2;
|
|
9631
9631
|
}, "parseDuration");
|
|
9632
9632
|
|
|
9633
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9633
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9634
9634
|
import { existsSync as existsSync3 } from "node:fs";
|
|
9635
9635
|
import { join as join3 } from "node:path";
|
|
9636
9636
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -9907,7 +9907,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
9907
9907
|
}, "vectorModelKey");
|
|
9908
9908
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
9909
9909
|
|
|
9910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9911
9911
|
var HISTORY_MAX_DAYS = 1095;
|
|
9912
9912
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9913
9913
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -9954,7 +9954,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
9954
9954
|
return { batch: { ...batch, messages }, skipped };
|
|
9955
9955
|
}, "limitBatch");
|
|
9956
9956
|
|
|
9957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9958
9958
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9959
9959
|
import { join as join4 } from "node:path";
|
|
9960
9960
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -10043,10 +10043,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
10043
10043
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
10044
10044
|
}, "registryProfiles");
|
|
10045
10045
|
|
|
10046
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10046
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10047
10047
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10048
10048
|
|
|
10049
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10049
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10050
10050
|
var REPAIR_WORDS = {
|
|
10051
10051
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10052
10052
|
comment: "a comment, which JSON does not allow",
|
|
@@ -10287,7 +10287,7 @@ ${parts.join(",\n")}
|
|
|
10287
10287
|
${indent}${close}`;
|
|
10288
10288
|
}, "serialise");
|
|
10289
10289
|
|
|
10290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10291
10291
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10292
10292
|
var SECTIONS = ["personal", "bot"];
|
|
10293
10293
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10582,7 +10582,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10582
10582
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10583
10583
|
}, "readConfigFile");
|
|
10584
10584
|
|
|
10585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10586
10586
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10587
10587
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10588
10588
|
var DEFAULT_CONFIG = {
|
|
@@ -10611,7 +10611,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10611
10611
|
}
|
|
10612
10612
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10613
10613
|
|
|
10614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10615
10615
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10616
10616
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10617
10617
|
const path2 = key.split(".");
|
|
@@ -10644,7 +10644,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10644
10644
|
};
|
|
10645
10645
|
}), "settingRows");
|
|
10646
10646
|
|
|
10647
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10647
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10648
10648
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10649
10649
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10650
10650
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11169,7 +11169,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11169
11169
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11170
11170
|
}, "given");
|
|
11171
11171
|
|
|
11172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11173
11173
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11174
11174
|
const slot = environmentOf(command).exit;
|
|
11175
11175
|
const request = commandServerRequest();
|
|
@@ -11295,7 +11295,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11295
11295
|
return words2.join(" ");
|
|
11296
11296
|
}, "commandPath");
|
|
11297
11297
|
|
|
11298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11299
11299
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11300
11300
|
var FETCH = { remote: "read", local: "write" };
|
|
11301
11301
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11415,7 +11415,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11415
11415
|
throw readOnlyRefusal(lock, what);
|
|
11416
11416
|
}, "refuseUnderReadOnly");
|
|
11417
11417
|
|
|
11418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11419
11419
|
import { join as join6 } from "node:path";
|
|
11420
11420
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11421
11421
|
var IMAGE_MODELS = [
|
|
@@ -11469,7 +11469,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11469
11469
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11470
11470
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11471
11471
|
|
|
11472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11473
11473
|
var STEPS2 = defineSteps([
|
|
11474
11474
|
...STEPS,
|
|
11475
11475
|
{
|
|
@@ -11741,7 +11741,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11741
11741
|
].join(" ");
|
|
11742
11742
|
}, "stepLine");
|
|
11743
11743
|
|
|
11744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11745
11745
|
var where = [{ field: "ref" }];
|
|
11746
11746
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11747
11747
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11833,7 +11833,7 @@ var STATUS_ROWS = {
|
|
|
11833
11833
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11834
11834
|
};
|
|
11835
11835
|
|
|
11836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11837
11837
|
var TEXT_CHARS = 400;
|
|
11838
11838
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11839
11839
|
var messageRow = {
|
|
@@ -12199,7 +12199,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12199
12199
|
return lines.concat(footerOf(body)).join("\n");
|
|
12200
12200
|
}, "compactText");
|
|
12201
12201
|
|
|
12202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12203
12203
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12204
12204
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12205
12205
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12246,7 +12246,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12246
12246
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12247
12247
|
}, "largeAnswerSteps");
|
|
12248
12248
|
|
|
12249
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12249
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12250
12250
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12251
12251
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12252
12252
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12260,7 +12260,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12260
12260
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12261
12261
|
}, "strip");
|
|
12262
12262
|
|
|
12263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.634.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_c47469194f2825719a552db4a380e89c/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12264
12264
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12265
12265
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12266
12266
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|