@wirecat/cli-memo 0.131.19 → 0.131.21
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/README.md +2 -3
- package/dist/actions/command.d.ts +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +12 -1
- package/dist/actions/command.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-MVF2XGZK.js → all-profiles-EZLU6CY7.js} +9 -7
- package/dist/bundle/{anthropic-OPFHMF2S.js → anthropic-XC34PJH5.js} +6 -4
- package/dist/bundle/{app-server-VHVC55S3.js → app-server-26YPLJ7M.js} +53 -48
- package/dist/bundle/auto-QHTPHGNA.js +86 -0
- package/dist/bundle/{bun-P6TMDZGU.js → bun-CKGKUKW5.js} +2 -2
- package/dist/bundle/{bun-sqlite-3G3NLK4O.js → bun-sqlite-S6KUSMTC.js} +5 -3
- package/dist/bundle/{chunk-XZWUBDBG.js → chunk-2NJUPIAO.js} +1 -1
- package/dist/bundle/{chunk-RFB5LOYR.js → chunk-2TBIVKBH.js} +8 -6
- package/dist/bundle/{chunk-3DVKC2XM.js → chunk-3V4WIGWC.js} +8 -19
- package/dist/bundle/{chunk-BMHSGZNE.js → chunk-5RBLNI6C.js} +4 -4
- package/dist/bundle/{chunk-LKYHSVQL.js → chunk-7F6FGMCC.js} +8 -8
- package/dist/bundle/{chunk-FMSA2X3E.js → chunk-7MLWSUEK.js} +1 -1
- package/dist/bundle/{chunk-DLRLOGVU.js → chunk-7NEWBM2O.js} +13 -9
- package/dist/bundle/{chunk-SO6VNTF6.js → chunk-AIIQ7YU4.js} +1 -1
- package/dist/bundle/{chunk-4TERVG26.js → chunk-B3YV6Z7Y.js} +8 -2
- package/dist/bundle/{chunk-IW3U6XXI.js → chunk-BB2MGFOZ.js} +6 -6
- package/dist/bundle/chunk-CCHHEMPM.js +71 -0
- package/dist/bundle/{chunk-6DG7VK3H.js → chunk-CCOYC6HL.js} +5 -5
- package/dist/bundle/{chunk-MXP4J6BJ.js → chunk-CDZZ2DZO.js} +70 -2517
- package/dist/bundle/{chunk-VUWUSGSN.js → chunk-CP5N3KH3.js} +4 -4
- package/dist/bundle/{chunk-NKTAEBCU.js → chunk-CRZSJHAK.js} +13 -9
- package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
- package/dist/bundle/{chunk-BINR6MJ5.js → chunk-DNGHE2Q4.js} +1 -1
- package/dist/bundle/{chunk-KVVDRD7M.js → chunk-DZSWKA3K.js} +2 -2
- package/dist/bundle/{chunk-63XICXGM.js → chunk-E5FQ7U7L.js} +5 -3
- package/dist/bundle/{chunk-BPYQYZXA.js → chunk-EAYYWS67.js} +14 -12
- package/dist/bundle/chunk-EG2OMKWH.js +2423 -0
- package/dist/bundle/chunk-EW3XTUPB.js +166 -0
- package/dist/bundle/{chunk-4VKNUBD5.js → chunk-FFWK5NEZ.js} +10 -8
- package/dist/bundle/{chunk-3ORDQ62F.js → chunk-GV2FSWFS.js} +10 -8
- package/dist/bundle/chunk-ILHTNOIV.js +23 -0
- package/dist/bundle/{chunk-VQGVPDMH.js → chunk-INURBEAO.js} +20 -16
- package/dist/bundle/{chunk-OVFMY6ZP.js → chunk-IRDGD3QQ.js} +1 -1
- package/dist/bundle/{chunk-D6G23NFJ.js → chunk-J4GC33JU.js} +2 -2
- package/dist/bundle/{chunk-XWS4PTES.js → chunk-J55Z6EJ3.js} +363 -278
- package/dist/bundle/{chunk-TQNQS6TR.js → chunk-JJ3C5AYK.js} +64 -60
- package/dist/bundle/{chunk-LQJ4KHXK.js → chunk-JXH22ZGA.js} +15 -15
- package/dist/bundle/{chunk-5KUPVC5M.js → chunk-KUNA6MQZ.js} +2 -2
- package/dist/bundle/{chunk-LDVU22MF.js → chunk-LGNS4JVK.js} +8 -8
- package/dist/bundle/{chunk-57Q6NXQT.js → chunk-LR5EY5JY.js} +4 -4
- package/dist/bundle/{chunk-ZYM4M62Q.js → chunk-MCPDL5YU.js} +4 -4
- package/dist/bundle/{chunk-V7DZG62U.js → chunk-MHDLZCEO.js} +11 -9
- package/dist/bundle/{chunk-SHDZVM3B.js → chunk-NELE7AIX.js} +2 -2
- package/dist/bundle/{chunk-WRPRPVZF.js → chunk-NOG5O2NS.js} +44 -42
- package/dist/bundle/{chunk-RITXQKYG.js → chunk-NWB5NAGB.js} +6 -6
- package/dist/bundle/{chunk-UC4IL2P7.js → chunk-OJRLTJRS.js} +1 -1
- package/dist/bundle/{chunk-OTHEM74Z.js → chunk-OUF6RCRZ.js} +6 -6
- package/dist/bundle/{chunk-JDJDNMCP.js → chunk-PF3ALSAV.js} +1 -1
- package/dist/bundle/{chunk-GJKM32WA.js → chunk-PO5C7VNC.js} +24 -22
- package/dist/bundle/chunk-PQLBPYJR.js +46 -0
- package/dist/bundle/{chunk-66YZUX2C.js → chunk-QMMUPDRK.js} +10 -10
- package/dist/bundle/{chunk-P3TYFDMP.js → chunk-R26CXR5Z.js} +9 -7
- package/dist/bundle/{chunk-F5CQ2NVA.js → chunk-RC7TIYUZ.js} +11 -9
- package/dist/bundle/{chunk-P22V2OLJ.js → chunk-RG6ITTLQ.js} +22 -16
- package/dist/bundle/{chunk-T557KUST.js → chunk-RHJC4PHV.js} +3 -3
- package/dist/bundle/{chunk-Z54GPSVH.js → chunk-RNXYDBQO.js} +186 -162
- package/dist/bundle/{chunk-YVECM7XA.js → chunk-SMDWUPXE.js} +4 -4
- package/dist/bundle/{chunk-KO455254.js → chunk-SXGAIQ5X.js} +13 -13
- package/dist/bundle/{chunk-EMKFG5BP.js → chunk-THGFFQCK.js} +3 -3
- package/dist/bundle/{chunk-2R25UBIH.js → chunk-TMNHNZVA.js} +26 -24
- package/dist/bundle/{chunk-WOIRWVDJ.js → chunk-UXCSNSUU.js} +563 -351
- package/dist/bundle/{chunk-EFKEG2BA.js → chunk-VECICKTE.js} +5 -5
- package/dist/bundle/{chunk-4MIPN37I.js → chunk-VQM3H422.js} +266 -176
- package/dist/bundle/chunk-VXHN3SWW.js +35 -0
- package/dist/bundle/{chunk-EL4ZKQUN.js → chunk-WEOFWTWZ.js} +6 -4
- package/dist/bundle/{chunk-LEUNYKL6.js → chunk-WUCQ56RP.js} +3 -3
- package/dist/bundle/{chunk-SJLVBJ2L.js → chunk-XA6YO24S.js} +2 -2
- package/dist/bundle/{chunk-36ULPM2W.js → chunk-XPRYBLTS.js} +6 -6
- package/dist/bundle/{chunk-2KOVYXWK.js → chunk-YAUDFROV.js} +1243 -743
- package/dist/bundle/{chunk-Y3DGAYTD.js → chunk-YUFUUQUO.js} +7 -5
- package/dist/bundle/{chunk-JHKTN6NL.js → chunk-ZCKU6WMX.js} +13 -11
- package/dist/bundle/{chunk-5XDYV2YT.js → chunk-ZD3STMY7.js} +1 -1
- package/dist/bundle/command-contract-TMVGYSQQ.js +32 -0
- package/dist/bundle/{decode-BUTF6VGO.js → decode-6XSZIZAA.js} +5 -3
- package/dist/bundle/dispatch-VUMQPYMA.js +411 -0
- package/dist/bundle/{echarts-KH3YOWMK.js → echarts-NGS4QG4E.js} +2 -2
- package/dist/bundle/{embed-WBVM7KQ2.js → embed-YNH5M6UL.js} +6 -4
- package/dist/bundle/{embedder-27HQIFHM.js → embedder-LLNK4JF4.js} +11 -9
- package/dist/bundle/{entry-K2WWMF2B.js → entry-DO6ZBFIS.js} +7 -5
- package/dist/bundle/failure-LHMJNFY6.js +66 -0
- package/dist/bundle/failure-Z2FXWIBY.js +24 -0
- package/dist/bundle/first-run-BXFQN6M5.js +27 -0
- package/dist/bundle/first-screen-56KZKY77.js +30 -0
- package/dist/bundle/{instructions-POJKHKRZ.js → instructions-4EJ4BBWD.js} +1 -1
- package/dist/bundle/mcp-A4HPKQK5.js +90 -0
- package/dist/bundle/{mcp-FUSDPAOL.js → mcp-MNI62HHE.js} +4 -2
- package/dist/bundle/memo.js +182 -39
- package/dist/bundle/{node-W245R2OP.js → node-QQXKQWNC.js} +2 -2
- package/dist/bundle/{node-sqlite-FUYOXFW5.js → node-sqlite-GJI2GMLW.js} +6 -4
- package/dist/bundle/{oauth-ATB3NWQA.js → oauth-Q5VGUPUR.js} +7 -5
- package/dist/bundle/{open-HEBEWCYB.js → open-NSXIYF3N.js} +5 -3
- package/dist/bundle/{openai-DN7NA2IU.js → openai-LHH7MSGQ.js} +10 -8
- package/dist/bundle/{process-QTIDOJMF.js → process-PI6XUJWP.js} +1 -1
- package/dist/bundle/{program-WNFCYNGP.js → program-3ZTQ5FEM.js} +8382 -8312
- package/dist/bundle/{prompt-RQXVPJ4A.js → prompt-VFXA7IKL.js} +5 -3
- package/dist/bundle/{recognize-G7NIZ3IT.js → recognize-UWAARXOH.js} +4 -2
- package/dist/bundle/{remote-H452UBSK.js → remote-KGEVCB2Q.js} +7 -5
- package/dist/bundle/{rerank-77UYD2UD.js → rerank-SCBTCBPO.js} +7 -5
- package/dist/bundle/{serve-L6R4ODZV.js → serve-WPVKVR24.js} +9 -7
- package/dist/bundle/{server-ZBX4HFHT.js → server-BMQBWBBN.js} +71 -64
- package/dist/bundle/server-NQK5EX7P.js +48 -0
- package/dist/bundle/server-UN43Y6BY.js +61 -0
- package/dist/bundle/{setup-ZGH5OZ7A.js → setup-FGSVWQ32.js} +47 -43
- package/dist/bundle/{state-KHMYDV4I.js → state-KGHS4C6J.js} +6 -4
- package/dist/bundle/{store-M7KGTLUG.js → store-VCVOIQES.js} +12 -10
- package/dist/bundle/store-maintenance-command-QTEWWDST.js +48 -0
- package/dist/bundle/update-XC6KAVCK.js +69 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -2
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides/skill.d.ts.map +1 -1
- package/dist/contract-overrides/skill.js +14 -0
- package/dist/contract-overrides/skill.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +34 -3
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/project-actions-command.js +1 -1
- package/dist/knowledge/project-actions-command.js.map +1 -1
- package/dist/mail/command.d.ts.map +1 -1
- package/dist/mail/command.js +11 -1
- package/dist/mail/command.js.map +1 -1
- package/dist/mail/findings-command.d.ts +8 -0
- package/dist/mail/findings-command.d.ts.map +1 -0
- package/dist/mail/findings-command.js +80 -0
- package/dist/mail/findings-command.js.map +1 -0
- package/dist/mail/messages-command.d.ts.map +1 -1
- package/dist/mail/messages-command.js +27 -3
- package/dist/mail/messages-command.js.map +1 -1
- package/dist/mail/review-command.d.ts +12 -0
- package/dist/mail/review-command.d.ts.map +1 -0
- package/dist/mail/review-command.js +46 -0
- package/dist/mail/review-command.js.map +1 -0
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +2 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +17 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/records/import.d.ts.map +1 -1
- package/dist/records/import.js +9 -2
- package/dist/records/import.js.map +1 -1
- package/dist/records/mapping.d.ts +9 -0
- package/dist/records/mapping.d.ts.map +1 -0
- package/dist/records/mapping.js +67 -0
- package/dist/records/mapping.js.map +1 -0
- package/dist/review/kinds.d.ts +0 -6
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +14 -45
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/status.d.ts +1 -0
- package/dist/review/status.d.ts.map +1 -1
- package/dist/schedule/command.d.ts +3 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +6 -1
- package/dist/schedule/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
- package/skills/cli-memo/SKILL.md +15 -4
- package/skills/mail-triage/SKILL.md +120 -0
- package/dist/bundle/auto-F53FUP45.js +0 -82
- package/dist/bundle/chunk-7J5HTZCM.js +0 -18
- package/dist/bundle/command-contract-NMJKYTS4.js +0 -30
- package/dist/bundle/failure-NHDQ5WEW.js +0 -62
- package/dist/bundle/first-run-7P5N72VR.js +0 -23
- package/dist/bundle/first-screen-3GM5HC4Y.js +0 -28
- package/dist/bundle/mcp-YGWNSJUH.js +0 -86
- package/dist/bundle/server-SWUSQSRW.js +0 -44
- package/dist/bundle/server-W4IKTTUY.js +0 -57
- package/dist/bundle/store-maintenance-command-ZPN2ZUL4.js +0 -44
- package/dist/bundle/update-RFTADFRO.js +0 -65
- /package/dist/bundle/{chunk-7YF2MSEC.js → chunk-YYQN5ES2.js} +0 -0
|
@@ -10,22 +10,18 @@ import {
|
|
|
10
10
|
providerErrorKey,
|
|
11
11
|
renderEvent,
|
|
12
12
|
runContextOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RC7TIYUZ.js";
|
|
14
14
|
import {
|
|
15
15
|
permissionCeiling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SMDWUPXE.js";
|
|
17
17
|
import {
|
|
18
18
|
envName,
|
|
19
19
|
readOnlyLockOf,
|
|
20
20
|
readOnlyRefusal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NELE7AIX.js";
|
|
22
22
|
import {
|
|
23
23
|
carries
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import {
|
|
26
|
-
filesPresent,
|
|
27
|
-
sharedModelsDirectory
|
|
28
|
-
} from "./chunk-57Q6NXQT.js";
|
|
24
|
+
} from "./chunk-AIIQ7YU4.js";
|
|
29
25
|
import {
|
|
30
26
|
FACT_STATUSES,
|
|
31
27
|
FACT_TYPES,
|
|
@@ -60,16 +56,32 @@ import {
|
|
|
60
56
|
meetingStats,
|
|
61
57
|
meetingSummary,
|
|
62
58
|
meetingTranscript
|
|
63
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-RNXYDBQO.js";
|
|
64
60
|
import {
|
|
65
61
|
sharedConfigPath
|
|
66
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2TBIVKBH.js";
|
|
63
|
+
import {
|
|
64
|
+
filesPresent,
|
|
65
|
+
sharedModelsDirectory
|
|
66
|
+
} from "./chunk-LR5EY5JY.js";
|
|
67
67
|
import {
|
|
68
68
|
storePath
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-VXHN3SWW.js";
|
|
70
|
+
import {
|
|
71
|
+
configFilePath,
|
|
72
|
+
createRecordLog,
|
|
73
|
+
createRenderer,
|
|
74
|
+
defineLogEvents,
|
|
75
|
+
fieldsOf,
|
|
76
|
+
processStreams,
|
|
77
|
+
projectFields,
|
|
78
|
+
resolvePaths,
|
|
79
|
+
saveConfigFile,
|
|
80
|
+
traceIdOf,
|
|
81
|
+
writeSecurely
|
|
82
|
+
} from "./chunk-CDZZ2DZO.js";
|
|
70
83
|
import {
|
|
71
84
|
COMPACT_FLAG,
|
|
72
|
-
CliError,
|
|
73
85
|
EXIT_CODES,
|
|
74
86
|
GENERIC_FAILURE,
|
|
75
87
|
MAX_NEXT_STEPS,
|
|
@@ -77,17 +89,11 @@ import {
|
|
|
77
89
|
array,
|
|
78
90
|
boolean,
|
|
79
91
|
check,
|
|
80
|
-
configFilePath,
|
|
81
|
-
createRecordLog,
|
|
82
|
-
createRenderer,
|
|
83
|
-
defineLogEvents,
|
|
84
92
|
defineSteps,
|
|
85
93
|
effectsSchema,
|
|
86
94
|
exitCodeOfAnswer,
|
|
87
|
-
fieldsOf,
|
|
88
95
|
getDotPath,
|
|
89
96
|
integer,
|
|
90
|
-
isCliError,
|
|
91
97
|
isoDate,
|
|
92
98
|
isoTime,
|
|
93
99
|
isoTimestamp,
|
|
@@ -114,29 +120,27 @@ import {
|
|
|
114
120
|
pick,
|
|
115
121
|
picklist,
|
|
116
122
|
pipe,
|
|
117
|
-
processStreams,
|
|
118
|
-
projectFields,
|
|
119
123
|
record,
|
|
120
124
|
reference,
|
|
121
125
|
regex,
|
|
122
|
-
resolvePaths,
|
|
123
126
|
safeInteger,
|
|
124
127
|
safeParse,
|
|
125
|
-
saveConfigFile,
|
|
126
|
-
singleLine,
|
|
127
128
|
stepOf,
|
|
128
129
|
strictObject,
|
|
129
130
|
string,
|
|
130
|
-
traceIdOf,
|
|
131
131
|
trim,
|
|
132
132
|
union,
|
|
133
133
|
unknown,
|
|
134
134
|
unwrap,
|
|
135
135
|
variant,
|
|
136
|
-
visibleControls,
|
|
137
|
-
writeSecurely,
|
|
138
136
|
writes
|
|
139
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-EG2OMKWH.js";
|
|
138
|
+
import {
|
|
139
|
+
CliError,
|
|
140
|
+
isCliError,
|
|
141
|
+
singleLine,
|
|
142
|
+
visibleControls
|
|
143
|
+
} from "./chunk-CCHHEMPM.js";
|
|
140
144
|
import {
|
|
141
145
|
__name
|
|
142
146
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -3927,7 +3931,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3927
3931
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3928
3932
|
}), "commandsDocument");
|
|
3929
3933
|
|
|
3930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3931
3935
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3932
3936
|
var sentIds = /* @__PURE__ */ __name((typed, message2) => ({
|
|
3933
3937
|
messageId: message2.id,
|
|
@@ -4033,7 +4037,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4033
4037
|
}, "guardedWrite");
|
|
4034
4038
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4035
4039
|
|
|
4036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
4037
4041
|
var named = /* @__PURE__ */ __name((work) => {
|
|
4038
4042
|
try {
|
|
4039
4043
|
return work();
|
|
@@ -4060,7 +4064,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
4060
4064
|
return projectFields(value, fields);
|
|
4061
4065
|
}), "projectFields");
|
|
4062
4066
|
|
|
4063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4064
4068
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4065
4069
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
4066
4070
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -4082,7 +4086,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4082
4086
|
}
|
|
4083
4087
|
}, "withAbort");
|
|
4084
4088
|
|
|
4085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
4086
4090
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
4087
4091
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
4088
4092
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4478,7 +4482,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4478
4482
|
}
|
|
4479
4483
|
}, "assertRetentionEvidenceRead");
|
|
4480
4484
|
|
|
4481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4482
4486
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4483
4487
|
import { join } from "node:path";
|
|
4484
4488
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4500,12 +4504,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4500
4504
|
}, "profilesWithAccounts");
|
|
4501
4505
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4502
4506
|
|
|
4503
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4504
4508
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4505
4509
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4506
4510
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
4507
4511
|
|
|
4508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
4509
4513
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
4510
4514
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
4511
4515
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -4541,7 +4545,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
4541
4545
|
return value;
|
|
4542
4546
|
}, "atDetail");
|
|
4543
4547
|
|
|
4544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/output.js
|
|
4545
4549
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
4546
4550
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
4547
4551
|
if (other)
|
|
@@ -4605,7 +4609,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
4605
4609
|
}, "warn")
|
|
4606
4610
|
}), "silence");
|
|
4607
4611
|
|
|
4608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4609
4613
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4610
4614
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4611
4615
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4639,7 +4643,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4639
4643
|
cache: "cache.answered"
|
|
4640
4644
|
};
|
|
4641
4645
|
|
|
4642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4646
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4643
4647
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4644
4648
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4645
4649
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4652,13 +4656,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4652
4656
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4653
4657
|
}), "snakeLogger");
|
|
4654
4658
|
|
|
4655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4656
4660
|
import { randomUUID } from "node:crypto";
|
|
4657
4661
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4658
4662
|
import { userInfo } from "node:os";
|
|
4659
4663
|
import { join as join2, sep } from "node:path";
|
|
4660
4664
|
|
|
4661
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4662
4666
|
var diagnostic = {
|
|
4663
4667
|
event: true,
|
|
4664
4668
|
operation: true,
|
|
@@ -4728,7 +4732,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4728
4732
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4729
4733
|
].sort();
|
|
4730
4734
|
|
|
4731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4735
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4732
4736
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4733
4737
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4734
4738
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -5081,7 +5085,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
5081
5085
|
};
|
|
5082
5086
|
}, "metadataOf");
|
|
5083
5087
|
|
|
5084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
5085
5089
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
5086
5090
|
import { randomBytes } from "node:crypto";
|
|
5087
5091
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -5118,7 +5122,7 @@ var attempts = new AsyncLocalStorage2();
|
|
|
5118
5122
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
5119
5123
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
5120
5124
|
|
|
5121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
5122
5126
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
5123
5127
|
const recording = startRecording(options);
|
|
5124
5128
|
try {
|
|
@@ -5303,7 +5307,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
5303
5307
|
return void 0;
|
|
5304
5308
|
}, "partialOutcome");
|
|
5305
5309
|
|
|
5306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5310
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
5307
5311
|
var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
5308
5312
|
if (ms === void 0)
|
|
5309
5313
|
return body();
|
|
@@ -5329,7 +5333,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
5329
5333
|
}
|
|
5330
5334
|
}, "withDeadline");
|
|
5331
5335
|
|
|
5332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
5333
5337
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
5334
5338
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
5335
5339
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5371,10 +5375,10 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
5371
5375
|
return root;
|
|
5372
5376
|
}, "rootOf");
|
|
5373
5377
|
|
|
5374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5378
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5375
5379
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5376
5380
|
|
|
5377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5378
5382
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5379
5383
|
try {
|
|
5380
5384
|
const url2 = new URL(value);
|
|
@@ -5384,7 +5388,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5384
5388
|
}
|
|
5385
5389
|
}, "endpoint");
|
|
5386
5390
|
|
|
5387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5388
5392
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5389
5393
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5390
5394
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5453,7 +5457,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5453
5457
|
};
|
|
5454
5458
|
}, "modelTarget");
|
|
5455
5459
|
|
|
5456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5457
5461
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5458
5462
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5459
5463
|
var AI_FIELDS = {
|
|
@@ -5497,7 +5501,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5497
5501
|
};
|
|
5498
5502
|
}, "resolveAISettings");
|
|
5499
5503
|
|
|
5500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5501
5505
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5502
5506
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5503
5507
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5511,7 +5515,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5511
5515
|
return ms;
|
|
5512
5516
|
}, "parseDuration");
|
|
5513
5517
|
|
|
5514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5518
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5515
5519
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5516
5520
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5517
5521
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5670,7 +5674,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5670
5674
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5671
5675
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5672
5676
|
|
|
5673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5674
5678
|
var HISTORY_MAX_DAYS = 1095;
|
|
5675
5679
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5676
5680
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5717,10 +5721,10 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5717
5721
|
return { batch: { ...batch, messages }, skipped };
|
|
5718
5722
|
}, "limitBatch");
|
|
5719
5723
|
|
|
5720
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5721
5725
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
5722
5726
|
|
|
5723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5724
5728
|
var REPAIR_WORDS = {
|
|
5725
5729
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5726
5730
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5961,7 +5965,7 @@ ${parts.join(",\n")}
|
|
|
5961
5965
|
${indent}${close}`;
|
|
5962
5966
|
}, "serialise");
|
|
5963
5967
|
|
|
5964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5968
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5965
5969
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5966
5970
|
var SECTIONS = ["personal", "bot"];
|
|
5967
5971
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6256,7 +6260,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6256
6260
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6257
6261
|
}, "readConfigFile");
|
|
6258
6262
|
|
|
6259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6263
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6260
6264
|
import { existsSync as existsSync2, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6261
6265
|
import { dirname, join as join3 } from "node:path";
|
|
6262
6266
|
var DEFAULT_CONFIG = {
|
|
@@ -6285,7 +6289,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6285
6289
|
}
|
|
6286
6290
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6287
6291
|
|
|
6288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6289
6293
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6290
6294
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6291
6295
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6694,7 +6698,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6694
6698
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6695
6699
|
}, "given");
|
|
6696
6700
|
|
|
6697
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6698
6702
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
6699
6703
|
const slot = environmentOf(command).exit;
|
|
6700
6704
|
if (slot)
|
|
@@ -6807,7 +6811,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6807
6811
|
return words.join(" ");
|
|
6808
6812
|
}, "commandPath");
|
|
6809
6813
|
|
|
6810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6811
6815
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6812
6816
|
var FETCH = { remote: "read", local: "write" };
|
|
6813
6817
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6831,6 +6835,18 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
6831
6835
|
KEPT_UNDER_LOCK.add(command);
|
|
6832
6836
|
return command;
|
|
6833
6837
|
}, "destroysNothing");
|
|
6838
|
+
var PROPOSE_COMMANDS = ["messages acknowledge", "mail findings add"];
|
|
6839
|
+
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
6840
|
+
var proposesOnly = /* @__PURE__ */ __name((command) => {
|
|
6841
|
+
PROPOSES.add(command);
|
|
6842
|
+
return command;
|
|
6843
|
+
}, "proposesOnly");
|
|
6844
|
+
var isProposal = /* @__PURE__ */ __name((command) => {
|
|
6845
|
+
if (!PROPOSES.has(command))
|
|
6846
|
+
return false;
|
|
6847
|
+
const path2 = pathOf2(command).join(" ");
|
|
6848
|
+
return PROPOSE_COMMANDS.some((listed) => path2 === listed || path2.endsWith(` ${listed}`));
|
|
6849
|
+
}, "isProposal");
|
|
6834
6850
|
var STORE_WRITES = /* @__PURE__ */ new WeakSet();
|
|
6835
6851
|
var changesStore = /* @__PURE__ */ __name((command) => {
|
|
6836
6852
|
STORE_WRITES.add(command);
|
|
@@ -6855,7 +6871,7 @@ var readsOverMcpAt = /* @__PURE__ */ __name((root) => (path2) => {
|
|
|
6855
6871
|
}, "readsOverMcpAt");
|
|
6856
6872
|
var isStoreChange = /* @__PURE__ */ __name((command) => {
|
|
6857
6873
|
const effects = metaOf(command).effects;
|
|
6858
|
-
return (effects?.remote === "none" || STORE_WRITES.has(command)) && effects?.local === "write" && !KEPT_UNDER_LOCK.has(command) && !changesAuthority(command) && writesFileNow(command);
|
|
6874
|
+
return (effects?.remote === "none" || STORE_WRITES.has(command)) && effects?.local === "write" && !KEPT_UNDER_LOCK.has(command) && !isProposal(command) && !changesAuthority(command) && writesFileNow(command);
|
|
6859
6875
|
}, "isStoreChange");
|
|
6860
6876
|
var STORE_CHANGE_REFUSAL = "change the message store";
|
|
6861
6877
|
var previewFlag = /* @__PURE__ */ __name((program2) => program2.options.some((option) => option.long === "--dry-run") ? " --dry-run" : "", "previewFlag");
|
|
@@ -6902,7 +6918,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6902
6918
|
throw readOnlyRefusal(lock, what);
|
|
6903
6919
|
}, "refuseUnderReadOnly");
|
|
6904
6920
|
|
|
6905
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
6906
6922
|
var text = string();
|
|
6907
6923
|
var id = pipe(string(), minLength(1));
|
|
6908
6924
|
var time = isoTime;
|
|
@@ -6926,7 +6942,7 @@ var author = strictObject({
|
|
|
6926
6942
|
name: nullable(text)
|
|
6927
6943
|
});
|
|
6928
6944
|
|
|
6929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6945
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6930
6946
|
var account = strictObject({
|
|
6931
6947
|
provider: text,
|
|
6932
6948
|
id,
|
|
@@ -6936,7 +6952,7 @@ var account = strictObject({
|
|
|
6936
6952
|
scope: optional(picklist(["personal", "work"]))
|
|
6937
6953
|
});
|
|
6938
6954
|
|
|
6939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6940
6956
|
var accountSession = strictObject({
|
|
6941
6957
|
current: boolean(),
|
|
6942
6958
|
client: nullable(text),
|
|
@@ -6946,7 +6962,7 @@ var accountSession = strictObject({
|
|
|
6946
6962
|
created_at: optional(nullable(time))
|
|
6947
6963
|
});
|
|
6948
6964
|
|
|
6949
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6950
6966
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6951
6967
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6952
6968
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6964,7 +6980,7 @@ var accountPrivacy = strictObject({
|
|
|
6964
6980
|
});
|
|
6965
6981
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6966
6982
|
|
|
6967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6983
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6968
6984
|
var accountProfile = strictObject({
|
|
6969
6985
|
profile: id,
|
|
6970
6986
|
current: boolean(),
|
|
@@ -6974,7 +6990,7 @@ var accountProfile = strictObject({
|
|
|
6974
6990
|
signed_in: optional(boolean())
|
|
6975
6991
|
});
|
|
6976
6992
|
|
|
6977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6978
6994
|
var milliseconds = pipe(number(), minValue(0));
|
|
6979
6995
|
var counterReading = strictObject({
|
|
6980
6996
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6986,7 +7002,7 @@ var counterReading = strictObject({
|
|
|
6986
7002
|
});
|
|
6987
7003
|
var selection = record(string(), unknown());
|
|
6988
7004
|
|
|
6989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6990
7006
|
var adminRow = strictObject({
|
|
6991
7007
|
ref: reference,
|
|
6992
7008
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7039,7 +7055,7 @@ var adminReport = strictObject({
|
|
|
7039
7055
|
rows: array(adminRow)
|
|
7040
7056
|
});
|
|
7041
7057
|
|
|
7042
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7043
7059
|
var closeSuggestion = strictObject({
|
|
7044
7060
|
as: picklist(["done", "dismissed"]),
|
|
7045
7061
|
/** The agent's name. */
|
|
@@ -7097,7 +7113,7 @@ var task = strictObject({
|
|
|
7097
7113
|
updated_at: optional(time)
|
|
7098
7114
|
});
|
|
7099
7115
|
|
|
7100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7101
7117
|
var agendaChat = strictObject({
|
|
7102
7118
|
chat: reference,
|
|
7103
7119
|
title: nullable(text),
|
|
@@ -7167,11 +7183,11 @@ var agenda = strictObject({
|
|
|
7167
7183
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7168
7184
|
});
|
|
7169
7185
|
|
|
7170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7186
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7171
7187
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7172
7188
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7173
7189
|
|
|
7174
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7190
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7175
7191
|
var attachment = strictObject({
|
|
7176
7192
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7177
7193
|
message: optional(reference),
|
|
@@ -7209,7 +7225,7 @@ var attachment = strictObject({
|
|
|
7209
7225
|
});
|
|
7210
7226
|
var hitFile = strictObject({ position: count2, kind: text, name: optional(text), size: optional(count2) });
|
|
7211
7227
|
|
|
7212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7213
7229
|
var actionableError = objectWithRest({
|
|
7214
7230
|
code: text,
|
|
7215
7231
|
message: text,
|
|
@@ -7226,7 +7242,7 @@ var batchResult = strictObject({
|
|
|
7226
7242
|
max_error_percent: count2
|
|
7227
7243
|
});
|
|
7228
7244
|
|
|
7229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7230
7246
|
var extractionItem = strictObject({
|
|
7231
7247
|
ref: reference,
|
|
7232
7248
|
attachment: count2,
|
|
@@ -7259,7 +7275,7 @@ var extractionReport = strictObject({
|
|
|
7259
7275
|
cursor: optional(text)
|
|
7260
7276
|
});
|
|
7261
7277
|
|
|
7262
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7263
7279
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7264
7280
|
var attachmentBytes = strictObject({
|
|
7265
7281
|
ref: reference,
|
|
@@ -7287,7 +7303,7 @@ var attachmentTextChange = strictObject({
|
|
|
7287
7303
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7288
7304
|
});
|
|
7289
7305
|
|
|
7290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7291
7307
|
var chart = strictObject({
|
|
7292
7308
|
version: literal(1),
|
|
7293
7309
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7302,7 +7318,7 @@ var chart = strictObject({
|
|
|
7302
7318
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count2, height: count2 }))
|
|
7303
7319
|
});
|
|
7304
7320
|
|
|
7305
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7306
7322
|
var member = strictObject({
|
|
7307
7323
|
id,
|
|
7308
7324
|
name: nullable(text),
|
|
@@ -7325,7 +7341,7 @@ var member = strictObject({
|
|
|
7325
7341
|
check: optional(record(string(), unknown()))
|
|
7326
7342
|
});
|
|
7327
7343
|
|
|
7328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7329
7345
|
var setting = optional(nullable(boolean()));
|
|
7330
7346
|
var chat = strictObject({
|
|
7331
7347
|
ref: reference,
|
|
@@ -7366,7 +7382,7 @@ var chat = strictObject({
|
|
|
7366
7382
|
members: optional(array(member))
|
|
7367
7383
|
});
|
|
7368
7384
|
|
|
7369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7370
7386
|
var named2 = strictObject({
|
|
7371
7387
|
id,
|
|
7372
7388
|
title: nullable(text),
|
|
@@ -7389,7 +7405,7 @@ var folder = strictObject({
|
|
|
7389
7405
|
excluded_chats: optional(array(named2))
|
|
7390
7406
|
});
|
|
7391
7407
|
|
|
7392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7393
7409
|
var inviteLink = strictObject({
|
|
7394
7410
|
link: text,
|
|
7395
7411
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7405,7 +7421,7 @@ var inviteLink = strictObject({
|
|
|
7405
7421
|
joined_count: optional(count2)
|
|
7406
7422
|
});
|
|
7407
7423
|
|
|
7408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7409
7425
|
var operated = { operation_id: id, chat_id: id };
|
|
7410
7426
|
var group = strictObject({
|
|
7411
7427
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7485,7 +7501,7 @@ var chatFolderOrder = strictObject({
|
|
|
7485
7501
|
folders: array(strictObject({ id, title: text }))
|
|
7486
7502
|
});
|
|
7487
7503
|
|
|
7488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7504
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7489
7505
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7490
7506
|
var chatRemoval = strictObject(operated2);
|
|
7491
7507
|
var chatMuting = strictObject({
|
|
@@ -7496,7 +7512,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7496
7512
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7497
7513
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7498
7514
|
|
|
7499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7500
7516
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7501
7517
|
var chatEvent = strictObject({
|
|
7502
7518
|
chat_id: id,
|
|
@@ -7513,7 +7529,7 @@ var chatEvent = strictObject({
|
|
|
7513
7529
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7514
7530
|
});
|
|
7515
7531
|
|
|
7516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7517
7533
|
var chatMetadata = strictObject({
|
|
7518
7534
|
chat_id: id,
|
|
7519
7535
|
title: nullable(text),
|
|
@@ -7528,7 +7544,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7528
7544
|
has_more: boolean()
|
|
7529
7545
|
});
|
|
7530
7546
|
|
|
7531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7532
7548
|
var action = picklist(["report", "delete", "remove"]);
|
|
7533
7549
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7534
7550
|
var chatRules = strictObject({
|
|
@@ -7565,7 +7581,7 @@ var chatModeration = strictObject({
|
|
|
7565
7581
|
}))
|
|
7566
7582
|
});
|
|
7567
7583
|
|
|
7568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7569
7585
|
var optionalCount = optional(count2);
|
|
7570
7586
|
var minutes = nullable(number());
|
|
7571
7587
|
var chatStats = strictObject({
|
|
@@ -7627,7 +7643,7 @@ var taskStats = strictObject({
|
|
|
7627
7643
|
}))
|
|
7628
7644
|
});
|
|
7629
7645
|
|
|
7630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7646
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7631
7647
|
var memberCount = strictObject({
|
|
7632
7648
|
day: pipe(text, isoDate()),
|
|
7633
7649
|
participants: nullable(count2),
|
|
@@ -7650,7 +7666,7 @@ var chatTracking = strictObject({
|
|
|
7650
7666
|
tracked: boolean()
|
|
7651
7667
|
});
|
|
7652
7668
|
|
|
7653
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7669
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7654
7670
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7655
7671
|
var contactSync = strictObject({ added: count2, changed: count2, known: count2 });
|
|
7656
7672
|
var profileFields = {
|
|
@@ -7688,7 +7704,7 @@ var profileFields = {
|
|
|
7688
7704
|
}))
|
|
7689
7705
|
};
|
|
7690
7706
|
|
|
7691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7707
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7692
7708
|
var contact = strictObject({
|
|
7693
7709
|
ref: reference,
|
|
7694
7710
|
id,
|
|
@@ -7719,7 +7735,7 @@ var contact = strictObject({
|
|
|
7719
7735
|
notes: optional(array(strictObject({ id, text, revision: count2, created_at: time, updated_at: time })))
|
|
7720
7736
|
});
|
|
7721
7737
|
|
|
7722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7723
7739
|
var WEIGHTS = {
|
|
7724
7740
|
bot: 3,
|
|
7725
7741
|
scam: 3,
|
|
@@ -7744,7 +7760,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7744
7760
|
var DIGITS = /\d{5,}/;
|
|
7745
7761
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7746
7762
|
|
|
7747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7748
7764
|
var linkedIdentity = strictObject({
|
|
7749
7765
|
provider: text,
|
|
7750
7766
|
id,
|
|
@@ -7785,7 +7801,7 @@ var contactCheck = strictObject({
|
|
|
7785
7801
|
checked_at: time
|
|
7786
7802
|
});
|
|
7787
7803
|
|
|
7788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7789
7805
|
var quoted = strictObject({
|
|
7790
7806
|
id,
|
|
7791
7807
|
sender_id: nullable(id),
|
|
@@ -7893,12 +7909,18 @@ var message = strictObject({
|
|
|
7893
7909
|
/** Mail `review`: its List-Id, `null` when it has none. */
|
|
7894
7910
|
list_id: optional(nullable(text)),
|
|
7895
7911
|
/** Mail `review`: the mail rule that decided how it is stored, by its id in `rules list`; `null` when none. */
|
|
7896
|
-
rule_id: optional(nullable(number()))
|
|
7912
|
+
rule_id: optional(nullable(number())),
|
|
7913
|
+
/** Mail `review`: the evidence fingerprint a finding cites this email by. */
|
|
7914
|
+
fingerprint: optional(pipe(text, regex(/^[a-f0-9]{64}$/))),
|
|
7915
|
+
/** Mail `review`: no earlier stored email, in any account, came from this address. */
|
|
7916
|
+
new_sender: optional(boolean()),
|
|
7917
|
+
/** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
|
|
7918
|
+
sender_identities: optional(number())
|
|
7897
7919
|
})),
|
|
7898
7920
|
provider_metadata: providerMetadata
|
|
7899
7921
|
});
|
|
7900
7922
|
|
|
7901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7902
7924
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7903
7925
|
var contextMessage = strictObject({
|
|
7904
7926
|
locator: reference,
|
|
@@ -8096,7 +8118,7 @@ var contactPreparation = strictObject({
|
|
|
8096
8118
|
})
|
|
8097
8119
|
});
|
|
8098
8120
|
|
|
8099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8100
8122
|
var contactNote = strictObject({
|
|
8101
8123
|
id,
|
|
8102
8124
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8108,13 +8130,13 @@ var contactNote = strictObject({
|
|
|
8108
8130
|
updated_at: time
|
|
8109
8131
|
});
|
|
8110
8132
|
|
|
8111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8112
8134
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8113
8135
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8114
8136
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8115
8137
|
var contactImport = strictObject({ operation_id: id, sent: count2, recognised: array(addressBookPerson) });
|
|
8116
8138
|
|
|
8117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8118
8140
|
var conversation = strictObject({
|
|
8119
8141
|
id,
|
|
8120
8142
|
chat: reference,
|
|
@@ -8129,7 +8151,7 @@ var conversation = strictObject({
|
|
|
8129
8151
|
rules_version: count2
|
|
8130
8152
|
});
|
|
8131
8153
|
|
|
8132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8133
8155
|
var conversationBuild = strictObject({
|
|
8134
8156
|
chat: id,
|
|
8135
8157
|
messages: count2,
|
|
@@ -8154,7 +8176,7 @@ var catchUpPreparation = strictObject({
|
|
|
8154
8176
|
prepared: optional(conversationPreparation)
|
|
8155
8177
|
});
|
|
8156
8178
|
|
|
8157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8158
8180
|
var conversationDetails = union([
|
|
8159
8181
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8160
8182
|
message
|
|
@@ -8244,7 +8266,7 @@ var conversationHit = strictObject({
|
|
|
8244
8266
|
stale: boolean()
|
|
8245
8267
|
});
|
|
8246
8268
|
|
|
8247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8248
8270
|
var counters = strictObject({
|
|
8249
8271
|
cutoff: time,
|
|
8250
8272
|
max_age_ms: milliseconds,
|
|
@@ -8274,7 +8296,7 @@ var counterRefresh = strictObject({
|
|
|
8274
8296
|
complete: optional(boolean())
|
|
8275
8297
|
});
|
|
8276
8298
|
|
|
8277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8278
8300
|
var document = strictObject({
|
|
8279
8301
|
ref: reference,
|
|
8280
8302
|
id,
|
|
@@ -8289,7 +8311,7 @@ var document = strictObject({
|
|
|
8289
8311
|
owners: optional(array(text))
|
|
8290
8312
|
});
|
|
8291
8313
|
|
|
8292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8314
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8293
8315
|
var documentLink = strictObject({
|
|
8294
8316
|
ref: reference,
|
|
8295
8317
|
url: text,
|
|
@@ -8300,7 +8322,7 @@ var documentLink = strictObject({
|
|
|
8300
8322
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8301
8323
|
});
|
|
8302
8324
|
|
|
8303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8304
8326
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8305
8327
|
var contribution = strictObject({
|
|
8306
8328
|
message: evidenceMessage,
|
|
@@ -8330,7 +8352,7 @@ var retentionStay = strictObject({
|
|
|
8330
8352
|
});
|
|
8331
8353
|
var evidence = union([contribution, retentionStay]);
|
|
8332
8354
|
|
|
8333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8355
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8334
8356
|
var fact = strictObject({
|
|
8335
8357
|
ref: reference,
|
|
8336
8358
|
id,
|
|
@@ -8360,7 +8382,7 @@ var fact = strictObject({
|
|
|
8360
8382
|
updated_at: time
|
|
8361
8383
|
});
|
|
8362
8384
|
|
|
8363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8364
8386
|
var hit = strictObject({
|
|
8365
8387
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
8366
8388
|
ref: reference,
|
|
@@ -8398,7 +8420,7 @@ var hit = strictObject({
|
|
|
8398
8420
|
untrusted
|
|
8399
8421
|
});
|
|
8400
8422
|
|
|
8401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8402
8424
|
var identity = strictObject({
|
|
8403
8425
|
ref: reference,
|
|
8404
8426
|
provider: text,
|
|
@@ -8411,7 +8433,7 @@ var identity = strictObject({
|
|
|
8411
8433
|
person: optional(nullable(reference))
|
|
8412
8434
|
});
|
|
8413
8435
|
|
|
8414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8415
8437
|
var imageEmbedding = strictObject({
|
|
8416
8438
|
model: text,
|
|
8417
8439
|
embedded: count2,
|
|
@@ -8420,13 +8442,13 @@ var imageEmbedding = strictObject({
|
|
|
8420
8442
|
more: boolean()
|
|
8421
8443
|
});
|
|
8422
8444
|
|
|
8423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8424
8446
|
import { spawn } from "node:child_process";
|
|
8425
8447
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8426
8448
|
import { closeSync, existsSync as existsSync4, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync3, readFileSync as readFileSync4, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8427
8449
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8428
8450
|
|
|
8429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8451
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8430
8452
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8431
8453
|
const total = input.total ?? null;
|
|
8432
8454
|
const updated = input.updatedAt ?? null;
|
|
@@ -8442,7 +8464,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8442
8464
|
};
|
|
8443
8465
|
}, "progressOf");
|
|
8444
8466
|
|
|
8445
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8446
8468
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8447
8469
|
const run = currentRun();
|
|
8448
8470
|
const trace = traceId ?? run.traceId;
|
|
@@ -8456,7 +8478,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8456
8478
|
}));
|
|
8457
8479
|
}, "recordLogFor");
|
|
8458
8480
|
|
|
8459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8481
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8460
8482
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8461
8483
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8462
8484
|
const out = openSync(log, "a", 384);
|
|
@@ -8506,11 +8528,11 @@ var finishJob = /* @__PURE__ */ __name((app, dir, id6, change) => {
|
|
|
8506
8528
|
const job2 = readJob(dir, id6);
|
|
8507
8529
|
if (!job2)
|
|
8508
8530
|
return;
|
|
8509
|
-
const
|
|
8531
|
+
const outcome3 = stateOf(job2);
|
|
8510
8532
|
recordLogFor(recordsPath(dir, id6), app, job2.traceId ? { traceId: job2.traceId } : {})[job2.error ? "error" : "info"]({
|
|
8511
8533
|
event: "job.exit",
|
|
8512
8534
|
job: id6,
|
|
8513
|
-
outcome:
|
|
8535
|
+
outcome: outcome3,
|
|
8514
8536
|
...job2.error ? { errorCode: job2.error.code } : {}
|
|
8515
8537
|
});
|
|
8516
8538
|
}, "finishJob");
|
|
@@ -8611,7 +8633,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8611
8633
|
return { job: id6, pid, chat: input.chat, log };
|
|
8612
8634
|
}, "startArchiveJob");
|
|
8613
8635
|
|
|
8614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8615
8637
|
var problem = strictObject({ code: text, message: text });
|
|
8616
8638
|
var job = strictObject({
|
|
8617
8639
|
id,
|
|
@@ -8634,7 +8656,7 @@ var job = strictObject({
|
|
|
8634
8656
|
error: optional(problem)
|
|
8635
8657
|
});
|
|
8636
8658
|
|
|
8637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8638
8660
|
var joinRequest = strictObject({
|
|
8639
8661
|
person_id: id,
|
|
8640
8662
|
name: nullable(text),
|
|
@@ -8645,7 +8667,7 @@ var joinRequest = strictObject({
|
|
|
8645
8667
|
about: optional(text)
|
|
8646
8668
|
});
|
|
8647
8669
|
|
|
8648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
8649
8671
|
var organization = strictObject({
|
|
8650
8672
|
id,
|
|
8651
8673
|
ref: reference,
|
|
@@ -8675,7 +8697,7 @@ var reminder = strictObject({
|
|
|
8675
8697
|
receipt: nullable(text)
|
|
8676
8698
|
});
|
|
8677
8699
|
|
|
8678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8679
8701
|
var botProfile = strictObject({
|
|
8680
8702
|
name: text,
|
|
8681
8703
|
token: text,
|
|
@@ -8743,7 +8765,7 @@ var stickerInventory = strictObject({
|
|
|
8743
8765
|
url: optional(nullable(text))
|
|
8744
8766
|
});
|
|
8745
8767
|
|
|
8746
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8747
8769
|
var pollVote = strictObject({
|
|
8748
8770
|
person_id: id,
|
|
8749
8771
|
name: nullable(text),
|
|
@@ -8753,7 +8775,7 @@ var pollVote = strictObject({
|
|
|
8753
8775
|
voted_at: time
|
|
8754
8776
|
});
|
|
8755
8777
|
|
|
8756
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8757
8779
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8758
8780
|
var observation = strictObject({
|
|
8759
8781
|
value: pipe(number(), minValue(0)),
|
|
@@ -8795,7 +8817,73 @@ var serveSummary = strictObject({
|
|
|
8795
8817
|
tasks: optional(strictObject({ added: count2, closed: count2, review: count2 }))
|
|
8796
8818
|
});
|
|
8797
8819
|
|
|
8798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8821
|
+
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8822
|
+
var base = { id, evidence: array(evidence2) };
|
|
8823
|
+
var finding = variant("kind", [
|
|
8824
|
+
strictObject({
|
|
8825
|
+
...base,
|
|
8826
|
+
kind: literal("task"),
|
|
8827
|
+
project: optional(reference),
|
|
8828
|
+
type: picklist(WORK_TASK_TYPES),
|
|
8829
|
+
title: text,
|
|
8830
|
+
reason: text,
|
|
8831
|
+
commitment: picklist(["explicit", "inferred"]),
|
|
8832
|
+
due_at: optional(time),
|
|
8833
|
+
due_evidence: optional(array(reference)),
|
|
8834
|
+
assignee: optional(reference),
|
|
8835
|
+
assignee_evidence: optional(array(reference))
|
|
8836
|
+
}),
|
|
8837
|
+
strictObject({
|
|
8838
|
+
...base,
|
|
8839
|
+
kind: literal("fact"),
|
|
8840
|
+
project: optional(reference),
|
|
8841
|
+
subject: optional(reference),
|
|
8842
|
+
type: picklist(FACT_TYPES),
|
|
8843
|
+
statement: text
|
|
8844
|
+
}),
|
|
8845
|
+
strictObject({
|
|
8846
|
+
...base,
|
|
8847
|
+
kind: literal("task_update"),
|
|
8848
|
+
task: reference,
|
|
8849
|
+
change: picklist(["close", "due", "detail"]),
|
|
8850
|
+
due_at: optional(time),
|
|
8851
|
+
detail: optional(text),
|
|
8852
|
+
reason: text
|
|
8853
|
+
}),
|
|
8854
|
+
strictObject({
|
|
8855
|
+
...base,
|
|
8856
|
+
kind: literal("memory"),
|
|
8857
|
+
memory_kind: picklist(MEMORY_KINDS),
|
|
8858
|
+
scope: picklist(MEMORY_SCOPES),
|
|
8859
|
+
body: text,
|
|
8860
|
+
subject: optional(reference),
|
|
8861
|
+
project: optional(reference)
|
|
8862
|
+
}),
|
|
8863
|
+
strictObject({ ...base, kind: literal("link"), from: reference, to: reference, reason: text }),
|
|
8864
|
+
strictObject({ ...base, kind: literal("new_contact"), address: text, name: text, reason: optional(text) })
|
|
8865
|
+
]);
|
|
8866
|
+
var outcome = strictObject({
|
|
8867
|
+
id,
|
|
8868
|
+
fingerprint: text,
|
|
8869
|
+
status: picklist(["accepted", "rejected"]),
|
|
8870
|
+
reference: nullable(reference),
|
|
8871
|
+
reused: boolean()
|
|
8872
|
+
});
|
|
8873
|
+
var mailFindings = strictObject({
|
|
8874
|
+
id,
|
|
8875
|
+
account: strictObject({ provider: text, account: text }),
|
|
8876
|
+
input: strictObject({ schema_version: literal(1), key: text, extractor: text, findings: array(finding) }),
|
|
8877
|
+
fingerprint: text,
|
|
8878
|
+
status: picklist(["proposed", "reviewed"]),
|
|
8879
|
+
author,
|
|
8880
|
+
decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
|
|
8881
|
+
decided_at: nullable(time),
|
|
8882
|
+
previous: array(outcome),
|
|
8883
|
+
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
8884
|
+
});
|
|
8885
|
+
|
|
8886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8799
8887
|
var mediaArchive = strictObject({
|
|
8800
8888
|
directory: text,
|
|
8801
8889
|
chats: count2,
|
|
@@ -8827,7 +8915,7 @@ var mediaArchiveTimer = union([
|
|
|
8827
8915
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8828
8916
|
]);
|
|
8829
8917
|
|
|
8830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8831
8919
|
var preparationId = pipe(string(), minLength(1));
|
|
8832
8920
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8833
8921
|
var preparationTime = nullable(isoTime);
|
|
@@ -8919,7 +9007,7 @@ var preparationMeeting = strictObject({
|
|
|
8919
9007
|
updated_at: isoTime
|
|
8920
9008
|
});
|
|
8921
9009
|
|
|
8922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8923
9011
|
var meetingEvidence = preparationEvidence;
|
|
8924
9012
|
var meetingPersonContext = strictObject({
|
|
8925
9013
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8941,13 +9029,13 @@ var meetingPersonContext = strictObject({
|
|
|
8941
9029
|
})
|
|
8942
9030
|
});
|
|
8943
9031
|
|
|
8944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8945
|
-
var
|
|
8946
|
-
var
|
|
8947
|
-
var
|
|
8948
|
-
strictObject({ ...
|
|
9032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9033
|
+
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9034
|
+
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9035
|
+
var finding2 = variant("kind", [
|
|
9036
|
+
strictObject({ ...base2, kind: literal("fact"), type: picklist(FACT_TYPES), statement: text }),
|
|
8949
9037
|
strictObject({
|
|
8950
|
-
...
|
|
9038
|
+
...base2,
|
|
8951
9039
|
kind: literal("task"),
|
|
8952
9040
|
type: picklist(WORK_TASK_TYPES),
|
|
8953
9041
|
title: text,
|
|
@@ -8959,7 +9047,7 @@ var finding = variant("kind", [
|
|
|
8959
9047
|
assignee_evidence: optional(array(reference))
|
|
8960
9048
|
})
|
|
8961
9049
|
]);
|
|
8962
|
-
var
|
|
9050
|
+
var outcome2 = strictObject({
|
|
8963
9051
|
id,
|
|
8964
9052
|
fingerprint: text,
|
|
8965
9053
|
status: picklist(["accepted", "rejected"]),
|
|
@@ -8969,17 +9057,17 @@ var outcome = strictObject({
|
|
|
8969
9057
|
var meetingFindings = strictObject({
|
|
8970
9058
|
id,
|
|
8971
9059
|
account: strictObject({ provider: text, account: text }),
|
|
8972
|
-
input: strictObject({ schema_version: literal(1), key: text, extractor: text, findings: array(
|
|
9060
|
+
input: strictObject({ schema_version: literal(1), key: text, extractor: text, findings: array(finding2) }),
|
|
8973
9061
|
fingerprint: text,
|
|
8974
9062
|
status: picklist(["proposed", "reviewed"]),
|
|
8975
9063
|
author,
|
|
8976
9064
|
decided_by: nullable(strictObject({ type: picklist(["person", "bot"]), id })),
|
|
8977
9065
|
decided_at: nullable(time),
|
|
8978
|
-
previous: array(
|
|
8979
|
-
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(
|
|
9066
|
+
previous: array(outcome2),
|
|
9067
|
+
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8980
9068
|
});
|
|
8981
9069
|
|
|
8982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8983
9071
|
var communicationCoverage = strictObject({
|
|
8984
9072
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8985
9073
|
query: string(),
|
|
@@ -9024,7 +9112,7 @@ var preparationCommunications = strictObject({
|
|
|
9024
9112
|
}))
|
|
9025
9113
|
});
|
|
9026
9114
|
|
|
9027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9028
9116
|
var meetingPreparation = strictObject({
|
|
9029
9117
|
communications: optional(preparationCommunications),
|
|
9030
9118
|
schema_version: literal(1),
|
|
@@ -9137,7 +9225,7 @@ var meetingPreparation = strictObject({
|
|
|
9137
9225
|
})
|
|
9138
9226
|
});
|
|
9139
9227
|
|
|
9140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9141
9229
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9142
9230
|
var id3 = pipe(string(), minLength(1));
|
|
9143
9231
|
var text3 = string();
|
|
@@ -9201,7 +9289,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9201
9289
|
})
|
|
9202
9290
|
});
|
|
9203
9291
|
|
|
9204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9205
9293
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9206
9294
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9207
9295
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9231,7 +9319,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9231
9319
|
})
|
|
9232
9320
|
});
|
|
9233
9321
|
|
|
9234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9235
9323
|
var text4 = string();
|
|
9236
9324
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9237
9325
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9248,7 +9336,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9248
9336
|
persistence: literal("proposal-only")
|
|
9249
9337
|
});
|
|
9250
9338
|
|
|
9251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9252
9340
|
var memory = strictObject({
|
|
9253
9341
|
ref: reference,
|
|
9254
9342
|
id,
|
|
@@ -9275,7 +9363,7 @@ var memory = strictObject({
|
|
|
9275
9363
|
updated_at: time
|
|
9276
9364
|
});
|
|
9277
9365
|
|
|
9278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9279
9367
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9280
9368
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9281
9369
|
var mention = strictObject({
|
|
@@ -9318,13 +9406,13 @@ var mentionRebuild = strictObject({
|
|
|
9318
9406
|
mentions: count2
|
|
9319
9407
|
});
|
|
9320
9408
|
|
|
9321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9322
9410
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9323
9411
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9324
9412
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9325
9413
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9326
9414
|
|
|
9327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9328
9416
|
var messageTranscript = strictObject({
|
|
9329
9417
|
message_id: id,
|
|
9330
9418
|
text,
|
|
@@ -9382,7 +9470,7 @@ var evidencePacket = strictObject({
|
|
|
9382
9470
|
}))
|
|
9383
9471
|
});
|
|
9384
9472
|
|
|
9385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9386
9474
|
var messageThread = strictObject({
|
|
9387
9475
|
ref: reference,
|
|
9388
9476
|
chat: id,
|
|
@@ -9399,7 +9487,7 @@ var messageThread = strictObject({
|
|
|
9399
9487
|
});
|
|
9400
9488
|
var messageContext = union([message, messageThread]);
|
|
9401
9489
|
|
|
9402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9403
9491
|
var messageCounts = strictObject({
|
|
9404
9492
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9405
9493
|
total: count2,
|
|
@@ -9412,7 +9500,7 @@ var messageCounts = strictObject({
|
|
|
9412
9500
|
}))
|
|
9413
9501
|
});
|
|
9414
9502
|
|
|
9415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9416
9504
|
var messageLink = strictObject({
|
|
9417
9505
|
ref: reference,
|
|
9418
9506
|
url: nullable(text),
|
|
@@ -9429,7 +9517,7 @@ var messageLink = strictObject({
|
|
|
9429
9517
|
})))
|
|
9430
9518
|
});
|
|
9431
9519
|
|
|
9432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9433
9521
|
var savedMessageFile = strictObject({
|
|
9434
9522
|
kind: text,
|
|
9435
9523
|
path: text,
|
|
@@ -9516,7 +9604,7 @@ var messageSyncAll = strictObject({
|
|
|
9516
9604
|
var messageSyncStarted = strictObject({ job: id, pid: count2, chat: text, log: text });
|
|
9517
9605
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9518
9606
|
|
|
9519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9520
9608
|
var messageWrite = strictObject({
|
|
9521
9609
|
operation_id: id,
|
|
9522
9610
|
message,
|
|
@@ -9531,7 +9619,7 @@ var draftWrite = strictObject({
|
|
|
9531
9619
|
});
|
|
9532
9620
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9533
9621
|
|
|
9534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9535
9623
|
var model2 = strictObject({
|
|
9536
9624
|
id,
|
|
9537
9625
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9548,7 +9636,7 @@ var model2 = strictObject({
|
|
|
9548
9636
|
path: text
|
|
9549
9637
|
});
|
|
9550
9638
|
|
|
9551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9552
9640
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9553
9641
|
var modelKey = strictObject({
|
|
9554
9642
|
provider: text,
|
|
@@ -9558,7 +9646,7 @@ var modelKey = strictObject({
|
|
|
9558
9646
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9559
9647
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9560
9648
|
|
|
9561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
9562
9650
|
var link = {
|
|
9563
9651
|
target_text: nullable(text),
|
|
9564
9652
|
kind: text,
|
|
@@ -9599,7 +9687,7 @@ var note = strictObject({
|
|
|
9599
9687
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
9600
9688
|
});
|
|
9601
9689
|
|
|
9602
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9690
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9603
9691
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9604
9692
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9605
9693
|
var graph = strictObject({
|
|
@@ -9633,14 +9721,14 @@ var officialStats = strictObject({
|
|
|
9633
9721
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9634
9722
|
});
|
|
9635
9723
|
|
|
9636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9637
9725
|
var person2 = strictObject({
|
|
9638
9726
|
ref: reference,
|
|
9639
9727
|
name: nullable(text),
|
|
9640
9728
|
identities: optional(array(identity))
|
|
9641
9729
|
});
|
|
9642
9730
|
|
|
9643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9644
9732
|
var poll = strictObject({
|
|
9645
9733
|
chat_id: id,
|
|
9646
9734
|
message_id: id,
|
|
@@ -9656,11 +9744,11 @@ var poll = strictObject({
|
|
|
9656
9744
|
});
|
|
9657
9745
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9658
9746
|
|
|
9659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9660
9748
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9661
9749
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9662
9750
|
|
|
9663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9664
9752
|
var figures = record(string(), number());
|
|
9665
9753
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9666
9754
|
var rankingRow = strictObject({
|
|
@@ -9707,7 +9795,7 @@ var ranking = strictObject({
|
|
|
9707
9795
|
rows: array(rankingRow)
|
|
9708
9796
|
});
|
|
9709
9797
|
|
|
9710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9711
9799
|
var reaction = strictObject({
|
|
9712
9800
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9713
9801
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9715,7 +9803,7 @@ var reaction = strictObject({
|
|
|
9715
9803
|
reacted_at: time
|
|
9716
9804
|
});
|
|
9717
9805
|
|
|
9718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9719
9807
|
var reactionChange = strictObject({
|
|
9720
9808
|
operation_id: id,
|
|
9721
9809
|
chat_id: id,
|
|
@@ -9723,7 +9811,7 @@ var reactionChange = strictObject({
|
|
|
9723
9811
|
reaction: nullable(text)
|
|
9724
9812
|
});
|
|
9725
9813
|
|
|
9726
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9814
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9727
9815
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9728
9816
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9729
9817
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9734,7 +9822,7 @@ var recipientChange = strictObject({
|
|
|
9734
9822
|
...partial(recipientOff).entries
|
|
9735
9823
|
});
|
|
9736
9824
|
|
|
9737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9738
9826
|
var events = array(record(string(), unknown()));
|
|
9739
9827
|
var recordedRun = strictObject({
|
|
9740
9828
|
run_id: id,
|
|
@@ -9806,7 +9894,7 @@ var runHit = strictObject({
|
|
|
9806
9894
|
});
|
|
9807
9895
|
var runLocation = strictObject({ path: text });
|
|
9808
9896
|
|
|
9809
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9810
9898
|
var relationship = strictObject({
|
|
9811
9899
|
id,
|
|
9812
9900
|
from: reference,
|
|
@@ -9823,7 +9911,7 @@ var relationship = strictObject({
|
|
|
9823
9911
|
created_at: time
|
|
9824
9912
|
});
|
|
9825
9913
|
|
|
9826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9827
9915
|
var retentionCohort = strictObject({
|
|
9828
9916
|
/** The first day of the joining day or week. */
|
|
9829
9917
|
cohort: text,
|
|
@@ -9871,7 +9959,7 @@ var retention = strictObject({
|
|
|
9871
9959
|
rows: array(retentionCohort)
|
|
9872
9960
|
});
|
|
9873
9961
|
|
|
9874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9875
9963
|
var savedSearch = strictObject({
|
|
9876
9964
|
id,
|
|
9877
9965
|
/** `null` for a run in the history. */
|
|
@@ -9888,7 +9976,7 @@ var savedSearch = strictObject({
|
|
|
9888
9976
|
});
|
|
9889
9977
|
var searchHistoryClear = strictObject({ cleared: count2 });
|
|
9890
9978
|
|
|
9891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9892
9980
|
var sendAttempt = strictObject({
|
|
9893
9981
|
at: time,
|
|
9894
9982
|
profile: text,
|
|
@@ -9916,7 +10004,7 @@ var sendAttempt = strictObject({
|
|
|
9916
10004
|
error_code: optional(text)
|
|
9917
10005
|
});
|
|
9918
10006
|
|
|
9919
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9920
10008
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9921
10009
|
var schema = strictObject({ version: count2, min_compatible: count2, writable: boolean(), speaks: count2 });
|
|
9922
10010
|
var infoSchema = strictObject({
|
|
@@ -10124,7 +10212,7 @@ var storeRepair = union([
|
|
|
10124
10212
|
]);
|
|
10125
10213
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count2 }) });
|
|
10126
10214
|
|
|
10127
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10128
10216
|
var range = strictObject({ from: number(), to: number() });
|
|
10129
10217
|
var storeChatStatus = strictObject({
|
|
10130
10218
|
chat_id: id,
|
|
@@ -10215,7 +10303,7 @@ var storeJobRetry = union([
|
|
|
10215
10303
|
]);
|
|
10216
10304
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10217
10305
|
|
|
10218
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10219
10307
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10220
10308
|
var storeTable = strictObject({
|
|
10221
10309
|
name: text,
|
|
@@ -10224,7 +10312,7 @@ var storeTable = strictObject({
|
|
|
10224
10312
|
bytes: optional(nullable(count2))
|
|
10225
10313
|
});
|
|
10226
10314
|
|
|
10227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10228
10316
|
var tagTarget = variant("type", [
|
|
10229
10317
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10230
10318
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10255,7 +10343,7 @@ var automaticTags = strictObject({
|
|
|
10255
10343
|
dry_run: boolean()
|
|
10256
10344
|
});
|
|
10257
10345
|
|
|
10258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10259
10347
|
var tagging = strictObject({
|
|
10260
10348
|
tag: text,
|
|
10261
10349
|
type: picklist(TAG_TYPES),
|
|
@@ -10268,7 +10356,7 @@ var tagging = strictObject({
|
|
|
10268
10356
|
created_at: time
|
|
10269
10357
|
});
|
|
10270
10358
|
|
|
10271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10272
10360
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10273
10361
|
var taskPair = strictObject({
|
|
10274
10362
|
task: nullable(side),
|
|
@@ -10291,7 +10379,7 @@ var taskPair = strictObject({
|
|
|
10291
10379
|
created_at: time
|
|
10292
10380
|
});
|
|
10293
10381
|
|
|
10294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10382
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10295
10383
|
var nullableTime = nullable(time);
|
|
10296
10384
|
var link2 = strictObject({
|
|
10297
10385
|
id,
|
|
@@ -10461,7 +10549,7 @@ var taskReview = strictObject({
|
|
|
10461
10549
|
untrusted
|
|
10462
10550
|
});
|
|
10463
10551
|
|
|
10464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10465
10553
|
var topic = strictObject({
|
|
10466
10554
|
id,
|
|
10467
10555
|
title: text,
|
|
@@ -10475,7 +10563,7 @@ var topic = strictObject({
|
|
|
10475
10563
|
untrusted
|
|
10476
10564
|
});
|
|
10477
10565
|
|
|
10478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10479
10567
|
var ENTITIES = {
|
|
10480
10568
|
sync_progress: progress,
|
|
10481
10569
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -10627,6 +10715,7 @@ var ENTITIES = {
|
|
|
10627
10715
|
meeting_project_evidence: meetingProjectEvidence,
|
|
10628
10716
|
meeting_preparation: meetingPreparation,
|
|
10629
10717
|
meeting_findings: meetingFindings,
|
|
10718
|
+
mail_findings: mailFindings,
|
|
10630
10719
|
meeting_transcript: meetingTranscript,
|
|
10631
10720
|
meeting_summary: meetingSummary,
|
|
10632
10721
|
meeting_evidence: meetingEvidence,
|
|
@@ -10748,7 +10837,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10748
10837
|
return [name, definition];
|
|
10749
10838
|
})), "entityDefinitions");
|
|
10750
10839
|
|
|
10751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10752
10841
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10753
10842
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10754
10843
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10782,7 +10871,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10782
10871
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10783
10872
|
}, "answerRow");
|
|
10784
10873
|
|
|
10785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10786
10875
|
import { join as join5 } from "node:path";
|
|
10787
10876
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10788
10877
|
var IMAGE_MODELS = [
|
|
@@ -10836,7 +10925,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10836
10925
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10837
10926
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10838
10927
|
|
|
10839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10840
10929
|
var STEPS2 = defineSteps([
|
|
10841
10930
|
...STEPS,
|
|
10842
10931
|
{
|
|
@@ -11108,7 +11197,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
|
|
|
11108
11197
|
].join(" ");
|
|
11109
11198
|
}, "stepLine");
|
|
11110
11199
|
|
|
11111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11112
11201
|
var where = [{ field: "ref" }, { field: ["chat_title", "chat"] }];
|
|
11113
11202
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11114
11203
|
var STATUS_SIGNAL_ROWS = {
|
|
@@ -11217,7 +11306,7 @@ var STATUS_ROWS = {
|
|
|
11217
11306
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11218
11307
|
};
|
|
11219
11308
|
|
|
11220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11221
11310
|
var TEXT_CHARS = 400;
|
|
11222
11311
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11223
11312
|
var messageRow = {
|
|
@@ -11553,7 +11642,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11553
11642
|
return lines.concat(footerOf(body)).join("\n");
|
|
11554
11643
|
}, "compactText");
|
|
11555
11644
|
|
|
11556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11645
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11557
11646
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11558
11647
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11559
11648
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11567,7 +11656,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11567
11656
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11568
11657
|
}, "strip");
|
|
11569
11658
|
|
|
11570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11659
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11571
11660
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11572
11661
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11573
11662
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11832,6 +11921,7 @@ export {
|
|
|
11832
11921
|
changesAuthority,
|
|
11833
11922
|
changesAuthorityAt,
|
|
11834
11923
|
destroysNothing,
|
|
11924
|
+
proposesOnly,
|
|
11835
11925
|
changesStore,
|
|
11836
11926
|
readsOverMcpAt,
|
|
11837
11927
|
isStoreChange,
|