@wirecat/cli-memo 0.131.75 → 0.131.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/actions.d.ts +1 -0
- package/dist/actions/actions.d.ts.map +1 -1
- package/dist/actions/actions.js +3 -3
- package/dist/actions/actions.js.map +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +3 -1
- package/dist/actions/command.js.map +1 -1
- package/dist/agents/command.d.ts.map +1 -1
- package/dist/agents/command.js +3 -2
- package/dist/agents/command.js.map +1 -1
- package/dist/agents/log.d.ts +1 -1
- package/dist/agents/log.d.ts.map +1 -1
- package/dist/agents/log.js +5 -4
- package/dist/agents/log.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-LUGN5BHP.js → all-profiles-4UWCPMRQ.js} +10 -8
- package/dist/bundle/{anthropic-W7JXDZPL.js → anthropic-HECHQVOK.js} +7 -5
- package/dist/bundle/{app-server-TRRARE66.js → app-server-GQEQWFYQ.js} +42 -40
- package/dist/bundle/auto-3O7JD27U.js +91 -0
- package/dist/bundle/{bun-S3JZIN4S.js → bun-IWGIAD7H.js} +2 -2
- package/dist/bundle/{bun-sqlite-X3WQN3CV.js → bun-sqlite-VJFM4TVN.js} +7 -5
- package/dist/bundle/{chunk-KDBAY5JZ.js → chunk-2DLCQ4AK.js} +1 -1
- package/dist/bundle/{chunk-W46O6RJ5.js → chunk-2IQWMWMC.js} +42 -130
- package/dist/bundle/{chunk-4O2MYFYC.js → chunk-3EPBPSP6.js} +1 -1
- package/dist/bundle/{chunk-KEBL3PY4.js → chunk-3QBRLN6T.js} +2 -2
- package/dist/bundle/{chunk-V7BDQIZS.js → chunk-3URQNBDV.js} +2 -2
- package/dist/bundle/{chunk-UU3OAPGO.js → chunk-4EFQOTNQ.js} +7 -7
- package/dist/bundle/{chunk-RZS24U4N.js → chunk-4VO2RJAE.js} +12 -10
- package/dist/bundle/{chunk-WKLF7CAM.js → chunk-5APYWW46.js} +34 -32
- package/dist/bundle/{chunk-VYCLOFPC.js → chunk-6A37YXAL.js} +6 -184
- package/dist/bundle/{chunk-346PWQJF.js → chunk-6RN34ZWU.js} +6 -6
- package/dist/bundle/{chunk-WZHCQ4VZ.js → chunk-6VISMU6R.js} +8 -8
- package/dist/bundle/{chunk-ZP2XI5DR.js → chunk-76T57Y3Q.js} +6 -6
- package/dist/bundle/{chunk-FGMFJUHR.js → chunk-7YALAAL4.js} +734 -374
- package/dist/bundle/{chunk-KA5MDFLU.js → chunk-A3QZXQI3.js} +1 -1
- package/dist/bundle/{chunk-4XI7S3PO.js → chunk-A54EZ6DV.js} +15 -15
- package/dist/bundle/{chunk-5RLCKP5E.js → chunk-AH6V2UJZ.js} +22 -18
- package/dist/bundle/{chunk-2EZFUIL4.js → chunk-BA6GHX5B.js} +27 -27
- package/dist/bundle/{chunk-E74VWHZ2.js → chunk-BFEXVALS.js} +1 -1
- package/dist/bundle/{chunk-XPSXVUZG.js → chunk-BNOSAHVH.js} +3 -3
- package/dist/bundle/{chunk-ZXW5FPH2.js → chunk-C3HS26N5.js} +1 -1
- package/dist/bundle/{chunk-VFKCZJFT.js → chunk-CFZZUGUD.js} +22 -22
- package/dist/bundle/{chunk-KYJBGCTC.js → chunk-CPKS7JKX.js} +2 -2
- package/dist/bundle/{chunk-7Y4HUYI3.js → chunk-D7KQYLAN.js} +8 -8
- package/dist/bundle/{chunk-LX3OSTBD.js → chunk-DE5BNDIA.js} +4 -4
- package/dist/bundle/{chunk-SJD4KTK2.js → chunk-DJYMK7EI.js} +4 -4
- package/dist/bundle/{chunk-EWRHTZD3.js → chunk-DNPE4LOZ.js} +11 -11
- package/dist/bundle/chunk-EXFRC4OT.js +106 -0
- package/dist/bundle/{chunk-XMHWGHID.js → chunk-EY46RMMS.js} +183 -158
- package/dist/bundle/{chunk-UIAGASGP.js → chunk-HFZHXP4U.js} +6 -6
- package/dist/bundle/{chunk-QYJJBE56.js → chunk-HKDUGTWQ.js} +3 -3
- package/dist/bundle/{chunk-VB4OLJHK.js → chunk-HWIKY7KF.js} +3 -3
- package/dist/bundle/{chunk-2QND7VJS.js → chunk-INXIJXU2.js} +7 -7
- package/dist/bundle/{chunk-OWUEEVF6.js → chunk-IYINNZQE.js} +13 -12
- package/dist/bundle/{chunk-YLYZNPAZ.js → chunk-JKLJM7EG.js} +2 -2
- package/dist/bundle/{chunk-6VMIMAZ2.js → chunk-JSGRDE5Q.js} +302 -298
- package/dist/bundle/{chunk-G45BLLDR.js → chunk-JTLPFUIQ.js} +4 -4
- package/dist/bundle/{chunk-4QGUBKN5.js → chunk-KTBPBMNR.js} +6 -6
- package/dist/bundle/{chunk-ZTZLAGZA.js → chunk-KYW7RWGE.js} +3 -3
- package/dist/bundle/{chunk-6I4DOBSD.js → chunk-LHVNZ25W.js} +13 -13
- package/dist/bundle/{chunk-SIQDO5DN.js → chunk-LO74ISD6.js} +4 -4
- package/dist/bundle/{chunk-XQ3RZU3J.js → chunk-M4MM4QUM.js} +1 -1
- package/dist/bundle/{chunk-6AOPUQTC.js → chunk-MRUE3BWX.js} +1 -1
- package/dist/bundle/{chunk-QKWM4VK4.js → chunk-MZHH5XMX.js} +2 -2
- package/dist/bundle/{chunk-SCYHDYLI.js → chunk-NGWUFB4K.js} +1 -1
- package/dist/bundle/{chunk-NR633L2N.js → chunk-OAWNQZ3V.js} +4 -4
- package/dist/bundle/{chunk-SIOPF2UG.js → chunk-OB3OPV55.js} +6 -6
- package/dist/bundle/{chunk-E2PSOSTN.js → chunk-OQSIFLZS.js} +2 -2
- package/dist/bundle/{chunk-4KDORB7C.js → chunk-PPARTGFE.js} +10 -10
- package/dist/bundle/{chunk-YB4KGUXY.js → chunk-QNJ6O6J4.js} +3 -3
- package/dist/bundle/{chunk-GFVSZY4J.js → chunk-S5T4SO7I.js} +8 -2
- package/dist/bundle/{chunk-YDTGYYOR.js → chunk-SHO3T3F2.js} +4 -4
- package/dist/bundle/{chunk-6FTZ53TT.js → chunk-TFXKS2WG.js} +1 -1
- package/dist/bundle/{chunk-5CTOWPOL.js → chunk-TIHQFMH2.js} +12 -10
- package/dist/bundle/{chunk-XQHOMQNZ.js → chunk-TXXKLYJQ.js} +4 -4
- package/dist/bundle/{chunk-ZISVFVQU.js → chunk-UD5JUJES.js} +365 -364
- package/dist/bundle/{chunk-KUFOM3SB.js → chunk-UDRKGCDS.js} +2 -2
- package/dist/bundle/chunk-UIS44ZMF.js +185 -0
- package/dist/bundle/{chunk-AOHT5FNX.js → chunk-VIY77EDM.js} +48 -48
- package/dist/bundle/{chunk-MPZBV5RL.js → chunk-VMTTWF2M.js} +8 -8
- package/dist/bundle/{chunk-IQIM4UC7.js → chunk-W36BMC6F.js} +5 -5
- package/dist/bundle/{chunk-JINEHQ2T.js → chunk-WZZ426CJ.js} +99 -84
- package/dist/bundle/chunk-X2SA73EE.js +200 -0
- package/dist/bundle/{chunk-BDVM5652.js → chunk-XLZPP5MB.js} +1 -1
- package/dist/bundle/{chunk-LPGE6ACC.js → chunk-YABNPKKQ.js} +2 -2
- package/dist/bundle/{chunk-ZL63GL3Y.js → chunk-YZ4J67GU.js} +3 -3
- package/dist/bundle/{chunk-C6MWOBEL.js → chunk-ZPB3VTS7.js} +22 -12
- package/dist/bundle/{chunk-W64FO6DD.js → chunk-ZPPMGXER.js} +400 -37
- package/dist/bundle/command-contract-SEDOYJIJ.js +34 -0
- package/dist/bundle/{command-server-entry-XVUPTSSH.js → command-server-entry-TQBKNSM3.js} +71 -53
- package/dist/bundle/{decode-METZOSMG.js → decode-VFRSEIBD.js} +7 -5
- package/dist/bundle/{dispatch-PHB2Y6ZL.js → dispatch-N73TJNYM.js} +3 -3
- package/dist/bundle/{echarts-EBSP4VCK.js → echarts-DP2GC2C6.js} +2 -2
- package/dist/bundle/{embed-GVVU7N7W.js → embed-BIINGRNY.js} +8 -6
- package/dist/bundle/{embedder-6BZOYAXV.js → embedder-2AUO2PHQ.js} +11 -9
- package/dist/bundle/entry-APUFP74B.js +23 -0
- package/dist/bundle/entry-LGJ2Y7AS.js +78 -0
- package/dist/bundle/failure-5QSMH2CD.js +71 -0
- package/dist/bundle/{failure-OBT7CUVW.js → failure-IPHFR3KW.js} +3 -2
- package/dist/bundle/{first-run-HQ4GA4EF.js → first-run-7UMKRQL7.js} +11 -9
- package/dist/bundle/first-screen-H5CQSLIX.js +32 -0
- package/dist/bundle/{instructions-VDKK3Y5Z.js → instructions-WDKCHEG6.js} +1 -1
- package/dist/bundle/mcp-3HKOGYHL.js +92 -0
- package/dist/bundle/memo.js +9 -56
- package/dist/bundle/{node-HWGZYNUX.js → node-QBL3F2VF.js} +2 -2
- package/dist/bundle/{node-sqlite-PSYENWGS.js → node-sqlite-WFKC73E5.js} +8 -6
- package/dist/bundle/{oauth-TQGMUJK2.js → oauth-4PT7N4SE.js} +9 -7
- package/dist/bundle/{open-KDDJDKCE.js → open-I7XENSGI.js} +7 -5
- package/dist/bundle/openai-DUSBTUFI.js +26 -0
- package/dist/bundle/{process-APNTXJJE.js → process-TVXEHAK6.js} +1 -1
- package/dist/bundle/{program-OGDARQTX.js → program-3X4EPBEW.js} +587 -234
- package/dist/bundle/{prompt-BMBZCLGF.js → prompt-QRYXTON7.js} +7 -5
- package/dist/bundle/{recognize-3SEY2MAR.js → recognize-ZLDPIN36.js} +6 -4
- package/dist/bundle/{remote-ODH54UXO.js → remote-3GRP5YE3.js} +9 -7
- package/dist/bundle/{rerank-JQHBNTUK.js → rerank-6B2FI6LN.js} +9 -7
- package/dist/bundle/serve-ZP3TEANT.js +24 -0
- package/dist/bundle/{server-ADPO4V4B.js → server-3SJJNNSX.js} +63 -59
- package/dist/bundle/server-72VZYABL.js +50 -0
- package/dist/bundle/server-UY47EXPQ.js +64 -0
- package/dist/bundle/{state-M3VGXSV4.js → state-JDH2X2CY.js} +8 -6
- package/dist/bundle/{store-GSZAXU3A.js → store-FDNYGJUF.js} +14 -12
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +49 -0
- package/dist/bundle/update-257J2SPM.js +74 -0
- package/dist/digest/backfill.d.ts.map +1 -1
- package/dist/digest/backfill.js +2 -1
- package/dist/digest/backfill.js.map +1 -1
- package/dist/digest/digest-commands.d.ts.map +1 -1
- package/dist/digest/digest-commands.js +2 -1
- package/dist/digest/digest-commands.js.map +1 -1
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +2 -1
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +13 -1
- package/dist/examples.js.map +1 -1
- package/dist/exit-code.d.ts +7 -0
- package/dist/exit-code.d.ts.map +1 -0
- package/dist/exit-code.js +19 -0
- package/dist/exit-code.js.map +1 -0
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +3 -2
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -1
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +3 -3
- package/dist/facts/fact.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +1 -0
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +3 -2
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -1
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +2 -2
- package/dist/memories/memory.js.map +1 -1
- package/dist/page.d.ts +14 -5
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +11 -5
- package/dist/page.js.map +1 -1
- package/dist/program.d.ts +3 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +7 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/records/import.d.ts.map +1 -1
- package/dist/records/import.js +60 -5
- package/dist/records/import.js.map +1 -1
- package/dist/records/input.d.ts +6 -2
- package/dist/records/input.d.ts.map +1 -1
- package/dist/records/input.js +87 -3
- package/dist/records/input.js.map +1 -1
- package/dist/run/entry.d.ts +7 -0
- package/dist/run/entry.d.ts.map +1 -0
- package/dist/run/entry.js +62 -0
- package/dist/run/entry.js.map +1 -0
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +2 -1
- package/dist/run/import.js.map +1 -1
- package/dist/sources/command.d.ts.map +1 -1
- package/dist/sources/command.js +55 -4
- package/dist/sources/command.js.map +1 -1
- package/dist/sources/read.d.ts +29 -2
- package/dist/sources/read.d.ts.map +1 -1
- package/dist/sources/read.js +67 -5
- package/dist/sources/read.js.map +1 -1
- package/dist/sources/readers/ai-model.d.ts +4 -0
- package/dist/sources/readers/ai-model.d.ts.map +1 -0
- package/dist/sources/readers/ai-model.js +74 -0
- package/dist/sources/readers/ai-model.js.map +1 -0
- package/dist/sources/readers/index.d.ts +1 -0
- package/dist/sources/readers/index.d.ts.map +1 -1
- package/dist/sources/readers/index.js +3 -1
- package/dist/sources/readers/index.js.map +1 -1
- package/dist/sources/readers/keys.js +1 -1
- package/dist/sources/readers/keys.js.map +1 -1
- package/dist/sources/readers/types.d.ts +5 -2
- package/dist/sources/readers/types.d.ts.map +1 -1
- package/dist/sources/readers/types.js +1 -1
- package/dist/sources/readers/types.js.map +1 -1
- package/dist/sources/suggest-command.d.ts.map +1 -1
- package/dist/sources/suggest-command.js +16 -5
- package/dist/sources/suggest-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-AQAKW55Z.js +0 -89
- package/dist/bundle/chunk-XPCTY6XV.js +0 -116
- package/dist/bundle/command-contract-QQG343ZQ.js +0 -32
- package/dist/bundle/entry-TBOYUMWB.js +0 -21
- package/dist/bundle/failure-EKMEAYZH.js +0 -69
- package/dist/bundle/first-screen-6T65PQ37.js +0 -30
- package/dist/bundle/mcp-DEY765VA.js +0 -90
- package/dist/bundle/openai-QPGCUM4T.js +0 -24
- package/dist/bundle/serve-C22ZONSM.js +0 -22
- package/dist/bundle/server-3UX245DY.js +0 -62
- package/dist/bundle/server-6G5XF3V5.js +0 -48
- package/dist/bundle/store-maintenance-command-QMTALGSQ.js +0 -47
- package/dist/bundle/update-HDJ23IV5.js +0 -72
- /package/dist/bundle/{chunk-IXSUVHW6.js → chunk-6AALVDEA.js} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4EFQOTNQ.js";
|
|
13
13
|
import {
|
|
14
14
|
carries
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MRUE3BWX.js";
|
|
16
16
|
import {
|
|
17
17
|
permissionCeiling
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TXXKLYJQ.js";
|
|
19
19
|
import {
|
|
20
20
|
envName,
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UDRKGCDS.js";
|
|
24
24
|
import {
|
|
25
25
|
BUSINESS_KINDS,
|
|
26
26
|
CATEGORIES,
|
|
@@ -98,39 +98,44 @@ import {
|
|
|
98
98
|
typedCommand,
|
|
99
99
|
untrusted,
|
|
100
100
|
useAsProcessRun
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-WZZ426CJ.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure,
|
|
104
104
|
storeDamaged
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-HWIKY7KF.js";
|
|
106
106
|
import {
|
|
107
107
|
readSharedSection,
|
|
108
108
|
sharedConfigPath,
|
|
109
109
|
writeSharedSection
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-KTBPBMNR.js";
|
|
111
111
|
import {
|
|
112
112
|
filesPresent,
|
|
113
113
|
sharedModelsDirectory
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-LO74ISD6.js";
|
|
115
115
|
import {
|
|
116
116
|
storePath
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-YABNPKKQ.js";
|
|
118
118
|
import {
|
|
119
119
|
configFilePath,
|
|
120
120
|
createRecordLog,
|
|
121
121
|
createRenderer,
|
|
122
|
-
defineLogEvents,
|
|
123
122
|
fieldsOf,
|
|
124
123
|
processStreams,
|
|
125
124
|
projectFields,
|
|
126
125
|
resolvePaths,
|
|
127
126
|
saveConfigFile,
|
|
128
127
|
writeSecurely
|
|
129
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-2IQWMWMC.js";
|
|
129
|
+
import {
|
|
130
|
+
defineLogEvents
|
|
131
|
+
} from "./chunk-EXFRC4OT.js";
|
|
130
132
|
import {
|
|
131
|
-
COMPACT_FLAG,
|
|
132
133
|
EXIT_CODES,
|
|
133
134
|
GENERIC_FAILURE,
|
|
135
|
+
exitCodeOfAnswer
|
|
136
|
+
} from "./chunk-X2SA73EE.js";
|
|
137
|
+
import {
|
|
138
|
+
COMPACT_FLAG,
|
|
134
139
|
MAX_NEXT_STEPS,
|
|
135
140
|
STEPS,
|
|
136
141
|
array,
|
|
@@ -138,7 +143,6 @@ import {
|
|
|
138
143
|
check,
|
|
139
144
|
defineSteps,
|
|
140
145
|
effectsSchema,
|
|
141
|
-
exitCodeOfAnswer,
|
|
142
146
|
getDotPath,
|
|
143
147
|
integer,
|
|
144
148
|
isoDate,
|
|
@@ -182,13 +186,13 @@ import {
|
|
|
182
186
|
url,
|
|
183
187
|
variant,
|
|
184
188
|
writes
|
|
185
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-6A37YXAL.js";
|
|
186
190
|
import {
|
|
187
191
|
CliError,
|
|
188
192
|
isCliError,
|
|
189
193
|
singleLine,
|
|
190
194
|
visibleControls
|
|
191
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-BA6GHX5B.js";
|
|
192
196
|
import {
|
|
193
197
|
__name
|
|
194
198
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -3979,7 +3983,7 @@ var commandsDocument = /* @__PURE__ */ __name((root, about) => ({
|
|
|
3979
3983
|
exit_codes: { ok: 0, internal_error: GENERIC_FAILURE, ...EXIT_CODES }
|
|
3980
3984
|
}), "commandsDocument");
|
|
3981
3985
|
|
|
3982
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3986
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
3983
3987
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
3984
3988
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
3985
3989
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -4379,7 +4383,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
4379
4383
|
}
|
|
4380
4384
|
}, "assertRetentionEvidenceRead");
|
|
4381
4385
|
|
|
4382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
4383
4387
|
var account = strictObject({
|
|
4384
4388
|
provider: text,
|
|
4385
4389
|
id,
|
|
@@ -4389,7 +4393,7 @@ var account = strictObject({
|
|
|
4389
4393
|
scope: optional(picklist(["personal", "work"]))
|
|
4390
4394
|
});
|
|
4391
4395
|
|
|
4392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
4393
4397
|
var accountSession = strictObject({
|
|
4394
4398
|
current: boolean(),
|
|
4395
4399
|
client: nullable(text),
|
|
@@ -4399,7 +4403,7 @@ var accountSession = strictObject({
|
|
|
4399
4403
|
created_at: optional(nullable(time))
|
|
4400
4404
|
});
|
|
4401
4405
|
|
|
4402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
4403
4407
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
4404
4408
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
4405
4409
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -4428,7 +4432,7 @@ var accountRemoval = strictObject({
|
|
|
4428
4432
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
4429
4433
|
});
|
|
4430
4434
|
|
|
4431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
4432
4436
|
var accountProfile = strictObject({
|
|
4433
4437
|
profile: id,
|
|
4434
4438
|
current: boolean(),
|
|
@@ -4440,7 +4444,7 @@ var accountProfile = strictObject({
|
|
|
4440
4444
|
bot: optional(literal(true))
|
|
4441
4445
|
});
|
|
4442
4446
|
|
|
4443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
4444
4448
|
var milliseconds = pipe(number(), minValue(0));
|
|
4445
4449
|
var counterReading = strictObject({
|
|
4446
4450
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -4452,7 +4456,7 @@ var counterReading = strictObject({
|
|
|
4452
4456
|
});
|
|
4453
4457
|
var selection = record(string(), unknown());
|
|
4454
4458
|
|
|
4455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
4456
4460
|
var adminRow = strictObject({
|
|
4457
4461
|
ref: reference,
|
|
4458
4462
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -4505,7 +4509,7 @@ var adminReport = strictObject({
|
|
|
4505
4509
|
rows: array(adminRow)
|
|
4506
4510
|
});
|
|
4507
4511
|
|
|
4508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4512
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
4509
4513
|
var closeSuggestion = strictObject({
|
|
4510
4514
|
as: picklist(["done", "dismissed"]),
|
|
4511
4515
|
/** The agent's name. */
|
|
@@ -4567,7 +4571,7 @@ var task = strictObject({
|
|
|
4567
4571
|
updated_at: optional(time)
|
|
4568
4572
|
});
|
|
4569
4573
|
|
|
4570
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
4571
4575
|
var agendaChat = strictObject({
|
|
4572
4576
|
chat: reference,
|
|
4573
4577
|
title: nullable(text),
|
|
@@ -4637,11 +4641,11 @@ var agenda = strictObject({
|
|
|
4637
4641
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
4638
4642
|
});
|
|
4639
4643
|
|
|
4640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
4641
4645
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
4642
4646
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
4643
4647
|
|
|
4644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
4645
4649
|
var attachment = strictObject({
|
|
4646
4650
|
/** The message it came with, as a locator; absent inside that message. */
|
|
4647
4651
|
message: optional(reference),
|
|
@@ -4679,7 +4683,7 @@ var attachment = strictObject({
|
|
|
4679
4683
|
});
|
|
4680
4684
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
4681
4685
|
|
|
4682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
4683
4687
|
var actionableError = objectWithRest({
|
|
4684
4688
|
code: text,
|
|
4685
4689
|
message: text,
|
|
@@ -4696,7 +4700,7 @@ var batchResult = strictObject({
|
|
|
4696
4700
|
max_error_percent: count
|
|
4697
4701
|
});
|
|
4698
4702
|
|
|
4699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
4700
4704
|
var extractionItem = strictObject({
|
|
4701
4705
|
ref: reference,
|
|
4702
4706
|
attachment: count,
|
|
@@ -4729,7 +4733,7 @@ var extractionReport = strictObject({
|
|
|
4729
4733
|
cursor: optional(text)
|
|
4730
4734
|
});
|
|
4731
4735
|
|
|
4732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
4733
4737
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
4734
4738
|
var attachmentBytes = strictObject({
|
|
4735
4739
|
ref: reference,
|
|
@@ -4757,7 +4761,7 @@ var attachmentTextChange = strictObject({
|
|
|
4757
4761
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
4758
4762
|
});
|
|
4759
4763
|
|
|
4760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
4761
4765
|
var WEIGHTS = {
|
|
4762
4766
|
bot: 3,
|
|
4763
4767
|
scam: 3,
|
|
@@ -4782,7 +4786,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
4782
4786
|
var DIGITS = /\d{5,}/;
|
|
4783
4787
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
4784
4788
|
|
|
4785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
4786
4790
|
var linkedIdentity = strictObject({
|
|
4787
4791
|
provider: text,
|
|
4788
4792
|
id,
|
|
@@ -4830,7 +4834,7 @@ var contactCheck = strictObject({
|
|
|
4830
4834
|
checked_at: time
|
|
4831
4835
|
});
|
|
4832
4836
|
|
|
4833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
4834
4838
|
var member = strictObject({
|
|
4835
4839
|
id,
|
|
4836
4840
|
name: nullable(text),
|
|
@@ -4853,7 +4857,7 @@ var member = strictObject({
|
|
|
4853
4857
|
check: optional(record(string(), unknown()))
|
|
4854
4858
|
});
|
|
4855
4859
|
|
|
4856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
4857
4861
|
var setting = optional(nullable(boolean()));
|
|
4858
4862
|
var chat = strictObject({
|
|
4859
4863
|
ref: reference,
|
|
@@ -4894,7 +4898,7 @@ var chat = strictObject({
|
|
|
4894
4898
|
members: optional(array(member))
|
|
4895
4899
|
});
|
|
4896
4900
|
|
|
4897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
4898
4902
|
var quoted = strictObject({
|
|
4899
4903
|
id,
|
|
4900
4904
|
sender_id: nullable(id),
|
|
@@ -5013,7 +5017,7 @@ var message = strictObject({
|
|
|
5013
5017
|
provider_metadata: providerMetadata
|
|
5014
5018
|
});
|
|
5015
5019
|
|
|
5016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
5017
5021
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
5018
5022
|
var contextMessage = strictObject({
|
|
5019
5023
|
locator: reference,
|
|
@@ -5217,7 +5221,7 @@ var contactPreparation = strictObject({
|
|
|
5217
5221
|
})
|
|
5218
5222
|
});
|
|
5219
5223
|
|
|
5220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5224
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
5221
5225
|
var nullableText = nullable(text);
|
|
5222
5226
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
5223
5227
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -5309,7 +5313,7 @@ var stage = strictObject({
|
|
|
5309
5313
|
untrusted
|
|
5310
5314
|
});
|
|
5311
5315
|
|
|
5312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
5313
5317
|
var nullableText2 = nullable(text);
|
|
5314
5318
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
5315
5319
|
var standing = picklist(STANDINGS);
|
|
@@ -5483,7 +5487,7 @@ var dealBrief = strictObject({
|
|
|
5483
5487
|
not_read: coverage2.entries.not_read
|
|
5484
5488
|
});
|
|
5485
5489
|
|
|
5486
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
5487
5491
|
var chart = strictObject({
|
|
5488
5492
|
version: literal(1),
|
|
5489
5493
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -5498,7 +5502,7 @@ var chart = strictObject({
|
|
|
5498
5502
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
5499
5503
|
});
|
|
5500
5504
|
|
|
5501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
5502
5506
|
var named = strictObject({
|
|
5503
5507
|
id,
|
|
5504
5508
|
title: nullable(text),
|
|
@@ -5521,7 +5525,7 @@ var folder = strictObject({
|
|
|
5521
5525
|
excluded_chats: optional(array(named))
|
|
5522
5526
|
});
|
|
5523
5527
|
|
|
5524
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
5525
5529
|
var inviteLink = strictObject({
|
|
5526
5530
|
link: text,
|
|
5527
5531
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -5537,7 +5541,7 @@ var inviteLink = strictObject({
|
|
|
5537
5541
|
joined_count: optional(count)
|
|
5538
5542
|
});
|
|
5539
5543
|
|
|
5540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
5541
5545
|
var operated = { operation_id: id, chat_id: id };
|
|
5542
5546
|
var group = strictObject({
|
|
5543
5547
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -5617,7 +5621,7 @@ var chatFolderOrder = strictObject({
|
|
|
5617
5621
|
folders: array(strictObject({ id, title: text }))
|
|
5618
5622
|
});
|
|
5619
5623
|
|
|
5620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
5621
5625
|
var operated2 = { operation_id: id, chat_id: id };
|
|
5622
5626
|
var chatRemoval = strictObject(operated2);
|
|
5623
5627
|
var chatMuting = strictObject({
|
|
@@ -5628,7 +5632,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
5628
5632
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
5629
5633
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
5630
5634
|
|
|
5631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
5632
5636
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
5633
5637
|
var chatEvent = strictObject({
|
|
5634
5638
|
chat_id: id,
|
|
@@ -5645,7 +5649,7 @@ var chatEvent = strictObject({
|
|
|
5645
5649
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
5646
5650
|
});
|
|
5647
5651
|
|
|
5648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
5649
5653
|
var chatMetadata = strictObject({
|
|
5650
5654
|
chat_id: id,
|
|
5651
5655
|
title: nullable(text),
|
|
@@ -5660,7 +5664,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
5660
5664
|
has_more: boolean()
|
|
5661
5665
|
});
|
|
5662
5666
|
|
|
5663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
5664
5668
|
var action = picklist(["report", "delete", "remove"]);
|
|
5665
5669
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
5666
5670
|
var chatRules = strictObject({
|
|
@@ -5697,7 +5701,7 @@ var chatModeration = strictObject({
|
|
|
5697
5701
|
}))
|
|
5698
5702
|
});
|
|
5699
5703
|
|
|
5700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
5701
5705
|
var optionalCount = optional(count);
|
|
5702
5706
|
var minutes = nullable(number());
|
|
5703
5707
|
var chatStats = strictObject({
|
|
@@ -5771,7 +5775,7 @@ var taskStats = strictObject({
|
|
|
5771
5775
|
}))
|
|
5772
5776
|
});
|
|
5773
5777
|
|
|
5774
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
5775
5779
|
var memberCount = strictObject({
|
|
5776
5780
|
day: pipe(text, isoDate()),
|
|
5777
5781
|
participants: nullable(count),
|
|
@@ -5794,7 +5798,7 @@ var chatTracking = strictObject({
|
|
|
5794
5798
|
tracked: boolean()
|
|
5795
5799
|
});
|
|
5796
5800
|
|
|
5797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
5798
5802
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5799
5803
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
5800
5804
|
var profileFields = {
|
|
@@ -5832,7 +5836,7 @@ var profileFields = {
|
|
|
5832
5836
|
}))
|
|
5833
5837
|
};
|
|
5834
5838
|
|
|
5835
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
5836
5840
|
var contact = strictObject({
|
|
5837
5841
|
ref: reference,
|
|
5838
5842
|
id,
|
|
@@ -5863,7 +5867,7 @@ var contact = strictObject({
|
|
|
5863
5867
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
5864
5868
|
});
|
|
5865
5869
|
|
|
5866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5870
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
5867
5871
|
var contactNote = strictObject({
|
|
5868
5872
|
id,
|
|
5869
5873
|
/** The contact, as a `contact:` reference. */
|
|
@@ -5875,13 +5879,13 @@ var contactNote = strictObject({
|
|
|
5875
5879
|
updated_at: time
|
|
5876
5880
|
});
|
|
5877
5881
|
|
|
5878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
5879
5883
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
5880
5884
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
5881
5885
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
5882
5886
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
5883
5887
|
|
|
5884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
5885
5889
|
var conversation = strictObject({
|
|
5886
5890
|
id,
|
|
5887
5891
|
chat: reference,
|
|
@@ -5896,7 +5900,7 @@ var conversation = strictObject({
|
|
|
5896
5900
|
rules_version: count
|
|
5897
5901
|
});
|
|
5898
5902
|
|
|
5899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
5900
5904
|
var conversationBuild = strictObject({
|
|
5901
5905
|
chat: id,
|
|
5902
5906
|
messages: count,
|
|
@@ -5921,7 +5925,7 @@ var catchUpPreparation = strictObject({
|
|
|
5921
5925
|
prepared: optional(conversationPreparation)
|
|
5922
5926
|
});
|
|
5923
5927
|
|
|
5924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5928
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
5925
5929
|
var conversationDetails = union([
|
|
5926
5930
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
5927
5931
|
message
|
|
@@ -6011,7 +6015,7 @@ var conversationHit = strictObject({
|
|
|
6011
6015
|
stale: boolean()
|
|
6012
6016
|
});
|
|
6013
6017
|
|
|
6014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
6015
6019
|
var counters = strictObject({
|
|
6016
6020
|
cutoff: time,
|
|
6017
6021
|
max_age_ms: milliseconds,
|
|
@@ -6041,7 +6045,7 @@ var counterRefresh = strictObject({
|
|
|
6041
6045
|
complete: optional(boolean())
|
|
6042
6046
|
});
|
|
6043
6047
|
|
|
6044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
6045
6049
|
var document = strictObject({
|
|
6046
6050
|
ref: reference,
|
|
6047
6051
|
id,
|
|
@@ -6056,7 +6060,7 @@ var document = strictObject({
|
|
|
6056
6060
|
owners: optional(array(text))
|
|
6057
6061
|
});
|
|
6058
6062
|
|
|
6059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
6060
6064
|
var documentLink = strictObject({
|
|
6061
6065
|
ref: reference,
|
|
6062
6066
|
url: text,
|
|
@@ -6067,7 +6071,7 @@ var documentLink = strictObject({
|
|
|
6067
6071
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
6068
6072
|
});
|
|
6069
6073
|
|
|
6070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
6071
6075
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
6072
6076
|
var contribution = strictObject({
|
|
6073
6077
|
message: evidenceMessage,
|
|
@@ -6097,7 +6101,7 @@ var retentionStay = strictObject({
|
|
|
6097
6101
|
});
|
|
6098
6102
|
var evidence = union([contribution, retentionStay]);
|
|
6099
6103
|
|
|
6100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
6101
6105
|
var fact = strictObject({
|
|
6102
6106
|
ref: reference,
|
|
6103
6107
|
id,
|
|
@@ -6128,7 +6132,7 @@ var fact = strictObject({
|
|
|
6128
6132
|
updated_at: time
|
|
6129
6133
|
});
|
|
6130
6134
|
|
|
6131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
6132
6136
|
var hit = strictObject({
|
|
6133
6137
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
6134
6138
|
ref: reference,
|
|
@@ -6174,7 +6178,7 @@ var hit = strictObject({
|
|
|
6174
6178
|
untrusted
|
|
6175
6179
|
});
|
|
6176
6180
|
|
|
6177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
6178
6182
|
var identity = strictObject({
|
|
6179
6183
|
ref: reference,
|
|
6180
6184
|
provider: text,
|
|
@@ -6187,7 +6191,7 @@ var identity = strictObject({
|
|
|
6187
6191
|
person: optional(nullable(reference))
|
|
6188
6192
|
});
|
|
6189
6193
|
|
|
6190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6194
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
6191
6195
|
var imageEmbedding = strictObject({
|
|
6192
6196
|
model: text,
|
|
6193
6197
|
embedded: count,
|
|
@@ -6196,13 +6200,13 @@ var imageEmbedding = strictObject({
|
|
|
6196
6200
|
more: boolean()
|
|
6197
6201
|
});
|
|
6198
6202
|
|
|
6199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6200
6204
|
import { spawn } from "node:child_process";
|
|
6201
6205
|
import { randomBytes } from "node:crypto";
|
|
6202
6206
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
6203
6207
|
import { dirname, join } from "node:path";
|
|
6204
6208
|
|
|
6205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
6206
6210
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
6207
6211
|
const total = input.total ?? null;
|
|
6208
6212
|
const updated = input.updatedAt ?? null;
|
|
@@ -6233,7 +6237,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
6233
6237
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
6234
6238
|
}, "progressLine");
|
|
6235
6239
|
|
|
6236
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6237
6241
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6238
6242
|
const run = currentRun();
|
|
6239
6243
|
const trace = traceId ?? run.traceId;
|
|
@@ -6247,7 +6251,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6247
6251
|
}));
|
|
6248
6252
|
}, "recordLogFor");
|
|
6249
6253
|
|
|
6250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6254
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
6251
6255
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
6252
6256
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
6253
6257
|
const out = openSync(log, "a", 384);
|
|
@@ -6402,7 +6406,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
6402
6406
|
return { job: id6, pid, chat: input.chat, log };
|
|
6403
6407
|
}, "startArchiveJob");
|
|
6404
6408
|
|
|
6405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
6406
6410
|
var problem = strictObject({ code: text, message: text });
|
|
6407
6411
|
var job = strictObject({
|
|
6408
6412
|
id,
|
|
@@ -6425,7 +6429,7 @@ var job = strictObject({
|
|
|
6425
6429
|
error: optional(problem)
|
|
6426
6430
|
});
|
|
6427
6431
|
|
|
6428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
6429
6433
|
var joinRequest = strictObject({
|
|
6430
6434
|
person_id: id,
|
|
6431
6435
|
name: nullable(text),
|
|
@@ -6436,7 +6440,7 @@ var joinRequest = strictObject({
|
|
|
6436
6440
|
about: optional(text)
|
|
6437
6441
|
});
|
|
6438
6442
|
|
|
6439
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
6440
6444
|
var botProfile = strictObject({
|
|
6441
6445
|
name: text,
|
|
6442
6446
|
token: text,
|
|
@@ -6533,7 +6537,7 @@ var stickerInventory = strictObject({
|
|
|
6533
6537
|
url: optional(nullable(text))
|
|
6534
6538
|
});
|
|
6535
6539
|
|
|
6536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
6537
6541
|
var pollVote = strictObject({
|
|
6538
6542
|
person_id: id,
|
|
6539
6543
|
name: nullable(text),
|
|
@@ -6543,7 +6547,7 @@ var pollVote = strictObject({
|
|
|
6543
6547
|
voted_at: time
|
|
6544
6548
|
});
|
|
6545
6549
|
|
|
6546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
6547
6551
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
6548
6552
|
var observation = strictObject({
|
|
6549
6553
|
value: pipe(number(), minValue(0)),
|
|
@@ -6585,7 +6589,7 @@ var serveSummary = strictObject({
|
|
|
6585
6589
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
6586
6590
|
});
|
|
6587
6591
|
|
|
6588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
6589
6593
|
var mailCounts = strictObject({
|
|
6590
6594
|
by: picklist(["day", "week", "sender"]),
|
|
6591
6595
|
received: count,
|
|
@@ -6600,7 +6604,7 @@ var mailCounts = strictObject({
|
|
|
6600
6604
|
}))
|
|
6601
6605
|
});
|
|
6602
6606
|
|
|
6603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
6604
6608
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
6605
6609
|
var base = { id, evidence: array(evidence2) };
|
|
6606
6610
|
var finding = variant("kind", [
|
|
@@ -6744,7 +6748,7 @@ var mailFindings = strictObject({
|
|
|
6744
6748
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
6745
6749
|
});
|
|
6746
6750
|
|
|
6747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
6748
6752
|
var mediaArchive = strictObject({
|
|
6749
6753
|
directory: text,
|
|
6750
6754
|
chats: count,
|
|
@@ -6776,7 +6780,7 @@ var mediaArchiveTimer = union([
|
|
|
6776
6780
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
6777
6781
|
]);
|
|
6778
6782
|
|
|
6779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
6780
6784
|
var preparationId = pipe(string(), minLength(1));
|
|
6781
6785
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
6782
6786
|
var preparationTime = nullable(isoTime);
|
|
@@ -6868,7 +6872,7 @@ var preparationMeeting = strictObject({
|
|
|
6868
6872
|
updated_at: isoTime
|
|
6869
6873
|
});
|
|
6870
6874
|
|
|
6871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6875
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
6872
6876
|
var meetingEvidence = preparationEvidence;
|
|
6873
6877
|
var meetingPersonContext = strictObject({
|
|
6874
6878
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -6890,7 +6894,7 @@ var meetingPersonContext = strictObject({
|
|
|
6890
6894
|
})
|
|
6891
6895
|
});
|
|
6892
6896
|
|
|
6893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6897
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
6894
6898
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
6895
6899
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
6896
6900
|
var finding2 = variant("kind", [
|
|
@@ -6928,7 +6932,7 @@ var meetingFindings = strictObject({
|
|
|
6928
6932
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
6929
6933
|
});
|
|
6930
6934
|
|
|
6931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
6932
6936
|
var communicationCoverage = strictObject({
|
|
6933
6937
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
6934
6938
|
query: string(),
|
|
@@ -6973,7 +6977,7 @@ var preparationCommunications = strictObject({
|
|
|
6973
6977
|
}))
|
|
6974
6978
|
});
|
|
6975
6979
|
|
|
6976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
6977
6981
|
var meetingPreparation = strictObject({
|
|
6978
6982
|
communications: optional(preparationCommunications),
|
|
6979
6983
|
schema_version: literal(1),
|
|
@@ -7086,7 +7090,7 @@ var meetingPreparation = strictObject({
|
|
|
7086
7090
|
})
|
|
7087
7091
|
});
|
|
7088
7092
|
|
|
7089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
7090
7094
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
7091
7095
|
var id3 = pipe(string(), minLength(1));
|
|
7092
7096
|
var text3 = string();
|
|
@@ -7150,7 +7154,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
7150
7154
|
})
|
|
7151
7155
|
});
|
|
7152
7156
|
|
|
7153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
7154
7158
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
7155
7159
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
7156
7160
|
var meetingSeriesInventory = strictObject({
|
|
@@ -7180,7 +7184,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
7180
7184
|
})
|
|
7181
7185
|
});
|
|
7182
7186
|
|
|
7183
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
7184
7188
|
var text4 = string();
|
|
7185
7189
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
7186
7190
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -7197,7 +7201,7 @@ var meetingTaskProposal = strictObject({
|
|
|
7197
7201
|
persistence: literal("proposal-only")
|
|
7198
7202
|
});
|
|
7199
7203
|
|
|
7200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
7201
7205
|
var memory = strictObject({
|
|
7202
7206
|
ref: reference,
|
|
7203
7207
|
id,
|
|
@@ -7225,7 +7229,7 @@ var memory = strictObject({
|
|
|
7225
7229
|
updated_at: time
|
|
7226
7230
|
});
|
|
7227
7231
|
|
|
7228
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
7229
7233
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
7230
7234
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
7231
7235
|
var mention = strictObject({
|
|
@@ -7269,13 +7273,13 @@ var mentionRebuild = strictObject({
|
|
|
7269
7273
|
mentions: count
|
|
7270
7274
|
});
|
|
7271
7275
|
|
|
7272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
7273
7277
|
var operated3 = { operation_id: id, chat_id: id };
|
|
7274
7278
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
7275
7279
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
7276
7280
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
7277
7281
|
|
|
7278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
7279
7283
|
var messageTranscript = strictObject({
|
|
7280
7284
|
message_id: id,
|
|
7281
7285
|
text,
|
|
@@ -7333,7 +7337,7 @@ var evidencePacket = strictObject({
|
|
|
7333
7337
|
}))
|
|
7334
7338
|
});
|
|
7335
7339
|
|
|
7336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7340
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
7337
7341
|
var messageThread = strictObject({
|
|
7338
7342
|
ref: reference,
|
|
7339
7343
|
chat: id,
|
|
@@ -7350,7 +7354,7 @@ var messageThread = strictObject({
|
|
|
7350
7354
|
});
|
|
7351
7355
|
var messageContext = union([message, messageThread]);
|
|
7352
7356
|
|
|
7353
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
7354
7358
|
var messageCounts = strictObject({
|
|
7355
7359
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
7356
7360
|
total: count,
|
|
@@ -7363,7 +7367,7 @@ var messageCounts = strictObject({
|
|
|
7363
7367
|
}))
|
|
7364
7368
|
});
|
|
7365
7369
|
|
|
7366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7370
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
7367
7371
|
var messageLink = strictObject({
|
|
7368
7372
|
ref: reference,
|
|
7369
7373
|
url: nullable(text),
|
|
@@ -7380,7 +7384,7 @@ var messageLink = strictObject({
|
|
|
7380
7384
|
})))
|
|
7381
7385
|
});
|
|
7382
7386
|
|
|
7383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
7384
7388
|
var savedMessageFile = strictObject({
|
|
7385
7389
|
kind: text,
|
|
7386
7390
|
path: text,
|
|
@@ -7467,7 +7471,7 @@ var messageSyncAll = strictObject({
|
|
|
7467
7471
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
7468
7472
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
7469
7473
|
|
|
7470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
7471
7475
|
var messageWrite = strictObject({
|
|
7472
7476
|
operation_id: id,
|
|
7473
7477
|
message,
|
|
@@ -7482,7 +7486,7 @@ var draftWrite = strictObject({
|
|
|
7482
7486
|
});
|
|
7483
7487
|
var messageSend = union([messageWrite, draftWrite]);
|
|
7484
7488
|
|
|
7485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7489
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
7486
7490
|
var model = strictObject({
|
|
7487
7491
|
id,
|
|
7488
7492
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -7517,7 +7521,7 @@ var chosenModel = strictObject({
|
|
|
7517
7521
|
estimate_seconds: nullable(count)
|
|
7518
7522
|
});
|
|
7519
7523
|
|
|
7520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7524
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
7521
7525
|
var source = picklist(["environment", "keyring", "file"]);
|
|
7522
7526
|
var modelKey = strictObject({
|
|
7523
7527
|
provider: text,
|
|
@@ -7527,7 +7531,7 @@ var modelKey = strictObject({
|
|
|
7527
7531
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
7528
7532
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
7529
7533
|
|
|
7530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
7531
7535
|
var link = {
|
|
7532
7536
|
target_text: nullable(text),
|
|
7533
7537
|
kind: text,
|
|
@@ -7568,7 +7572,7 @@ var note = strictObject({
|
|
|
7568
7572
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
7569
7573
|
});
|
|
7570
7574
|
|
|
7571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
7572
7576
|
var versus = strictObject({ current: number(), previous: number() });
|
|
7573
7577
|
var person = { person_ref: reference, name: nullable(text) };
|
|
7574
7578
|
var graph = strictObject({
|
|
@@ -7602,14 +7606,14 @@ var officialStats = strictObject({
|
|
|
7602
7606
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
7603
7607
|
});
|
|
7604
7608
|
|
|
7605
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7609
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
7606
7610
|
var person2 = strictObject({
|
|
7607
7611
|
ref: reference,
|
|
7608
7612
|
name: nullable(text),
|
|
7609
7613
|
identities: optional(array(identity))
|
|
7610
7614
|
});
|
|
7611
7615
|
|
|
7612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7616
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
7613
7617
|
var poll = strictObject({
|
|
7614
7618
|
chat_id: id,
|
|
7615
7619
|
message_id: id,
|
|
@@ -7625,11 +7629,11 @@ var poll = strictObject({
|
|
|
7625
7629
|
});
|
|
7626
7630
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
7627
7631
|
|
|
7628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
7629
7633
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
7630
7634
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
7631
7635
|
|
|
7632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
7633
7637
|
var figures = record(string(), number());
|
|
7634
7638
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
7635
7639
|
var rankingRow = strictObject({
|
|
@@ -7676,7 +7680,7 @@ var ranking = strictObject({
|
|
|
7676
7680
|
rows: array(rankingRow)
|
|
7677
7681
|
});
|
|
7678
7682
|
|
|
7679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
7680
7684
|
var reaction = strictObject({
|
|
7681
7685
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
7682
7686
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -7684,7 +7688,7 @@ var reaction = strictObject({
|
|
|
7684
7688
|
reacted_at: time
|
|
7685
7689
|
});
|
|
7686
7690
|
|
|
7687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
7688
7692
|
var reactionChange = strictObject({
|
|
7689
7693
|
operation_id: id,
|
|
7690
7694
|
chat_id: id,
|
|
@@ -7692,7 +7696,7 @@ var reactionChange = strictObject({
|
|
|
7692
7696
|
reaction: nullable(text)
|
|
7693
7697
|
});
|
|
7694
7698
|
|
|
7695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
7696
7700
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
7697
7701
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
7698
7702
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -7703,7 +7707,7 @@ var recipientChange = strictObject({
|
|
|
7703
7707
|
...partial(recipientOff).entries
|
|
7704
7708
|
});
|
|
7705
7709
|
|
|
7706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
7707
7711
|
var events = array(record(string(), unknown()));
|
|
7708
7712
|
var recordedRun = strictObject({
|
|
7709
7713
|
run_id: id,
|
|
@@ -7775,7 +7779,7 @@ var runHit = strictObject({
|
|
|
7775
7779
|
});
|
|
7776
7780
|
var runLocation = strictObject({ path: text });
|
|
7777
7781
|
|
|
7778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
7779
7783
|
var relationship = strictObject({
|
|
7780
7784
|
id,
|
|
7781
7785
|
from: reference,
|
|
@@ -7802,7 +7806,7 @@ var relationship = strictObject({
|
|
|
7802
7806
|
created_at: time
|
|
7803
7807
|
});
|
|
7804
7808
|
|
|
7805
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
7806
7810
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
7807
7811
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
7808
7812
|
var responseTimes = strictObject({
|
|
@@ -7819,7 +7823,7 @@ var waitingChats = strictObject({
|
|
|
7819
7823
|
by_kind: strictObject({ private: count, group: count })
|
|
7820
7824
|
});
|
|
7821
7825
|
|
|
7822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
7823
7827
|
var retentionCohort = strictObject({
|
|
7824
7828
|
/** The first day of the joining day or week. */
|
|
7825
7829
|
cohort: text,
|
|
@@ -7867,7 +7871,7 @@ var retention = strictObject({
|
|
|
7867
7871
|
rows: array(retentionCohort)
|
|
7868
7872
|
});
|
|
7869
7873
|
|
|
7870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
7871
7875
|
var savedSearch = strictObject({
|
|
7872
7876
|
id,
|
|
7873
7877
|
/** `null` for a run in the history. */
|
|
@@ -7884,7 +7888,7 @@ var savedSearch = strictObject({
|
|
|
7884
7888
|
});
|
|
7885
7889
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
7886
7890
|
|
|
7887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
7888
7892
|
var sendAttempt = strictObject({
|
|
7889
7893
|
at: time,
|
|
7890
7894
|
profile: text,
|
|
@@ -7912,7 +7916,7 @@ var sendAttempt = strictObject({
|
|
|
7912
7916
|
error_code: optional(text)
|
|
7913
7917
|
});
|
|
7914
7918
|
|
|
7915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7919
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
7916
7920
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
7917
7921
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
7918
7922
|
var infoSchema = strictObject({
|
|
@@ -8133,7 +8137,7 @@ var storeRepair = union([
|
|
|
8133
8137
|
]);
|
|
8134
8138
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
8135
8139
|
|
|
8136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
8137
8141
|
var range = strictObject({ from: number(), to: number() });
|
|
8138
8142
|
var storeChatStatus = strictObject({
|
|
8139
8143
|
chat_id: id,
|
|
@@ -8231,7 +8235,7 @@ var storeJobRetry = union([
|
|
|
8231
8235
|
]);
|
|
8232
8236
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
8233
8237
|
|
|
8234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8238
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
8235
8239
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
8236
8240
|
var storeTable = strictObject({
|
|
8237
8241
|
name: text,
|
|
@@ -8240,7 +8244,7 @@ var storeTable = strictObject({
|
|
|
8240
8244
|
bytes: optional(nullable(count))
|
|
8241
8245
|
});
|
|
8242
8246
|
|
|
8243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
8244
8248
|
var tagTarget = variant("type", [
|
|
8245
8249
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
8246
8250
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -8271,7 +8275,7 @@ var automaticTags = strictObject({
|
|
|
8271
8275
|
dry_run: boolean()
|
|
8272
8276
|
});
|
|
8273
8277
|
|
|
8274
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
8275
8279
|
var tagging = strictObject({
|
|
8276
8280
|
tag: text,
|
|
8277
8281
|
type: picklist(TAG_TYPES),
|
|
@@ -8284,7 +8288,7 @@ var tagging = strictObject({
|
|
|
8284
8288
|
created_at: time
|
|
8285
8289
|
});
|
|
8286
8290
|
|
|
8287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
8288
8292
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
8289
8293
|
var taskPair = strictObject({
|
|
8290
8294
|
task: nullable(side),
|
|
@@ -8307,7 +8311,7 @@ var taskPair = strictObject({
|
|
|
8307
8311
|
created_at: time
|
|
8308
8312
|
});
|
|
8309
8313
|
|
|
8310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8314
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
8311
8315
|
var nullableTime = nullable(time);
|
|
8312
8316
|
var link2 = strictObject({
|
|
8313
8317
|
id,
|
|
@@ -8481,7 +8485,7 @@ var taskReview = strictObject({
|
|
|
8481
8485
|
untrusted
|
|
8482
8486
|
});
|
|
8483
8487
|
|
|
8484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
8485
8489
|
var template = strictObject({
|
|
8486
8490
|
key: text,
|
|
8487
8491
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -8493,7 +8497,7 @@ var template = strictObject({
|
|
|
8493
8497
|
updated_by: nullable(text)
|
|
8494
8498
|
});
|
|
8495
8499
|
|
|
8496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
8497
8501
|
var topic = strictObject({
|
|
8498
8502
|
id,
|
|
8499
8503
|
title: text,
|
|
@@ -8507,7 +8511,7 @@ var topic = strictObject({
|
|
|
8507
8511
|
untrusted
|
|
8508
8512
|
});
|
|
8509
8513
|
|
|
8510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
8511
8515
|
var ENTITIES = {
|
|
8512
8516
|
sync_progress: progress,
|
|
8513
8517
|
deal,
|
|
@@ -8800,7 +8804,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
8800
8804
|
return [name, definition];
|
|
8801
8805
|
})), "entityDefinitions");
|
|
8802
8806
|
|
|
8803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
8804
8808
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
8805
8809
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
8806
8810
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -8834,14 +8838,29 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
8834
8838
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
8835
8839
|
}, "answerRow");
|
|
8836
8840
|
|
|
8837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
8838
8842
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
8843
|
+
var requests = new AsyncLocalStorage();
|
|
8844
|
+
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
8845
|
+
var commandServerRequest = /* @__PURE__ */ __name(() => requests.getStore(), "commandServerRequest");
|
|
8846
|
+
var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
8847
|
+
const request = requests.getStore();
|
|
8848
|
+
if (request?.exitCode !== void 0)
|
|
8849
|
+
return request.exitCode;
|
|
8850
|
+
const direct = process.exitCode === void 0 ? void 0 : Number(process.exitCode);
|
|
8851
|
+
if (request)
|
|
8852
|
+
process.exitCode = void 0;
|
|
8853
|
+
return direct;
|
|
8854
|
+
}, "exitCodeSet");
|
|
8855
|
+
|
|
8856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
8857
|
+
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
8839
8858
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
8840
8859
|
messageId: message2.id,
|
|
8841
8860
|
...message2.chatId && message2.chatId !== typed2 ? { resultChatId: message2.chatId } : {}
|
|
8842
8861
|
}), "sentIds");
|
|
8843
|
-
var current = new
|
|
8844
|
-
var writesInFlight = new
|
|
8862
|
+
var current = new AsyncLocalStorage2();
|
|
8863
|
+
var writesInFlight = new AsyncLocalStorage2();
|
|
8845
8864
|
var parents = /* @__PURE__ */ new WeakMap();
|
|
8846
8865
|
var stopped = /* @__PURE__ */ new WeakMap();
|
|
8847
8866
|
var scopesFor = /* @__PURE__ */ __name((scope = writesInFlight.getStore()) => {
|
|
@@ -8940,7 +8959,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
8940
8959
|
}, "guardedWrite");
|
|
8941
8960
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
8942
8961
|
|
|
8943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
8944
8963
|
var named2 = /* @__PURE__ */ __name((work) => {
|
|
8945
8964
|
try {
|
|
8946
8965
|
return work();
|
|
@@ -8967,7 +8986,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named2(() => {
|
|
|
8967
8986
|
return projectFields(value, fields);
|
|
8968
8987
|
}), "projectFields");
|
|
8969
8988
|
|
|
8970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
8971
8990
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
8972
8991
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
8973
8992
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -8989,7 +9008,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
8989
9008
|
}
|
|
8990
9009
|
}, "withAbort");
|
|
8991
9010
|
|
|
8992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9011
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
8993
9012
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
8994
9013
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
8995
9014
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -9049,7 +9068,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
9049
9068
|
return root;
|
|
9050
9069
|
}, "rootOf");
|
|
9051
9070
|
|
|
9052
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
9053
9072
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
9054
9073
|
import { join as join2 } from "node:path";
|
|
9055
9074
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -9071,12 +9090,12 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
9071
9090
|
}, "profilesWithAccounts");
|
|
9072
9091
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
9073
9092
|
|
|
9074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
9075
9094
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
9076
9095
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
9077
9096
|
var deadlineMargin = /* @__PURE__ */ __name((deadline) => Math.max(DEADLINE_MARGIN_MS, deadline.ms * DEADLINE_MARGIN_SHARE), "deadlineMargin");
|
|
9078
9097
|
|
|
9079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
9080
9099
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
9081
9100
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
9082
9101
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -9112,7 +9131,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
9112
9131
|
return value;
|
|
9113
9132
|
}, "atDetail");
|
|
9114
9133
|
|
|
9115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/output.js
|
|
9116
9135
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
9117
9136
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
9118
9137
|
if (other)
|
|
@@ -9176,7 +9195,7 @@ var silence = /* @__PURE__ */ __name((renderer) => ({
|
|
|
9176
9195
|
}, "warn")
|
|
9177
9196
|
}), "silence");
|
|
9178
9197
|
|
|
9179
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
9180
9199
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
9181
9200
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
9182
9201
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -9212,7 +9231,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
9212
9231
|
store: "store.write"
|
|
9213
9232
|
};
|
|
9214
9233
|
|
|
9215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
9216
9235
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
9217
9236
|
const recording = startRecording(options);
|
|
9218
9237
|
try {
|
|
@@ -9269,7 +9288,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
9269
9288
|
let refused;
|
|
9270
9289
|
let wroteStore = false;
|
|
9271
9290
|
const cap = capped();
|
|
9272
|
-
const
|
|
9291
|
+
const requests2 = /* @__PURE__ */ __name(() => counted.wire > 0 ? counted.wire : counted.operation, "requests");
|
|
9273
9292
|
const events2 = /* @__PURE__ */ __name((event2) => {
|
|
9274
9293
|
if (event2.event === "request")
|
|
9275
9294
|
counted[event2.level === "wire" ? "wire" : "operation"] += 1;
|
|
@@ -9302,7 +9321,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
9302
9321
|
if (kept)
|
|
9303
9322
|
cap.close(kept);
|
|
9304
9323
|
await kept?.finish(partial2 ? "partial" : "success", {
|
|
9305
|
-
requests:
|
|
9324
|
+
requests: requests2(),
|
|
9306
9325
|
...cap.dropped(),
|
|
9307
9326
|
...partial2 ? { partial: partial2 } : {},
|
|
9308
9327
|
...!run && !partial2 && wroteStore ? { keptBecauseStore: true } : {}
|
|
@@ -9322,7 +9341,7 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
9322
9341
|
failed.logger.error(crashOf(error));
|
|
9323
9342
|
cap.close(failed);
|
|
9324
9343
|
await failed.finish("failed", {
|
|
9325
|
-
requests:
|
|
9344
|
+
requests: requests2(),
|
|
9326
9345
|
...cap.dropped(),
|
|
9327
9346
|
...outcomeOf(error),
|
|
9328
9347
|
error: errorDetailOf(error, refused),
|
|
@@ -9427,7 +9446,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
9427
9446
|
return void 0;
|
|
9428
9447
|
}, "partialOutcome");
|
|
9429
9448
|
|
|
9430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
9431
9450
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
9432
9451
|
if (ms2 === void 0)
|
|
9433
9452
|
return body();
|
|
@@ -9453,10 +9472,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
9453
9472
|
}
|
|
9454
9473
|
}, "withDeadline");
|
|
9455
9474
|
|
|
9456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
9457
9476
|
import { existsSync as existsSync6 } from "node:fs";
|
|
9458
9477
|
|
|
9459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9478
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
9460
9479
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
9461
9480
|
try {
|
|
9462
9481
|
const url3 = new URL(value);
|
|
@@ -9466,7 +9485,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
9466
9485
|
}
|
|
9467
9486
|
}, "endpoint");
|
|
9468
9487
|
|
|
9469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
9470
9489
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
9471
9490
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
9472
9491
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -9535,7 +9554,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
9535
9554
|
};
|
|
9536
9555
|
}, "modelTarget");
|
|
9537
9556
|
|
|
9538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
9539
9558
|
var model2 = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
9540
9559
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
9541
9560
|
var AI_FIELDS = {
|
|
@@ -9579,7 +9598,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
9579
9598
|
};
|
|
9580
9599
|
}, "resolveAISettings");
|
|
9581
9600
|
|
|
9582
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
9583
9602
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
9584
9603
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
9585
9604
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -9593,7 +9612,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
9593
9612
|
return ms2;
|
|
9594
9613
|
}, "parseDuration");
|
|
9595
9614
|
|
|
9596
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
9597
9616
|
import { existsSync as existsSync3 } from "node:fs";
|
|
9598
9617
|
import { join as join3 } from "node:path";
|
|
9599
9618
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -9870,7 +9889,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
9870
9889
|
}, "vectorModelKey");
|
|
9871
9890
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
9872
9891
|
|
|
9873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
9874
9893
|
var HISTORY_MAX_DAYS = 1095;
|
|
9875
9894
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
9876
9895
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -9917,7 +9936,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
9917
9936
|
return { batch: { ...batch, messages }, skipped };
|
|
9918
9937
|
}, "limitBatch");
|
|
9919
9938
|
|
|
9920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
9921
9940
|
import { existsSync as existsSync4, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
9922
9941
|
import { join as join4 } from "node:path";
|
|
9923
9942
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join4(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -10006,10 +10025,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
10006
10025
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
10007
10026
|
}, "registryProfiles");
|
|
10008
10027
|
|
|
10009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10010
10029
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
10011
10030
|
|
|
10012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10031
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
10013
10032
|
var REPAIR_WORDS = {
|
|
10014
10033
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
10015
10034
|
comment: "a comment, which JSON does not allow",
|
|
@@ -10250,7 +10269,7 @@ ${parts.join(",\n")}
|
|
|
10250
10269
|
${indent}${close}`;
|
|
10251
10270
|
}, "serialise");
|
|
10252
10271
|
|
|
10253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
10254
10273
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10255
10274
|
var SECTIONS = ["personal", "bot"];
|
|
10256
10275
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -10545,7 +10564,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
10545
10564
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
10546
10565
|
}, "readConfigFile");
|
|
10547
10566
|
|
|
10548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10567
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
10549
10568
|
import { existsSync as existsSync5, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync } from "node:fs";
|
|
10550
10569
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
10551
10570
|
var DEFAULT_CONFIG = {
|
|
@@ -10574,7 +10593,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
10574
10593
|
}
|
|
10575
10594
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
10576
10595
|
|
|
10577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
10578
10597
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
10579
10598
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
10580
10599
|
const path2 = key.split(".");
|
|
@@ -10607,7 +10626,7 @@ var settingRows = /* @__PURE__ */ __name((raw, declared) => declared.map((settin
|
|
|
10607
10626
|
};
|
|
10608
10627
|
}), "settingRows");
|
|
10609
10628
|
|
|
10610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
10611
10630
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
10612
10631
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
10613
10632
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -11132,11 +11151,14 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
11132
11151
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
11133
11152
|
}, "given");
|
|
11134
11153
|
|
|
11135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
11136
11155
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
11137
11156
|
const slot = environmentOf(command).exit;
|
|
11157
|
+
const request = commandServerRequest();
|
|
11138
11158
|
if (slot)
|
|
11139
11159
|
slot.code = code;
|
|
11160
|
+
else if (request)
|
|
11161
|
+
request.exitCode = code;
|
|
11140
11162
|
else
|
|
11141
11163
|
process.exitCode = code;
|
|
11142
11164
|
}, "setExitCode");
|
|
@@ -11255,7 +11277,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
11255
11277
|
return words2.join(" ");
|
|
11256
11278
|
}, "commandPath");
|
|
11257
11279
|
|
|
11258
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11280
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
11259
11281
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
11260
11282
|
var FETCH = { remote: "read", local: "write" };
|
|
11261
11283
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -11375,7 +11397,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
11375
11397
|
throw readOnlyRefusal(lock, what);
|
|
11376
11398
|
}, "refuseUnderReadOnly");
|
|
11377
11399
|
|
|
11378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11379
11401
|
import { join as join6 } from "node:path";
|
|
11380
11402
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11381
11403
|
var IMAGE_MODELS = [
|
|
@@ -11429,7 +11451,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11429
11451
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11430
11452
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11431
11453
|
|
|
11432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11433
11455
|
var STEPS2 = defineSteps([
|
|
11434
11456
|
...STEPS,
|
|
11435
11457
|
{
|
|
@@ -11701,7 +11723,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11701
11723
|
].join(" ");
|
|
11702
11724
|
}, "stepLine");
|
|
11703
11725
|
|
|
11704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11705
11727
|
var where = [{ field: "ref" }];
|
|
11706
11728
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11707
11729
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11793,7 +11815,7 @@ var STATUS_ROWS = {
|
|
|
11793
11815
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11794
11816
|
};
|
|
11795
11817
|
|
|
11796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11818
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11797
11819
|
var TEXT_CHARS = 400;
|
|
11798
11820
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11799
11821
|
var messageRow = {
|
|
@@ -12159,7 +12181,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
12159
12181
|
return lines.concat(footerOf(body)).join("\n");
|
|
12160
12182
|
}, "compactText");
|
|
12161
12183
|
|
|
12162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
12163
12185
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
12164
12186
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
12165
12187
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -12206,7 +12228,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
12206
12228
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
12207
12229
|
}, "largeAnswerSteps");
|
|
12208
12230
|
|
|
12209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12231
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
12210
12232
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
12211
12233
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
12212
12234
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -12220,7 +12242,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
12220
12242
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
12221
12243
|
}, "strip");
|
|
12222
12244
|
|
|
12223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12224
12246
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12225
12247
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12226
12248
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12486,6 +12508,9 @@ export {
|
|
|
12486
12508
|
resolveOutput,
|
|
12487
12509
|
startRecording,
|
|
12488
12510
|
wasSettled,
|
|
12511
|
+
inCommandServerRequest,
|
|
12512
|
+
commandServerRequest,
|
|
12513
|
+
exitCodeSet,
|
|
12489
12514
|
sentIds,
|
|
12490
12515
|
currentOperation,
|
|
12491
12516
|
guardedWrite,
|