@wirecat/tg-cli 0.125.0 → 0.126.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-H2LTOLOA.js → adapter-BXU3AVB7.js} +43 -43
- package/dist/bundle/{all-profiles-75HGEFL7.js → all-profiles-G5A6IROO.js} +6 -6
- package/dist/bundle/{anthropic-N54MKE4C.js → anthropic-SINVEVEM.js} +2 -2
- package/dist/bundle/{app-server-3N5INKKI.js → app-server-IHIQXPJF.js} +42 -38
- package/dist/bundle/{bot-api-V65KTEAH.js → bot-api-LGAVVYRM.js} +44 -44
- package/dist/bundle/{bot-history-TT2EAHEE.js → bot-history-5C35FGCD.js} +12 -12
- package/dist/bundle/{bun-LN4J7PA7.js → bun-2GK3YOP3.js} +2 -2
- package/dist/bundle/{bun-sqlite-6PDBFBUI.js → bun-sqlite-7DGADK3E.js} +3 -3
- package/dist/bundle/{chunk-FHPEUAHQ.js → chunk-2F2UMQMB.js} +164 -152
- package/dist/bundle/{chunk-SGHF75RQ.js → chunk-2LN6OJUB.js} +1 -1
- package/dist/bundle/{chunk-RZ7KBWDQ.js → chunk-4GR5YYGA.js} +2 -2
- package/dist/bundle/{chunk-VHD4V64E.js → chunk-5GINYFD4.js} +1 -1
- package/dist/bundle/{chunk-IN3NAFUN.js → chunk-5NLAGTWU.js} +7 -7
- package/dist/bundle/{chunk-GUPMDMFM.js → chunk-63DSHUNP.js} +5 -5
- package/dist/bundle/{chunk-HHG5FR5H.js → chunk-7FL2N6DM.js} +1 -1
- package/dist/bundle/{chunk-RX5GU7GQ.js → chunk-7UACPXDC.js} +494 -436
- package/dist/bundle/{chunk-GRDVBJCR.js → chunk-AA2NZAUT.js} +1 -1
- package/dist/bundle/{chunk-QVK7NF3A.js → chunk-ACLUVZ4I.js} +32 -28
- package/dist/bundle/{chunk-QYT6HDCL.js → chunk-AKUBJHE5.js} +1 -1
- package/dist/bundle/{chunk-DYOZ7CUV.js → chunk-AYEQMXRE.js} +1 -1
- package/dist/bundle/{chunk-VG3EQJYV.js → chunk-AZ7DSHQO.js} +31 -2
- package/dist/bundle/{chunk-AI2J3WJT.js → chunk-BSKYPHLB.js} +1 -1
- package/dist/bundle/{chunk-FUYCAROL.js → chunk-CK7DSGIK.js} +5 -5
- package/dist/bundle/{chunk-VUBSGQ2O.js → chunk-DGGAYHLN.js} +24 -22
- package/dist/bundle/{chunk-E4HDE5DN.js → chunk-F34EE5Y2.js} +2 -2
- package/dist/bundle/{chunk-AMPHPP4P.js → chunk-FYOHGIQP.js} +13 -13
- package/dist/bundle/{chunk-UTNK2PFE.js → chunk-G4RCT5RH.js} +12 -12
- package/dist/bundle/{chunk-DI3RJ3MJ.js → chunk-G4VVBR6U.js} +3 -3
- package/dist/bundle/{chunk-FSP74THJ.js → chunk-GI2ZUNOH.js} +4 -4
- package/dist/bundle/{chunk-DNCOELTM.js → chunk-GIY56MIB.js} +1 -1
- package/dist/bundle/{chunk-UG66U2T7.js → chunk-GOGGRLS6.js} +19 -13
- package/dist/bundle/{chunk-BLNMM3AX.js → chunk-HPFB4Y7P.js} +1 -1
- package/dist/bundle/{chunk-MK4IKICN.js → chunk-J2BUWK5U.js} +2 -2
- package/dist/bundle/{chunk-JC6HMPL7.js → chunk-JAKP5RWM.js} +3694 -3590
- package/dist/bundle/{chunk-6Y6SSZ34.js → chunk-JQ2RKLPU.js} +129 -83
- package/dist/bundle/{chunk-ZX5OSZHH.js → chunk-K4DXGJK4.js} +10 -10
- package/dist/bundle/{chunk-JB4BO5XZ.js → chunk-KSLZEXRF.js} +1 -1
- package/dist/bundle/{chunk-3GILMKQ2.js → chunk-L5PYWQDA.js} +2 -2
- package/dist/bundle/{chunk-TAFH5K5D.js → chunk-MA2XHO4O.js} +273 -242
- package/dist/bundle/{chunk-PCC7GWOS.js → chunk-MP47TE77.js} +3 -3
- package/dist/bundle/{chunk-OG2ONSH6.js → chunk-N2JSMP4N.js} +16 -16
- package/dist/bundle/{chunk-B252D7V4.js → chunk-NJ3FSKSU.js} +4 -6
- package/dist/bundle/{chunk-TVQBOIWC.js → chunk-OXB5P37M.js} +1 -1
- package/dist/bundle/{chunk-4TCBRKWQ.js → chunk-P2GNIWGG.js} +6 -6
- package/dist/bundle/{chunk-77Z3OGAT.js → chunk-PJ6FZXUR.js} +2 -2
- package/dist/bundle/{chunk-JKF7LZBU.js → chunk-QCLMP635.js} +5 -5
- package/dist/bundle/{chunk-X6436BYW.js → chunk-QGLB4D7J.js} +1 -1
- package/dist/bundle/{chunk-37SZHAEA.js → chunk-QMEPKUG3.js} +51 -50
- package/dist/bundle/{chunk-7OBSIDBJ.js → chunk-QOINWAQD.js} +2 -2
- package/dist/bundle/{chunk-CNEJQQMD.js → chunk-QYLYMOXN.js} +11 -11
- package/dist/bundle/{chunk-INZAZMUF.js → chunk-RFDPU4NO.js} +9 -4
- package/dist/bundle/{chunk-WH4T44L3.js → chunk-SL4S5GFR.js} +1 -1
- package/dist/bundle/{chunk-LU2CHHPC.js → chunk-SXVB2CVR.js} +2 -2
- package/dist/bundle/{chunk-EIGV2JKX.js → chunk-UIFQEXVP.js} +1 -1
- package/dist/bundle/{chunk-JCNKGZQG.js → chunk-W35POPPX.js} +16 -16
- package/dist/bundle/{chunk-NTHALPDT.js → chunk-W725T2V7.js} +2 -1
- package/dist/bundle/{chunk-4KIOWSDL.js → chunk-W75SKUY4.js} +2 -2
- package/dist/bundle/{chunk-VZDAVZYX.js → chunk-XGBXRDJP.js} +5 -5
- package/dist/bundle/{chunk-6HLB73UN.js → chunk-Y4724JRR.js} +2 -2
- package/dist/bundle/{chunk-S4SOS27T.js → chunk-Y5DGB7GP.js} +7 -7
- package/dist/bundle/{chunk-XTNOBJRP.js → chunk-ZXCQF6XV.js} +10 -10
- package/dist/bundle/{command-contract-JP6SCP7U.js → command-contract-ZEYY3ZXK.js} +13 -13
- package/dist/bundle/{command-server-entry-BLSFT3T6.js → command-server-entry-UWY6PQIV.js} +20 -20
- package/dist/bundle/{decode-NNLEQU7B.js → decode-QGMFQ6XX.js} +2 -2
- package/dist/bundle/{echarts-XAZHGDOM.js → echarts-GHU3GEWV.js} +2 -2
- package/dist/bundle/{embed-Q7ZCVSCO.js → embed-6DMEWQDO.js} +3 -3
- package/dist/bundle/{embedder-MVS3PVWQ.js → embedder-W2L7YZPW.js} +6 -6
- package/dist/bundle/{entry-XN3ZZAOK.js → entry-LPEXVFQC.js} +6 -6
- package/dist/bundle/{first-run-G4EFTONI.js → first-run-3UJ6SJF5.js} +5 -5
- package/dist/bundle/{first-screen-RIDJEPC3.js → first-screen-VCSY5QH5.js} +14 -14
- package/dist/bundle/{instructions-QDHYYZBU.js → instructions-RUVAH2IS.js} +1 -1
- package/dist/bundle/{node-3Y7OVY2U.js → node-RYSNHVBX.js} +2 -2
- package/dist/bundle/{node-sqlite-R2SBROJM.js → node-sqlite-J6ZL4LUY.js} +4 -4
- package/dist/bundle/{oauth-WSPWMWTV.js → oauth-B2QNZNSC.js} +4 -4
- package/dist/bundle/{open-VFLF4HRQ.js → open-OMUP5P6V.js} +2 -2
- package/dist/bundle/{openai-DFCKZZDV.js → openai-BT4BP4VQ.js} +12 -12
- package/dist/bundle/{process-VZKFAGNP.js → process-HG3QDD54.js} +1 -1
- package/dist/bundle/{program-2LB3CUZX.js → program-P2VATMKJ.js} +46 -46
- package/dist/bundle/{prompt-RVLA2PEY.js → prompt-BTIHH3Z4.js} +2 -2
- package/dist/bundle/{recognize-LEKNA3G5.js → recognize-CTSJXPIG.js} +1 -1
- package/dist/bundle/{remote-WG5V2I2G.js → remote-2FIGCMKL.js} +6 -6
- package/dist/bundle/{rerank-ONAEQVJ6.js → rerank-TI5SLEF4.js} +4 -4
- package/dist/bundle/{serve-BL2X6FZG.js → serve-IO3IM5C7.js} +6 -6
- package/dist/bundle/server-RIGXUTKZ.js +62 -0
- package/dist/bundle/{server-3LSC4BMK.js → server-WEPFFTYA.js} +31 -29
- package/dist/bundle/{sqlite-runtime-RQXPRH6C.js → sqlite-runtime-CTEYXX7L.js} +3 -3
- package/dist/bundle/{state-O7LRA526.js → state-GFHVDGHM.js} +3 -3
- package/dist/bundle/{store-HMJUPK45.js → store-RCK6HT4F.js} +9 -9
- package/dist/bundle/{store-7C4UAND2.js → store-Y5XC4LEM.js} +11 -11
- package/dist/bundle/store-maintenance-command-XH6VMCDU.js +52 -0
- package/dist/bundle/tg.js +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/server-7EYEEGJT.js +0 -62
- package/dist/bundle/store-maintenance-command-I7PSA3SZ.js +0 -52
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P2GNIWGG.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NJ3FSKSU.js";
|
|
16
16
|
import {
|
|
17
17
|
ancestorValue,
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AYEQMXRE.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OXB5P37M.js";
|
|
25
25
|
import {
|
|
26
26
|
endpoint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AZ7DSHQO.js";
|
|
28
28
|
import {
|
|
29
29
|
note
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-L5PYWQDA.js";
|
|
31
31
|
import {
|
|
32
32
|
filesPresent,
|
|
33
33
|
sharedModelsDirectory
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-MP47TE77.js";
|
|
35
35
|
import {
|
|
36
36
|
BUSINESS_KINDS,
|
|
37
37
|
CATEGORIES,
|
|
@@ -109,19 +109,19 @@ import {
|
|
|
109
109
|
typedCommand,
|
|
110
110
|
untrusted,
|
|
111
111
|
useAsProcessRun
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-JQ2RKLPU.js";
|
|
113
113
|
import {
|
|
114
114
|
isCliFailure,
|
|
115
115
|
storeDamaged
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-PJ6FZXUR.js";
|
|
117
117
|
import {
|
|
118
118
|
readSharedSection,
|
|
119
119
|
sharedConfigPath,
|
|
120
120
|
writeSharedSection
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-CK7DSGIK.js";
|
|
122
122
|
import {
|
|
123
123
|
storePath
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-W725T2V7.js";
|
|
125
125
|
import {
|
|
126
126
|
configFilePath,
|
|
127
127
|
createRecordLog,
|
|
@@ -3993,7 +3993,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3993
3993
|
}
|
|
3994
3994
|
}, "refuseJoinedPath");
|
|
3995
3995
|
|
|
3996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3997
3997
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3998
3998
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3999
3999
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4397,7 +4397,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4397
4397
|
}
|
|
4398
4398
|
}, "assertRetentionEvidenceRead");
|
|
4399
4399
|
|
|
4400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4401
4401
|
var account = strictObject({
|
|
4402
4402
|
provider: text,
|
|
4403
4403
|
id,
|
|
@@ -4407,7 +4407,7 @@ var account = strictObject({
|
|
|
4407
4407
|
scope: optional(picklist(["personal", "work"]))
|
|
4408
4408
|
});
|
|
4409
4409
|
|
|
4410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4411
4411
|
var accountSession = strictObject({
|
|
4412
4412
|
current: boolean(),
|
|
4413
4413
|
client: nullable(text),
|
|
@@ -4417,7 +4417,7 @@ var accountSession = strictObject({
|
|
|
4417
4417
|
created_at: optional(nullable(time))
|
|
4418
4418
|
});
|
|
4419
4419
|
|
|
4420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4420
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4421
4421
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4422
4422
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4423
4423
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4446,7 +4446,7 @@ var accountRemoval = strictObject({
|
|
|
4446
4446
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4447
4447
|
});
|
|
4448
4448
|
|
|
4449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4450
4450
|
var accountProfile = strictObject({
|
|
4451
4451
|
profile: id,
|
|
4452
4452
|
current: boolean(),
|
|
@@ -4458,7 +4458,7 @@ var accountProfile = strictObject({
|
|
|
4458
4458
|
bot: optional(literal(true))
|
|
4459
4459
|
});
|
|
4460
4460
|
|
|
4461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4462
4462
|
var milliseconds = pipe(number(), minValue(0));
|
|
4463
4463
|
var counterReading = strictObject({
|
|
4464
4464
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4470,7 +4470,7 @@ var counterReading = strictObject({
|
|
|
4470
4470
|
});
|
|
4471
4471
|
var selection = record(string(), unknown());
|
|
4472
4472
|
|
|
4473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4474
4474
|
var adminRow = strictObject({
|
|
4475
4475
|
ref: reference,
|
|
4476
4476
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4523,7 +4523,7 @@ var adminReport = strictObject({
|
|
|
4523
4523
|
rows: array(adminRow)
|
|
4524
4524
|
});
|
|
4525
4525
|
|
|
4526
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4526
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4527
4527
|
var closeSuggestion = strictObject({
|
|
4528
4528
|
as: picklist(["done", "dismissed"]),
|
|
4529
4529
|
/** The agent's name. */
|
|
@@ -4585,7 +4585,7 @@ var task = strictObject({
|
|
|
4585
4585
|
updated_at: optional(time)
|
|
4586
4586
|
});
|
|
4587
4587
|
|
|
4588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4589
4589
|
var agendaChat = strictObject({
|
|
4590
4590
|
chat: reference,
|
|
4591
4591
|
title: nullable(text),
|
|
@@ -4655,11 +4655,11 @@ var agenda = strictObject({
|
|
|
4655
4655
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4656
4656
|
});
|
|
4657
4657
|
|
|
4658
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4658
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4659
4659
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4660
4660
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4661
4661
|
|
|
4662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4663
4663
|
var attachment = strictObject({
|
|
4664
4664
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4665
4665
|
message: optional(reference),
|
|
@@ -4704,7 +4704,7 @@ var hitFile = strictObject({
|
|
|
4704
4704
|
local_path: optional(text)
|
|
4705
4705
|
});
|
|
4706
4706
|
|
|
4707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4708
4708
|
var actionableError = objectWithRest({
|
|
4709
4709
|
code: text,
|
|
4710
4710
|
message: text,
|
|
@@ -4721,7 +4721,7 @@ var batchResult = strictObject({
|
|
|
4721
4721
|
max_error_percent: count
|
|
4722
4722
|
});
|
|
4723
4723
|
|
|
4724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4725
4725
|
var extractionItem = strictObject({
|
|
4726
4726
|
ref: reference,
|
|
4727
4727
|
attachment: count,
|
|
@@ -4754,7 +4754,7 @@ var extractionReport = strictObject({
|
|
|
4754
4754
|
cursor: optional(text)
|
|
4755
4755
|
});
|
|
4756
4756
|
|
|
4757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4758
4758
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4759
4759
|
var attachmentBytes = strictObject({
|
|
4760
4760
|
ref: reference,
|
|
@@ -4785,7 +4785,7 @@ var attachmentTextChange = strictObject({
|
|
|
4785
4785
|
text: optional(text)
|
|
4786
4786
|
});
|
|
4787
4787
|
|
|
4788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4789
4789
|
var WEIGHTS = {
|
|
4790
4790
|
bot: 3,
|
|
4791
4791
|
scam: 3,
|
|
@@ -4810,7 +4810,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4810
4810
|
var DIGITS = /\d{5,}/;
|
|
4811
4811
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4812
4812
|
|
|
4813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4814
4814
|
var linkedIdentity = strictObject({
|
|
4815
4815
|
provider: text,
|
|
4816
4816
|
id,
|
|
@@ -4865,7 +4865,7 @@ var contactCheck = strictObject({
|
|
|
4865
4865
|
checked_at: time
|
|
4866
4866
|
});
|
|
4867
4867
|
|
|
4868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4869
4869
|
var member = strictObject({
|
|
4870
4870
|
id,
|
|
4871
4871
|
name: nullable(text),
|
|
@@ -4888,7 +4888,7 @@ var member = strictObject({
|
|
|
4888
4888
|
check: optional(record(string(), unknown()))
|
|
4889
4889
|
});
|
|
4890
4890
|
|
|
4891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4892
4892
|
var setting = optional(nullable(boolean()));
|
|
4893
4893
|
var chat = strictObject({
|
|
4894
4894
|
ref: reference,
|
|
@@ -4929,7 +4929,7 @@ var chat = strictObject({
|
|
|
4929
4929
|
members: optional(array(member))
|
|
4930
4930
|
});
|
|
4931
4931
|
|
|
4932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4933
4933
|
var quoted = strictObject({
|
|
4934
4934
|
id,
|
|
4935
4935
|
sender_id: nullable(id),
|
|
@@ -5048,7 +5048,7 @@ var message = strictObject({
|
|
|
5048
5048
|
provider_metadata: providerMetadata
|
|
5049
5049
|
});
|
|
5050
5050
|
|
|
5051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
5052
5052
|
var recordedMeeting = strictObject({
|
|
5053
5053
|
ref: reference,
|
|
5054
5054
|
meeting_id: count,
|
|
@@ -5061,7 +5061,7 @@ var recordedMeeting = strictObject({
|
|
|
5061
5061
|
people: array(reference)
|
|
5062
5062
|
});
|
|
5063
5063
|
|
|
5064
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5065
5065
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5066
5066
|
var contextMessage = strictObject({
|
|
5067
5067
|
locator: reference,
|
|
@@ -5267,7 +5267,7 @@ var contactPreparation = strictObject({
|
|
|
5267
5267
|
})
|
|
5268
5268
|
});
|
|
5269
5269
|
|
|
5270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5271
5271
|
var nullableText = nullable(text);
|
|
5272
5272
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5273
5273
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5378,7 +5378,7 @@ var stage = strictObject({
|
|
|
5378
5378
|
untrusted
|
|
5379
5379
|
});
|
|
5380
5380
|
|
|
5381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5382
5382
|
var nullableText2 = nullable(text);
|
|
5383
5383
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5384
5384
|
var standing = picklist(STANDINGS);
|
|
@@ -5552,7 +5552,7 @@ var dealBrief = strictObject({
|
|
|
5552
5552
|
not_read: coverage2.entries.not_read
|
|
5553
5553
|
});
|
|
5554
5554
|
|
|
5555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5556
5556
|
var chart = strictObject({
|
|
5557
5557
|
version: literal(1),
|
|
5558
5558
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5567,7 +5567,7 @@ var chart = strictObject({
|
|
|
5567
5567
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5568
5568
|
});
|
|
5569
5569
|
|
|
5570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5571
5571
|
var named = strictObject({
|
|
5572
5572
|
id,
|
|
5573
5573
|
title: nullable(text),
|
|
@@ -5590,7 +5590,7 @@ var folder = strictObject({
|
|
|
5590
5590
|
excluded_chats: optional(array(named))
|
|
5591
5591
|
});
|
|
5592
5592
|
|
|
5593
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5593
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5594
5594
|
var inviteLink = strictObject({
|
|
5595
5595
|
link: text,
|
|
5596
5596
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5606,7 +5606,7 @@ var inviteLink = strictObject({
|
|
|
5606
5606
|
joined_count: optional(count)
|
|
5607
5607
|
});
|
|
5608
5608
|
|
|
5609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5610
5610
|
var operated = { operation_id: id, chat_id: id };
|
|
5611
5611
|
var group = strictObject({
|
|
5612
5612
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5686,7 +5686,7 @@ var chatFolderOrder = strictObject({
|
|
|
5686
5686
|
folders: array(strictObject({ id, title: text }))
|
|
5687
5687
|
});
|
|
5688
5688
|
|
|
5689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5689
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5690
5690
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5691
5691
|
var chatRemoval = strictObject(operated2);
|
|
5692
5692
|
var chatMuting = strictObject({
|
|
@@ -5697,7 +5697,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5697
5697
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5698
5698
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5699
5699
|
|
|
5700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5701
5701
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5702
5702
|
var chatEvent = strictObject({
|
|
5703
5703
|
chat_id: id,
|
|
@@ -5714,7 +5714,7 @@ var chatEvent = strictObject({
|
|
|
5714
5714
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5715
5715
|
});
|
|
5716
5716
|
|
|
5717
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5718
5718
|
var chatMetadata = strictObject({
|
|
5719
5719
|
chat_id: id,
|
|
5720
5720
|
title: nullable(text),
|
|
@@ -5729,7 +5729,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5729
5729
|
has_more: boolean()
|
|
5730
5730
|
});
|
|
5731
5731
|
|
|
5732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5733
5733
|
var action = picklist(["report", "delete", "remove"]);
|
|
5734
5734
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5735
5735
|
var chatRules = strictObject({
|
|
@@ -5766,7 +5766,7 @@ var chatModeration = strictObject({
|
|
|
5766
5766
|
}))
|
|
5767
5767
|
});
|
|
5768
5768
|
|
|
5769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5770
5770
|
var optionalCount = optional(count);
|
|
5771
5771
|
var minutes = nullable(number());
|
|
5772
5772
|
var chatStats = strictObject({
|
|
@@ -5842,7 +5842,7 @@ var taskStats = strictObject({
|
|
|
5842
5842
|
}))
|
|
5843
5843
|
});
|
|
5844
5844
|
|
|
5845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5846
5846
|
var memberCount = strictObject({
|
|
5847
5847
|
day: pipe(text, isoDate()),
|
|
5848
5848
|
participants: nullable(count),
|
|
@@ -5865,7 +5865,7 @@ var chatTracking = strictObject({
|
|
|
5865
5865
|
tracked: boolean()
|
|
5866
5866
|
});
|
|
5867
5867
|
|
|
5868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5869
5869
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5870
5870
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5871
5871
|
var profileFields = {
|
|
@@ -5903,7 +5903,7 @@ var profileFields = {
|
|
|
5903
5903
|
}))
|
|
5904
5904
|
};
|
|
5905
5905
|
|
|
5906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5907
5907
|
var contact = strictObject({
|
|
5908
5908
|
ref: reference,
|
|
5909
5909
|
id,
|
|
@@ -5934,7 +5934,7 @@ var contact = strictObject({
|
|
|
5934
5934
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5935
5935
|
});
|
|
5936
5936
|
|
|
5937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5938
5938
|
var contactNote = strictObject({
|
|
5939
5939
|
id,
|
|
5940
5940
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5946,13 +5946,13 @@ var contactNote = strictObject({
|
|
|
5946
5946
|
updated_at: time
|
|
5947
5947
|
});
|
|
5948
5948
|
|
|
5949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5950
5950
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5951
5951
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5952
5952
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5953
5953
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5954
5954
|
|
|
5955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5956
5956
|
var conversation = strictObject({
|
|
5957
5957
|
id,
|
|
5958
5958
|
chat: reference,
|
|
@@ -5967,7 +5967,7 @@ var conversation = strictObject({
|
|
|
5967
5967
|
rules_version: count
|
|
5968
5968
|
});
|
|
5969
5969
|
|
|
5970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5970
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5971
5971
|
var conversationBuild = strictObject({
|
|
5972
5972
|
chat: id,
|
|
5973
5973
|
messages: count,
|
|
@@ -5992,7 +5992,7 @@ var catchUpPreparation = strictObject({
|
|
|
5992
5992
|
prepared: optional(conversationPreparation)
|
|
5993
5993
|
});
|
|
5994
5994
|
|
|
5995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5996
5996
|
var conversationDetails = union([
|
|
5997
5997
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5998
5998
|
message
|
|
@@ -6082,7 +6082,7 @@ var conversationHit = strictObject({
|
|
|
6082
6082
|
stale: boolean()
|
|
6083
6083
|
});
|
|
6084
6084
|
|
|
6085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6086
6086
|
var counters = strictObject({
|
|
6087
6087
|
cutoff: time,
|
|
6088
6088
|
max_age_ms: milliseconds,
|
|
@@ -6112,7 +6112,7 @@ var counterRefresh = strictObject({
|
|
|
6112
6112
|
complete: optional(boolean())
|
|
6113
6113
|
});
|
|
6114
6114
|
|
|
6115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6116
6116
|
var document = strictObject({
|
|
6117
6117
|
ref: reference,
|
|
6118
6118
|
id,
|
|
@@ -6127,7 +6127,7 @@ var document = strictObject({
|
|
|
6127
6127
|
owners: optional(array(text))
|
|
6128
6128
|
});
|
|
6129
6129
|
|
|
6130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6131
6131
|
var documentLink = strictObject({
|
|
6132
6132
|
ref: reference,
|
|
6133
6133
|
url: text,
|
|
@@ -6138,7 +6138,7 @@ var documentLink = strictObject({
|
|
|
6138
6138
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6139
6139
|
});
|
|
6140
6140
|
|
|
6141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6142
6142
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6143
6143
|
var contribution = strictObject({
|
|
6144
6144
|
message: evidenceMessage,
|
|
@@ -6168,7 +6168,7 @@ var retentionStay = strictObject({
|
|
|
6168
6168
|
});
|
|
6169
6169
|
var evidence = union([contribution, retentionStay]);
|
|
6170
6170
|
|
|
6171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6172
6172
|
var fact = strictObject({
|
|
6173
6173
|
ref: reference,
|
|
6174
6174
|
id,
|
|
@@ -6199,7 +6199,7 @@ var fact = strictObject({
|
|
|
6199
6199
|
updated_at: time
|
|
6200
6200
|
});
|
|
6201
6201
|
|
|
6202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6203
6203
|
var hit = strictObject({
|
|
6204
6204
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6205
6205
|
ref: reference,
|
|
@@ -6239,13 +6239,15 @@ var hit = strictObject({
|
|
|
6239
6239
|
review: optional(picklist(["proposed", "confirmed"])),
|
|
6240
6240
|
/** A business hit's record in the import that made it; absent for one the owner or an agent wrote. */
|
|
6241
6241
|
source_record: optional(strictObject({ provider: text, account: text, external_id: text })),
|
|
6242
|
+
/** A document's: the meeting it is the transcript, recording or notes of. */
|
|
6243
|
+
meeting: optional(reference),
|
|
6242
6244
|
/** A message's files; absent when it has none. */
|
|
6243
6245
|
attachments: optional(array(hitFile)),
|
|
6244
6246
|
/** Absent on a note hit: the owner wrote it. */
|
|
6245
6247
|
untrusted
|
|
6246
6248
|
});
|
|
6247
6249
|
|
|
6248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6249
6251
|
var identity = strictObject({
|
|
6250
6252
|
ref: reference,
|
|
6251
6253
|
provider: text,
|
|
@@ -6261,7 +6263,7 @@ var identity = strictObject({
|
|
|
6261
6263
|
person: optional(nullable(reference))
|
|
6262
6264
|
});
|
|
6263
6265
|
|
|
6264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6265
6267
|
var imageEmbedding = strictObject({
|
|
6266
6268
|
model: text,
|
|
6267
6269
|
embedded: count,
|
|
@@ -6270,13 +6272,13 @@ var imageEmbedding = strictObject({
|
|
|
6270
6272
|
more: boolean()
|
|
6271
6273
|
});
|
|
6272
6274
|
|
|
6273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6274
6276
|
import { spawn } from "node:child_process";
|
|
6275
6277
|
import { randomBytes } from "node:crypto";
|
|
6276
6278
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6277
6279
|
import { dirname, join } from "node:path";
|
|
6278
6280
|
|
|
6279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6281
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6280
6282
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6281
6283
|
const total = input.total ?? null;
|
|
6282
6284
|
const updated = input.updatedAt ?? null;
|
|
@@ -6292,7 +6294,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
6292
6294
|
};
|
|
6293
6295
|
}, "progressOf");
|
|
6294
6296
|
|
|
6295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6296
6298
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6297
6299
|
const run = currentRun();
|
|
6298
6300
|
const trace = traceId ?? run.traceId;
|
|
@@ -6306,7 +6308,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6306
6308
|
}));
|
|
6307
6309
|
}, "recordLogFor");
|
|
6308
6310
|
|
|
6309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6310
6312
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6311
6313
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6312
6314
|
const out = openSync(log, "a", 384);
|
|
@@ -6461,7 +6463,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6461
6463
|
return { job: id6, pid, chat: input.chat, log };
|
|
6462
6464
|
}, "startArchiveJob");
|
|
6463
6465
|
|
|
6464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6466
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6465
6467
|
var problem = strictObject({ code: text, message: text });
|
|
6466
6468
|
var job = strictObject({
|
|
6467
6469
|
id,
|
|
@@ -6484,7 +6486,7 @@ var job = strictObject({
|
|
|
6484
6486
|
error: optional(problem)
|
|
6485
6487
|
});
|
|
6486
6488
|
|
|
6487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6488
6490
|
var joinRequest = strictObject({
|
|
6489
6491
|
person_id: id,
|
|
6490
6492
|
name: nullable(text),
|
|
@@ -6495,7 +6497,7 @@ var joinRequest = strictObject({
|
|
|
6495
6497
|
about: optional(text)
|
|
6496
6498
|
});
|
|
6497
6499
|
|
|
6498
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6499
6501
|
var botProfile = strictObject({
|
|
6500
6502
|
name: text,
|
|
6501
6503
|
token: text,
|
|
@@ -6619,7 +6621,7 @@ var stickerInventory = strictObject({
|
|
|
6619
6621
|
url: optional(nullable(text))
|
|
6620
6622
|
});
|
|
6621
6623
|
|
|
6622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6623
6625
|
var pollVote = strictObject({
|
|
6624
6626
|
person_id: id,
|
|
6625
6627
|
name: nullable(text),
|
|
@@ -6629,7 +6631,7 @@ var pollVote = strictObject({
|
|
|
6629
6631
|
voted_at: time
|
|
6630
6632
|
});
|
|
6631
6633
|
|
|
6632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6633
6635
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6634
6636
|
var observation = strictObject({
|
|
6635
6637
|
value: pipe(number(), minValue(0)),
|
|
@@ -6671,7 +6673,7 @@ var serveSummary = strictObject({
|
|
|
6671
6673
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6672
6674
|
});
|
|
6673
6675
|
|
|
6674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6675
6677
|
var mailCounts = strictObject({
|
|
6676
6678
|
by: picklist(["day", "week", "sender"]),
|
|
6677
6679
|
received: count,
|
|
@@ -6686,7 +6688,7 @@ var mailCounts = strictObject({
|
|
|
6686
6688
|
}))
|
|
6687
6689
|
});
|
|
6688
6690
|
|
|
6689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6690
6692
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6691
6693
|
var base = { id, evidence: array(evidence2) };
|
|
6692
6694
|
var finding = variant("kind", [
|
|
@@ -6830,7 +6832,7 @@ var mailFindings = strictObject({
|
|
|
6830
6832
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6831
6833
|
});
|
|
6832
6834
|
|
|
6833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6834
6836
|
var mediaArchive = strictObject({
|
|
6835
6837
|
directory: text,
|
|
6836
6838
|
chats: count,
|
|
@@ -6862,7 +6864,7 @@ var mediaArchiveTimer = union([
|
|
|
6862
6864
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6863
6865
|
]);
|
|
6864
6866
|
|
|
6865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6867
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6866
6868
|
var preparationId = pipe(string(), minLength(1));
|
|
6867
6869
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6868
6870
|
var preparationTime = nullable(isoTime);
|
|
@@ -6954,7 +6956,7 @@ var preparationMeeting = strictObject({
|
|
|
6954
6956
|
updated_at: isoTime
|
|
6955
6957
|
});
|
|
6956
6958
|
|
|
6957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6959
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6958
6960
|
var meetingEvidence = preparationEvidence;
|
|
6959
6961
|
var meetingPersonContext = strictObject({
|
|
6960
6962
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6976,7 +6978,7 @@ var meetingPersonContext = strictObject({
|
|
|
6976
6978
|
})
|
|
6977
6979
|
});
|
|
6978
6980
|
|
|
6979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6981
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6980
6982
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6981
6983
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6982
6984
|
var finding2 = variant("kind", [
|
|
@@ -7014,7 +7016,7 @@ var meetingFindings = strictObject({
|
|
|
7014
7016
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
7015
7017
|
});
|
|
7016
7018
|
|
|
7017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
7018
7020
|
var communicationCoverage = strictObject({
|
|
7019
7021
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
7020
7022
|
query: string(),
|
|
@@ -7059,7 +7061,7 @@ var preparationCommunications = strictObject({
|
|
|
7059
7061
|
}))
|
|
7060
7062
|
});
|
|
7061
7063
|
|
|
7062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
7063
7065
|
var meetingPreparation = strictObject({
|
|
7064
7066
|
communications: optional(preparationCommunications),
|
|
7065
7067
|
schema_version: literal(1),
|
|
@@ -7172,7 +7174,7 @@ var meetingPreparation = strictObject({
|
|
|
7172
7174
|
})
|
|
7173
7175
|
});
|
|
7174
7176
|
|
|
7175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7176
7178
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7177
7179
|
var id3 = pipe(string(), minLength(1));
|
|
7178
7180
|
var text3 = string();
|
|
@@ -7236,7 +7238,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7236
7238
|
})
|
|
7237
7239
|
});
|
|
7238
7240
|
|
|
7239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7240
7242
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7241
7243
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7242
7244
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7266,7 +7268,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7266
7268
|
})
|
|
7267
7269
|
});
|
|
7268
7270
|
|
|
7269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7270
7272
|
var text4 = string();
|
|
7271
7273
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7272
7274
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7283,7 +7285,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7283
7285
|
persistence: literal("proposal-only")
|
|
7284
7286
|
});
|
|
7285
7287
|
|
|
7286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7287
7289
|
var memory = strictObject({
|
|
7288
7290
|
ref: reference,
|
|
7289
7291
|
id,
|
|
@@ -7311,7 +7313,7 @@ var memory = strictObject({
|
|
|
7311
7313
|
updated_at: time
|
|
7312
7314
|
});
|
|
7313
7315
|
|
|
7314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7315
7317
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7316
7318
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7317
7319
|
var mention = strictObject({
|
|
@@ -7355,13 +7357,13 @@ var mentionRebuild = strictObject({
|
|
|
7355
7357
|
mentions: count
|
|
7356
7358
|
});
|
|
7357
7359
|
|
|
7358
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7359
7361
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7360
7362
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7361
7363
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7362
7364
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7363
7365
|
|
|
7364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7365
7367
|
var messageTranscript = strictObject({
|
|
7366
7368
|
message_id: id,
|
|
7367
7369
|
text,
|
|
@@ -7419,7 +7421,7 @@ var evidencePacket = strictObject({
|
|
|
7419
7421
|
}))
|
|
7420
7422
|
});
|
|
7421
7423
|
|
|
7422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7423
7425
|
var messageThread = strictObject({
|
|
7424
7426
|
ref: reference,
|
|
7425
7427
|
chat: id,
|
|
@@ -7436,7 +7438,7 @@ var messageThread = strictObject({
|
|
|
7436
7438
|
});
|
|
7437
7439
|
var messageContext = union([message, messageThread]);
|
|
7438
7440
|
|
|
7439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7441
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7440
7442
|
var messageCounts = strictObject({
|
|
7441
7443
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7442
7444
|
total: count,
|
|
@@ -7449,7 +7451,7 @@ var messageCounts = strictObject({
|
|
|
7449
7451
|
}))
|
|
7450
7452
|
});
|
|
7451
7453
|
|
|
7452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7453
7455
|
var messageLink = strictObject({
|
|
7454
7456
|
ref: reference,
|
|
7455
7457
|
url: nullable(text),
|
|
@@ -7466,7 +7468,7 @@ var messageLink = strictObject({
|
|
|
7466
7468
|
})))
|
|
7467
7469
|
});
|
|
7468
7470
|
|
|
7469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7470
7472
|
var savedMessageFile = strictObject({
|
|
7471
7473
|
kind: text,
|
|
7472
7474
|
path: text,
|
|
@@ -7553,7 +7555,7 @@ var messageSyncAll = strictObject({
|
|
|
7553
7555
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7554
7556
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7555
7557
|
|
|
7556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7557
7559
|
var messageWrite = strictObject({
|
|
7558
7560
|
operation_id: id,
|
|
7559
7561
|
message,
|
|
@@ -7568,7 +7570,7 @@ var draftWrite = strictObject({
|
|
|
7568
7570
|
});
|
|
7569
7571
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7570
7572
|
|
|
7571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7573
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7572
7574
|
var model = strictObject({
|
|
7573
7575
|
id,
|
|
7574
7576
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7603,7 +7605,7 @@ var chosenModel = strictObject({
|
|
|
7603
7605
|
estimate_seconds: nullable(count)
|
|
7604
7606
|
});
|
|
7605
7607
|
|
|
7606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7607
7609
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7608
7610
|
var modelKey = strictObject({
|
|
7609
7611
|
provider: text,
|
|
@@ -7613,7 +7615,7 @@ var modelKey = strictObject({
|
|
|
7613
7615
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7614
7616
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7615
7617
|
|
|
7616
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7618
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7617
7619
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7618
7620
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7619
7621
|
var graph = strictObject({
|
|
@@ -7647,14 +7649,14 @@ var officialStats = strictObject({
|
|
|
7647
7649
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7648
7650
|
});
|
|
7649
7651
|
|
|
7650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7651
7653
|
var person2 = strictObject({
|
|
7652
7654
|
ref: reference,
|
|
7653
7655
|
name: nullable(text),
|
|
7654
7656
|
identities: optional(array(identity))
|
|
7655
7657
|
});
|
|
7656
7658
|
|
|
7657
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7658
7660
|
var poll = strictObject({
|
|
7659
7661
|
chat_id: id,
|
|
7660
7662
|
message_id: id,
|
|
@@ -7670,11 +7672,11 @@ var poll = strictObject({
|
|
|
7670
7672
|
});
|
|
7671
7673
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7672
7674
|
|
|
7673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7674
7676
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7675
7677
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7676
7678
|
|
|
7677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7679
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7678
7680
|
var figures = record(string(), number());
|
|
7679
7681
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7680
7682
|
var rankingRow = strictObject({
|
|
@@ -7721,7 +7723,7 @@ var ranking = strictObject({
|
|
|
7721
7723
|
rows: array(rankingRow)
|
|
7722
7724
|
});
|
|
7723
7725
|
|
|
7724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7725
7727
|
var reaction = strictObject({
|
|
7726
7728
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7727
7729
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7729,7 +7731,7 @@ var reaction = strictObject({
|
|
|
7729
7731
|
reacted_at: time
|
|
7730
7732
|
});
|
|
7731
7733
|
|
|
7732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7733
7735
|
var reactionChange = strictObject({
|
|
7734
7736
|
operation_id: id,
|
|
7735
7737
|
chat_id: id,
|
|
@@ -7737,7 +7739,7 @@ var reactionChange = strictObject({
|
|
|
7737
7739
|
reaction: nullable(text)
|
|
7738
7740
|
});
|
|
7739
7741
|
|
|
7740
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7741
7743
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7742
7744
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7743
7745
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7748,7 +7750,7 @@ var recipientChange = strictObject({
|
|
|
7748
7750
|
...partial(recipientOff).entries
|
|
7749
7751
|
});
|
|
7750
7752
|
|
|
7751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7752
7754
|
var events = array(record(string(), unknown()));
|
|
7753
7755
|
var recordedRun = strictObject({
|
|
7754
7756
|
run_id: id,
|
|
@@ -7820,7 +7822,7 @@ var runHit = strictObject({
|
|
|
7820
7822
|
});
|
|
7821
7823
|
var runLocation = strictObject({ path: text });
|
|
7822
7824
|
|
|
7823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7824
7826
|
var relationship = strictObject({
|
|
7825
7827
|
id,
|
|
7826
7828
|
from: reference,
|
|
@@ -7847,7 +7849,7 @@ var relationship = strictObject({
|
|
|
7847
7849
|
created_at: time
|
|
7848
7850
|
});
|
|
7849
7851
|
|
|
7850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7851
7853
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7852
7854
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7853
7855
|
var responseTimes = strictObject({
|
|
@@ -7864,7 +7866,7 @@ var waitingChats = strictObject({
|
|
|
7864
7866
|
by_kind: strictObject({ private: count, group: count })
|
|
7865
7867
|
});
|
|
7866
7868
|
|
|
7867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7869
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7868
7870
|
var retentionCohort = strictObject({
|
|
7869
7871
|
/** The first day of the joining day or week. */
|
|
7870
7872
|
cohort: text,
|
|
@@ -7912,7 +7914,7 @@ var retention = strictObject({
|
|
|
7912
7914
|
rows: array(retentionCohort)
|
|
7913
7915
|
});
|
|
7914
7916
|
|
|
7915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7917
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7916
7918
|
var savedSearch = strictObject({
|
|
7917
7919
|
id,
|
|
7918
7920
|
/** `null` for a run in the history. */
|
|
@@ -7929,7 +7931,7 @@ var savedSearch = strictObject({
|
|
|
7929
7931
|
});
|
|
7930
7932
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7931
7933
|
|
|
7932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7933
7935
|
var sendAttempt = strictObject({
|
|
7934
7936
|
at: time,
|
|
7935
7937
|
profile: text,
|
|
@@ -7957,7 +7959,7 @@ var sendAttempt = strictObject({
|
|
|
7957
7959
|
error_code: optional(text)
|
|
7958
7960
|
});
|
|
7959
7961
|
|
|
7960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7961
7963
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7962
7964
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7963
7965
|
var infoSchema = strictObject({
|
|
@@ -8187,7 +8189,7 @@ var storeRepair = union([
|
|
|
8187
8189
|
]);
|
|
8188
8190
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8189
8191
|
|
|
8190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8191
8193
|
var range = strictObject({ from: number(), to: number() });
|
|
8192
8194
|
var storeChatStatus = strictObject({
|
|
8193
8195
|
chat_id: id,
|
|
@@ -8285,7 +8287,7 @@ var storeJobRetry = union([
|
|
|
8285
8287
|
]);
|
|
8286
8288
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8287
8289
|
|
|
8288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8289
8291
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8290
8292
|
var storeTable = strictObject({
|
|
8291
8293
|
name: text,
|
|
@@ -8294,7 +8296,7 @@ var storeTable = strictObject({
|
|
|
8294
8296
|
bytes: optional(nullable(count))
|
|
8295
8297
|
});
|
|
8296
8298
|
|
|
8297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8298
8300
|
var tagTarget = variant("type", [
|
|
8299
8301
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8300
8302
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8325,7 +8327,7 @@ var automaticTags = strictObject({
|
|
|
8325
8327
|
dry_run: boolean()
|
|
8326
8328
|
});
|
|
8327
8329
|
|
|
8328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8329
8331
|
var tagging = strictObject({
|
|
8330
8332
|
tag: text,
|
|
8331
8333
|
type: picklist(TAG_TYPES),
|
|
@@ -8338,7 +8340,7 @@ var tagging = strictObject({
|
|
|
8338
8340
|
created_at: time
|
|
8339
8341
|
});
|
|
8340
8342
|
|
|
8341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8342
8344
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8343
8345
|
var taskPair = strictObject({
|
|
8344
8346
|
task: nullable(side),
|
|
@@ -8361,7 +8363,7 @@ var taskPair = strictObject({
|
|
|
8361
8363
|
created_at: time
|
|
8362
8364
|
});
|
|
8363
8365
|
|
|
8364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8365
8367
|
var nullableTime = nullable(time);
|
|
8366
8368
|
var link = strictObject({
|
|
8367
8369
|
id,
|
|
@@ -8535,7 +8537,7 @@ var taskReview = strictObject({
|
|
|
8535
8537
|
untrusted
|
|
8536
8538
|
});
|
|
8537
8539
|
|
|
8538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8539
8541
|
var template = strictObject({
|
|
8540
8542
|
key: text,
|
|
8541
8543
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8547,7 +8549,7 @@ var template = strictObject({
|
|
|
8547
8549
|
updated_by: nullable(text)
|
|
8548
8550
|
});
|
|
8549
8551
|
|
|
8550
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8551
8553
|
var topic = strictObject({
|
|
8552
8554
|
id,
|
|
8553
8555
|
title: text,
|
|
@@ -8561,7 +8563,7 @@ var topic = strictObject({
|
|
|
8561
8563
|
untrusted
|
|
8562
8564
|
});
|
|
8563
8565
|
|
|
8564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8565
8567
|
var ENTITIES = {
|
|
8566
8568
|
sync_progress: progress,
|
|
8567
8569
|
deal,
|
|
@@ -8856,7 +8858,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8856
8858
|
return [name, definition];
|
|
8857
8859
|
})), "entityDefinitions");
|
|
8858
8860
|
|
|
8859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8860
8862
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8861
8863
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8862
8864
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8890,7 +8892,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8890
8892
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8891
8893
|
}, "answerRow");
|
|
8892
8894
|
|
|
8893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8894
8896
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8895
8897
|
var requests = new AsyncLocalStorage();
|
|
8896
8898
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -8905,7 +8907,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
8905
8907
|
return direct;
|
|
8906
8908
|
}, "exitCodeSet");
|
|
8907
8909
|
|
|
8908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8909
8911
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8910
8912
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8911
8913
|
messageId: message2.id,
|
|
@@ -9011,7 +9013,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
9011
9013
|
}, "guardedWrite");
|
|
9012
9014
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
9013
9015
|
|
|
9014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
9015
9017
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
9016
9018
|
try {
|
|
9017
9019
|
return work();
|
|
@@ -9038,7 +9040,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
9038
9040
|
return projectFields(value, fields);
|
|
9039
9041
|
}), "projectFields");
|
|
9040
9042
|
|
|
9041
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
9042
9044
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
9043
9045
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
9044
9046
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -9221,7 +9223,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
9221
9223
|
}
|
|
9222
9224
|
}, "withAbort");
|
|
9223
9225
|
|
|
9224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9225
9227
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9226
9228
|
import { join as join2 } from "node:path";
|
|
9227
9229
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -9310,7 +9312,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
9310
9312
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
9311
9313
|
}, "registryProfiles");
|
|
9312
9314
|
|
|
9313
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9314
9316
|
import { existsSync as existsSync3, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9315
9317
|
import { join as join3 } from "node:path";
|
|
9316
9318
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9332,7 +9334,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9332
9334
|
}, "profilesWithAccounts");
|
|
9333
9335
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9334
9336
|
|
|
9335
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9336
9338
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9337
9339
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9338
9340
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9368,7 +9370,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9368
9370
|
return value;
|
|
9369
9371
|
}, "atDetail");
|
|
9370
9372
|
|
|
9371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/output.js
|
|
9372
9374
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9373
9375
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9374
9376
|
if (other)
|
|
@@ -9432,7 +9434,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9432
9434
|
}, "warn")
|
|
9433
9435
|
}), "silence");
|
|
9434
9436
|
|
|
9435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9436
9438
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9437
9439
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9438
9440
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9470,7 +9472,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9470
9472
|
progress: "sync.progress"
|
|
9471
9473
|
};
|
|
9472
9474
|
|
|
9473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9474
9476
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9475
9477
|
const recording = startRecording(options);
|
|
9476
9478
|
try {
|
|
@@ -9685,7 +9687,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9685
9687
|
return void 0;
|
|
9686
9688
|
}, "partialOutcome");
|
|
9687
9689
|
|
|
9688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9689
9691
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9690
9692
|
if (ms2 === void 0)
|
|
9691
9693
|
return body();
|
|
@@ -9711,7 +9713,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9711
9713
|
}
|
|
9712
9714
|
}, "withDeadline");
|
|
9713
9715
|
|
|
9714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
9715
9717
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
9716
9718
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
9717
9719
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9780,10 +9782,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
9780
9782
|
return void 0;
|
|
9781
9783
|
}, "sampleCommand");
|
|
9782
9784
|
|
|
9783
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9784
9786
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9785
9787
|
|
|
9786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9787
9789
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9788
9790
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9789
9791
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9852,7 +9854,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9852
9854
|
};
|
|
9853
9855
|
}, "modelTarget");
|
|
9854
9856
|
|
|
9855
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9856
9858
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9857
9859
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9858
9860
|
var AI_FIELDS = {
|
|
@@ -9896,7 +9898,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9896
9898
|
};
|
|
9897
9899
|
}, "resolveAISettings");
|
|
9898
9900
|
|
|
9899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9900
9902
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9901
9903
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9902
9904
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9910,7 +9912,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9910
9912
|
return ms2;
|
|
9911
9913
|
}, "parseDuration");
|
|
9912
9914
|
|
|
9913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9914
9916
|
import { existsSync as existsSync4 } from "node:fs";
|
|
9915
9917
|
import { join as join4 } from "node:path";
|
|
9916
9918
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -10187,7 +10189,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
10187
10189
|
}, "vectorModelKey");
|
|
10188
10190
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
10189
10191
|
|
|
10190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
10191
10193
|
var HISTORY_MAX_DAYS = 1095;
|
|
10192
10194
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
10193
10195
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -10234,10 +10236,10 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
10234
10236
|
return { batch: { ...batch, messages }, skipped };
|
|
10235
10237
|
}, "limitBatch");
|
|
10236
10238
|
|
|
10237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10239
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10238
10240
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10239
10241
|
|
|
10240
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10241
10243
|
var REPAIR_WORDS = {
|
|
10242
10244
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10243
10245
|
comment: "a comment, which JSON does not allow",
|
|
@@ -10478,7 +10480,7 @@ ${parts.join(",\n")}
|
|
|
10478
10480
|
${indent}${close}`;
|
|
10479
10481
|
}, "serialise");
|
|
10480
10482
|
|
|
10481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10482
10484
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10483
10485
|
var SECTIONS = ["personal", "bot"];
|
|
10484
10486
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10772,7 +10774,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10772
10774
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10773
10775
|
}, "readConfigFile");
|
|
10774
10776
|
|
|
10775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10777
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10776
10778
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10777
10779
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10778
10780
|
var DEFAULT_CONFIG = {
|
|
@@ -10801,7 +10803,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10801
10803
|
}
|
|
10802
10804
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10803
10805
|
|
|
10804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10805
10807
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10806
10808
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10807
10809
|
const path2 = key.split(".");
|
|
@@ -10823,7 +10825,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
10823
10825
|
return { config, added };
|
|
10824
10826
|
}, "withSettingDefaults");
|
|
10825
10827
|
|
|
10826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10827
10829
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10828
10830
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10829
10831
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11349,7 +11351,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11349
11351
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11350
11352
|
}, "given");
|
|
11351
11353
|
|
|
11352
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11353
11355
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11354
11356
|
const slot = environmentOf(command).exit;
|
|
11355
11357
|
const request = commandServerRequest();
|
|
@@ -11479,7 +11481,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11479
11481
|
return words2.join(" ");
|
|
11480
11482
|
}, "commandPath");
|
|
11481
11483
|
|
|
11482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11483
11485
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11484
11486
|
var FETCH = { remote: "read", local: "write" };
|
|
11485
11487
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11541,6 +11543,12 @@ var fetchesOnly = /* @__PURE__ */ __name((command) => {
|
|
|
11541
11543
|
const effects = metaOf(command).effects;
|
|
11542
11544
|
return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
|
|
11543
11545
|
}, "fetchesOnly");
|
|
11546
|
+
var fetchesOnlyAt = /* @__PURE__ */ __name((root) => (path2) => {
|
|
11547
|
+
let at2 = root;
|
|
11548
|
+
for (const word of path2)
|
|
11549
|
+
at2 = at2?.commands.find((one) => one.name() === word);
|
|
11550
|
+
return at2 !== void 0 && fetchesOnly(at2);
|
|
11551
|
+
}, "fetchesOnlyAt");
|
|
11544
11552
|
var FILE_OPTION = /* @__PURE__ */ new WeakMap();
|
|
11545
11553
|
var writesFileOnlyWith = /* @__PURE__ */ __name((command, option) => {
|
|
11546
11554
|
const flag2 = command.options.find((one) => one.attributeName() === option);
|
|
@@ -11612,7 +11620,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11612
11620
|
throw readOnlyRefusal(lock, what);
|
|
11613
11621
|
}, "refuseUnderReadOnly");
|
|
11614
11622
|
|
|
11615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11616
11624
|
import { join as join6 } from "node:path";
|
|
11617
11625
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11618
11626
|
var IMAGE_MODELS = [
|
|
@@ -11666,7 +11674,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11666
11674
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11667
11675
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11668
11676
|
|
|
11669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11670
11678
|
var STEPS2 = defineSteps([
|
|
11671
11679
|
...STEPS,
|
|
11672
11680
|
{
|
|
@@ -11956,7 +11964,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11956
11964
|
].join(" ");
|
|
11957
11965
|
}, "stepLine");
|
|
11958
11966
|
|
|
11959
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11967
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11960
11968
|
var where = [{ field: "ref" }];
|
|
11961
11969
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11962
11970
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -12048,7 +12056,7 @@ var STATUS_ROWS = {
|
|
|
12048
12056
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
12049
12057
|
};
|
|
12050
12058
|
|
|
12051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
12052
12060
|
var TEXT_CHARS = 400;
|
|
12053
12061
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
12054
12062
|
var messageRow = {
|
|
@@ -12396,8 +12404,9 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12396
12404
|
} else if (isFields(body.item)) {
|
|
12397
12405
|
const sections = shape.sections ?? {};
|
|
12398
12406
|
const rest = Object.fromEntries(Object.entries(body.item).filter(([name]) => !Object.hasOwn(sections, name) && !shape.hidden?.includes(name)));
|
|
12399
|
-
|
|
12400
|
-
|
|
12407
|
+
const own = shape.oneLine ? rowsOfItems([rest], shape, clock, chars) : void 0;
|
|
12408
|
+
lines = own ? own.lines.filter((line) => line !== "") : blockOf(rest, chars, "", shape.whole).map(guarded);
|
|
12409
|
+
let dates = own?.dates ?? [];
|
|
12401
12410
|
let drawn = [];
|
|
12402
12411
|
for (const [name, entity] of Object.entries(sections)) {
|
|
12403
12412
|
const list = body.item[name];
|
|
@@ -12408,13 +12417,14 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12408
12417
|
drawn = drawn.concat([`# ${[`${clean(name)}: ${list.length}`, ...header].join(" \xB7 ")}`], rows2);
|
|
12409
12418
|
}
|
|
12410
12419
|
const when = spanOf(dates, clock);
|
|
12411
|
-
|
|
12420
|
+
const head = [...own?.header ?? [], ...when];
|
|
12421
|
+
lines = own ? (head.length ? [`# ${head.join(" \xB7 ")}`] : []).concat(lines, drawn) : lines.concat(when.length ? [`# ${when.join(" \xB7 ")}`] : [], drawn);
|
|
12412
12422
|
} else if (present(body.item))
|
|
12413
12423
|
lines = [guarded(cut(clean(String(body.item)), chars))];
|
|
12414
12424
|
return lines.concat(footerOf(body)).join("\n");
|
|
12415
12425
|
}, "compactText");
|
|
12416
12426
|
|
|
12417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12427
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12418
12428
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12419
12429
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12420
12430
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12472,7 +12482,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12472
12482
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12473
12483
|
}, "largeAnswerSteps");
|
|
12474
12484
|
|
|
12475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12476
12486
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12477
12487
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12478
12488
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12486,7 +12496,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12486
12496
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12487
12497
|
}, "strip");
|
|
12488
12498
|
|
|
12489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12499
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
12490
12500
|
var OPEN = "\u27E6";
|
|
12491
12501
|
var CLOSE = "\u27E7";
|
|
12492
12502
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12570,7 +12580,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12570
12580
|
return result;
|
|
12571
12581
|
}, "withFieldsMarked");
|
|
12572
12582
|
|
|
12573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.99.0_commander@15._6e2e147598ef84d8ba691d078b64b926/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12574
12584
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12575
12585
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12576
12586
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12925,6 +12935,8 @@ export {
|
|
|
12925
12935
|
destroysNothing,
|
|
12926
12936
|
admittedUnderLock,
|
|
12927
12937
|
changesStore,
|
|
12938
|
+
fetchesOnly,
|
|
12939
|
+
fetchesOnlyAt,
|
|
12928
12940
|
writesNewFileOnlyWith,
|
|
12929
12941
|
fileOptionOf,
|
|
12930
12942
|
readsOverMcpAt,
|