@wirecat/hubspot-cli 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +2 -2
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-RBQMA24N.js +40 -0
- package/dist/bundle/{all-profiles-JVEE4PXX.js → all-profiles-PGFXLOKN.js} +11 -11
- package/dist/bundle/{anthropic-6HT57GNF.js → anthropic-LPOJ3TYF.js} +5 -5
- package/dist/bundle/{app-server-FOBFF6G6.js → app-server-EYWGCSRY.js} +68 -68
- package/dist/bundle/{bun-GW443QB3.js → bun-ZJOOKIIW.js} +2 -2
- package/dist/bundle/{bun-sqlite-TGIAICDN.js → bun-sqlite-Y6KKH2OW.js} +6 -6
- package/dist/bundle/{chunk-RFGIUCKU.js → chunk-23CLSKY7.js} +3 -3
- package/dist/bundle/{chunk-ETKLP4VE.js → chunk-34HDRZIL.js} +14 -14
- package/dist/bundle/{chunk-PQUZ2YDC.js → chunk-3CHJYWA2.js} +6 -6
- package/dist/bundle/{chunk-7QH5BZUG.js → chunk-4RZ4DUQT.js} +3 -3
- package/dist/bundle/{chunk-NLZADZ4F.js → chunk-5ENY4POG.js} +61 -61
- package/dist/bundle/{chunk-W5X37TBC.js → chunk-5HGS65I3.js} +2 -2
- package/dist/bundle/{chunk-HPRKSL5S.js → chunk-5UPNDUAA.js} +2 -2
- package/dist/bundle/{chunk-LS4S7PAP.js → chunk-5WADRBQG.js} +3 -3
- package/dist/bundle/{chunk-DBPFHJXX.js → chunk-6PWRJGX4.js} +4 -4
- package/dist/bundle/{chunk-Q7DIEU6L.js → chunk-6S422S22.js} +7 -7
- package/dist/bundle/{chunk-E33KM3DB.js → chunk-7Q64D56R.js} +11 -11
- package/dist/bundle/{chunk-HM72O37C.js → chunk-7RIE3DAW.js} +174 -161
- package/dist/bundle/{chunk-LX7QMRRG.js → chunk-A5UTNGI4.js} +13 -13
- package/dist/bundle/{chunk-FWW2CUXH.js → chunk-ABPZOI3C.js} +4 -4
- package/dist/bundle/{chunk-MQACXJLG.js → chunk-AHZQMSXW.js} +10 -10
- package/dist/bundle/{chunk-3BM6KBWP.js → chunk-AIQT2GGK.js} +19 -19
- package/dist/bundle/{chunk-ATGD64VO.js → chunk-AVBKXCEY.js} +8 -8
- package/dist/bundle/{chunk-3SRGN5MQ.js → chunk-BCW7DAVV.js} +2 -2
- package/dist/bundle/{chunk-QNQ4V4UT.js → chunk-BGUGTMTS.js} +8 -8
- package/dist/bundle/{chunk-EU7AVWSX.js → chunk-BH5FEFZB.js} +2 -2
- package/dist/bundle/{chunk-XDDTJYGA.js → chunk-BVK4GUUI.js} +1254 -803
- package/dist/bundle/{chunk-HQYJ66ZX.js → chunk-BW7NPFVC.js} +18 -8
- package/dist/bundle/{chunk-QJHRRJKD.js → chunk-CWCJEAHZ.js} +3 -3
- package/dist/bundle/{chunk-Z3YOKGVZ.js → chunk-DDMBPYHP.js} +2 -2
- package/dist/bundle/{chunk-3MUHCLRY.js → chunk-DEUCWBBH.js} +81 -5
- package/dist/bundle/{chunk-GJSHLF43.js → chunk-DJUUQG6Y.js} +8 -8
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-EGR3YUWD.js} +4 -4
- package/dist/bundle/{chunk-FOLKK6FW.js → chunk-EPBHJMF6.js} +20 -14
- package/dist/bundle/{chunk-VMF2UIQI.js → chunk-GZJP3KQQ.js} +3 -4
- package/dist/bundle/{chunk-YYYRE4AV.js → chunk-HBFSGL5E.js} +26 -26
- package/dist/bundle/{chunk-NL3RKJR6.js → chunk-HPRGUUHY.js} +1 -1
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-HPSESLOZ.js} +1 -1
- package/dist/bundle/{chunk-WBUVNKHJ.js → chunk-I334AT2H.js} +7 -7
- package/dist/bundle/{chunk-K4DWBOO6.js → chunk-K3WCBNH4.js} +6 -6
- package/dist/bundle/{chunk-XCDRFC6G.js → chunk-K5S7MKBB.js} +17 -17
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-KAW5VEER.js} +21 -8
- package/dist/bundle/{chunk-3MPMYAII.js → chunk-KC4ILAKO.js} +1 -1
- package/dist/bundle/{chunk-UHHXZKB2.js → chunk-KRTXJMCD.js} +16 -16
- package/dist/bundle/{chunk-5KLNBGPU.js → chunk-KXWRVLSU.js} +1 -1
- package/dist/bundle/{chunk-7OJ43BAH.js → chunk-L4SVHQ7H.js} +7 -7
- package/dist/bundle/{chunk-2BCWK5BF.js → chunk-L6WSFVTD.js} +8 -8
- package/dist/bundle/{chunk-A6PVEUGN.js → chunk-LWS5AO3H.js} +17 -17
- package/dist/bundle/{chunk-OLDIP4CV.js → chunk-LXLXF2OE.js} +3 -3
- package/dist/bundle/{chunk-QV4GDVBN.js → chunk-MENMD5Y5.js} +8 -8
- package/dist/bundle/{chunk-EBJYK7UM.js → chunk-MFWECOO3.js} +77 -62
- package/dist/bundle/{chunk-TAF4PKDS.js → chunk-MGMLSPIY.js} +1 -1
- package/dist/bundle/{chunk-F4ZLRS4B.js → chunk-MKBQFD37.js} +1 -1
- package/dist/bundle/{chunk-QIFCH5DZ.js → chunk-MPNMEWHA.js} +341 -278
- package/dist/bundle/{chunk-XMWMA2N5.js → chunk-MPQ4SPZG.js} +46 -32
- package/dist/bundle/{chunk-V23OHBGM.js → chunk-MW4ROXQ6.js} +3 -3
- package/dist/bundle/{chunk-QODPEZC5.js → chunk-NEDV6RCQ.js} +10 -3
- package/dist/bundle/{chunk-F3HJ2E3P.js → chunk-NEP67GLY.js} +6 -6
- package/dist/bundle/{chunk-5G4L6NQJ.js → chunk-NKIKMG33.js} +35 -35
- package/dist/bundle/{chunk-T3GZKV5A.js → chunk-NLPGUYCG.js} +12 -12
- package/dist/bundle/{chunk-6NUXFVJQ.js → chunk-OCISQFMW.js} +1 -1
- package/dist/bundle/{chunk-PKFLSX5F.js → chunk-ODRF47VS.js} +8 -8
- package/dist/bundle/{chunk-WATDMTDC.js → chunk-OFOA6VJ2.js} +3 -3
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-PMGAU6AP.js} +2 -2
- package/dist/bundle/{chunk-JWO3PB5Z.js → chunk-POTS24SH.js} +18 -18
- package/dist/bundle/{chunk-5ZVYIA56.js → chunk-PPQRWFJZ.js} +5 -5
- package/dist/bundle/{chunk-DG4RBKIV.js → chunk-QCHW7R7L.js} +1 -1
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-QDNYJOWJ.js} +1 -1
- package/dist/bundle/{chunk-M25KVDHA.js → chunk-QIHJKE4K.js} +7 -7
- package/dist/bundle/{chunk-WLFYEAZ6.js → chunk-QLFD3MOL.js} +402 -390
- package/dist/bundle/{chunk-N4EIJ53V.js → chunk-QPTHEZZ5.js} +2 -2
- package/dist/bundle/{chunk-PMJCZIV4.js → chunk-R7ZOCDNG.js} +1 -1
- package/dist/bundle/{chunk-AT43MYQL.js → chunk-RJBKDZGV.js} +8 -8
- package/dist/bundle/{chunk-UIWWAT3C.js → chunk-RZS7N3OZ.js} +7 -7
- package/dist/bundle/{chunk-Z4PY5BDP.js → chunk-SBNZYRVZ.js} +4 -4
- package/dist/bundle/{chunk-4OPN3KCN.js → chunk-STTHRJBX.js} +5 -5
- package/dist/bundle/{chunk-VDAYIXV4.js → chunk-V5VMAHDQ.js} +6 -6
- package/dist/bundle/{chunk-JKNUCEII.js → chunk-VCYUYFIV.js} +1 -1
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-VIJV474N.js} +1 -1
- package/dist/bundle/{chunk-5OBVICFK.js → chunk-WDR77HPO.js} +15 -1
- package/dist/bundle/{chunk-6ULR7N3T.js → chunk-WEM4FZPM.js} +2 -2
- package/dist/bundle/{chunk-FK4LEJZM.js → chunk-WQZENAPE.js} +3 -3
- package/dist/bundle/{chunk-X5U7GLHD.js → chunk-WXEN6AXQ.js} +16 -3
- package/dist/bundle/{chunk-IED6MKPU.js → chunk-YJLJZMEA.js} +25 -25
- package/dist/bundle/{chunk-XJVFXHDI.js → chunk-YQBGPBYN.js} +2 -2
- package/dist/bundle/{chunk-BXZRSXBL.js → chunk-YZ5MULJM.js} +3 -3
- package/dist/bundle/{chunk-2Q2XIXDL.js → chunk-Z7FC6VVM.js} +1 -1
- package/dist/bundle/{chunk-5WKJFMC3.js → chunk-ZKPM53YG.js} +4 -4
- package/dist/bundle/{chunk-V2B2OWTC.js → chunk-ZLWQPUPB.js} +2 -2
- package/dist/bundle/{chunk-GOOXUCJW.js → chunk-ZMHD76RE.js} +2 -2
- package/dist/bundle/command-contract-O2UKYHLD.js +40 -0
- package/dist/bundle/{command-server-entry-OJQ55UA2.js → command-server-entry-B7S5AUE6.js} +28 -28
- package/dist/bundle/{decode-CDQDRPRJ.js → decode-7L33C5UJ.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-BIGHHSXV.js} +8 -8
- package/dist/bundle/{echarts-GJ5JJG2A.js → echarts-CWR3QH55.js} +2 -2
- package/dist/bundle/{embed-BUQXGMKR.js → embed-GXQ3HOQ6.js} +6 -6
- package/dist/bundle/{embedder-FCX6LE4O.js → embedder-47OYXGLS.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-VMZOU5GZ.js} +2 -2
- package/dist/bundle/{first-run-RPYEXXQK.js → first-run-YVQQOUQG.js} +12 -12
- package/dist/bundle/first-screen-TU3KE2B5.js +40 -0
- package/dist/bundle/hubspot.js +27 -25
- package/dist/bundle/{instructions-LPVTPERS.js → instructions-QFS2MPK3.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-Z2KZNCXB.js} +2 -2
- package/dist/bundle/meeting-combined-WBEOLQMP.js +25 -0
- package/dist/bundle/{meeting-model-TRGBEWCY.js → meeting-model-GLF2HVJG.js} +11 -11
- package/dist/bundle/{meeting-semantic-RSF5KNKD.js → meeting-semantic-RG56F4YX.js} +6 -6
- package/dist/bundle/{node-UAT3EIAP.js → node-3TSWTXGI.js} +2 -2
- package/dist/bundle/{node-sqlite-3HKDQNFD.js → node-sqlite-UPQCG7DJ.js} +7 -7
- package/dist/bundle/{oauth-DYW2NSZP.js → oauth-MCVEENW3.js} +7 -7
- package/dist/bundle/{open-KBRXJ5BC.js → open-JMUTKUYJ.js} +5 -5
- package/dist/bundle/{openai-YNCLRTSK.js → openai-HT7YDOK7.js} +15 -15
- package/dist/bundle/{process-63BB7LKP.js → process-7RC6DAGM.js} +1 -1
- package/dist/bundle/{program-VX52OB3O.js → program-3DLBMOEJ.js} +134 -114
- package/dist/bundle/{prompt-TWLJ3M2O.js → prompt-7EROPXPF.js} +5 -5
- package/dist/bundle/{recognize-GQ6DLGE7.js → recognize-B232GXD2.js} +4 -4
- package/dist/bundle/{remote-RKNSF3TT.js → remote-HGV64VRC.js} +9 -9
- package/dist/bundle/{rerank-H4HSGQUJ.js → rerank-5S6TDXHD.js} +7 -7
- package/dist/bundle/{schemas-LDK7O6VW.js → schemas-SB42IXEX.js} +1 -1
- package/dist/bundle/{serve-4ZNIAL7H.js → serve-D2WFCV6Z.js} +9 -9
- package/dist/bundle/{server-4G4QB3QN.js → server-4AXPTJPV.js} +60 -60
- package/dist/bundle/server-FFHVNABP.js +86 -0
- package/dist/bundle/{source-2UCNCCO7.js → source-DF63EC2B.js} +114 -86
- package/dist/bundle/{sqlite-runtime-C2JYC7JF.js → sqlite-runtime-DAFMZNLI.js} +6 -6
- package/dist/bundle/{state-3KDXCXHG.js → state-7OEBDXVV.js} +6 -6
- package/dist/bundle/{store-LXLG5HTS.js → store-2ZWSWF76.js} +24 -24
- package/dist/bundle/{store-J5FQBZYR.js → store-KC6US326.js} +22 -22
- package/dist/bundle/store-Q3ZKD4FJ.js +34 -0
- package/dist/bundle/store-maintenance-command-24A4GBRP.js +73 -0
- package/dist/bundle/surface-SPTM57EP.js +72 -0
- package/dist/bundle/writer-EQQ55HOS.js +86 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +3 -2
- package/dist/config.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/dist/bundle/agent-NST4YXJR.js +0 -40
- package/dist/bundle/command-contract-LYX2QNIA.js +0 -40
- package/dist/bundle/first-screen-Y4EH3HZS.js +0 -40
- package/dist/bundle/meeting-combined-FEEVVUGC.js +0 -25
- package/dist/bundle/server-3IYIZEEQ.js +0 -86
- package/dist/bundle/store-2MNUHHZC.js +0 -32
- package/dist/bundle/store-maintenance-command-DDB7TR6V.js +0 -73
- package/dist/bundle/surface-ZTZANYKC.js +0 -72
- package/dist/bundle/writer-X7PGBLDH.js +0 -86
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RJBKDZGV.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OFOA6VJ2.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-L6WSFVTD.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-R7ZOCDNG.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YZ5MULJM.js";
|
|
26
26
|
import {
|
|
27
27
|
CATEGORIES,
|
|
28
28
|
FACT_STATUSES,
|
|
@@ -67,22 +67,18 @@ import {
|
|
|
67
67
|
typedCommand,
|
|
68
68
|
untrusted,
|
|
69
69
|
useAsProcessRun
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-YJLJZMEA.js";
|
|
71
71
|
import {
|
|
72
72
|
isCliFailure,
|
|
73
73
|
storeDamaged
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-DDMBPYHP.js";
|
|
75
75
|
import {
|
|
76
76
|
endpoint
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import {
|
|
79
|
-
repairConfigText,
|
|
80
|
-
sharedConfigPath
|
|
81
|
-
} from "./chunk-UIWWAT3C.js";
|
|
77
|
+
} from "./chunk-QIHJKE4K.js";
|
|
82
78
|
import {
|
|
83
79
|
filesPresent,
|
|
84
80
|
sharedModelsDirectory
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-6PWRJGX4.js";
|
|
86
82
|
import {
|
|
87
83
|
CEILING_KEY,
|
|
88
84
|
COMMAND_PATH_KEY,
|
|
@@ -96,7 +92,7 @@ import {
|
|
|
96
92
|
permissionOverrides,
|
|
97
93
|
projectFields,
|
|
98
94
|
resolveOutput
|
|
99
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-BW7NPFVC.js";
|
|
100
96
|
import {
|
|
101
97
|
BUSINESS_KINDS,
|
|
102
98
|
CRM_ACTIVITY_KINDS,
|
|
@@ -111,10 +107,10 @@ import {
|
|
|
111
107
|
ORDER_STATUSES,
|
|
112
108
|
RELATION_KINDS,
|
|
113
109
|
STANDINGS
|
|
114
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-NLPGUYCG.js";
|
|
115
111
|
import {
|
|
116
112
|
TAG_TYPES
|
|
117
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-ZMHD76RE.js";
|
|
118
114
|
import {
|
|
119
115
|
FACT_TYPES,
|
|
120
116
|
FIELD_TYPES,
|
|
@@ -142,10 +138,14 @@ import {
|
|
|
142
138
|
parseLucene,
|
|
143
139
|
readsZone,
|
|
144
140
|
timezoneOf
|
|
145
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-5ENY4POG.js";
|
|
142
|
+
import {
|
|
143
|
+
repairConfigText,
|
|
144
|
+
sharedConfigPath
|
|
145
|
+
} from "./chunk-RZS7N3OZ.js";
|
|
146
146
|
import {
|
|
147
147
|
storePath
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-WEM4FZPM.js";
|
|
149
149
|
import {
|
|
150
150
|
configFilePath,
|
|
151
151
|
createRecordLog,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
resolvePaths,
|
|
155
155
|
saveConfigFile,
|
|
156
156
|
writeSecurely
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-AIQT2GGK.js";
|
|
158
158
|
import {
|
|
159
159
|
COMPACT_FLAG,
|
|
160
160
|
MAX_NEXT_STEPS,
|
|
@@ -171,7 +171,7 @@ import {
|
|
|
171
171
|
reference,
|
|
172
172
|
stepOf,
|
|
173
173
|
writes
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-KAW5VEER.js";
|
|
175
175
|
import {
|
|
176
176
|
array,
|
|
177
177
|
boolean,
|
|
@@ -213,12 +213,12 @@ import {
|
|
|
213
213
|
CliError,
|
|
214
214
|
isCliError,
|
|
215
215
|
visibleControls
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-PMGAU6AP.js";
|
|
217
217
|
import {
|
|
218
218
|
__name
|
|
219
219
|
} from "./chunk-ZVVMGPBJ.js";
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
222
222
|
import { readFileSync } from "node:fs";
|
|
223
223
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
224
224
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -272,7 +272,7 @@ var mailHolderVariable = /* @__PURE__ */ __name((app) => envName(app, "MAIL_HOLD
|
|
|
272
272
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
273
273
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
274
274
|
|
|
275
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
275
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
276
276
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
277
277
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
278
278
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3773,7 +3773,7 @@ __name(useColor, "useColor");
|
|
|
3773
3773
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3774
3774
|
var program = new Command();
|
|
3775
3775
|
|
|
3776
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3776
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3777
3777
|
var argumentInfoSchema = object({
|
|
3778
3778
|
name: string(),
|
|
3779
3779
|
required: boolean(),
|
|
@@ -3847,7 +3847,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3847
3847
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3848
3848
|
});
|
|
3849
3849
|
|
|
3850
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3850
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3851
3851
|
import { isDeepStrictEqual } from "node:util";
|
|
3852
3852
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3853
3853
|
var hasSharedContract = /* @__PURE__ */ __name((command) => protectedCommands.has(command), "hasSharedContract");
|
|
@@ -3957,7 +3957,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3957
3957
|
return result;
|
|
3958
3958
|
}, "sharedCommand");
|
|
3959
3959
|
|
|
3960
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3960
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3961
3961
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3962
3962
|
let command = root;
|
|
3963
3963
|
const path2 = [];
|
|
@@ -3975,7 +3975,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3975
3975
|
}
|
|
3976
3976
|
}, "refuseJoinedPath");
|
|
3977
3977
|
|
|
3978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
3979
3979
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3980
3980
|
var requests = new AsyncLocalStorage();
|
|
3981
3981
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3990,7 +3990,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3990
3990
|
return direct;
|
|
3991
3991
|
}, "exitCodeSet");
|
|
3992
3992
|
|
|
3993
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3994
3994
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3995
3995
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3996
3996
|
messageId: message2.id,
|
|
@@ -4096,7 +4096,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4096
4096
|
}, "guardedWrite");
|
|
4097
4097
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4098
4098
|
|
|
4099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4100
4100
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4101
4101
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4102
4102
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4279,7 +4279,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4279
4279
|
}
|
|
4280
4280
|
}, "withAbort");
|
|
4281
4281
|
|
|
4282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4283
4283
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4284
4284
|
import { join } from "node:path";
|
|
4285
4285
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4301,7 +4301,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4301
4301
|
}, "profilesWithAccounts");
|
|
4302
4302
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4303
4303
|
|
|
4304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4305
4305
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4306
4306
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4307
4307
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4358,7 +4358,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4358
4358
|
};
|
|
4359
4359
|
}, "runBudget");
|
|
4360
4360
|
|
|
4361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4362
4362
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4363
4363
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4364
4364
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4396,7 +4396,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4396
4396
|
progress: "sync.progress"
|
|
4397
4397
|
};
|
|
4398
4398
|
|
|
4399
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4399
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4400
4400
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4401
4401
|
const recording = startRecording(options);
|
|
4402
4402
|
try {
|
|
@@ -4611,7 +4611,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4611
4611
|
return void 0;
|
|
4612
4612
|
}, "partialOutcome");
|
|
4613
4613
|
|
|
4614
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4615
4615
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4616
4616
|
if (ms2 === void 0)
|
|
4617
4617
|
return body();
|
|
@@ -4637,7 +4637,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4637
4637
|
}
|
|
4638
4638
|
}, "withDeadline");
|
|
4639
4639
|
|
|
4640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4641
4641
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4642
4642
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4643
4643
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4706,10 +4706,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4706
4706
|
return void 0;
|
|
4707
4707
|
}, "sampleCommand");
|
|
4708
4708
|
|
|
4709
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4710
4710
|
import { existsSync as existsSync4 } from "node:fs";
|
|
4711
4711
|
|
|
4712
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4712
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4713
4713
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4714
4714
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4715
4715
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4778,7 +4778,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4778
4778
|
};
|
|
4779
4779
|
}, "modelTarget");
|
|
4780
4780
|
|
|
4781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4781
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4782
4782
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4783
4783
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4784
4784
|
var AI_FIELDS = {
|
|
@@ -4822,7 +4822,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4822
4822
|
};
|
|
4823
4823
|
}, "resolveAISettings");
|
|
4824
4824
|
|
|
4825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
4826
4826
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4827
4827
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4828
4828
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4836,7 +4836,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4836
4836
|
return ms2;
|
|
4837
4837
|
}, "parseDuration");
|
|
4838
4838
|
|
|
4839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
4840
4840
|
var HISTORY_MAX_DAYS = 1095;
|
|
4841
4841
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
4842
4842
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -4883,7 +4883,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
4883
4883
|
return { batch: { ...batch, messages }, skipped };
|
|
4884
4884
|
}, "limitBatch");
|
|
4885
4885
|
|
|
4886
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
4887
4887
|
import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
4888
4888
|
import { join as join2 } from "node:path";
|
|
4889
4889
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -4972,7 +4972,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
4972
4972
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
4973
4973
|
}, "registryProfiles");
|
|
4974
4974
|
|
|
4975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
4976
4976
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
4977
4977
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
4978
4978
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5267,7 +5267,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5267
5267
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5268
5268
|
}, "readConfigFile");
|
|
5269
5269
|
|
|
5270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5271
5271
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5272
5272
|
import { dirname, join as join3 } from "node:path";
|
|
5273
5273
|
var DEFAULT_CONFIG = {
|
|
@@ -5296,7 +5296,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5296
5296
|
}
|
|
5297
5297
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5298
5298
|
|
|
5299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5299
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5300
5300
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5301
5301
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5302
5302
|
const path2 = key.split(".");
|
|
@@ -5318,7 +5318,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5318
5318
|
return { config, added };
|
|
5319
5319
|
}, "withSettingDefaults");
|
|
5320
5320
|
|
|
5321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5322
5322
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5323
5323
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5324
5324
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5846,7 +5846,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5846
5846
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5847
5847
|
}, "given");
|
|
5848
5848
|
|
|
5849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5850
5850
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
5851
5851
|
const { deadline, signal, app } = environmentOf(command);
|
|
5852
5852
|
const now = deadline?.();
|
|
@@ -6000,7 +6000,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6000
6000
|
return words.join(" ");
|
|
6001
6001
|
}, "commandPath");
|
|
6002
6002
|
|
|
6003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6003
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6004
6004
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6005
6005
|
var FETCH = { remote: "read", local: "write" };
|
|
6006
6006
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6036,7 +6036,12 @@ var destroysNothing = /* @__PURE__ */ __name((command) => {
|
|
|
6036
6036
|
KEPT_UNDER_LOCK.add(command);
|
|
6037
6037
|
return command;
|
|
6038
6038
|
}, "destroysNothing");
|
|
6039
|
-
var PROPOSE_COMMANDS = [
|
|
6039
|
+
var PROPOSE_COMMANDS = [
|
|
6040
|
+
"messages acknowledge",
|
|
6041
|
+
"mail findings add",
|
|
6042
|
+
"projects actions add",
|
|
6043
|
+
"meetings actions add"
|
|
6044
|
+
];
|
|
6040
6045
|
var PROPOSES = /* @__PURE__ */ new WeakSet();
|
|
6041
6046
|
var isProposal = /* @__PURE__ */ __name((command) => {
|
|
6042
6047
|
if (!PROPOSES.has(command))
|
|
@@ -6132,7 +6137,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6132
6137
|
throw readOnlyRefusal(lock, what);
|
|
6133
6138
|
}, "refuseUnderReadOnly");
|
|
6134
6139
|
|
|
6135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6136
6141
|
var account = strictObject({
|
|
6137
6142
|
provider: text,
|
|
6138
6143
|
id,
|
|
@@ -6142,7 +6147,7 @@ var account = strictObject({
|
|
|
6142
6147
|
scope: optional(picklist(["personal", "work"]))
|
|
6143
6148
|
});
|
|
6144
6149
|
|
|
6145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6146
6151
|
var accountSession = strictObject({
|
|
6147
6152
|
current: boolean(),
|
|
6148
6153
|
client: nullable(text),
|
|
@@ -6152,7 +6157,7 @@ var accountSession = strictObject({
|
|
|
6152
6157
|
created_at: optional(nullable(time))
|
|
6153
6158
|
});
|
|
6154
6159
|
|
|
6155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6156
6161
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6157
6162
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6158
6163
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6181,7 +6186,7 @@ var accountRemoval = strictObject({
|
|
|
6181
6186
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6182
6187
|
});
|
|
6183
6188
|
|
|
6184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6185
6190
|
var accountProfile = strictObject({
|
|
6186
6191
|
profile: id,
|
|
6187
6192
|
current: boolean(),
|
|
@@ -6193,7 +6198,7 @@ var accountProfile = strictObject({
|
|
|
6193
6198
|
bot: optional(literal(true))
|
|
6194
6199
|
});
|
|
6195
6200
|
|
|
6196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6197
6202
|
var milliseconds = pipe(number(), minValue(0));
|
|
6198
6203
|
var counterReading = strictObject({
|
|
6199
6204
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6205,7 +6210,7 @@ var counterReading = strictObject({
|
|
|
6205
6210
|
});
|
|
6206
6211
|
var selection = record(string(), unknown());
|
|
6207
6212
|
|
|
6208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6209
6214
|
var adminRow = strictObject({
|
|
6210
6215
|
ref: reference,
|
|
6211
6216
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6258,7 +6263,7 @@ var adminReport = strictObject({
|
|
|
6258
6263
|
rows: array(adminRow)
|
|
6259
6264
|
});
|
|
6260
6265
|
|
|
6261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6262
6267
|
var closeSuggestion = strictObject({
|
|
6263
6268
|
as: picklist(["done", "dismissed"]),
|
|
6264
6269
|
/** The agent's name. */
|
|
@@ -6320,7 +6325,7 @@ var task = strictObject({
|
|
|
6320
6325
|
updated_at: optional(time)
|
|
6321
6326
|
});
|
|
6322
6327
|
|
|
6323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6324
6329
|
var agendaChat = strictObject({
|
|
6325
6330
|
chat: reference,
|
|
6326
6331
|
title: nullable(text),
|
|
@@ -6390,11 +6395,11 @@ var agenda = strictObject({
|
|
|
6390
6395
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6391
6396
|
});
|
|
6392
6397
|
|
|
6393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6394
6399
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6395
6400
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6396
6401
|
|
|
6397
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6398
6403
|
var attachment = strictObject({
|
|
6399
6404
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6400
6405
|
message: optional(reference),
|
|
@@ -6439,7 +6444,7 @@ var hitFile = strictObject({
|
|
|
6439
6444
|
local_path: optional(text)
|
|
6440
6445
|
});
|
|
6441
6446
|
|
|
6442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6443
6448
|
var actionableError = objectWithRest({
|
|
6444
6449
|
code: text,
|
|
6445
6450
|
message: text,
|
|
@@ -6456,7 +6461,7 @@ var batchResult = strictObject({
|
|
|
6456
6461
|
max_error_percent: count
|
|
6457
6462
|
});
|
|
6458
6463
|
|
|
6459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6460
6465
|
var extractionItem = strictObject({
|
|
6461
6466
|
ref: reference,
|
|
6462
6467
|
attachment: count,
|
|
@@ -6489,7 +6494,7 @@ var extractionReport = strictObject({
|
|
|
6489
6494
|
cursor: optional(text)
|
|
6490
6495
|
});
|
|
6491
6496
|
|
|
6492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6497
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6493
6498
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6494
6499
|
var attachmentBytes = strictObject({
|
|
6495
6500
|
ref: reference,
|
|
@@ -6520,7 +6525,7 @@ var attachmentTextChange = strictObject({
|
|
|
6520
6525
|
text: optional(text)
|
|
6521
6526
|
});
|
|
6522
6527
|
|
|
6523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6524
6529
|
var WEIGHTS = {
|
|
6525
6530
|
bot: 3,
|
|
6526
6531
|
scam: 3,
|
|
@@ -6545,7 +6550,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6545
6550
|
var DIGITS = /\d{5,}/;
|
|
6546
6551
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6547
6552
|
|
|
6548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6553
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6549
6554
|
var linkedIdentity = strictObject({
|
|
6550
6555
|
provider: text,
|
|
6551
6556
|
id,
|
|
@@ -6600,7 +6605,7 @@ var contactCheck = strictObject({
|
|
|
6600
6605
|
checked_at: time
|
|
6601
6606
|
});
|
|
6602
6607
|
|
|
6603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6604
6609
|
var member = strictObject({
|
|
6605
6610
|
id,
|
|
6606
6611
|
name: nullable(text),
|
|
@@ -6623,7 +6628,7 @@ var member = strictObject({
|
|
|
6623
6628
|
check: optional(record(string(), unknown()))
|
|
6624
6629
|
});
|
|
6625
6630
|
|
|
6626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6627
6632
|
var setting = optional(nullable(boolean()));
|
|
6628
6633
|
var chat = strictObject({
|
|
6629
6634
|
ref: reference,
|
|
@@ -6664,7 +6669,7 @@ var chat = strictObject({
|
|
|
6664
6669
|
members: optional(array(member))
|
|
6665
6670
|
});
|
|
6666
6671
|
|
|
6667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6668
6673
|
var quoted = strictObject({
|
|
6669
6674
|
id,
|
|
6670
6675
|
sender_id: nullable(id),
|
|
@@ -6778,12 +6783,14 @@ var message = strictObject({
|
|
|
6778
6783
|
/** Mail `review`: no earlier stored email, in any account, came from this address. */
|
|
6779
6784
|
new_sender: optional(boolean()),
|
|
6780
6785
|
/** Mail `review`: how many identities the sender's person has; 1 is this address alone. */
|
|
6781
|
-
sender_identities: optional(number())
|
|
6786
|
+
sender_identities: optional(number()),
|
|
6787
|
+
/** Mail `review`: how `inbox` sorted the thread, by the AI model; the reason is untrusted. */
|
|
6788
|
+
inbox: optional(strictObject({ bucket: picklist(["answer", "read", "later"]), reason: text }))
|
|
6782
6789
|
})),
|
|
6783
6790
|
provider_metadata: providerMetadata
|
|
6784
6791
|
});
|
|
6785
6792
|
|
|
6786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
6787
6794
|
var recordedMeeting = strictObject({
|
|
6788
6795
|
ref: reference,
|
|
6789
6796
|
meeting_id: count,
|
|
@@ -6800,7 +6807,7 @@ var recordedMeeting = strictObject({
|
|
|
6800
6807
|
call: optional(meetingCall)
|
|
6801
6808
|
});
|
|
6802
6809
|
|
|
6803
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
6804
6811
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
6805
6812
|
var contextMessage = strictObject({
|
|
6806
6813
|
locator: reference,
|
|
@@ -7006,7 +7013,7 @@ var contactPreparation = strictObject({
|
|
|
7006
7013
|
})
|
|
7007
7014
|
});
|
|
7008
7015
|
|
|
7009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7010
7017
|
var nullableText = nullable(text);
|
|
7011
7018
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7012
7019
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7162,7 +7169,7 @@ var stage = strictObject({
|
|
|
7162
7169
|
untrusted
|
|
7163
7170
|
});
|
|
7164
7171
|
|
|
7165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7166
7173
|
var nullableText2 = nullable(text);
|
|
7167
7174
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7168
7175
|
var standing = picklist(STANDINGS);
|
|
@@ -7341,7 +7348,7 @@ var dealBrief = strictObject({
|
|
|
7341
7348
|
not_read: coverage2.entries.not_read
|
|
7342
7349
|
});
|
|
7343
7350
|
|
|
7344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7345
7352
|
var chart = strictObject({
|
|
7346
7353
|
version: literal(1),
|
|
7347
7354
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7356,7 +7363,7 @@ var chart = strictObject({
|
|
|
7356
7363
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7357
7364
|
});
|
|
7358
7365
|
|
|
7359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7360
7367
|
var named = strictObject({
|
|
7361
7368
|
id,
|
|
7362
7369
|
title: nullable(text),
|
|
@@ -7379,7 +7386,7 @@ var folder = strictObject({
|
|
|
7379
7386
|
excluded_chats: optional(array(named))
|
|
7380
7387
|
});
|
|
7381
7388
|
|
|
7382
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7389
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7383
7390
|
var inviteLink = strictObject({
|
|
7384
7391
|
link: text,
|
|
7385
7392
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7395,7 +7402,7 @@ var inviteLink = strictObject({
|
|
|
7395
7402
|
joined_count: optional(count)
|
|
7396
7403
|
});
|
|
7397
7404
|
|
|
7398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7399
7406
|
var operated = { operation_id: id, chat_id: id };
|
|
7400
7407
|
var group = strictObject({
|
|
7401
7408
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7475,7 +7482,7 @@ var chatFolderOrder = strictObject({
|
|
|
7475
7482
|
folders: array(strictObject({ id, title: text }))
|
|
7476
7483
|
});
|
|
7477
7484
|
|
|
7478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7479
7486
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7480
7487
|
var chatRemoval = strictObject(operated2);
|
|
7481
7488
|
var chatMuting = strictObject({
|
|
@@ -7486,7 +7493,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7486
7493
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7487
7494
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7488
7495
|
|
|
7489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7490
7497
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7491
7498
|
var chatEvent = strictObject({
|
|
7492
7499
|
chat_id: id,
|
|
@@ -7503,7 +7510,7 @@ var chatEvent = strictObject({
|
|
|
7503
7510
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7504
7511
|
});
|
|
7505
7512
|
|
|
7506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7513
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7507
7514
|
var chatMetadata = strictObject({
|
|
7508
7515
|
chat_id: id,
|
|
7509
7516
|
title: nullable(text),
|
|
@@ -7518,7 +7525,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7518
7525
|
has_more: boolean()
|
|
7519
7526
|
});
|
|
7520
7527
|
|
|
7521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7522
7529
|
var action = picklist(["report", "delete", "remove"]);
|
|
7523
7530
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7524
7531
|
var chatRules = strictObject({
|
|
@@ -7555,7 +7562,7 @@ var chatModeration = strictObject({
|
|
|
7555
7562
|
}))
|
|
7556
7563
|
});
|
|
7557
7564
|
|
|
7558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
7559
7566
|
var chatSending = strictObject({
|
|
7560
7567
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
7561
7568
|
meaning: text,
|
|
@@ -7565,7 +7572,7 @@ var chatSending = strictObject({
|
|
|
7565
7572
|
changed: optional(boolean())
|
|
7566
7573
|
});
|
|
7567
7574
|
|
|
7568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7569
7576
|
var optionalCount = optional(count);
|
|
7570
7577
|
var minutes = nullable(number());
|
|
7571
7578
|
var chatStats = strictObject({
|
|
@@ -7641,7 +7648,7 @@ var taskStats = strictObject({
|
|
|
7641
7648
|
}))
|
|
7642
7649
|
});
|
|
7643
7650
|
|
|
7644
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7645
7652
|
var memberCount = strictObject({
|
|
7646
7653
|
day: pipe(text, isoDate()),
|
|
7647
7654
|
participants: nullable(count),
|
|
@@ -7664,7 +7671,7 @@ var chatTracking = strictObject({
|
|
|
7664
7671
|
tracked: boolean()
|
|
7665
7672
|
});
|
|
7666
7673
|
|
|
7667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7674
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7668
7675
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7669
7676
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7670
7677
|
var profileFields = {
|
|
@@ -7702,7 +7709,7 @@ var profileFields = {
|
|
|
7702
7709
|
}))
|
|
7703
7710
|
};
|
|
7704
7711
|
|
|
7705
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7712
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7706
7713
|
var contact = strictObject({
|
|
7707
7714
|
ref: reference,
|
|
7708
7715
|
id,
|
|
@@ -7733,7 +7740,7 @@ var contact = strictObject({
|
|
|
7733
7740
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7734
7741
|
});
|
|
7735
7742
|
|
|
7736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7737
7744
|
var contactNote = strictObject({
|
|
7738
7745
|
id,
|
|
7739
7746
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7745,13 +7752,13 @@ var contactNote = strictObject({
|
|
|
7745
7752
|
updated_at: time
|
|
7746
7753
|
});
|
|
7747
7754
|
|
|
7748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7749
7756
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7750
7757
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7751
7758
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7752
7759
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7753
7760
|
|
|
7754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7761
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7755
7762
|
var conversation = strictObject({
|
|
7756
7763
|
id,
|
|
7757
7764
|
chat: reference,
|
|
@@ -7766,7 +7773,7 @@ var conversation = strictObject({
|
|
|
7766
7773
|
rules_version: count
|
|
7767
7774
|
});
|
|
7768
7775
|
|
|
7769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7770
7777
|
var conversationBuild = strictObject({
|
|
7771
7778
|
chat: id,
|
|
7772
7779
|
messages: count,
|
|
@@ -7791,7 +7798,7 @@ var catchUpPreparation = strictObject({
|
|
|
7791
7798
|
prepared: optional(conversationPreparation)
|
|
7792
7799
|
});
|
|
7793
7800
|
|
|
7794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7795
7802
|
var conversationDetails = union([
|
|
7796
7803
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7797
7804
|
message
|
|
@@ -7881,7 +7888,7 @@ var conversationHit = strictObject({
|
|
|
7881
7888
|
stale: boolean()
|
|
7882
7889
|
});
|
|
7883
7890
|
|
|
7884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
7885
7892
|
var counters = strictObject({
|
|
7886
7893
|
cutoff: time,
|
|
7887
7894
|
max_age_ms: milliseconds,
|
|
@@ -7911,7 +7918,7 @@ var counterRefresh = strictObject({
|
|
|
7911
7918
|
complete: optional(boolean())
|
|
7912
7919
|
});
|
|
7913
7920
|
|
|
7914
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7921
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
7915
7922
|
var document = strictObject({
|
|
7916
7923
|
ref: reference,
|
|
7917
7924
|
id,
|
|
@@ -7926,7 +7933,7 @@ var document = strictObject({
|
|
|
7926
7933
|
owners: optional(array(text))
|
|
7927
7934
|
});
|
|
7928
7935
|
|
|
7929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
7930
7937
|
var documentLink = strictObject({
|
|
7931
7938
|
ref: reference,
|
|
7932
7939
|
url: text,
|
|
@@ -7937,7 +7944,7 @@ var documentLink = strictObject({
|
|
|
7937
7944
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7938
7945
|
});
|
|
7939
7946
|
|
|
7940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
7941
7948
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7942
7949
|
var contribution = strictObject({
|
|
7943
7950
|
message: evidenceMessage,
|
|
@@ -7967,7 +7974,7 @@ var retentionStay = strictObject({
|
|
|
7967
7974
|
});
|
|
7968
7975
|
var evidence = union([contribution, retentionStay]);
|
|
7969
7976
|
|
|
7970
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
7971
7978
|
var fact = strictObject({
|
|
7972
7979
|
ref: reference,
|
|
7973
7980
|
id,
|
|
@@ -7998,7 +8005,7 @@ var fact = strictObject({
|
|
|
7998
8005
|
updated_at: time
|
|
7999
8006
|
});
|
|
8000
8007
|
|
|
8001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8002
8009
|
var hit = strictObject({
|
|
8003
8010
|
kind: picklist([
|
|
8004
8011
|
"message",
|
|
@@ -8057,7 +8064,7 @@ var hit = strictObject({
|
|
|
8057
8064
|
untrusted
|
|
8058
8065
|
});
|
|
8059
8066
|
|
|
8060
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8061
8068
|
var identity = strictObject({
|
|
8062
8069
|
ref: reference,
|
|
8063
8070
|
provider: text,
|
|
@@ -8073,7 +8080,7 @@ var identity = strictObject({
|
|
|
8073
8080
|
person: optional(nullable(reference))
|
|
8074
8081
|
});
|
|
8075
8082
|
|
|
8076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8077
8084
|
var imageEmbedding = strictObject({
|
|
8078
8085
|
model: text,
|
|
8079
8086
|
embedded: count,
|
|
@@ -8082,13 +8089,13 @@ var imageEmbedding = strictObject({
|
|
|
8082
8089
|
more: boolean()
|
|
8083
8090
|
});
|
|
8084
8091
|
|
|
8085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8092
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8086
8093
|
import { spawn } from "node:child_process";
|
|
8087
8094
|
import { randomBytes } from "node:crypto";
|
|
8088
8095
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8089
8096
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8090
8097
|
|
|
8091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8092
8099
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8093
8100
|
const total = input.total ?? null;
|
|
8094
8101
|
const updated = input.updatedAt ?? null;
|
|
@@ -8119,7 +8126,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8119
8126
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8120
8127
|
}, "progressLine");
|
|
8121
8128
|
|
|
8122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8123
8130
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8124
8131
|
const run = currentRun();
|
|
8125
8132
|
const trace = traceId ?? run.traceId;
|
|
@@ -8133,7 +8140,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8133
8140
|
}));
|
|
8134
8141
|
}, "recordLogFor");
|
|
8135
8142
|
|
|
8136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8137
8144
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8138
8145
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8139
8146
|
const out = openSync(log, "a", 384);
|
|
@@ -8288,7 +8295,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8288
8295
|
return { job: id6, pid, chat: input.chat, log };
|
|
8289
8296
|
}, "startArchiveJob");
|
|
8290
8297
|
|
|
8291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8298
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8292
8299
|
var problem = strictObject({ code: text, message: text });
|
|
8293
8300
|
var job = strictObject({
|
|
8294
8301
|
id,
|
|
@@ -8311,7 +8318,7 @@ var job = strictObject({
|
|
|
8311
8318
|
error: optional(problem)
|
|
8312
8319
|
});
|
|
8313
8320
|
|
|
8314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8315
8322
|
var joinRequest = strictObject({
|
|
8316
8323
|
person_id: id,
|
|
8317
8324
|
name: nullable(text),
|
|
@@ -8322,7 +8329,7 @@ var joinRequest = strictObject({
|
|
|
8322
8329
|
about: optional(text)
|
|
8323
8330
|
});
|
|
8324
8331
|
|
|
8325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8326
8333
|
var botProfile = strictObject({
|
|
8327
8334
|
name: text,
|
|
8328
8335
|
token: text,
|
|
@@ -8446,7 +8453,7 @@ var stickerInventory = strictObject({
|
|
|
8446
8453
|
url: optional(nullable(text))
|
|
8447
8454
|
});
|
|
8448
8455
|
|
|
8449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8450
8457
|
var pollVote = strictObject({
|
|
8451
8458
|
person_id: id,
|
|
8452
8459
|
name: nullable(text),
|
|
@@ -8456,7 +8463,7 @@ var pollVote = strictObject({
|
|
|
8456
8463
|
voted_at: time
|
|
8457
8464
|
});
|
|
8458
8465
|
|
|
8459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8466
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8460
8467
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8461
8468
|
var observation = strictObject({
|
|
8462
8469
|
value: pipe(number(), minValue(0)),
|
|
@@ -8498,7 +8505,7 @@ var serveSummary = strictObject({
|
|
|
8498
8505
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8499
8506
|
});
|
|
8500
8507
|
|
|
8501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8502
8509
|
var mailCounts = strictObject({
|
|
8503
8510
|
by: picklist(["day", "week", "sender"]),
|
|
8504
8511
|
received: count,
|
|
@@ -8513,7 +8520,7 @@ var mailCounts = strictObject({
|
|
|
8513
8520
|
}))
|
|
8514
8521
|
});
|
|
8515
8522
|
|
|
8516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8517
8524
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8518
8525
|
var base = { id, evidence: array(evidence2) };
|
|
8519
8526
|
var finding = variant("kind", [
|
|
@@ -8657,7 +8664,7 @@ var mailFindings = strictObject({
|
|
|
8657
8664
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8658
8665
|
});
|
|
8659
8666
|
|
|
8660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8661
8668
|
var mediaArchive = strictObject({
|
|
8662
8669
|
directory: text,
|
|
8663
8670
|
chats: count,
|
|
@@ -8689,7 +8696,7 @@ var mediaArchiveTimer = union([
|
|
|
8689
8696
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8690
8697
|
]);
|
|
8691
8698
|
|
|
8692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8699
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8693
8700
|
var preparationId = pipe(string(), minLength(1));
|
|
8694
8701
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8695
8702
|
var preparationTime = nullable(isoTime);
|
|
@@ -8781,7 +8788,7 @@ var preparationMeeting = strictObject({
|
|
|
8781
8788
|
updated_at: isoTime
|
|
8782
8789
|
});
|
|
8783
8790
|
|
|
8784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8785
8792
|
var meetingEvidence = preparationEvidence;
|
|
8786
8793
|
var meetingPersonContext = strictObject({
|
|
8787
8794
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8803,7 +8810,7 @@ var meetingPersonContext = strictObject({
|
|
|
8803
8810
|
})
|
|
8804
8811
|
});
|
|
8805
8812
|
|
|
8806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8807
8814
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8808
8815
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8809
8816
|
var finding2 = variant("kind", [
|
|
@@ -8841,7 +8848,7 @@ var meetingFindings = strictObject({
|
|
|
8841
8848
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8842
8849
|
});
|
|
8843
8850
|
|
|
8844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8851
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8845
8852
|
var communicationCoverage = strictObject({
|
|
8846
8853
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8847
8854
|
query: string(),
|
|
@@ -8886,7 +8893,7 @@ var preparationCommunications = strictObject({
|
|
|
8886
8893
|
}))
|
|
8887
8894
|
});
|
|
8888
8895
|
|
|
8889
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8890
8897
|
var meetingPreparation = strictObject({
|
|
8891
8898
|
communications: optional(preparationCommunications),
|
|
8892
8899
|
schema_version: literal(1),
|
|
@@ -8999,7 +9006,7 @@ var meetingPreparation = strictObject({
|
|
|
8999
9006
|
})
|
|
9000
9007
|
});
|
|
9001
9008
|
|
|
9002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9009
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9003
9010
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9004
9011
|
var id3 = pipe(string(), minLength(1));
|
|
9005
9012
|
var text3 = string();
|
|
@@ -9063,7 +9070,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9063
9070
|
})
|
|
9064
9071
|
});
|
|
9065
9072
|
|
|
9066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9073
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9067
9074
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9068
9075
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9069
9076
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9093,7 +9100,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9093
9100
|
})
|
|
9094
9101
|
});
|
|
9095
9102
|
|
|
9096
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9097
9104
|
var text4 = string();
|
|
9098
9105
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9099
9106
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9110,7 +9117,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9110
9117
|
persistence: literal("proposal-only")
|
|
9111
9118
|
});
|
|
9112
9119
|
|
|
9113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9120
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9114
9121
|
var memory = strictObject({
|
|
9115
9122
|
ref: reference,
|
|
9116
9123
|
id,
|
|
@@ -9138,7 +9145,7 @@ var memory = strictObject({
|
|
|
9138
9145
|
updated_at: time
|
|
9139
9146
|
});
|
|
9140
9147
|
|
|
9141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9142
9149
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9143
9150
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9144
9151
|
var mention = strictObject({
|
|
@@ -9182,13 +9189,16 @@ var mentionRebuild = strictObject({
|
|
|
9182
9189
|
mentions: count
|
|
9183
9190
|
});
|
|
9184
9191
|
|
|
9185
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9186
9193
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9187
9194
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9188
9195
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9189
9196
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9197
|
+
var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) });
|
|
9198
|
+
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9199
|
+
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9190
9200
|
|
|
9191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9192
9202
|
var messageTranscript = strictObject({
|
|
9193
9203
|
message_id: id,
|
|
9194
9204
|
text,
|
|
@@ -9246,7 +9256,7 @@ var evidencePacket = strictObject({
|
|
|
9246
9256
|
}))
|
|
9247
9257
|
});
|
|
9248
9258
|
|
|
9249
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9259
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9250
9260
|
var messageThread = strictObject({
|
|
9251
9261
|
ref: reference,
|
|
9252
9262
|
chat: id,
|
|
@@ -9263,7 +9273,7 @@ var messageThread = strictObject({
|
|
|
9263
9273
|
});
|
|
9264
9274
|
var messageContext = union([message, messageThread]);
|
|
9265
9275
|
|
|
9266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9267
9277
|
var messageCounts = strictObject({
|
|
9268
9278
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9269
9279
|
total: count,
|
|
@@ -9276,7 +9286,7 @@ var messageCounts = strictObject({
|
|
|
9276
9286
|
}))
|
|
9277
9287
|
});
|
|
9278
9288
|
|
|
9279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9280
9290
|
var messageLink = strictObject({
|
|
9281
9291
|
ref: reference,
|
|
9282
9292
|
url: nullable(text),
|
|
@@ -9293,7 +9303,7 @@ var messageLink = strictObject({
|
|
|
9293
9303
|
})))
|
|
9294
9304
|
});
|
|
9295
9305
|
|
|
9296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9297
9307
|
var savedMessageFile = strictObject({
|
|
9298
9308
|
kind: text,
|
|
9299
9309
|
path: text,
|
|
@@ -9380,7 +9390,7 @@ var messageSyncAll = strictObject({
|
|
|
9380
9390
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9381
9391
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9382
9392
|
|
|
9383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9384
9394
|
var messageWrite = strictObject({
|
|
9385
9395
|
operation_id: id,
|
|
9386
9396
|
message,
|
|
@@ -9395,7 +9405,7 @@ var draftWrite = strictObject({
|
|
|
9395
9405
|
});
|
|
9396
9406
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9397
9407
|
|
|
9398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9399
9409
|
var model2 = strictObject({
|
|
9400
9410
|
id,
|
|
9401
9411
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9430,7 +9440,7 @@ var chosenModel = strictObject({
|
|
|
9430
9440
|
estimate_seconds: nullable(count)
|
|
9431
9441
|
});
|
|
9432
9442
|
|
|
9433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9434
9444
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9435
9445
|
var modelKey = strictObject({
|
|
9436
9446
|
provider: text,
|
|
@@ -9440,7 +9450,7 @@ var modelKey = strictObject({
|
|
|
9440
9450
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9441
9451
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9442
9452
|
|
|
9443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9444
9454
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9445
9455
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9446
9456
|
var graph = strictObject({
|
|
@@ -9474,14 +9484,14 @@ var officialStats = strictObject({
|
|
|
9474
9484
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9475
9485
|
});
|
|
9476
9486
|
|
|
9477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9478
9488
|
var person2 = strictObject({
|
|
9479
9489
|
ref: reference,
|
|
9480
9490
|
name: nullable(text),
|
|
9481
9491
|
identities: optional(array(identity))
|
|
9482
9492
|
});
|
|
9483
9493
|
|
|
9484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9494
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9485
9495
|
var poll = strictObject({
|
|
9486
9496
|
chat_id: id,
|
|
9487
9497
|
message_id: id,
|
|
@@ -9497,11 +9507,11 @@ var poll = strictObject({
|
|
|
9497
9507
|
});
|
|
9498
9508
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9499
9509
|
|
|
9500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9501
9511
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9502
9512
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9503
9513
|
|
|
9504
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9514
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9505
9515
|
var figures = record(string(), number());
|
|
9506
9516
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9507
9517
|
var rankingRow = strictObject({
|
|
@@ -9548,7 +9558,7 @@ var ranking = strictObject({
|
|
|
9548
9558
|
rows: array(rankingRow)
|
|
9549
9559
|
});
|
|
9550
9560
|
|
|
9551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9552
9562
|
var reaction = strictObject({
|
|
9553
9563
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9554
9564
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9556,7 +9566,7 @@ var reaction = strictObject({
|
|
|
9556
9566
|
reacted_at: time
|
|
9557
9567
|
});
|
|
9558
9568
|
|
|
9559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9560
9570
|
var reactionChange = strictObject({
|
|
9561
9571
|
operation_id: id,
|
|
9562
9572
|
chat_id: id,
|
|
@@ -9564,7 +9574,7 @@ var reactionChange = strictObject({
|
|
|
9564
9574
|
reaction: nullable(text)
|
|
9565
9575
|
});
|
|
9566
9576
|
|
|
9567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9568
9578
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9569
9579
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9570
9580
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9575,7 +9585,7 @@ var recipientChange = strictObject({
|
|
|
9575
9585
|
...partial(recipientOff).entries
|
|
9576
9586
|
});
|
|
9577
9587
|
|
|
9578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9579
9589
|
var events = array(record(string(), unknown()));
|
|
9580
9590
|
var recordedRun = strictObject({
|
|
9581
9591
|
run_id: id,
|
|
@@ -9647,7 +9657,7 @@ var runHit = strictObject({
|
|
|
9647
9657
|
});
|
|
9648
9658
|
var runLocation = strictObject({ path: text });
|
|
9649
9659
|
|
|
9650
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9660
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9651
9661
|
var relationship = strictObject({
|
|
9652
9662
|
id,
|
|
9653
9663
|
from: reference,
|
|
@@ -9674,7 +9684,7 @@ var relationship = strictObject({
|
|
|
9674
9684
|
created_at: time
|
|
9675
9685
|
});
|
|
9676
9686
|
|
|
9677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9678
9688
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9679
9689
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9680
9690
|
var responseTimes = strictObject({
|
|
@@ -9691,7 +9701,7 @@ var waitingChats = strictObject({
|
|
|
9691
9701
|
by_kind: strictObject({ private: count, group: count })
|
|
9692
9702
|
});
|
|
9693
9703
|
|
|
9694
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9704
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9695
9705
|
var retentionCohort = strictObject({
|
|
9696
9706
|
/** The first day of the joining day or week. */
|
|
9697
9707
|
cohort: text,
|
|
@@ -9739,7 +9749,7 @@ var retention = strictObject({
|
|
|
9739
9749
|
rows: array(retentionCohort)
|
|
9740
9750
|
});
|
|
9741
9751
|
|
|
9742
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9752
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9743
9753
|
var savedSearch = strictObject({
|
|
9744
9754
|
id,
|
|
9745
9755
|
/** `null` for a run in the history. */
|
|
@@ -9756,7 +9766,7 @@ var savedSearch = strictObject({
|
|
|
9756
9766
|
});
|
|
9757
9767
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9758
9768
|
|
|
9759
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9760
9770
|
var sendAttempt = strictObject({
|
|
9761
9771
|
at: time,
|
|
9762
9772
|
profile: text,
|
|
@@ -9784,7 +9794,7 @@ var sendAttempt = strictObject({
|
|
|
9784
9794
|
error_code: optional(text)
|
|
9785
9795
|
});
|
|
9786
9796
|
|
|
9787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9788
9798
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9789
9799
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9790
9800
|
var infoSchema = strictObject({
|
|
@@ -10014,7 +10024,7 @@ var storeRepair = union([
|
|
|
10014
10024
|
]);
|
|
10015
10025
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10016
10026
|
|
|
10017
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10018
10028
|
var range = strictObject({ from: number(), to: number() });
|
|
10019
10029
|
var storeChatStatus = strictObject({
|
|
10020
10030
|
chat_id: id,
|
|
@@ -10112,7 +10122,7 @@ var storeJobRetry = union([
|
|
|
10112
10122
|
]);
|
|
10113
10123
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10114
10124
|
|
|
10115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10116
10126
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10117
10127
|
var storeTable = strictObject({
|
|
10118
10128
|
name: text,
|
|
@@ -10121,7 +10131,7 @@ var storeTable = strictObject({
|
|
|
10121
10131
|
bytes: optional(nullable(count))
|
|
10122
10132
|
});
|
|
10123
10133
|
|
|
10124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10125
10135
|
var tagTarget = variant("type", [
|
|
10126
10136
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10127
10137
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10152,7 +10162,7 @@ var automaticTags = strictObject({
|
|
|
10152
10162
|
dry_run: boolean()
|
|
10153
10163
|
});
|
|
10154
10164
|
|
|
10155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10156
10166
|
var tagging = strictObject({
|
|
10157
10167
|
tag: text,
|
|
10158
10168
|
type: picklist(TAG_TYPES),
|
|
@@ -10165,7 +10175,7 @@ var tagging = strictObject({
|
|
|
10165
10175
|
created_at: time
|
|
10166
10176
|
});
|
|
10167
10177
|
|
|
10168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10169
10179
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10170
10180
|
var taskPair = strictObject({
|
|
10171
10181
|
task: nullable(side),
|
|
@@ -10188,7 +10198,7 @@ var taskPair = strictObject({
|
|
|
10188
10198
|
created_at: time
|
|
10189
10199
|
});
|
|
10190
10200
|
|
|
10191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10192
10202
|
var nullableTime = nullable(time);
|
|
10193
10203
|
var link = strictObject({
|
|
10194
10204
|
id,
|
|
@@ -10362,7 +10372,7 @@ var taskReview = strictObject({
|
|
|
10362
10372
|
untrusted
|
|
10363
10373
|
});
|
|
10364
10374
|
|
|
10365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10366
10376
|
var template = strictObject({
|
|
10367
10377
|
key: text,
|
|
10368
10378
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10374,7 +10384,7 @@ var template = strictObject({
|
|
|
10374
10384
|
updated_by: nullable(text)
|
|
10375
10385
|
});
|
|
10376
10386
|
|
|
10377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10378
10388
|
var topic = strictObject({
|
|
10379
10389
|
id,
|
|
10380
10390
|
title: text,
|
|
@@ -10388,7 +10398,7 @@ var topic = strictObject({
|
|
|
10388
10398
|
untrusted
|
|
10389
10399
|
});
|
|
10390
10400
|
|
|
10391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10392
10402
|
var ENTITIES = {
|
|
10393
10403
|
sync_progress: progress,
|
|
10394
10404
|
deal,
|
|
@@ -10422,6 +10432,7 @@ var ENTITIES = {
|
|
|
10422
10432
|
attachments: optional(array(hitFile)),
|
|
10423
10433
|
untrusted
|
|
10424
10434
|
}),
|
|
10435
|
+
// Typed loosely: the inferred type of `ENTITIES` would pass the size the compiler writes out (TS7056).
|
|
10425
10436
|
"message.summary": strictObject({
|
|
10426
10437
|
...pick(message, [
|
|
10427
10438
|
"ref",
|
|
@@ -10444,6 +10455,8 @@ var ENTITIES = {
|
|
|
10444
10455
|
message_pin: messagePin,
|
|
10445
10456
|
message_star: messageStar,
|
|
10446
10457
|
message_deletion: messageDeletion,
|
|
10458
|
+
scheduled_cancellation: scheduledCancellation,
|
|
10459
|
+
scheduled_send: scheduledSend,
|
|
10447
10460
|
message_transcript: messageTranscript,
|
|
10448
10461
|
message_links: messageLinks,
|
|
10449
10462
|
evidence_packet: evidencePacket,
|
|
@@ -10687,7 +10700,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10687
10700
|
return [name, definition];
|
|
10688
10701
|
})), "entityDefinitions");
|
|
10689
10702
|
|
|
10690
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10691
10704
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10692
10705
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10693
10706
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10721,7 +10734,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10721
10734
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10722
10735
|
}, "answerRow");
|
|
10723
10736
|
|
|
10724
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10737
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10725
10738
|
import { join as join5 } from "node:path";
|
|
10726
10739
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10727
10740
|
var IMAGE_MODELS = [
|
|
@@ -10775,7 +10788,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10775
10788
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10776
10789
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10777
10790
|
|
|
10778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10791
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10779
10792
|
var STEPS2 = defineSteps([
|
|
10780
10793
|
...STEPS,
|
|
10781
10794
|
{
|
|
@@ -11065,7 +11078,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11065
11078
|
].join(" ");
|
|
11066
11079
|
}, "stepLine");
|
|
11067
11080
|
|
|
11068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11081
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11069
11082
|
var where = [{ field: "ref" }];
|
|
11070
11083
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11071
11084
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11157,7 +11170,7 @@ var STATUS_ROWS = {
|
|
|
11157
11170
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11158
11171
|
};
|
|
11159
11172
|
|
|
11160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11161
11174
|
var TEXT_CHARS = 400;
|
|
11162
11175
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11163
11176
|
var messageRow = {
|
|
@@ -11525,7 +11538,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11525
11538
|
return lines.concat(footerOf(body)).join("\n");
|
|
11526
11539
|
}, "compactText");
|
|
11527
11540
|
|
|
11528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11541
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11529
11542
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11530
11543
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11531
11544
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11583,7 +11596,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11583
11596
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11584
11597
|
}, "largeAnswerSteps");
|
|
11585
11598
|
|
|
11586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11587
11600
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11588
11601
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11589
11602
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11597,7 +11610,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11597
11610
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11598
11611
|
}, "strip");
|
|
11599
11612
|
|
|
11600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11601
11614
|
var OPEN = "\u27E6";
|
|
11602
11615
|
var CLOSE = "\u27E7";
|
|
11603
11616
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11685,7 +11698,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11685
11698
|
return result;
|
|
11686
11699
|
}, "withFieldsMarked");
|
|
11687
11700
|
|
|
11688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11689
11702
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11690
11703
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11691
11704
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|