@wirecat/cli-memo 0.131.74 → 0.131.76
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/actions/actions.d.ts +1 -0
- package/dist/actions/actions.d.ts.map +1 -1
- package/dist/actions/actions.js +3 -3
- package/dist/actions/actions.js.map +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +3 -1
- package/dist/actions/command.js.map +1 -1
- package/dist/agents/command.d.ts.map +1 -1
- package/dist/agents/command.js +3 -2
- package/dist/agents/command.js.map +1 -1
- package/dist/agents/log.d.ts +1 -1
- package/dist/agents/log.d.ts.map +1 -1
- package/dist/agents/log.js +5 -4
- package/dist/agents/log.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-LUGN5BHP.js → all-profiles-CGQTLFDM.js} +5 -5
- package/dist/bundle/{anthropic-W7JXDZPL.js → anthropic-C744EPRR.js} +2 -2
- package/dist/bundle/{app-server-2LQJZC7Z.js → app-server-LOH7WXAB.js} +36 -36
- package/dist/bundle/auto-R3ABUML7.js +89 -0
- package/dist/bundle/{bun-S3JZIN4S.js → bun-SQWZDSWT.js} +2 -2
- package/dist/bundle/{bun-sqlite-X3WQN3CV.js → bun-sqlite-YVBFXNWB.js} +2 -2
- package/dist/bundle/{chunk-OOKMABOJ.js → chunk-2KGYREGD.js} +365 -362
- package/dist/bundle/{chunk-SCYHDYLI.js → chunk-3NCRQMEN.js} +1 -1
- package/dist/bundle/{chunk-BDVM5652.js → chunk-3PLYUZAR.js} +1 -1
- package/dist/bundle/{chunk-YLYZNPAZ.js → chunk-42UNPXTC.js} +1 -1
- package/dist/bundle/{chunk-GPXHGG67.js → chunk-47WS4BML.js} +4 -4
- package/dist/bundle/{chunk-HEYIBJ5I.js → chunk-4DTJF6E7.js} +19 -7
- package/dist/bundle/chunk-4IWOPJL4.js +185 -0
- package/dist/bundle/{chunk-E2PSOSTN.js → chunk-5AQIET5P.js} +1 -1
- package/dist/bundle/{chunk-WFXRR2JT.js → chunk-5NY7U6CM.js} +8 -8
- package/dist/bundle/{chunk-3OVYPDT6.js → chunk-6RPLAGAL.js} +20 -20
- package/dist/bundle/{chunk-4KDORB7C.js → chunk-6YRVBXFH.js} +7 -7
- package/dist/bundle/{chunk-KDBAY5JZ.js → chunk-7OZEQIK7.js} +1 -1
- package/dist/bundle/{chunk-WZHCQ4VZ.js → chunk-7PSGKP3R.js} +6 -6
- package/dist/bundle/{chunk-VB4OLJHK.js → chunk-7XFJRX6F.js} +2 -2
- package/dist/bundle/{chunk-CWWUZK2U.js → chunk-AI6PMW7L.js} +4 -4
- package/dist/bundle/{chunk-BR4DCOA5.js → chunk-AUCXJVUI.js} +29 -29
- package/dist/bundle/{chunk-UIAGASGP.js → chunk-C7OOLF5J.js} +5 -5
- package/dist/bundle/{chunk-NR633L2N.js → chunk-DDSKTPU7.js} +3 -3
- package/dist/bundle/{chunk-MPZBV5RL.js → chunk-DUON3SRD.js} +7 -7
- package/dist/bundle/{chunk-XQHOMQNZ.js → chunk-EVLOYNXC.js} +3 -3
- package/dist/bundle/{chunk-LPGE6ACC.js → chunk-FH753LZS.js} +1 -1
- package/dist/bundle/{chunk-JINEHQ2T.js → chunk-FUATAPSB.js} +93 -80
- package/dist/bundle/{chunk-AHAW3TOS.js → chunk-GB64N6DP.js} +297 -294
- package/dist/bundle/{chunk-XQ3RZU3J.js → chunk-GBU4U55M.js} +1 -1
- package/dist/bundle/{chunk-XPSXVUZG.js → chunk-H3WELZYK.js} +2 -2
- package/dist/bundle/{chunk-6FTZ53TT.js → chunk-HAMGOLFU.js} +1 -1
- package/dist/bundle/{chunk-KYJBGCTC.js → chunk-KYLKZKQ7.js} +1 -1
- package/dist/bundle/{chunk-SJD4KTK2.js → chunk-LLBZDBPT.js} +2 -2
- package/dist/bundle/{chunk-QCR5WJ7R.js → chunk-MFQTOOHR.js} +397 -34
- package/dist/bundle/{chunk-P6FPRA3P.js → chunk-MODHP5VA.js} +12 -12
- package/dist/bundle/{chunk-LX3OSTBD.js → chunk-N2FIIVJV.js} +4 -4
- package/dist/bundle/{chunk-V7BDQIZS.js → chunk-NE3UIK5P.js} +2 -2
- package/dist/bundle/{chunk-ZTZLAGZA.js → chunk-NM4QMIOQ.js} +2 -2
- package/dist/bundle/{chunk-G45BLLDR.js → chunk-O3KNZVDZ.js} +2 -2
- package/dist/bundle/{chunk-XMHWGHID.js → chunk-ODCHYVTW.js} +173 -152
- package/dist/bundle/{chunk-6I4DOBSD.js → chunk-OEH5JUAL.js} +12 -12
- package/dist/bundle/{chunk-SIQDO5DN.js → chunk-OJU774SG.js} +3 -3
- package/dist/bundle/{chunk-ZL63GL3Y.js → chunk-PFNEOHCY.js} +2 -2
- package/dist/bundle/{chunk-C6MWOBEL.js → chunk-RLRKBPLJ.js} +15 -9
- package/dist/bundle/{chunk-3BEJUJEL.js → chunk-RTSRESGX.js} +5 -5
- package/dist/bundle/{chunk-KUFOM3SB.js → chunk-S54Z74G2.js} +1 -1
- package/dist/bundle/{chunk-UU3OAPGO.js → chunk-SF2OLWBU.js} +6 -6
- package/dist/bundle/{chunk-6AOPUQTC.js → chunk-TD4HM7XL.js} +1 -1
- package/dist/bundle/{chunk-EML43XLJ.js → chunk-TGURQ4YH.js} +31 -1
- package/dist/bundle/{chunk-E74VWHZ2.js → chunk-TPWAXJUQ.js} +1 -1
- package/dist/bundle/{chunk-4QGUBKN5.js → chunk-TXVXEE7L.js} +4 -4
- package/dist/bundle/{chunk-BNJ2XK7D.js → chunk-V6CRCAWN.js} +711 -367
- package/dist/bundle/{chunk-YB4KGUXY.js → chunk-VFJAGY3L.js} +2 -2
- package/dist/bundle/{chunk-YDTGYYOR.js → chunk-W5ARY4U2.js} +4 -4
- package/dist/bundle/{chunk-VRL5WRRQ.js → chunk-XGPSFPLH.js} +45 -45
- package/dist/bundle/{chunk-QYJJBE56.js → chunk-Y7YXXWQI.js} +3 -3
- package/dist/bundle/{chunk-SIOPF2UG.js → chunk-YD7XTYEC.js} +5 -5
- package/dist/bundle/{chunk-GWNLLQBD.js → chunk-YNXQAB4X.js} +11 -10
- package/dist/bundle/{chunk-WBCY7WHV.js → chunk-YRJ2576I.js} +10 -10
- package/dist/bundle/{chunk-WM7MVKGU.js → chunk-YSOTOUHJ.js} +13 -13
- package/dist/bundle/{chunk-IQIM4UC7.js → chunk-YU7KZW5I.js} +4 -4
- package/dist/bundle/{chunk-ZXW5FPH2.js → chunk-Z3NRIW4M.js} +1 -1
- package/dist/bundle/{chunk-6Q3JHCU7.js → chunk-ZHAHSVQO.js} +5 -5
- package/dist/bundle/{chunk-QKWM4VK4.js → chunk-ZIA7AU7L.js} +2 -2
- package/dist/bundle/{command-contract-QQG343ZQ.js → command-contract-IEUSFI3B.js} +11 -11
- package/dist/bundle/{command-server-entry-XVUPTSSH.js → command-server-entry-472XWNSN.js} +66 -50
- package/dist/bundle/{decode-METZOSMG.js → decode-SFZ67QJN.js} +2 -2
- package/dist/bundle/{echarts-EBSP4VCK.js → echarts-3U34KH7O.js} +2 -2
- package/dist/bundle/{embed-GVVU7N7W.js → embed-ZEZXJ45Q.js} +3 -3
- package/dist/bundle/{embedder-6BZOYAXV.js → embedder-AASO2I4Z.js} +6 -6
- package/dist/bundle/{entry-7EYT2OA3.js → entry-7VHMR3LD.js} +5 -5
- package/dist/bundle/failure-DJSK3LGN.js +69 -0
- package/dist/bundle/{first-run-C7L7IACA.js → first-run-YL3TIUU3.js} +5 -5
- package/dist/bundle/{first-screen-6T65PQ37.js → first-screen-OQVOWRYM.js} +12 -12
- package/dist/bundle/{instructions-VDKK3Y5Z.js → instructions-HG2ZZ7AP.js} +1 -1
- package/dist/bundle/{mcp-UCDMODSA.js → mcp-EUFDOVMI.js} +35 -35
- package/dist/bundle/memo.js +8 -8
- package/dist/bundle/{node-HWGZYNUX.js → node-7AQN6OTR.js} +2 -2
- package/dist/bundle/{node-sqlite-PSYENWGS.js → node-sqlite-55KMFPGI.js} +3 -3
- package/dist/bundle/{oauth-TQGMUJK2.js → oauth-S2GLD4PY.js} +4 -4
- package/dist/bundle/{open-KDDJDKCE.js → open-6R4UPST5.js} +2 -2
- package/dist/bundle/{openai-QPGCUM4T.js → openai-JK5GCSDK.js} +7 -7
- package/dist/bundle/{process-APNTXJJE.js → process-C7J3IT7Q.js} +1 -1
- package/dist/bundle/{program-RHPSSKFA.js → program-KWI6M5IB.js} +3251 -2563
- package/dist/bundle/{prompt-BMBZCLGF.js → prompt-EEFKVWSA.js} +2 -2
- package/dist/bundle/{recognize-3SEY2MAR.js → recognize-STYHVWQ6.js} +1 -1
- package/dist/bundle/{remote-ODH54UXO.js → remote-6MXZXHYY.js} +4 -4
- package/dist/bundle/{rerank-JQHBNTUK.js → rerank-IMX2ONZG.js} +4 -4
- package/dist/bundle/{serve-C22ZONSM.js → serve-ZNN464BH.js} +6 -6
- package/dist/bundle/server-4CHUUMVI.js +48 -0
- package/dist/bundle/{server-FX7RKPL4.js → server-L6OS2MJ5.js} +53 -52
- package/dist/bundle/server-VCZCAQOB.js +62 -0
- package/dist/bundle/{state-M3VGXSV4.js → state-7MP4KKPG.js} +3 -3
- package/dist/bundle/{store-K45RFKGF.js → store-EMAKEEYI.js} +9 -9
- package/dist/bundle/store-maintenance-command-LWN6OUFA.js +47 -0
- package/dist/bundle/update-I4X2UO6J.js +72 -0
- package/dist/digest/backfill.d.ts +1 -1
- package/dist/digest/backfill.d.ts.map +1 -1
- package/dist/digest/backfill.js +73 -43
- package/dist/digest/backfill.js.map +1 -1
- package/dist/digest/brief.d.ts +14 -3
- package/dist/digest/brief.d.ts.map +1 -1
- package/dist/digest/brief.js +84 -34
- package/dist/digest/brief.js.map +1 -1
- package/dist/digest/command.d.ts +3 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +23 -0
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest-commands.d.ts +6 -0
- package/dist/digest/digest-commands.d.ts.map +1 -0
- package/dist/digest/digest-commands.js +242 -0
- package/dist/digest/digest-commands.js.map +1 -0
- package/dist/digest/digest.d.ts +5 -2
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +29 -8
- package/dist/digest/digest.js.map +1 -1
- package/dist/digest/digests.d.ts +72 -0
- package/dist/digest/digests.d.ts.map +1 -0
- package/dist/digest/digests.js +122 -0
- package/dist/digest/digests.js.map +1 -0
- package/dist/digest/tasks.d.ts +7 -4
- package/dist/digest/tasks.d.ts.map +1 -1
- package/dist/digest/tasks.js +13 -5
- package/dist/digest/tasks.js.map +1 -1
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +2 -1
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +28 -2
- package/dist/examples.js.map +1 -1
- package/dist/exit-code.d.ts +7 -0
- package/dist/exit-code.d.ts.map +1 -0
- package/dist/exit-code.js +19 -0
- package/dist/exit-code.js.map +1 -0
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +3 -2
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -1
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +3 -3
- package/dist/facts/fact.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +1 -0
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +3 -2
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -1
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +2 -2
- package/dist/memories/memory.js.map +1 -1
- package/dist/page.d.ts +14 -5
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +11 -5
- package/dist/page.js.map +1 -1
- package/dist/people/command.d.ts +0 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +114 -12
- package/dist/people/command.js.map +1 -1
- package/dist/program.d.ts +6 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +15 -5
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +30 -0
- package/dist/reasons.js.map +1 -1
- package/dist/records/import.d.ts.map +1 -1
- package/dist/records/import.js +60 -5
- package/dist/records/import.js.map +1 -1
- package/dist/records/input.d.ts +6 -2
- package/dist/records/input.d.ts.map +1 -1
- package/dist/records/input.js +87 -3
- package/dist/records/input.js.map +1 -1
- package/dist/rows.d.ts.map +1 -1
- package/dist/rows.js +13 -1
- package/dist/rows.js.map +1 -1
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +2 -1
- package/dist/run/import.js.map +1 -1
- package/dist/schedule/command.d.ts +8 -0
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +4 -2
- package/dist/schedule/command.js.map +1 -1
- package/dist/search/people.d.ts +2 -0
- package/dist/search/people.d.ts.map +1 -1
- package/dist/search/people.js +11 -4
- package/dist/search/people.js.map +1 -1
- package/dist/sources/command.d.ts.map +1 -1
- package/dist/sources/command.js +27 -2
- package/dist/sources/command.js.map +1 -1
- package/dist/sources/read.d.ts +13 -0
- package/dist/sources/read.d.ts.map +1 -1
- package/dist/sources/read.js +27 -1
- package/dist/sources/read.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-OCCPDCFY.js +0 -89
- package/dist/bundle/chunk-XPCTY6XV.js +0 -116
- package/dist/bundle/failure-YQJ43YFG.js +0 -69
- package/dist/bundle/server-3TQJ47Q6.js +0 -62
- package/dist/bundle/server-SHHKLBS2.js +0 -48
- package/dist/bundle/store-maintenance-command-EOTKQ3E5.js +0 -47
- package/dist/bundle/update-PW77Y4DM.js +0 -72
- /package/dist/bundle/{chunk-IXSUVHW6.js → chunk-IKIYW7FW.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SF2OLWBU.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TD4HM7XL.js";
|
|
16
16
|
import {
|
|
17
17
|
permissionCeiling
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EVLOYNXC.js";
|
|
19
19
|
import {
|
|
20
20
|
envName,
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S54Z74G2.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
CATEGORIES,
|
|
@@ -98,23 +98,23 @@ import {
|
|
|
98
98
|
typedCommand,
|
|
99
99
|
untrusted,
|
|
100
100
|
useAsProcessRun
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-FUATAPSB.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure,
|
|
104
104
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-7XFJRX6F.js";
|
|
106
106
|
import {
|
|
107
107
|
readSharedSection,
|
|
108
108
|
sharedConfigPath,
|
|
109
109
|
writeSharedSection
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-TXVXEE7L.js";
|
|
111
111
|
import {
|
|
112
112
|
filesPresent,
|
|
113
113
|
sharedModelsDirectory
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-OJU774SG.js";
|
|
115
115
|
import {
|
|
116
116
|
storePath
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-FH753LZS.js";
|
|
118
118
|
import {
|
|
119
119
|
configFilePath,
|
|
120
120
|
createRecordLog,
|
|
@@ -3979,7 +3979,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3979
3979
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3980
3980
|
}), "commandsDocument");
|
|
3981
3981
|
|
|
3982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3983
3983
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3984
3984
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3985
3985
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4379,7 +4379,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4379
4379
|
}
|
|
4380
4380
|
}, "assertRetentionEvidenceRead");
|
|
4381
4381
|
|
|
4382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4383
4383
|
var account = strictObject({
|
|
4384
4384
|
provider: text,
|
|
4385
4385
|
id,
|
|
@@ -4389,7 +4389,7 @@ var account = strictObject({
|
|
|
4389
4389
|
scope: optional(picklist(["personal", "work"]))
|
|
4390
4390
|
});
|
|
4391
4391
|
|
|
4392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4393
4393
|
var accountSession = strictObject({
|
|
4394
4394
|
current: boolean(),
|
|
4395
4395
|
client: nullable(text),
|
|
@@ -4399,7 +4399,7 @@ var accountSession = strictObject({
|
|
|
4399
4399
|
created_at: optional(nullable(time))
|
|
4400
4400
|
});
|
|
4401
4401
|
|
|
4402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4403
4403
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4404
4404
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4405
4405
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4428,7 +4428,7 @@ var accountRemoval = strictObject({
|
|
|
4428
4428
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4429
4429
|
});
|
|
4430
4430
|
|
|
4431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4432
4432
|
var accountProfile = strictObject({
|
|
4433
4433
|
profile: id,
|
|
4434
4434
|
current: boolean(),
|
|
@@ -4440,7 +4440,7 @@ var accountProfile = strictObject({
|
|
|
4440
4440
|
bot: optional(literal(true))
|
|
4441
4441
|
});
|
|
4442
4442
|
|
|
4443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4444
4444
|
var milliseconds = pipe(number(), minValue(0));
|
|
4445
4445
|
var counterReading = strictObject({
|
|
4446
4446
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4452,7 +4452,7 @@ var counterReading = strictObject({
|
|
|
4452
4452
|
});
|
|
4453
4453
|
var selection = record(string(), unknown());
|
|
4454
4454
|
|
|
4455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4456
4456
|
var adminRow = strictObject({
|
|
4457
4457
|
ref: reference,
|
|
4458
4458
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4505,7 +4505,7 @@ var adminReport = strictObject({
|
|
|
4505
4505
|
rows: array(adminRow)
|
|
4506
4506
|
});
|
|
4507
4507
|
|
|
4508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4509
4509
|
var closeSuggestion = strictObject({
|
|
4510
4510
|
as: picklist(["done", "dismissed"]),
|
|
4511
4511
|
/** The agent's name. */
|
|
@@ -4567,7 +4567,7 @@ var task = strictObject({
|
|
|
4567
4567
|
updated_at: optional(time)
|
|
4568
4568
|
});
|
|
4569
4569
|
|
|
4570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4571
4571
|
var agendaChat = strictObject({
|
|
4572
4572
|
chat: reference,
|
|
4573
4573
|
title: nullable(text),
|
|
@@ -4637,11 +4637,11 @@ var agenda = strictObject({
|
|
|
4637
4637
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4638
4638
|
});
|
|
4639
4639
|
|
|
4640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4641
4641
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4642
4642
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4643
4643
|
|
|
4644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4645
4645
|
var attachment = strictObject({
|
|
4646
4646
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4647
4647
|
message: optional(reference),
|
|
@@ -4679,7 +4679,7 @@ var attachment = strictObject({
|
|
|
4679
4679
|
});
|
|
4680
4680
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
4681
4681
|
|
|
4682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4683
4683
|
var actionableError = objectWithRest({
|
|
4684
4684
|
code: text,
|
|
4685
4685
|
message: text,
|
|
@@ -4696,7 +4696,7 @@ var batchResult = strictObject({
|
|
|
4696
4696
|
max_error_percent: count
|
|
4697
4697
|
});
|
|
4698
4698
|
|
|
4699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4700
4700
|
var extractionItem = strictObject({
|
|
4701
4701
|
ref: reference,
|
|
4702
4702
|
attachment: count,
|
|
@@ -4729,7 +4729,7 @@ var extractionReport = strictObject({
|
|
|
4729
4729
|
cursor: optional(text)
|
|
4730
4730
|
});
|
|
4731
4731
|
|
|
4732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4733
4733
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4734
4734
|
var attachmentBytes = strictObject({
|
|
4735
4735
|
ref: reference,
|
|
@@ -4757,7 +4757,7 @@ var attachmentTextChange = strictObject({
|
|
|
4757
4757
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
4758
4758
|
});
|
|
4759
4759
|
|
|
4760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4760
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4761
4761
|
var WEIGHTS = {
|
|
4762
4762
|
bot: 3,
|
|
4763
4763
|
scam: 3,
|
|
@@ -4782,7 +4782,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4782
4782
|
var DIGITS = /\d{5,}/;
|
|
4783
4783
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4784
4784
|
|
|
4785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4786
4786
|
var linkedIdentity = strictObject({
|
|
4787
4787
|
provider: text,
|
|
4788
4788
|
id,
|
|
@@ -4830,7 +4830,7 @@ var contactCheck = strictObject({
|
|
|
4830
4830
|
checked_at: time
|
|
4831
4831
|
});
|
|
4832
4832
|
|
|
4833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4834
4834
|
var member = strictObject({
|
|
4835
4835
|
id,
|
|
4836
4836
|
name: nullable(text),
|
|
@@ -4853,7 +4853,7 @@ var member = strictObject({
|
|
|
4853
4853
|
check: optional(record(string(), unknown()))
|
|
4854
4854
|
});
|
|
4855
4855
|
|
|
4856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4857
4857
|
var setting = optional(nullable(boolean()));
|
|
4858
4858
|
var chat = strictObject({
|
|
4859
4859
|
ref: reference,
|
|
@@ -4894,7 +4894,7 @@ var chat = strictObject({
|
|
|
4894
4894
|
members: optional(array(member))
|
|
4895
4895
|
});
|
|
4896
4896
|
|
|
4897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4898
4898
|
var quoted = strictObject({
|
|
4899
4899
|
id,
|
|
4900
4900
|
sender_id: nullable(id),
|
|
@@ -5013,7 +5013,7 @@ var message = strictObject({
|
|
|
5013
5013
|
provider_metadata: providerMetadata
|
|
5014
5014
|
});
|
|
5015
5015
|
|
|
5016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5017
5017
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5018
5018
|
var contextMessage = strictObject({
|
|
5019
5019
|
locator: reference,
|
|
@@ -5217,7 +5217,7 @@ var contactPreparation = strictObject({
|
|
|
5217
5217
|
})
|
|
5218
5218
|
});
|
|
5219
5219
|
|
|
5220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5220
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5221
5221
|
var nullableText = nullable(text);
|
|
5222
5222
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5223
5223
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5309,7 +5309,7 @@ var stage = strictObject({
|
|
|
5309
5309
|
untrusted
|
|
5310
5310
|
});
|
|
5311
5311
|
|
|
5312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5312
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5313
5313
|
var nullableText2 = nullable(text);
|
|
5314
5314
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5315
5315
|
var standing = picklist(STANDINGS);
|
|
@@ -5483,7 +5483,7 @@ var dealBrief = strictObject({
|
|
|
5483
5483
|
not_read: coverage2.entries.not_read
|
|
5484
5484
|
});
|
|
5485
5485
|
|
|
5486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5487
5487
|
var chart = strictObject({
|
|
5488
5488
|
version: literal(1),
|
|
5489
5489
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5498,7 +5498,7 @@ var chart = strictObject({
|
|
|
5498
5498
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5499
5499
|
});
|
|
5500
5500
|
|
|
5501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5502
5502
|
var named = strictObject({
|
|
5503
5503
|
id,
|
|
5504
5504
|
title: nullable(text),
|
|
@@ -5521,7 +5521,7 @@ var folder = strictObject({
|
|
|
5521
5521
|
excluded_chats: optional(array(named))
|
|
5522
5522
|
});
|
|
5523
5523
|
|
|
5524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5525
5525
|
var inviteLink = strictObject({
|
|
5526
5526
|
link: text,
|
|
5527
5527
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5537,7 +5537,7 @@ var inviteLink = strictObject({
|
|
|
5537
5537
|
joined_count: optional(count)
|
|
5538
5538
|
});
|
|
5539
5539
|
|
|
5540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5541
5541
|
var operated = { operation_id: id, chat_id: id };
|
|
5542
5542
|
var group = strictObject({
|
|
5543
5543
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5617,7 +5617,7 @@ var chatFolderOrder = strictObject({
|
|
|
5617
5617
|
folders: array(strictObject({ id, title: text }))
|
|
5618
5618
|
});
|
|
5619
5619
|
|
|
5620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5621
5621
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5622
5622
|
var chatRemoval = strictObject(operated2);
|
|
5623
5623
|
var chatMuting = strictObject({
|
|
@@ -5628,7 +5628,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5628
5628
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5629
5629
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5630
5630
|
|
|
5631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5632
5632
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5633
5633
|
var chatEvent = strictObject({
|
|
5634
5634
|
chat_id: id,
|
|
@@ -5645,7 +5645,7 @@ var chatEvent = strictObject({
|
|
|
5645
5645
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5646
5646
|
});
|
|
5647
5647
|
|
|
5648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5649
5649
|
var chatMetadata = strictObject({
|
|
5650
5650
|
chat_id: id,
|
|
5651
5651
|
title: nullable(text),
|
|
@@ -5660,7 +5660,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5660
5660
|
has_more: boolean()
|
|
5661
5661
|
});
|
|
5662
5662
|
|
|
5663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5663
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5664
5664
|
var action = picklist(["report", "delete", "remove"]);
|
|
5665
5665
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5666
5666
|
var chatRules = strictObject({
|
|
@@ -5697,7 +5697,7 @@ var chatModeration = strictObject({
|
|
|
5697
5697
|
}))
|
|
5698
5698
|
});
|
|
5699
5699
|
|
|
5700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5701
5701
|
var optionalCount = optional(count);
|
|
5702
5702
|
var minutes = nullable(number());
|
|
5703
5703
|
var chatStats = strictObject({
|
|
@@ -5771,7 +5771,7 @@ var taskStats = strictObject({
|
|
|
5771
5771
|
}))
|
|
5772
5772
|
});
|
|
5773
5773
|
|
|
5774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5775
5775
|
var memberCount = strictObject({
|
|
5776
5776
|
day: pipe(text, isoDate()),
|
|
5777
5777
|
participants: nullable(count),
|
|
@@ -5794,7 +5794,7 @@ var chatTracking = strictObject({
|
|
|
5794
5794
|
tracked: boolean()
|
|
5795
5795
|
});
|
|
5796
5796
|
|
|
5797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5798
5798
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5799
5799
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5800
5800
|
var profileFields = {
|
|
@@ -5832,7 +5832,7 @@ var profileFields = {
|
|
|
5832
5832
|
}))
|
|
5833
5833
|
};
|
|
5834
5834
|
|
|
5835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5836
5836
|
var contact = strictObject({
|
|
5837
5837
|
ref: reference,
|
|
5838
5838
|
id,
|
|
@@ -5863,7 +5863,7 @@ var contact = strictObject({
|
|
|
5863
5863
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5864
5864
|
});
|
|
5865
5865
|
|
|
5866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5867
5867
|
var contactNote = strictObject({
|
|
5868
5868
|
id,
|
|
5869
5869
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5875,13 +5875,13 @@ var contactNote = strictObject({
|
|
|
5875
5875
|
updated_at: time
|
|
5876
5876
|
});
|
|
5877
5877
|
|
|
5878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5878
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5879
5879
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5880
5880
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5881
5881
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5882
5882
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5883
5883
|
|
|
5884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5884
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5885
5885
|
var conversation = strictObject({
|
|
5886
5886
|
id,
|
|
5887
5887
|
chat: reference,
|
|
@@ -5896,7 +5896,7 @@ var conversation = strictObject({
|
|
|
5896
5896
|
rules_version: count
|
|
5897
5897
|
});
|
|
5898
5898
|
|
|
5899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5900
5900
|
var conversationBuild = strictObject({
|
|
5901
5901
|
chat: id,
|
|
5902
5902
|
messages: count,
|
|
@@ -5921,7 +5921,7 @@ var catchUpPreparation = strictObject({
|
|
|
5921
5921
|
prepared: optional(conversationPreparation)
|
|
5922
5922
|
});
|
|
5923
5923
|
|
|
5924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5925
5925
|
var conversationDetails = union([
|
|
5926
5926
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5927
5927
|
message
|
|
@@ -6011,7 +6011,7 @@ var conversationHit = strictObject({
|
|
|
6011
6011
|
stale: boolean()
|
|
6012
6012
|
});
|
|
6013
6013
|
|
|
6014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6014
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6015
6015
|
var counters = strictObject({
|
|
6016
6016
|
cutoff: time,
|
|
6017
6017
|
max_age_ms: milliseconds,
|
|
@@ -6041,7 +6041,7 @@ var counterRefresh = strictObject({
|
|
|
6041
6041
|
complete: optional(boolean())
|
|
6042
6042
|
});
|
|
6043
6043
|
|
|
6044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6045
6045
|
var document = strictObject({
|
|
6046
6046
|
ref: reference,
|
|
6047
6047
|
id,
|
|
@@ -6056,7 +6056,7 @@ var document = strictObject({
|
|
|
6056
6056
|
owners: optional(array(text))
|
|
6057
6057
|
});
|
|
6058
6058
|
|
|
6059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6059
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6060
6060
|
var documentLink = strictObject({
|
|
6061
6061
|
ref: reference,
|
|
6062
6062
|
url: text,
|
|
@@ -6067,7 +6067,7 @@ var documentLink = strictObject({
|
|
|
6067
6067
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6068
6068
|
});
|
|
6069
6069
|
|
|
6070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6071
6071
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6072
6072
|
var contribution = strictObject({
|
|
6073
6073
|
message: evidenceMessage,
|
|
@@ -6097,7 +6097,7 @@ var retentionStay = strictObject({
|
|
|
6097
6097
|
});
|
|
6098
6098
|
var evidence = union([contribution, retentionStay]);
|
|
6099
6099
|
|
|
6100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6101
6101
|
var fact = strictObject({
|
|
6102
6102
|
ref: reference,
|
|
6103
6103
|
id,
|
|
@@ -6128,7 +6128,7 @@ var fact = strictObject({
|
|
|
6128
6128
|
updated_at: time
|
|
6129
6129
|
});
|
|
6130
6130
|
|
|
6131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6132
6132
|
var hit = strictObject({
|
|
6133
6133
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6134
6134
|
ref: reference,
|
|
@@ -6174,7 +6174,7 @@ var hit = strictObject({
|
|
|
6174
6174
|
untrusted
|
|
6175
6175
|
});
|
|
6176
6176
|
|
|
6177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6178
6178
|
var identity = strictObject({
|
|
6179
6179
|
ref: reference,
|
|
6180
6180
|
provider: text,
|
|
@@ -6187,7 +6187,7 @@ var identity = strictObject({
|
|
|
6187
6187
|
person: optional(nullable(reference))
|
|
6188
6188
|
});
|
|
6189
6189
|
|
|
6190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6191
6191
|
var imageEmbedding = strictObject({
|
|
6192
6192
|
model: text,
|
|
6193
6193
|
embedded: count,
|
|
@@ -6196,13 +6196,13 @@ var imageEmbedding = strictObject({
|
|
|
6196
6196
|
more: boolean()
|
|
6197
6197
|
});
|
|
6198
6198
|
|
|
6199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6200
6200
|
import { spawn } from "node:child_process";
|
|
6201
6201
|
import { randomBytes } from "node:crypto";
|
|
6202
6202
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6203
6203
|
import { dirname, join } from "node:path";
|
|
6204
6204
|
|
|
6205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6206
6206
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6207
6207
|
const total = input.total ?? null;
|
|
6208
6208
|
const updated = input.updatedAt ?? null;
|
|
@@ -6233,7 +6233,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
6233
6233
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
6234
6234
|
}, "progressLine");
|
|
6235
6235
|
|
|
6236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6237
6237
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6238
6238
|
const run = currentRun();
|
|
6239
6239
|
const trace = traceId ?? run.traceId;
|
|
@@ -6247,7 +6247,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6247
6247
|
}));
|
|
6248
6248
|
}, "recordLogFor");
|
|
6249
6249
|
|
|
6250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6251
6251
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6252
6252
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6253
6253
|
const out = openSync(log, "a", 384);
|
|
@@ -6402,7 +6402,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6402
6402
|
return { job: id6, pid, chat: input.chat, log };
|
|
6403
6403
|
}, "startArchiveJob");
|
|
6404
6404
|
|
|
6405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6406
6406
|
var problem = strictObject({ code: text, message: text });
|
|
6407
6407
|
var job = strictObject({
|
|
6408
6408
|
id,
|
|
@@ -6425,7 +6425,7 @@ var job = strictObject({
|
|
|
6425
6425
|
error: optional(problem)
|
|
6426
6426
|
});
|
|
6427
6427
|
|
|
6428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6429
6429
|
var joinRequest = strictObject({
|
|
6430
6430
|
person_id: id,
|
|
6431
6431
|
name: nullable(text),
|
|
@@ -6436,7 +6436,7 @@ var joinRequest = strictObject({
|
|
|
6436
6436
|
about: optional(text)
|
|
6437
6437
|
});
|
|
6438
6438
|
|
|
6439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6440
6440
|
var botProfile = strictObject({
|
|
6441
6441
|
name: text,
|
|
6442
6442
|
token: text,
|
|
@@ -6533,7 +6533,7 @@ var stickerInventory = strictObject({
|
|
|
6533
6533
|
url: optional(nullable(text))
|
|
6534
6534
|
});
|
|
6535
6535
|
|
|
6536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6537
6537
|
var pollVote = strictObject({
|
|
6538
6538
|
person_id: id,
|
|
6539
6539
|
name: nullable(text),
|
|
@@ -6543,7 +6543,7 @@ var pollVote = strictObject({
|
|
|
6543
6543
|
voted_at: time
|
|
6544
6544
|
});
|
|
6545
6545
|
|
|
6546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6547
6547
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6548
6548
|
var observation = strictObject({
|
|
6549
6549
|
value: pipe(number(), minValue(0)),
|
|
@@ -6585,7 +6585,7 @@ var serveSummary = strictObject({
|
|
|
6585
6585
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6586
6586
|
});
|
|
6587
6587
|
|
|
6588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6589
6589
|
var mailCounts = strictObject({
|
|
6590
6590
|
by: picklist(["day", "week", "sender"]),
|
|
6591
6591
|
received: count,
|
|
@@ -6600,7 +6600,7 @@ var mailCounts = strictObject({
|
|
|
6600
6600
|
}))
|
|
6601
6601
|
});
|
|
6602
6602
|
|
|
6603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6604
6604
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6605
6605
|
var base = { id, evidence: array(evidence2) };
|
|
6606
6606
|
var finding = variant("kind", [
|
|
@@ -6744,7 +6744,7 @@ var mailFindings = strictObject({
|
|
|
6744
6744
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6745
6745
|
});
|
|
6746
6746
|
|
|
6747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6748
6748
|
var mediaArchive = strictObject({
|
|
6749
6749
|
directory: text,
|
|
6750
6750
|
chats: count,
|
|
@@ -6776,7 +6776,7 @@ var mediaArchiveTimer = union([
|
|
|
6776
6776
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6777
6777
|
]);
|
|
6778
6778
|
|
|
6779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6780
6780
|
var preparationId = pipe(string(), minLength(1));
|
|
6781
6781
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6782
6782
|
var preparationTime = nullable(isoTime);
|
|
@@ -6868,7 +6868,7 @@ var preparationMeeting = strictObject({
|
|
|
6868
6868
|
updated_at: isoTime
|
|
6869
6869
|
});
|
|
6870
6870
|
|
|
6871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6872
6872
|
var meetingEvidence = preparationEvidence;
|
|
6873
6873
|
var meetingPersonContext = strictObject({
|
|
6874
6874
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6890,7 +6890,7 @@ var meetingPersonContext = strictObject({
|
|
|
6890
6890
|
})
|
|
6891
6891
|
});
|
|
6892
6892
|
|
|
6893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6894
6894
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6895
6895
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6896
6896
|
var finding2 = variant("kind", [
|
|
@@ -6928,7 +6928,7 @@ var meetingFindings = strictObject({
|
|
|
6928
6928
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6929
6929
|
});
|
|
6930
6930
|
|
|
6931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6932
6932
|
var communicationCoverage = strictObject({
|
|
6933
6933
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6934
6934
|
query: string(),
|
|
@@ -6973,7 +6973,7 @@ var preparationCommunications = strictObject({
|
|
|
6973
6973
|
}))
|
|
6974
6974
|
});
|
|
6975
6975
|
|
|
6976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6977
6977
|
var meetingPreparation = strictObject({
|
|
6978
6978
|
communications: optional(preparationCommunications),
|
|
6979
6979
|
schema_version: literal(1),
|
|
@@ -7086,7 +7086,7 @@ var meetingPreparation = strictObject({
|
|
|
7086
7086
|
})
|
|
7087
7087
|
});
|
|
7088
7088
|
|
|
7089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7090
7090
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7091
7091
|
var id3 = pipe(string(), minLength(1));
|
|
7092
7092
|
var text3 = string();
|
|
@@ -7150,7 +7150,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7150
7150
|
})
|
|
7151
7151
|
});
|
|
7152
7152
|
|
|
7153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7154
7154
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7155
7155
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7156
7156
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7180,7 +7180,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7180
7180
|
})
|
|
7181
7181
|
});
|
|
7182
7182
|
|
|
7183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7184
7184
|
var text4 = string();
|
|
7185
7185
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7186
7186
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7197,7 +7197,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7197
7197
|
persistence: literal("proposal-only")
|
|
7198
7198
|
});
|
|
7199
7199
|
|
|
7200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7201
7201
|
var memory = strictObject({
|
|
7202
7202
|
ref: reference,
|
|
7203
7203
|
id,
|
|
@@ -7225,7 +7225,7 @@ var memory = strictObject({
|
|
|
7225
7225
|
updated_at: time
|
|
7226
7226
|
});
|
|
7227
7227
|
|
|
7228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7229
7229
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7230
7230
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7231
7231
|
var mention = strictObject({
|
|
@@ -7269,13 +7269,13 @@ var mentionRebuild = strictObject({
|
|
|
7269
7269
|
mentions: count
|
|
7270
7270
|
});
|
|
7271
7271
|
|
|
7272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7273
7273
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7274
7274
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7275
7275
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7276
7276
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7277
7277
|
|
|
7278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7279
7279
|
var messageTranscript = strictObject({
|
|
7280
7280
|
message_id: id,
|
|
7281
7281
|
text,
|
|
@@ -7333,7 +7333,7 @@ var evidencePacket = strictObject({
|
|
|
7333
7333
|
}))
|
|
7334
7334
|
});
|
|
7335
7335
|
|
|
7336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7337
7337
|
var messageThread = strictObject({
|
|
7338
7338
|
ref: reference,
|
|
7339
7339
|
chat: id,
|
|
@@ -7350,7 +7350,7 @@ var messageThread = strictObject({
|
|
|
7350
7350
|
});
|
|
7351
7351
|
var messageContext = union([message, messageThread]);
|
|
7352
7352
|
|
|
7353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7353
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7354
7354
|
var messageCounts = strictObject({
|
|
7355
7355
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7356
7356
|
total: count,
|
|
@@ -7363,7 +7363,7 @@ var messageCounts = strictObject({
|
|
|
7363
7363
|
}))
|
|
7364
7364
|
});
|
|
7365
7365
|
|
|
7366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7367
7367
|
var messageLink = strictObject({
|
|
7368
7368
|
ref: reference,
|
|
7369
7369
|
url: nullable(text),
|
|
@@ -7380,7 +7380,7 @@ var messageLink = strictObject({
|
|
|
7380
7380
|
})))
|
|
7381
7381
|
});
|
|
7382
7382
|
|
|
7383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7383
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7384
7384
|
var savedMessageFile = strictObject({
|
|
7385
7385
|
kind: text,
|
|
7386
7386
|
path: text,
|
|
@@ -7467,7 +7467,7 @@ var messageSyncAll = strictObject({
|
|
|
7467
7467
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7468
7468
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7469
7469
|
|
|
7470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7470
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7471
7471
|
var messageWrite = strictObject({
|
|
7472
7472
|
operation_id: id,
|
|
7473
7473
|
message,
|
|
@@ -7482,7 +7482,7 @@ var draftWrite = strictObject({
|
|
|
7482
7482
|
});
|
|
7483
7483
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7484
7484
|
|
|
7485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7486
7486
|
var model = strictObject({
|
|
7487
7487
|
id,
|
|
7488
7488
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7517,7 +7517,7 @@ var chosenModel = strictObject({
|
|
|
7517
7517
|
estimate_seconds: nullable(count)
|
|
7518
7518
|
});
|
|
7519
7519
|
|
|
7520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7521
7521
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7522
7522
|
var modelKey = strictObject({
|
|
7523
7523
|
provider: text,
|
|
@@ -7527,7 +7527,7 @@ var modelKey = strictObject({
|
|
|
7527
7527
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7528
7528
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7529
7529
|
|
|
7530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
7531
7531
|
var link = {
|
|
7532
7532
|
target_text: nullable(text),
|
|
7533
7533
|
kind: text,
|
|
@@ -7568,7 +7568,7 @@ var note = strictObject({
|
|
|
7568
7568
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
7569
7569
|
});
|
|
7570
7570
|
|
|
7571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7572
7572
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7573
7573
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7574
7574
|
var graph = strictObject({
|
|
@@ -7602,14 +7602,14 @@ var officialStats = strictObject({
|
|
|
7602
7602
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7603
7603
|
});
|
|
7604
7604
|
|
|
7605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7605
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7606
7606
|
var person2 = strictObject({
|
|
7607
7607
|
ref: reference,
|
|
7608
7608
|
name: nullable(text),
|
|
7609
7609
|
identities: optional(array(identity))
|
|
7610
7610
|
});
|
|
7611
7611
|
|
|
7612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7613
7613
|
var poll = strictObject({
|
|
7614
7614
|
chat_id: id,
|
|
7615
7615
|
message_id: id,
|
|
@@ -7625,11 +7625,11 @@ var poll = strictObject({
|
|
|
7625
7625
|
});
|
|
7626
7626
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7627
7627
|
|
|
7628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7629
7629
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7630
7630
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7631
7631
|
|
|
7632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7633
7633
|
var figures = record(string(), number());
|
|
7634
7634
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7635
7635
|
var rankingRow = strictObject({
|
|
@@ -7676,7 +7676,7 @@ var ranking = strictObject({
|
|
|
7676
7676
|
rows: array(rankingRow)
|
|
7677
7677
|
});
|
|
7678
7678
|
|
|
7679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7679
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7680
7680
|
var reaction = strictObject({
|
|
7681
7681
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7682
7682
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7684,7 +7684,7 @@ var reaction = strictObject({
|
|
|
7684
7684
|
reacted_at: time
|
|
7685
7685
|
});
|
|
7686
7686
|
|
|
7687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7688
7688
|
var reactionChange = strictObject({
|
|
7689
7689
|
operation_id: id,
|
|
7690
7690
|
chat_id: id,
|
|
@@ -7692,7 +7692,7 @@ var reactionChange = strictObject({
|
|
|
7692
7692
|
reaction: nullable(text)
|
|
7693
7693
|
});
|
|
7694
7694
|
|
|
7695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7696
7696
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7697
7697
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7698
7698
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7703,7 +7703,7 @@ var recipientChange = strictObject({
|
|
|
7703
7703
|
...partial(recipientOff).entries
|
|
7704
7704
|
});
|
|
7705
7705
|
|
|
7706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7706
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7707
7707
|
var events = array(record(string(), unknown()));
|
|
7708
7708
|
var recordedRun = strictObject({
|
|
7709
7709
|
run_id: id,
|
|
@@ -7775,7 +7775,7 @@ var runHit = strictObject({
|
|
|
7775
7775
|
});
|
|
7776
7776
|
var runLocation = strictObject({ path: text });
|
|
7777
7777
|
|
|
7778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7779
7779
|
var relationship = strictObject({
|
|
7780
7780
|
id,
|
|
7781
7781
|
from: reference,
|
|
@@ -7802,7 +7802,7 @@ var relationship = strictObject({
|
|
|
7802
7802
|
created_at: time
|
|
7803
7803
|
});
|
|
7804
7804
|
|
|
7805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7805
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7806
7806
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7807
7807
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7808
7808
|
var responseTimes = strictObject({
|
|
@@ -7819,7 +7819,7 @@ var waitingChats = strictObject({
|
|
|
7819
7819
|
by_kind: strictObject({ private: count, group: count })
|
|
7820
7820
|
});
|
|
7821
7821
|
|
|
7822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7823
7823
|
var retentionCohort = strictObject({
|
|
7824
7824
|
/** The first day of the joining day or week. */
|
|
7825
7825
|
cohort: text,
|
|
@@ -7867,7 +7867,7 @@ var retention = strictObject({
|
|
|
7867
7867
|
rows: array(retentionCohort)
|
|
7868
7868
|
});
|
|
7869
7869
|
|
|
7870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7870
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7871
7871
|
var savedSearch = strictObject({
|
|
7872
7872
|
id,
|
|
7873
7873
|
/** `null` for a run in the history. */
|
|
@@ -7884,7 +7884,7 @@ var savedSearch = strictObject({
|
|
|
7884
7884
|
});
|
|
7885
7885
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7886
7886
|
|
|
7887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7887
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7888
7888
|
var sendAttempt = strictObject({
|
|
7889
7889
|
at: time,
|
|
7890
7890
|
profile: text,
|
|
@@ -7912,7 +7912,7 @@ var sendAttempt = strictObject({
|
|
|
7912
7912
|
error_code: optional(text)
|
|
7913
7913
|
});
|
|
7914
7914
|
|
|
7915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7916
7916
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7917
7917
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7918
7918
|
var infoSchema = strictObject({
|
|
@@ -8133,7 +8133,7 @@ var storeRepair = union([
|
|
|
8133
8133
|
]);
|
|
8134
8134
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8135
8135
|
|
|
8136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8137
8137
|
var range = strictObject({ from: number(), to: number() });
|
|
8138
8138
|
var storeChatStatus = strictObject({
|
|
8139
8139
|
chat_id: id,
|
|
@@ -8231,7 +8231,7 @@ var storeJobRetry = union([
|
|
|
8231
8231
|
]);
|
|
8232
8232
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8233
8233
|
|
|
8234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8235
8235
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8236
8236
|
var storeTable = strictObject({
|
|
8237
8237
|
name: text,
|
|
@@ -8240,7 +8240,7 @@ var storeTable = strictObject({
|
|
|
8240
8240
|
bytes: optional(nullable(count))
|
|
8241
8241
|
});
|
|
8242
8242
|
|
|
8243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8244
8244
|
var tagTarget = variant("type", [
|
|
8245
8245
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8246
8246
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8271,7 +8271,7 @@ var automaticTags = strictObject({
|
|
|
8271
8271
|
dry_run: boolean()
|
|
8272
8272
|
});
|
|
8273
8273
|
|
|
8274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8275
8275
|
var tagging = strictObject({
|
|
8276
8276
|
tag: text,
|
|
8277
8277
|
type: picklist(TAG_TYPES),
|
|
@@ -8284,7 +8284,7 @@ var tagging = strictObject({
|
|
|
8284
8284
|
created_at: time
|
|
8285
8285
|
});
|
|
8286
8286
|
|
|
8287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8288
8288
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8289
8289
|
var taskPair = strictObject({
|
|
8290
8290
|
task: nullable(side),
|
|
@@ -8307,7 +8307,7 @@ var taskPair = strictObject({
|
|
|
8307
8307
|
created_at: time
|
|
8308
8308
|
});
|
|
8309
8309
|
|
|
8310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8310
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8311
8311
|
var nullableTime = nullable(time);
|
|
8312
8312
|
var link2 = strictObject({
|
|
8313
8313
|
id,
|
|
@@ -8481,7 +8481,7 @@ var taskReview = strictObject({
|
|
|
8481
8481
|
untrusted
|
|
8482
8482
|
});
|
|
8483
8483
|
|
|
8484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8485
8485
|
var template = strictObject({
|
|
8486
8486
|
key: text,
|
|
8487
8487
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8493,7 +8493,7 @@ var template = strictObject({
|
|
|
8493
8493
|
updated_by: nullable(text)
|
|
8494
8494
|
});
|
|
8495
8495
|
|
|
8496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8497
8497
|
var topic = strictObject({
|
|
8498
8498
|
id,
|
|
8499
8499
|
title: text,
|
|
@@ -8507,7 +8507,7 @@ var topic = strictObject({
|
|
|
8507
8507
|
untrusted
|
|
8508
8508
|
});
|
|
8509
8509
|
|
|
8510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8511
8511
|
var ENTITIES = {
|
|
8512
8512
|
sync_progress: progress,
|
|
8513
8513
|
deal,
|
|
@@ -8800,7 +8800,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8800
8800
|
return [name, definition];
|
|
8801
8801
|
})), "entityDefinitions");
|
|
8802
8802
|
|
|
8803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8804
8804
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8805
8805
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8806
8806
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8834,14 +8834,29 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8834
8834
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8835
8835
|
}, "answerRow");
|
|
8836
8836
|
|
|
8837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8838
8838
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8839
|
+
var requests = new AsyncLocalStorage();
|
|
8840
|
+
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
8841
|
+
var commandServerRequest = /* @__PURE__ */ __name(() => requests.getStore(), "commandServerRequest");
|
|
8842
|
+
var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
8843
|
+
const request = requests.getStore();
|
|
8844
|
+
if (request?.exitCode !== void 0)
|
|
8845
|
+
return request.exitCode;
|
|
8846
|
+
const direct = process.exitCode === void 0 ? void 0 : Number(process.exitCode);
|
|
8847
|
+
if (request)
|
|
8848
|
+
process.exitCode = void 0;
|
|
8849
|
+
return direct;
|
|
8850
|
+
}, "exitCodeSet");
|
|
8851
|
+
|
|
8852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8853
|
+
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8839
8854
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8840
8855
|
messageId: message2.id,
|
|
8841
8856
|
...message2.chatId && message2.chatId !== typed2 ? { resultChatId: message2.chatId } : {}
|
|
8842
8857
|
}), "sentIds");
|
|
8843
|
-
var current = new
|
|
8844
|
-
var writesInFlight = new
|
|
8858
|
+
var current = new AsyncLocalStorage2();
|
|
8859
|
+
var writesInFlight = new AsyncLocalStorage2();
|
|
8845
8860
|
var parents = /* @__PURE__ */ new WeakMap();
|
|
8846
8861
|
var stopped = /* @__PURE__ */ new WeakMap();
|
|
8847
8862
|
var scopesFor = /* @__PURE__ */ __name((scope = writesInFlight.getStore()) => {
|
|
@@ -8940,7 +8955,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
8940
8955
|
}, "guardedWrite");
|
|
8941
8956
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
8942
8957
|
|
|
8943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
8944
8959
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
8945
8960
|
try {
|
|
8946
8961
|
return work();
|
|
@@ -8967,7 +8982,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
8967
8982
|
return projectFields(value, fields);
|
|
8968
8983
|
}), "projectFields");
|
|
8969
8984
|
|
|
8970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
8971
8986
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
8972
8987
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
8973
8988
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -8989,7 +9004,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
8989
9004
|
}
|
|
8990
9005
|
}, "withAbort");
|
|
8991
9006
|
|
|
8992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
8993
9008
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
8994
9009
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
8995
9010
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9049,7 +9064,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
9049
9064
|
return root;
|
|
9050
9065
|
}, "rootOf");
|
|
9051
9066
|
|
|
9052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9053
9068
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9054
9069
|
import { join as join2 } from "node:path";
|
|
9055
9070
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9071,12 +9086,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9071
9086
|
}, "profilesWithAccounts");
|
|
9072
9087
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9073
9088
|
|
|
9074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
9075
9090
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
9076
9091
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
9077
9092
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
9078
9093
|
|
|
9079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9080
9095
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9081
9096
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9082
9097
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9112,7 +9127,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9112
9127
|
return value;
|
|
9113
9128
|
}, "atDetail");
|
|
9114
9129
|
|
|
9115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/output.js
|
|
9116
9131
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9117
9132
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9118
9133
|
if (other)
|
|
@@ -9176,7 +9191,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9176
9191
|
}, "warn")
|
|
9177
9192
|
}), "silence");
|
|
9178
9193
|
|
|
9179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9180
9195
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9181
9196
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9182
9197
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9212,7 +9227,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9212
9227
|
store: "store.write"
|
|
9213
9228
|
};
|
|
9214
9229
|
|
|
9215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9216
9231
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9217
9232
|
const recording = startRecording(options);
|
|
9218
9233
|
try {
|
|
@@ -9269,7 +9284,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
9269
9284
|
let refused;
|
|
9270
9285
|
let wroteStore = false;
|
|
9271
9286
|
const cap = capped();
|
|
9272
|
-
const
|
|
9287
|
+
const requests2 = /* @__PURE__ */ __name(() => counted.wire > 0 ? counted.wire : counted.operation, "requests");
|
|
9273
9288
|
const events2 = /* @__PURE__ */ __name((event2) => {
|
|
9274
9289
|
if (event2.event === "request")
|
|
9275
9290
|
counted[event2.level === "wire" ? "wire" : "operation"] += 1;
|
|
@@ -9302,7 +9317,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
9302
9317
|
if (kept)
|
|
9303
9318
|
cap.close(kept);
|
|
9304
9319
|
await kept?.finish(partial2 ? "partial" : "success", {
|
|
9305
|
-
requests:
|
|
9320
|
+
requests: requests2(),
|
|
9306
9321
|
...cap.dropped(),
|
|
9307
9322
|
...partial2 ? { partial: partial2 } : {},
|
|
9308
9323
|
...!run && !partial2 && wroteStore ? { keptBecauseStore: true } : {}
|
|
@@ -9322,7 +9337,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
9322
9337
|
failed.logger.error(crashOf(error));
|
|
9323
9338
|
cap.close(failed);
|
|
9324
9339
|
await failed.finish("failed", {
|
|
9325
|
-
requests:
|
|
9340
|
+
requests: requests2(),
|
|
9326
9341
|
...cap.dropped(),
|
|
9327
9342
|
...outcomeOf(error),
|
|
9328
9343
|
error: errorDetailOf(error, refused),
|
|
@@ -9427,7 +9442,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9427
9442
|
return void 0;
|
|
9428
9443
|
}, "partialOutcome");
|
|
9429
9444
|
|
|
9430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9431
9446
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9432
9447
|
if (ms2 === void 0)
|
|
9433
9448
|
return body();
|
|
@@ -9453,10 +9468,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9453
9468
|
}
|
|
9454
9469
|
}, "withDeadline");
|
|
9455
9470
|
|
|
9456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9457
9472
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9458
9473
|
|
|
9459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
9460
9475
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
9461
9476
|
try {
|
|
9462
9477
|
const url3 = new URL(value);
|
|
@@ -9466,7 +9481,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
9466
9481
|
}
|
|
9467
9482
|
}, "endpoint");
|
|
9468
9483
|
|
|
9469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9470
9485
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9471
9486
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9472
9487
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9535,7 +9550,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9535
9550
|
};
|
|
9536
9551
|
}, "modelTarget");
|
|
9537
9552
|
|
|
9538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9539
9554
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9540
9555
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9541
9556
|
var AI_FIELDS = {
|
|
@@ -9579,7 +9594,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9579
9594
|
};
|
|
9580
9595
|
}, "resolveAISettings");
|
|
9581
9596
|
|
|
9582
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9597
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9583
9598
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9584
9599
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9585
9600
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9593,7 +9608,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9593
9608
|
return ms2;
|
|
9594
9609
|
}, "parseDuration");
|
|
9595
9610
|
|
|
9596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9597
9612
|
import { existsSync as existsSync3 } from "node:fs";
|
|
9598
9613
|
import { join as join3 } from "node:path";
|
|
9599
9614
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -9870,7 +9885,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
9870
9885
|
}, "vectorModelKey");
|
|
9871
9886
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
9872
9887
|
|
|
9873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9874
9889
|
var HISTORY_MAX_DAYS = 1095;
|
|
9875
9890
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9876
9891
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -9917,7 +9932,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
9917
9932
|
return { batch: { ...batch, messages }, skipped };
|
|
9918
9933
|
}, "limitBatch");
|
|
9919
9934
|
|
|
9920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9921
9936
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9922
9937
|
import { join as join4 } from "node:path";
|
|
9923
9938
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -10006,10 +10021,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
10006
10021
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
10007
10022
|
}, "registryProfiles");
|
|
10008
10023
|
|
|
10009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10010
10025
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10011
10026
|
|
|
10012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10013
10028
|
var REPAIR_WORDS = {
|
|
10014
10029
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10015
10030
|
comment: "a comment, which JSON does not allow",
|
|
@@ -10250,7 +10265,7 @@ ${parts.join(",\n")}
|
|
|
10250
10265
|
${indent}${close}`;
|
|
10251
10266
|
}, "serialise");
|
|
10252
10267
|
|
|
10253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10254
10269
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10255
10270
|
var SECTIONS = ["personal", "bot"];
|
|
10256
10271
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10545,7 +10560,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10545
10560
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10546
10561
|
}, "readConfigFile");
|
|
10547
10562
|
|
|
10548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10549
10564
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10550
10565
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10551
10566
|
var DEFAULT_CONFIG = {
|
|
@@ -10574,7 +10589,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10574
10589
|
}
|
|
10575
10590
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10576
10591
|
|
|
10577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10578
10593
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10579
10594
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10580
10595
|
const path2 = key.split(".");
|
|
@@ -10607,7 +10622,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10607
10622
|
};
|
|
10608
10623
|
}), "settingRows");
|
|
10609
10624
|
|
|
10610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10625
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10611
10626
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10612
10627
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10613
10628
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11132,11 +11147,14 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11132
11147
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11133
11148
|
}, "given");
|
|
11134
11149
|
|
|
11135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11136
11151
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11137
11152
|
const slot = environmentOf(command).exit;
|
|
11153
|
+
const request = commandServerRequest();
|
|
11138
11154
|
if (slot)
|
|
11139
11155
|
slot.code = code;
|
|
11156
|
+
else if (request)
|
|
11157
|
+
request.exitCode = code;
|
|
11140
11158
|
else
|
|
11141
11159
|
process.exitCode = code;
|
|
11142
11160
|
}, "setExitCode");
|
|
@@ -11255,7 +11273,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11255
11273
|
return words2.join(" ");
|
|
11256
11274
|
}, "commandPath");
|
|
11257
11275
|
|
|
11258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11259
11277
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11260
11278
|
var FETCH = { remote: "read", local: "write" };
|
|
11261
11279
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11375,7 +11393,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11375
11393
|
throw readOnlyRefusal(lock, what);
|
|
11376
11394
|
}, "refuseUnderReadOnly");
|
|
11377
11395
|
|
|
11378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11379
11397
|
import { join as join6 } from "node:path";
|
|
11380
11398
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11381
11399
|
var IMAGE_MODELS = [
|
|
@@ -11429,7 +11447,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11429
11447
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11430
11448
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11431
11449
|
|
|
11432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11433
11451
|
var STEPS2 = defineSteps([
|
|
11434
11452
|
...STEPS,
|
|
11435
11453
|
{
|
|
@@ -11701,7 +11719,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11701
11719
|
].join(" ");
|
|
11702
11720
|
}, "stepLine");
|
|
11703
11721
|
|
|
11704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11705
11723
|
var where = [{ field: "ref" }];
|
|
11706
11724
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11707
11725
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11793,7 +11811,7 @@ var STATUS_ROWS = {
|
|
|
11793
11811
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11794
11812
|
};
|
|
11795
11813
|
|
|
11796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11797
11815
|
var TEXT_CHARS = 400;
|
|
11798
11816
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11799
11817
|
var messageRow = {
|
|
@@ -12159,7 +12177,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12159
12177
|
return lines.concat(footerOf(body)).join("\n");
|
|
12160
12178
|
}, "compactText");
|
|
12161
12179
|
|
|
12162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12163
12181
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12164
12182
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12165
12183
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12206,7 +12224,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12206
12224
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12207
12225
|
}, "largeAnswerSteps");
|
|
12208
12226
|
|
|
12209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12210
12228
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12211
12229
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12212
12230
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12220,7 +12238,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12220
12238
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12221
12239
|
}, "strip");
|
|
12222
12240
|
|
|
12223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.627.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6a3445916b5ce0182fa072182fe8aa66/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12224
12242
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12225
12243
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12226
12244
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12486,6 +12504,9 @@ export {
|
|
|
12486
12504
|
resolveOutput,
|
|
12487
12505
|
startRecording,
|
|
12488
12506
|
wasSettled,
|
|
12507
|
+
inCommandServerRequest,
|
|
12508
|
+
commandServerRequest,
|
|
12509
|
+
exitCodeSet,
|
|
12489
12510
|
sentIds,
|
|
12490
12511
|
currentOperation,
|
|
12491
12512
|
guardedWrite,
|