@wirecat/cli-memo 0.131.77 → 0.131.78
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-4UWCPMRQ.js → all-profiles-ZEUEPNFD.js} +5 -5
- package/dist/bundle/{anthropic-HECHQVOK.js → anthropic-VF75LSDZ.js} +2 -2
- package/dist/bundle/{app-server-GQEQWFYQ.js → app-server-Z4TY5VP5.js} +36 -36
- package/dist/bundle/auto-SA667UAT.js +91 -0
- package/dist/bundle/{bun-IWGIAD7H.js → bun-OUR5UZAI.js} +2 -2
- package/dist/bundle/{bun-sqlite-VJFM4TVN.js → bun-sqlite-26ZGEVH3.js} +2 -2
- package/dist/bundle/{chunk-UD5JUJES.js → chunk-22RYCAAO.js} +1602 -1112
- package/dist/bundle/{chunk-HKDUGTWQ.js → chunk-3QV5JWFN.js} +3 -3
- package/dist/bundle/{chunk-DJYMK7EI.js → chunk-4LZLU2V3.js} +2 -2
- package/dist/bundle/{chunk-CFZZUGUD.js → chunk-5NBQOU5V.js} +20 -20
- package/dist/bundle/{chunk-5APYWW46.js → chunk-5PCPPT43.js} +29 -29
- package/dist/bundle/{chunk-XLZPP5MB.js → chunk-6ABWVQ4T.js} +1 -1
- package/dist/bundle/{chunk-KYW7RWGE.js → chunk-6GHBGGN7.js} +2 -2
- package/dist/bundle/{chunk-6RN34ZWU.js → chunk-7DKS4GIW.js} +5 -5
- package/dist/bundle/{chunk-ZPB3VTS7.js → chunk-7ENXMVT5.js} +17 -9
- package/dist/bundle/{chunk-INXIJXU2.js → chunk-AZIXZIXT.js} +5 -5
- package/dist/bundle/{chunk-3URQNBDV.js → chunk-B2ZAEF5Z.js} +2 -2
- package/dist/bundle/{chunk-7YALAAL4.js → chunk-D67YDJ35.js} +424 -283
- package/dist/bundle/{chunk-HFZHXP4U.js → chunk-DAEPTQ6N.js} +5 -5
- package/dist/bundle/{chunk-AH6V2UJZ.js → chunk-DDPZY27T.js} +12 -12
- package/dist/bundle/{chunk-A54EZ6DV.js → chunk-E5JVYVRX.js} +13 -13
- package/dist/bundle/{chunk-TFXKS2WG.js → chunk-EF33DKMR.js} +1 -1
- package/dist/bundle/{chunk-DE5BNDIA.js → chunk-EI7LYQQA.js} +4 -4
- package/dist/bundle/{chunk-D7KQYLAN.js → chunk-EIQ6HCIB.js} +5 -5
- package/dist/bundle/{chunk-LHVNZ25W.js → chunk-ELKRFQ5Y.js} +12 -12
- package/dist/bundle/{chunk-TXXKLYJQ.js → chunk-F7MKFYYP.js} +3 -3
- package/dist/bundle/{chunk-DNPE4LOZ.js → chunk-GXHPPHGB.js} +10 -10
- package/dist/bundle/{chunk-IYINNZQE.js → chunk-H2AQV772.js} +9 -9
- package/dist/bundle/{chunk-CPKS7JKX.js → chunk-I6CZU7X7.js} +1 -1
- package/dist/bundle/{chunk-S5T4SO7I.js → chunk-IFANDP3T.js} +7 -1
- package/dist/bundle/{chunk-ZPPMGXER.js → chunk-JHW2ARPA.js} +32 -32
- package/dist/bundle/{chunk-VMTTWF2M.js → chunk-KUY35N7Q.js} +7 -7
- package/dist/bundle/{chunk-4EFQOTNQ.js → chunk-LJRXD44C.js} +6 -6
- package/dist/bundle/{chunk-QNJ6O6J4.js → chunk-MUFU4LNS.js} +2 -2
- package/dist/bundle/{chunk-NGWUFB4K.js → chunk-MW6IAMUI.js} +1 -1
- package/dist/bundle/{chunk-YZ4J67GU.js → chunk-N7CHOWDF.js} +2 -2
- package/dist/bundle/{chunk-UDRKGCDS.js → chunk-NGWKI3E6.js} +1 -1
- package/dist/bundle/{chunk-EY46RMMS.js → chunk-NXQFVHG4.js} +153 -148
- package/dist/bundle/{chunk-76T57Y3Q.js → chunk-OHMF7LWW.js} +4 -4
- package/dist/bundle/{chunk-VIY77EDM.js → chunk-OMCET4QP.js} +45 -45
- package/dist/bundle/{chunk-W36BMC6F.js → chunk-OMGNXKSH.js} +4 -4
- package/dist/bundle/{chunk-UIS44ZMF.js → chunk-OUATPEPP.js} +5 -5
- package/dist/bundle/{chunk-4VO2RJAE.js → chunk-P3UQGKGY.js} +8 -8
- package/dist/bundle/{chunk-OAWNQZ3V.js → chunk-PTKJIA7M.js} +3 -3
- package/dist/bundle/{chunk-MRUE3BWX.js → chunk-Q2CQNT3A.js} +1 -1
- package/dist/bundle/{chunk-JSGRDE5Q.js → chunk-QEJHNTCX.js} +293 -293
- package/dist/bundle/{chunk-WZZ426CJ.js → chunk-QU7UPCW2.js} +77 -77
- package/dist/bundle/{chunk-BFEXVALS.js → chunk-T37LLOZR.js} +1 -1
- package/dist/bundle/{chunk-LO74ISD6.js → chunk-T6LXUBXY.js} +3 -3
- package/dist/bundle/{chunk-KTBPBMNR.js → chunk-TT5RMHM6.js} +4 -4
- package/dist/bundle/{chunk-C3HS26N5.js → chunk-TWWYDJBW.js} +1 -1
- package/dist/bundle/{chunk-MZHH5XMX.js → chunk-UIJBGS6K.js} +2 -2
- package/dist/bundle/{chunk-6VISMU6R.js → chunk-UWF6WXM7.js} +6 -6
- package/dist/bundle/{chunk-YABNPKKQ.js → chunk-VHA3LJQT.js} +1 -1
- package/dist/bundle/{chunk-M4MM4QUM.js → chunk-VJLJFLKZ.js} +1 -1
- package/dist/bundle/{chunk-BNOSAHVH.js → chunk-WETWQO6X.js} +2 -2
- package/dist/bundle/{chunk-2DLCQ4AK.js → chunk-WHMKYJZR.js} +1 -1
- package/dist/bundle/{chunk-HWIKY7KF.js → chunk-WHZJHUK6.js} +2 -2
- package/dist/bundle/{chunk-SHO3T3F2.js → chunk-WYSFOL74.js} +4 -4
- package/dist/bundle/{chunk-TIHQFMH2.js → chunk-XC26CUGL.js} +4 -4
- package/dist/bundle/{chunk-PPARTGFE.js → chunk-XTCN3VUP.js} +7 -7
- package/dist/bundle/{chunk-JTLPFUIQ.js → chunk-Y2J52Y3A.js} +2 -2
- package/dist/bundle/{chunk-JKLJM7EG.js → chunk-YOM4PA3A.js} +1 -1
- package/dist/bundle/{chunk-OB3OPV55.js → chunk-Z4TPRASF.js} +5 -5
- package/dist/bundle/{chunk-OQSIFLZS.js → chunk-ZKCAR2OL.js} +1 -1
- package/dist/bundle/{command-contract-SEDOYJIJ.js → command-contract-L5GTW74N.js} +11 -11
- package/dist/bundle/{command-server-entry-TQBKNSM3.js → command-server-entry-A7ZCZWHH.js} +17 -17
- package/dist/bundle/{decode-VFRSEIBD.js → decode-FO2ELPW6.js} +2 -2
- package/dist/bundle/{echarts-DP2GC2C6.js → echarts-HTY3OB2X.js} +2 -2
- package/dist/bundle/{embed-BIINGRNY.js → embed-2DTGMR7Z.js} +3 -3
- package/dist/bundle/{embedder-2AUO2PHQ.js → embedder-N3IGQ2M6.js} +6 -6
- package/dist/bundle/{entry-APUFP74B.js → entry-Q7CIJ3TU.js} +5 -5
- package/dist/bundle/{entry-LGJ2Y7AS.js → entry-YDEKGRCA.js} +5 -5
- package/dist/bundle/failure-QL3RJILP.js +71 -0
- package/dist/bundle/{first-run-7UMKRQL7.js → first-run-SAADMYEA.js} +5 -5
- package/dist/bundle/{first-screen-H5CQSLIX.js → first-screen-WXKAIMY6.js} +12 -12
- package/dist/bundle/{instructions-WDKCHEG6.js → instructions-XB5Y5DFA.js} +1 -1
- package/dist/bundle/{mcp-3HKOGYHL.js → mcp-IRJS472M.js} +35 -35
- package/dist/bundle/memo.js +3 -3
- package/dist/bundle/{node-QBL3F2VF.js → node-4ZOD7X75.js} +2 -2
- package/dist/bundle/{node-sqlite-WFKC73E5.js → node-sqlite-DWXKYFW6.js} +3 -3
- package/dist/bundle/{oauth-4PT7N4SE.js → oauth-GMIBNJQB.js} +4 -4
- package/dist/bundle/{open-I7XENSGI.js → open-3DBI3MHV.js} +2 -2
- package/dist/bundle/{openai-DUSBTUFI.js → openai-HFJAR7W5.js} +7 -7
- package/dist/bundle/{process-TVXEHAK6.js → process-2H5HNPHH.js} +1 -1
- package/dist/bundle/{program-3X4EPBEW.js → program-VXKN6DLP.js} +68 -67
- package/dist/bundle/{prompt-QRYXTON7.js → prompt-WETKFAQS.js} +2 -2
- package/dist/bundle/{recognize-ZLDPIN36.js → recognize-5LC3DQ2W.js} +1 -1
- package/dist/bundle/{remote-3GRP5YE3.js → remote-FURTWZ25.js} +4 -4
- package/dist/bundle/{rerank-6B2FI6LN.js → rerank-CMQWT3WC.js} +4 -4
- package/dist/bundle/{serve-ZP3TEANT.js → serve-LEF3PX34.js} +6 -6
- package/dist/bundle/server-C2EVLJLW.js +64 -0
- package/dist/bundle/{server-3SJJNNSX.js → server-GYLFN6Y7.js} +52 -52
- package/dist/bundle/server-L7GHFXJF.js +50 -0
- package/dist/bundle/{state-JDH2X2CY.js → state-OVZT24JF.js} +3 -3
- package/dist/bundle/{store-FDNYGJUF.js → store-SV46T732.js} +9 -9
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +49 -0
- package/dist/bundle/update-PRBIV3RG.js +74 -0
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -2
- package/dist/people/command.js.map +1 -1
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +2 -0
- package/dist/people/identities-command.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/sources/readers/ai-model.js +3 -3
- package/dist/sources/readers/ai-model.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-3O7JD27U.js +0 -91
- package/dist/bundle/failure-5QSMH2CD.js +0 -71
- package/dist/bundle/server-72VZYABL.js +0 -50
- package/dist/bundle/server-UY47EXPQ.js +0 -64
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +0 -49
- package/dist/bundle/update-257J2SPM.js +0 -74
- /package/dist/bundle/{chunk-6AALVDEA.js → chunk-DK3W4FPW.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LJRXD44C.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q2CQNT3A.js";
|
|
16
16
|
import {
|
|
17
17
|
permissionCeiling
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F7MKFYYP.js";
|
|
19
19
|
import {
|
|
20
20
|
envName,
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NGWKI3E6.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-QU7UPCW2.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure,
|
|
104
104
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-WHZJHUK6.js";
|
|
106
106
|
import {
|
|
107
107
|
readSharedSection,
|
|
108
108
|
sharedConfigPath,
|
|
109
109
|
writeSharedSection
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-TT5RMHM6.js";
|
|
111
111
|
import {
|
|
112
112
|
filesPresent,
|
|
113
113
|
sharedModelsDirectory
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-T6LXUBXY.js";
|
|
115
115
|
import {
|
|
116
116
|
storePath
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-VHA3LJQT.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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/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");
|
|
@@ -4383,7 +4383,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4383
4383
|
}
|
|
4384
4384
|
}, "assertRetentionEvidenceRead");
|
|
4385
4385
|
|
|
4386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4387
4387
|
var account = strictObject({
|
|
4388
4388
|
provider: text,
|
|
4389
4389
|
id,
|
|
@@ -4393,7 +4393,7 @@ var account = strictObject({
|
|
|
4393
4393
|
scope: optional(picklist(["personal", "work"]))
|
|
4394
4394
|
});
|
|
4395
4395
|
|
|
4396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4397
4397
|
var accountSession = strictObject({
|
|
4398
4398
|
current: boolean(),
|
|
4399
4399
|
client: nullable(text),
|
|
@@ -4403,7 +4403,7 @@ var accountSession = strictObject({
|
|
|
4403
4403
|
created_at: optional(nullable(time))
|
|
4404
4404
|
});
|
|
4405
4405
|
|
|
4406
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4407
4407
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4408
4408
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4409
4409
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4432,7 +4432,7 @@ var accountRemoval = strictObject({
|
|
|
4432
4432
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4433
4433
|
});
|
|
4434
4434
|
|
|
4435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4436
4436
|
var accountProfile = strictObject({
|
|
4437
4437
|
profile: id,
|
|
4438
4438
|
current: boolean(),
|
|
@@ -4444,7 +4444,7 @@ var accountProfile = strictObject({
|
|
|
4444
4444
|
bot: optional(literal(true))
|
|
4445
4445
|
});
|
|
4446
4446
|
|
|
4447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4448
4448
|
var milliseconds = pipe(number(), minValue(0));
|
|
4449
4449
|
var counterReading = strictObject({
|
|
4450
4450
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4456,7 +4456,7 @@ var counterReading = strictObject({
|
|
|
4456
4456
|
});
|
|
4457
4457
|
var selection = record(string(), unknown());
|
|
4458
4458
|
|
|
4459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4460
4460
|
var adminRow = strictObject({
|
|
4461
4461
|
ref: reference,
|
|
4462
4462
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4509,7 +4509,7 @@ var adminReport = strictObject({
|
|
|
4509
4509
|
rows: array(adminRow)
|
|
4510
4510
|
});
|
|
4511
4511
|
|
|
4512
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4513
4513
|
var closeSuggestion = strictObject({
|
|
4514
4514
|
as: picklist(["done", "dismissed"]),
|
|
4515
4515
|
/** The agent's name. */
|
|
@@ -4571,7 +4571,7 @@ var task = strictObject({
|
|
|
4571
4571
|
updated_at: optional(time)
|
|
4572
4572
|
});
|
|
4573
4573
|
|
|
4574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4575
4575
|
var agendaChat = strictObject({
|
|
4576
4576
|
chat: reference,
|
|
4577
4577
|
title: nullable(text),
|
|
@@ -4641,11 +4641,11 @@ var agenda = strictObject({
|
|
|
4641
4641
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4642
4642
|
});
|
|
4643
4643
|
|
|
4644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4645
4645
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4646
4646
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4647
4647
|
|
|
4648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4649
4649
|
var attachment = strictObject({
|
|
4650
4650
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4651
4651
|
message: optional(reference),
|
|
@@ -4683,7 +4683,7 @@ var attachment = strictObject({
|
|
|
4683
4683
|
});
|
|
4684
4684
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
4685
4685
|
|
|
4686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4687
4687
|
var actionableError = objectWithRest({
|
|
4688
4688
|
code: text,
|
|
4689
4689
|
message: text,
|
|
@@ -4700,7 +4700,7 @@ var batchResult = strictObject({
|
|
|
4700
4700
|
max_error_percent: count
|
|
4701
4701
|
});
|
|
4702
4702
|
|
|
4703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4704
4704
|
var extractionItem = strictObject({
|
|
4705
4705
|
ref: reference,
|
|
4706
4706
|
attachment: count,
|
|
@@ -4733,7 +4733,7 @@ var extractionReport = strictObject({
|
|
|
4733
4733
|
cursor: optional(text)
|
|
4734
4734
|
});
|
|
4735
4735
|
|
|
4736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4737
4737
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4738
4738
|
var attachmentBytes = strictObject({
|
|
4739
4739
|
ref: reference,
|
|
@@ -4761,7 +4761,7 @@ var attachmentTextChange = strictObject({
|
|
|
4761
4761
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
4762
4762
|
});
|
|
4763
4763
|
|
|
4764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4765
4765
|
var WEIGHTS = {
|
|
4766
4766
|
bot: 3,
|
|
4767
4767
|
scam: 3,
|
|
@@ -4786,12 +4786,14 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4786
4786
|
var DIGITS = /\d{5,}/;
|
|
4787
4787
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4788
4788
|
|
|
4789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4790
4790
|
var linkedIdentity = strictObject({
|
|
4791
4791
|
provider: text,
|
|
4792
4792
|
id,
|
|
4793
4793
|
name: nullable(text),
|
|
4794
4794
|
username: nullable(text),
|
|
4795
|
+
phone: optional(nullable(text)),
|
|
4796
|
+
email: optional(nullable(text)),
|
|
4795
4797
|
is_bot: nullable(boolean()),
|
|
4796
4798
|
accounts: array(id),
|
|
4797
4799
|
seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
|
|
@@ -4834,7 +4836,7 @@ var contactCheck = strictObject({
|
|
|
4834
4836
|
checked_at: time
|
|
4835
4837
|
});
|
|
4836
4838
|
|
|
4837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4838
4840
|
var member = strictObject({
|
|
4839
4841
|
id,
|
|
4840
4842
|
name: nullable(text),
|
|
@@ -4857,7 +4859,7 @@ var member = strictObject({
|
|
|
4857
4859
|
check: optional(record(string(), unknown()))
|
|
4858
4860
|
});
|
|
4859
4861
|
|
|
4860
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4861
4863
|
var setting = optional(nullable(boolean()));
|
|
4862
4864
|
var chat = strictObject({
|
|
4863
4865
|
ref: reference,
|
|
@@ -4898,7 +4900,7 @@ var chat = strictObject({
|
|
|
4898
4900
|
members: optional(array(member))
|
|
4899
4901
|
});
|
|
4900
4902
|
|
|
4901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4902
4904
|
var quoted = strictObject({
|
|
4903
4905
|
id,
|
|
4904
4906
|
sender_id: nullable(id),
|
|
@@ -5017,7 +5019,7 @@ var message = strictObject({
|
|
|
5017
5019
|
provider_metadata: providerMetadata
|
|
5018
5020
|
});
|
|
5019
5021
|
|
|
5020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5021
5023
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5022
5024
|
var contextMessage = strictObject({
|
|
5023
5025
|
locator: reference,
|
|
@@ -5221,7 +5223,7 @@ var contactPreparation = strictObject({
|
|
|
5221
5223
|
})
|
|
5222
5224
|
});
|
|
5223
5225
|
|
|
5224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5225
5227
|
var nullableText = nullable(text);
|
|
5226
5228
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5227
5229
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5313,7 +5315,7 @@ var stage = strictObject({
|
|
|
5313
5315
|
untrusted
|
|
5314
5316
|
});
|
|
5315
5317
|
|
|
5316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5318
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5317
5319
|
var nullableText2 = nullable(text);
|
|
5318
5320
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5319
5321
|
var standing = picklist(STANDINGS);
|
|
@@ -5487,7 +5489,7 @@ var dealBrief = strictObject({
|
|
|
5487
5489
|
not_read: coverage2.entries.not_read
|
|
5488
5490
|
});
|
|
5489
5491
|
|
|
5490
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5492
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5491
5493
|
var chart = strictObject({
|
|
5492
5494
|
version: literal(1),
|
|
5493
5495
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5502,7 +5504,7 @@ var chart = strictObject({
|
|
|
5502
5504
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5503
5505
|
});
|
|
5504
5506
|
|
|
5505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5506
5508
|
var named = strictObject({
|
|
5507
5509
|
id,
|
|
5508
5510
|
title: nullable(text),
|
|
@@ -5525,7 +5527,7 @@ var folder = strictObject({
|
|
|
5525
5527
|
excluded_chats: optional(array(named))
|
|
5526
5528
|
});
|
|
5527
5529
|
|
|
5528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5529
5531
|
var inviteLink = strictObject({
|
|
5530
5532
|
link: text,
|
|
5531
5533
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5541,7 +5543,7 @@ var inviteLink = strictObject({
|
|
|
5541
5543
|
joined_count: optional(count)
|
|
5542
5544
|
});
|
|
5543
5545
|
|
|
5544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5545
5547
|
var operated = { operation_id: id, chat_id: id };
|
|
5546
5548
|
var group = strictObject({
|
|
5547
5549
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5621,7 +5623,7 @@ var chatFolderOrder = strictObject({
|
|
|
5621
5623
|
folders: array(strictObject({ id, title: text }))
|
|
5622
5624
|
});
|
|
5623
5625
|
|
|
5624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5626
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5625
5627
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5626
5628
|
var chatRemoval = strictObject(operated2);
|
|
5627
5629
|
var chatMuting = strictObject({
|
|
@@ -5632,7 +5634,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5632
5634
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5633
5635
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5634
5636
|
|
|
5635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5636
5638
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5637
5639
|
var chatEvent = strictObject({
|
|
5638
5640
|
chat_id: id,
|
|
@@ -5649,7 +5651,7 @@ var chatEvent = strictObject({
|
|
|
5649
5651
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5650
5652
|
});
|
|
5651
5653
|
|
|
5652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5653
5655
|
var chatMetadata = strictObject({
|
|
5654
5656
|
chat_id: id,
|
|
5655
5657
|
title: nullable(text),
|
|
@@ -5664,7 +5666,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5664
5666
|
has_more: boolean()
|
|
5665
5667
|
});
|
|
5666
5668
|
|
|
5667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5668
5670
|
var action = picklist(["report", "delete", "remove"]);
|
|
5669
5671
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5670
5672
|
var chatRules = strictObject({
|
|
@@ -5701,7 +5703,7 @@ var chatModeration = strictObject({
|
|
|
5701
5703
|
}))
|
|
5702
5704
|
});
|
|
5703
5705
|
|
|
5704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5705
5707
|
var optionalCount = optional(count);
|
|
5706
5708
|
var minutes = nullable(number());
|
|
5707
5709
|
var chatStats = strictObject({
|
|
@@ -5775,7 +5777,7 @@ var taskStats = strictObject({
|
|
|
5775
5777
|
}))
|
|
5776
5778
|
});
|
|
5777
5779
|
|
|
5778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5779
5781
|
var memberCount = strictObject({
|
|
5780
5782
|
day: pipe(text, isoDate()),
|
|
5781
5783
|
participants: nullable(count),
|
|
@@ -5798,7 +5800,7 @@ var chatTracking = strictObject({
|
|
|
5798
5800
|
tracked: boolean()
|
|
5799
5801
|
});
|
|
5800
5802
|
|
|
5801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5802
5804
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5803
5805
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5804
5806
|
var profileFields = {
|
|
@@ -5836,7 +5838,7 @@ var profileFields = {
|
|
|
5836
5838
|
}))
|
|
5837
5839
|
};
|
|
5838
5840
|
|
|
5839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5840
5842
|
var contact = strictObject({
|
|
5841
5843
|
ref: reference,
|
|
5842
5844
|
id,
|
|
@@ -5867,7 +5869,7 @@ var contact = strictObject({
|
|
|
5867
5869
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5868
5870
|
});
|
|
5869
5871
|
|
|
5870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5872
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5871
5873
|
var contactNote = strictObject({
|
|
5872
5874
|
id,
|
|
5873
5875
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5879,13 +5881,13 @@ var contactNote = strictObject({
|
|
|
5879
5881
|
updated_at: time
|
|
5880
5882
|
});
|
|
5881
5883
|
|
|
5882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5883
5885
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5884
5886
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5885
5887
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5886
5888
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5887
5889
|
|
|
5888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5889
5891
|
var conversation = strictObject({
|
|
5890
5892
|
id,
|
|
5891
5893
|
chat: reference,
|
|
@@ -5900,7 +5902,7 @@ var conversation = strictObject({
|
|
|
5900
5902
|
rules_version: count
|
|
5901
5903
|
});
|
|
5902
5904
|
|
|
5903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5904
5906
|
var conversationBuild = strictObject({
|
|
5905
5907
|
chat: id,
|
|
5906
5908
|
messages: count,
|
|
@@ -5925,7 +5927,7 @@ var catchUpPreparation = strictObject({
|
|
|
5925
5927
|
prepared: optional(conversationPreparation)
|
|
5926
5928
|
});
|
|
5927
5929
|
|
|
5928
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5929
5931
|
var conversationDetails = union([
|
|
5930
5932
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5931
5933
|
message
|
|
@@ -6015,7 +6017,7 @@ var conversationHit = strictObject({
|
|
|
6015
6017
|
stale: boolean()
|
|
6016
6018
|
});
|
|
6017
6019
|
|
|
6018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6019
6021
|
var counters = strictObject({
|
|
6020
6022
|
cutoff: time,
|
|
6021
6023
|
max_age_ms: milliseconds,
|
|
@@ -6045,7 +6047,7 @@ var counterRefresh = strictObject({
|
|
|
6045
6047
|
complete: optional(boolean())
|
|
6046
6048
|
});
|
|
6047
6049
|
|
|
6048
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6050
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6049
6051
|
var document = strictObject({
|
|
6050
6052
|
ref: reference,
|
|
6051
6053
|
id,
|
|
@@ -6060,7 +6062,7 @@ var document = strictObject({
|
|
|
6060
6062
|
owners: optional(array(text))
|
|
6061
6063
|
});
|
|
6062
6064
|
|
|
6063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6064
6066
|
var documentLink = strictObject({
|
|
6065
6067
|
ref: reference,
|
|
6066
6068
|
url: text,
|
|
@@ -6071,7 +6073,7 @@ var documentLink = strictObject({
|
|
|
6071
6073
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6072
6074
|
});
|
|
6073
6075
|
|
|
6074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6075
6077
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6076
6078
|
var contribution = strictObject({
|
|
6077
6079
|
message: evidenceMessage,
|
|
@@ -6101,7 +6103,7 @@ var retentionStay = strictObject({
|
|
|
6101
6103
|
});
|
|
6102
6104
|
var evidence = union([contribution, retentionStay]);
|
|
6103
6105
|
|
|
6104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6105
6107
|
var fact = strictObject({
|
|
6106
6108
|
ref: reference,
|
|
6107
6109
|
id,
|
|
@@ -6132,7 +6134,7 @@ var fact = strictObject({
|
|
|
6132
6134
|
updated_at: time
|
|
6133
6135
|
});
|
|
6134
6136
|
|
|
6135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6136
6138
|
var hit = strictObject({
|
|
6137
6139
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6138
6140
|
ref: reference,
|
|
@@ -6178,7 +6180,7 @@ var hit = strictObject({
|
|
|
6178
6180
|
untrusted
|
|
6179
6181
|
});
|
|
6180
6182
|
|
|
6181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6182
6184
|
var identity = strictObject({
|
|
6183
6185
|
ref: reference,
|
|
6184
6186
|
provider: text,
|
|
@@ -6187,11 +6189,14 @@ var identity = strictObject({
|
|
|
6187
6189
|
id,
|
|
6188
6190
|
name: nullable(text),
|
|
6189
6191
|
username: nullable(text),
|
|
6192
|
+
/** The number or address the source gave for them, when it gave one. */
|
|
6193
|
+
phone: optional(nullable(text)),
|
|
6194
|
+
email: optional(nullable(text)),
|
|
6190
6195
|
/** The `person:` they are linked to, when one is. */
|
|
6191
6196
|
person: optional(nullable(reference))
|
|
6192
6197
|
});
|
|
6193
6198
|
|
|
6194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6195
6200
|
var imageEmbedding = strictObject({
|
|
6196
6201
|
model: text,
|
|
6197
6202
|
embedded: count,
|
|
@@ -6200,13 +6205,13 @@ var imageEmbedding = strictObject({
|
|
|
6200
6205
|
more: boolean()
|
|
6201
6206
|
});
|
|
6202
6207
|
|
|
6203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6204
6209
|
import { spawn } from "node:child_process";
|
|
6205
6210
|
import { randomBytes } from "node:crypto";
|
|
6206
6211
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6207
6212
|
import { dirname, join } from "node:path";
|
|
6208
6213
|
|
|
6209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6210
6215
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6211
6216
|
const total = input.total ?? null;
|
|
6212
6217
|
const updated = input.updatedAt ?? null;
|
|
@@ -6237,7 +6242,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
6237
6242
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
6238
6243
|
}, "progressLine");
|
|
6239
6244
|
|
|
6240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6241
6246
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6242
6247
|
const run = currentRun();
|
|
6243
6248
|
const trace = traceId ?? run.traceId;
|
|
@@ -6251,7 +6256,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6251
6256
|
}));
|
|
6252
6257
|
}, "recordLogFor");
|
|
6253
6258
|
|
|
6254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6255
6260
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6256
6261
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6257
6262
|
const out = openSync(log, "a", 384);
|
|
@@ -6406,7 +6411,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6406
6411
|
return { job: id6, pid, chat: input.chat, log };
|
|
6407
6412
|
}, "startArchiveJob");
|
|
6408
6413
|
|
|
6409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6410
6415
|
var problem = strictObject({ code: text, message: text });
|
|
6411
6416
|
var job = strictObject({
|
|
6412
6417
|
id,
|
|
@@ -6429,7 +6434,7 @@ var job = strictObject({
|
|
|
6429
6434
|
error: optional(problem)
|
|
6430
6435
|
});
|
|
6431
6436
|
|
|
6432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6433
6438
|
var joinRequest = strictObject({
|
|
6434
6439
|
person_id: id,
|
|
6435
6440
|
name: nullable(text),
|
|
@@ -6440,7 +6445,7 @@ var joinRequest = strictObject({
|
|
|
6440
6445
|
about: optional(text)
|
|
6441
6446
|
});
|
|
6442
6447
|
|
|
6443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6444
6449
|
var botProfile = strictObject({
|
|
6445
6450
|
name: text,
|
|
6446
6451
|
token: text,
|
|
@@ -6537,7 +6542,7 @@ var stickerInventory = strictObject({
|
|
|
6537
6542
|
url: optional(nullable(text))
|
|
6538
6543
|
});
|
|
6539
6544
|
|
|
6540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6541
6546
|
var pollVote = strictObject({
|
|
6542
6547
|
person_id: id,
|
|
6543
6548
|
name: nullable(text),
|
|
@@ -6547,7 +6552,7 @@ var pollVote = strictObject({
|
|
|
6547
6552
|
voted_at: time
|
|
6548
6553
|
});
|
|
6549
6554
|
|
|
6550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6551
6556
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6552
6557
|
var observation = strictObject({
|
|
6553
6558
|
value: pipe(number(), minValue(0)),
|
|
@@ -6589,7 +6594,7 @@ var serveSummary = strictObject({
|
|
|
6589
6594
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6590
6595
|
});
|
|
6591
6596
|
|
|
6592
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6597
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6593
6598
|
var mailCounts = strictObject({
|
|
6594
6599
|
by: picklist(["day", "week", "sender"]),
|
|
6595
6600
|
received: count,
|
|
@@ -6604,7 +6609,7 @@ var mailCounts = strictObject({
|
|
|
6604
6609
|
}))
|
|
6605
6610
|
});
|
|
6606
6611
|
|
|
6607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6608
6613
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6609
6614
|
var base = { id, evidence: array(evidence2) };
|
|
6610
6615
|
var finding = variant("kind", [
|
|
@@ -6748,7 +6753,7 @@ var mailFindings = strictObject({
|
|
|
6748
6753
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6749
6754
|
});
|
|
6750
6755
|
|
|
6751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6752
6757
|
var mediaArchive = strictObject({
|
|
6753
6758
|
directory: text,
|
|
6754
6759
|
chats: count,
|
|
@@ -6780,7 +6785,7 @@ var mediaArchiveTimer = union([
|
|
|
6780
6785
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6781
6786
|
]);
|
|
6782
6787
|
|
|
6783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6784
6789
|
var preparationId = pipe(string(), minLength(1));
|
|
6785
6790
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6786
6791
|
var preparationTime = nullable(isoTime);
|
|
@@ -6872,7 +6877,7 @@ var preparationMeeting = strictObject({
|
|
|
6872
6877
|
updated_at: isoTime
|
|
6873
6878
|
});
|
|
6874
6879
|
|
|
6875
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6876
6881
|
var meetingEvidence = preparationEvidence;
|
|
6877
6882
|
var meetingPersonContext = strictObject({
|
|
6878
6883
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6894,7 +6899,7 @@ var meetingPersonContext = strictObject({
|
|
|
6894
6899
|
})
|
|
6895
6900
|
});
|
|
6896
6901
|
|
|
6897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6898
6903
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6899
6904
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6900
6905
|
var finding2 = variant("kind", [
|
|
@@ -6932,7 +6937,7 @@ var meetingFindings = strictObject({
|
|
|
6932
6937
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6933
6938
|
});
|
|
6934
6939
|
|
|
6935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6940
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6936
6941
|
var communicationCoverage = strictObject({
|
|
6937
6942
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6938
6943
|
query: string(),
|
|
@@ -6977,7 +6982,7 @@ var preparationCommunications = strictObject({
|
|
|
6977
6982
|
}))
|
|
6978
6983
|
});
|
|
6979
6984
|
|
|
6980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6981
6986
|
var meetingPreparation = strictObject({
|
|
6982
6987
|
communications: optional(preparationCommunications),
|
|
6983
6988
|
schema_version: literal(1),
|
|
@@ -7090,7 +7095,7 @@ var meetingPreparation = strictObject({
|
|
|
7090
7095
|
})
|
|
7091
7096
|
});
|
|
7092
7097
|
|
|
7093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7094
7099
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7095
7100
|
var id3 = pipe(string(), minLength(1));
|
|
7096
7101
|
var text3 = string();
|
|
@@ -7154,7 +7159,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7154
7159
|
})
|
|
7155
7160
|
});
|
|
7156
7161
|
|
|
7157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7158
7163
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7159
7164
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7160
7165
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7184,7 +7189,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7184
7189
|
})
|
|
7185
7190
|
});
|
|
7186
7191
|
|
|
7187
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7188
7193
|
var text4 = string();
|
|
7189
7194
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7190
7195
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7201,7 +7206,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7201
7206
|
persistence: literal("proposal-only")
|
|
7202
7207
|
});
|
|
7203
7208
|
|
|
7204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7205
7210
|
var memory = strictObject({
|
|
7206
7211
|
ref: reference,
|
|
7207
7212
|
id,
|
|
@@ -7229,7 +7234,7 @@ var memory = strictObject({
|
|
|
7229
7234
|
updated_at: time
|
|
7230
7235
|
});
|
|
7231
7236
|
|
|
7232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7233
7238
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7234
7239
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7235
7240
|
var mention = strictObject({
|
|
@@ -7273,13 +7278,13 @@ var mentionRebuild = strictObject({
|
|
|
7273
7278
|
mentions: count
|
|
7274
7279
|
});
|
|
7275
7280
|
|
|
7276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7277
7282
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7278
7283
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7279
7284
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7280
7285
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7281
7286
|
|
|
7282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7283
7288
|
var messageTranscript = strictObject({
|
|
7284
7289
|
message_id: id,
|
|
7285
7290
|
text,
|
|
@@ -7337,7 +7342,7 @@ var evidencePacket = strictObject({
|
|
|
7337
7342
|
}))
|
|
7338
7343
|
});
|
|
7339
7344
|
|
|
7340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7341
7346
|
var messageThread = strictObject({
|
|
7342
7347
|
ref: reference,
|
|
7343
7348
|
chat: id,
|
|
@@ -7354,7 +7359,7 @@ var messageThread = strictObject({
|
|
|
7354
7359
|
});
|
|
7355
7360
|
var messageContext = union([message, messageThread]);
|
|
7356
7361
|
|
|
7357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7358
7363
|
var messageCounts = strictObject({
|
|
7359
7364
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7360
7365
|
total: count,
|
|
@@ -7367,7 +7372,7 @@ var messageCounts = strictObject({
|
|
|
7367
7372
|
}))
|
|
7368
7373
|
});
|
|
7369
7374
|
|
|
7370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7371
7376
|
var messageLink = strictObject({
|
|
7372
7377
|
ref: reference,
|
|
7373
7378
|
url: nullable(text),
|
|
@@ -7384,7 +7389,7 @@ var messageLink = strictObject({
|
|
|
7384
7389
|
})))
|
|
7385
7390
|
});
|
|
7386
7391
|
|
|
7387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7388
7393
|
var savedMessageFile = strictObject({
|
|
7389
7394
|
kind: text,
|
|
7390
7395
|
path: text,
|
|
@@ -7471,7 +7476,7 @@ var messageSyncAll = strictObject({
|
|
|
7471
7476
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7472
7477
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7473
7478
|
|
|
7474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7475
7480
|
var messageWrite = strictObject({
|
|
7476
7481
|
operation_id: id,
|
|
7477
7482
|
message,
|
|
@@ -7486,7 +7491,7 @@ var draftWrite = strictObject({
|
|
|
7486
7491
|
});
|
|
7487
7492
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7488
7493
|
|
|
7489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7494
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7490
7495
|
var model = strictObject({
|
|
7491
7496
|
id,
|
|
7492
7497
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7521,7 +7526,7 @@ var chosenModel = strictObject({
|
|
|
7521
7526
|
estimate_seconds: nullable(count)
|
|
7522
7527
|
});
|
|
7523
7528
|
|
|
7524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7525
7530
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7526
7531
|
var modelKey = strictObject({
|
|
7527
7532
|
provider: text,
|
|
@@ -7531,7 +7536,7 @@ var modelKey = strictObject({
|
|
|
7531
7536
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7532
7537
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7533
7538
|
|
|
7534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
7535
7540
|
var link = {
|
|
7536
7541
|
target_text: nullable(text),
|
|
7537
7542
|
kind: text,
|
|
@@ -7572,7 +7577,7 @@ var note = strictObject({
|
|
|
7572
7577
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
7573
7578
|
});
|
|
7574
7579
|
|
|
7575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7580
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7576
7581
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7577
7582
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7578
7583
|
var graph = strictObject({
|
|
@@ -7606,14 +7611,14 @@ var officialStats = strictObject({
|
|
|
7606
7611
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7607
7612
|
});
|
|
7608
7613
|
|
|
7609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7610
7615
|
var person2 = strictObject({
|
|
7611
7616
|
ref: reference,
|
|
7612
7617
|
name: nullable(text),
|
|
7613
7618
|
identities: optional(array(identity))
|
|
7614
7619
|
});
|
|
7615
7620
|
|
|
7616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7621
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7617
7622
|
var poll = strictObject({
|
|
7618
7623
|
chat_id: id,
|
|
7619
7624
|
message_id: id,
|
|
@@ -7629,11 +7634,11 @@ var poll = strictObject({
|
|
|
7629
7634
|
});
|
|
7630
7635
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7631
7636
|
|
|
7632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7637
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7633
7638
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7634
7639
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7635
7640
|
|
|
7636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7637
7642
|
var figures = record(string(), number());
|
|
7638
7643
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7639
7644
|
var rankingRow = strictObject({
|
|
@@ -7680,7 +7685,7 @@ var ranking = strictObject({
|
|
|
7680
7685
|
rows: array(rankingRow)
|
|
7681
7686
|
});
|
|
7682
7687
|
|
|
7683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7688
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7684
7689
|
var reaction = strictObject({
|
|
7685
7690
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7686
7691
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7688,7 +7693,7 @@ var reaction = strictObject({
|
|
|
7688
7693
|
reacted_at: time
|
|
7689
7694
|
});
|
|
7690
7695
|
|
|
7691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7696
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7692
7697
|
var reactionChange = strictObject({
|
|
7693
7698
|
operation_id: id,
|
|
7694
7699
|
chat_id: id,
|
|
@@ -7696,7 +7701,7 @@ var reactionChange = strictObject({
|
|
|
7696
7701
|
reaction: nullable(text)
|
|
7697
7702
|
});
|
|
7698
7703
|
|
|
7699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7700
7705
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7701
7706
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7702
7707
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7707,7 +7712,7 @@ var recipientChange = strictObject({
|
|
|
7707
7712
|
...partial(recipientOff).entries
|
|
7708
7713
|
});
|
|
7709
7714
|
|
|
7710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7711
7716
|
var events = array(record(string(), unknown()));
|
|
7712
7717
|
var recordedRun = strictObject({
|
|
7713
7718
|
run_id: id,
|
|
@@ -7779,7 +7784,7 @@ var runHit = strictObject({
|
|
|
7779
7784
|
});
|
|
7780
7785
|
var runLocation = strictObject({ path: text });
|
|
7781
7786
|
|
|
7782
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7783
7788
|
var relationship = strictObject({
|
|
7784
7789
|
id,
|
|
7785
7790
|
from: reference,
|
|
@@ -7806,7 +7811,7 @@ var relationship = strictObject({
|
|
|
7806
7811
|
created_at: time
|
|
7807
7812
|
});
|
|
7808
7813
|
|
|
7809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7810
7815
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7811
7816
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7812
7817
|
var responseTimes = strictObject({
|
|
@@ -7823,7 +7828,7 @@ var waitingChats = strictObject({
|
|
|
7823
7828
|
by_kind: strictObject({ private: count, group: count })
|
|
7824
7829
|
});
|
|
7825
7830
|
|
|
7826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7827
7832
|
var retentionCohort = strictObject({
|
|
7828
7833
|
/** The first day of the joining day or week. */
|
|
7829
7834
|
cohort: text,
|
|
@@ -7871,7 +7876,7 @@ var retention = strictObject({
|
|
|
7871
7876
|
rows: array(retentionCohort)
|
|
7872
7877
|
});
|
|
7873
7878
|
|
|
7874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7875
7880
|
var savedSearch = strictObject({
|
|
7876
7881
|
id,
|
|
7877
7882
|
/** `null` for a run in the history. */
|
|
@@ -7888,7 +7893,7 @@ var savedSearch = strictObject({
|
|
|
7888
7893
|
});
|
|
7889
7894
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7890
7895
|
|
|
7891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7892
7897
|
var sendAttempt = strictObject({
|
|
7893
7898
|
at: time,
|
|
7894
7899
|
profile: text,
|
|
@@ -7916,7 +7921,7 @@ var sendAttempt = strictObject({
|
|
|
7916
7921
|
error_code: optional(text)
|
|
7917
7922
|
});
|
|
7918
7923
|
|
|
7919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7920
7925
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7921
7926
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7922
7927
|
var infoSchema = strictObject({
|
|
@@ -8137,7 +8142,7 @@ var storeRepair = union([
|
|
|
8137
8142
|
]);
|
|
8138
8143
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8139
8144
|
|
|
8140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8141
8146
|
var range = strictObject({ from: number(), to: number() });
|
|
8142
8147
|
var storeChatStatus = strictObject({
|
|
8143
8148
|
chat_id: id,
|
|
@@ -8235,7 +8240,7 @@ var storeJobRetry = union([
|
|
|
8235
8240
|
]);
|
|
8236
8241
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8237
8242
|
|
|
8238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8239
8244
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8240
8245
|
var storeTable = strictObject({
|
|
8241
8246
|
name: text,
|
|
@@ -8244,7 +8249,7 @@ var storeTable = strictObject({
|
|
|
8244
8249
|
bytes: optional(nullable(count))
|
|
8245
8250
|
});
|
|
8246
8251
|
|
|
8247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8248
8253
|
var tagTarget = variant("type", [
|
|
8249
8254
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8250
8255
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8275,7 +8280,7 @@ var automaticTags = strictObject({
|
|
|
8275
8280
|
dry_run: boolean()
|
|
8276
8281
|
});
|
|
8277
8282
|
|
|
8278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8279
8284
|
var tagging = strictObject({
|
|
8280
8285
|
tag: text,
|
|
8281
8286
|
type: picklist(TAG_TYPES),
|
|
@@ -8288,7 +8293,7 @@ var tagging = strictObject({
|
|
|
8288
8293
|
created_at: time
|
|
8289
8294
|
});
|
|
8290
8295
|
|
|
8291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8292
8297
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8293
8298
|
var taskPair = strictObject({
|
|
8294
8299
|
task: nullable(side),
|
|
@@ -8311,7 +8316,7 @@ var taskPair = strictObject({
|
|
|
8311
8316
|
created_at: time
|
|
8312
8317
|
});
|
|
8313
8318
|
|
|
8314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8315
8320
|
var nullableTime = nullable(time);
|
|
8316
8321
|
var link2 = strictObject({
|
|
8317
8322
|
id,
|
|
@@ -8485,7 +8490,7 @@ var taskReview = strictObject({
|
|
|
8485
8490
|
untrusted
|
|
8486
8491
|
});
|
|
8487
8492
|
|
|
8488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8489
8494
|
var template = strictObject({
|
|
8490
8495
|
key: text,
|
|
8491
8496
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8497,7 +8502,7 @@ var template = strictObject({
|
|
|
8497
8502
|
updated_by: nullable(text)
|
|
8498
8503
|
});
|
|
8499
8504
|
|
|
8500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8501
8506
|
var topic = strictObject({
|
|
8502
8507
|
id,
|
|
8503
8508
|
title: text,
|
|
@@ -8511,7 +8516,7 @@ var topic = strictObject({
|
|
|
8511
8516
|
untrusted
|
|
8512
8517
|
});
|
|
8513
8518
|
|
|
8514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8515
8520
|
var ENTITIES = {
|
|
8516
8521
|
sync_progress: progress,
|
|
8517
8522
|
deal,
|
|
@@ -8804,7 +8809,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8804
8809
|
return [name, definition];
|
|
8805
8810
|
})), "entityDefinitions");
|
|
8806
8811
|
|
|
8807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8808
8813
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8809
8814
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8810
8815
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8838,7 +8843,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8838
8843
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8839
8844
|
}, "answerRow");
|
|
8840
8845
|
|
|
8841
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8846
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8842
8847
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8843
8848
|
var requests = new AsyncLocalStorage();
|
|
8844
8849
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8853,7 +8858,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8853
8858
|
return direct;
|
|
8854
8859
|
}, "exitCodeSet");
|
|
8855
8860
|
|
|
8856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8857
8862
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8858
8863
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8859
8864
|
messageId: message2.id,
|
|
@@ -8959,7 +8964,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
8959
8964
|
}, "guardedWrite");
|
|
8960
8965
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
8961
8966
|
|
|
8962
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
8963
8968
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
8964
8969
|
try {
|
|
8965
8970
|
return work();
|
|
@@ -8986,7 +8991,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
8986
8991
|
return projectFields(value, fields);
|
|
8987
8992
|
}), "projectFields");
|
|
8988
8993
|
|
|
8989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
8990
8995
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
8991
8996
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
8992
8997
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -9008,7 +9013,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9008
9013
|
}
|
|
9009
9014
|
}, "withAbort");
|
|
9010
9015
|
|
|
9011
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9012
9017
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9013
9018
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9014
9019
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9068,7 +9073,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
9068
9073
|
return root;
|
|
9069
9074
|
}, "rootOf");
|
|
9070
9075
|
|
|
9071
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9072
9077
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9073
9078
|
import { join as join2 } from "node:path";
|
|
9074
9079
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9090,12 +9095,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9090
9095
|
}, "profilesWithAccounts");
|
|
9091
9096
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9092
9097
|
|
|
9093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
9094
9099
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
9095
9100
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
9096
9101
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
9097
9102
|
|
|
9098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9099
9104
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9100
9105
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9101
9106
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9131,7 +9136,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9131
9136
|
return value;
|
|
9132
9137
|
}, "atDetail");
|
|
9133
9138
|
|
|
9134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/output.js
|
|
9135
9140
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9136
9141
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9137
9142
|
if (other)
|
|
@@ -9195,7 +9200,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9195
9200
|
}, "warn")
|
|
9196
9201
|
}), "silence");
|
|
9197
9202
|
|
|
9198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9199
9204
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9200
9205
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9201
9206
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9231,7 +9236,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9231
9236
|
store: "store.write"
|
|
9232
9237
|
};
|
|
9233
9238
|
|
|
9234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9235
9240
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9236
9241
|
const recording = startRecording(options);
|
|
9237
9242
|
try {
|
|
@@ -9446,7 +9451,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9446
9451
|
return void 0;
|
|
9447
9452
|
}, "partialOutcome");
|
|
9448
9453
|
|
|
9449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9450
9455
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9451
9456
|
if (ms2 === void 0)
|
|
9452
9457
|
return body();
|
|
@@ -9472,10 +9477,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9472
9477
|
}
|
|
9473
9478
|
}, "withDeadline");
|
|
9474
9479
|
|
|
9475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9476
9481
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9477
9482
|
|
|
9478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
9479
9484
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
9480
9485
|
try {
|
|
9481
9486
|
const url3 = new URL(value);
|
|
@@ -9485,7 +9490,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
9485
9490
|
}
|
|
9486
9491
|
}, "endpoint");
|
|
9487
9492
|
|
|
9488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9489
9494
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9490
9495
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9491
9496
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9554,7 +9559,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9554
9559
|
};
|
|
9555
9560
|
}, "modelTarget");
|
|
9556
9561
|
|
|
9557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9558
9563
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9559
9564
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9560
9565
|
var AI_FIELDS = {
|
|
@@ -9598,7 +9603,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9598
9603
|
};
|
|
9599
9604
|
}, "resolveAISettings");
|
|
9600
9605
|
|
|
9601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9602
9607
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9603
9608
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9604
9609
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9612,7 +9617,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9612
9617
|
return ms2;
|
|
9613
9618
|
}, "parseDuration");
|
|
9614
9619
|
|
|
9615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9616
9621
|
import { existsSync as existsSync3 } from "node:fs";
|
|
9617
9622
|
import { join as join3 } from "node:path";
|
|
9618
9623
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -9889,7 +9894,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
9889
9894
|
}, "vectorModelKey");
|
|
9890
9895
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
9891
9896
|
|
|
9892
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9893
9898
|
var HISTORY_MAX_DAYS = 1095;
|
|
9894
9899
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9895
9900
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -9936,7 +9941,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
9936
9941
|
return { batch: { ...batch, messages }, skipped };
|
|
9937
9942
|
}, "limitBatch");
|
|
9938
9943
|
|
|
9939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9940
9945
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9941
9946
|
import { join as join4 } from "node:path";
|
|
9942
9947
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -10025,10 +10030,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
10025
10030
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
10026
10031
|
}, "registryProfiles");
|
|
10027
10032
|
|
|
10028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10033
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10029
10034
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10030
10035
|
|
|
10031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10032
10037
|
var REPAIR_WORDS = {
|
|
10033
10038
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10034
10039
|
comment: "a comment, which JSON does not allow",
|
|
@@ -10269,7 +10274,7 @@ ${parts.join(",\n")}
|
|
|
10269
10274
|
${indent}${close}`;
|
|
10270
10275
|
}, "serialise");
|
|
10271
10276
|
|
|
10272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10273
10278
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10274
10279
|
var SECTIONS = ["personal", "bot"];
|
|
10275
10280
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10564,7 +10569,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10564
10569
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10565
10570
|
}, "readConfigFile");
|
|
10566
10571
|
|
|
10567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10568
10573
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10569
10574
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10570
10575
|
var DEFAULT_CONFIG = {
|
|
@@ -10593,7 +10598,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10593
10598
|
}
|
|
10594
10599
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10595
10600
|
|
|
10596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10597
10602
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10598
10603
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10599
10604
|
const path2 = key.split(".");
|
|
@@ -10626,7 +10631,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10626
10631
|
};
|
|
10627
10632
|
}), "settingRows");
|
|
10628
10633
|
|
|
10629
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10630
10635
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10631
10636
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10632
10637
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11151,7 +11156,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11151
11156
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11152
11157
|
}, "given");
|
|
11153
11158
|
|
|
11154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11155
11160
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11156
11161
|
const slot = environmentOf(command).exit;
|
|
11157
11162
|
const request = commandServerRequest();
|
|
@@ -11277,7 +11282,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11277
11282
|
return words2.join(" ");
|
|
11278
11283
|
}, "commandPath");
|
|
11279
11284
|
|
|
11280
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11281
11286
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11282
11287
|
var FETCH = { remote: "read", local: "write" };
|
|
11283
11288
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11397,7 +11402,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11397
11402
|
throw readOnlyRefusal(lock, what);
|
|
11398
11403
|
}, "refuseUnderReadOnly");
|
|
11399
11404
|
|
|
11400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11401
11406
|
import { join as join6 } from "node:path";
|
|
11402
11407
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11403
11408
|
var IMAGE_MODELS = [
|
|
@@ -11451,7 +11456,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11451
11456
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11452
11457
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11453
11458
|
|
|
11454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11455
11460
|
var STEPS2 = defineSteps([
|
|
11456
11461
|
...STEPS,
|
|
11457
11462
|
{
|
|
@@ -11723,7 +11728,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11723
11728
|
].join(" ");
|
|
11724
11729
|
}, "stepLine");
|
|
11725
11730
|
|
|
11726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11727
11732
|
var where = [{ field: "ref" }];
|
|
11728
11733
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11729
11734
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11815,7 +11820,7 @@ var STATUS_ROWS = {
|
|
|
11815
11820
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11816
11821
|
};
|
|
11817
11822
|
|
|
11818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11823
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11819
11824
|
var TEXT_CHARS = 400;
|
|
11820
11825
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11821
11826
|
var messageRow = {
|
|
@@ -12181,7 +12186,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12181
12186
|
return lines.concat(footerOf(body)).join("\n");
|
|
12182
12187
|
}, "compactText");
|
|
12183
12188
|
|
|
12184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12185
12190
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12186
12191
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12187
12192
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12228,7 +12233,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12228
12233
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12229
12234
|
}, "largeAnswerSteps");
|
|
12230
12235
|
|
|
12231
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12232
12237
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12233
12238
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12234
12239
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12242,7 +12247,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12242
12247
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12243
12248
|
}, "strip");
|
|
12244
12249
|
|
|
12245
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12246
12251
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12247
12252
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12248
12253
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|