@wirecat/hubspot-cli 0.5.0 → 0.6.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 +28 -0
- package/README.md +73 -52
- package/contracts/wirecat.json +39 -13
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-XB35QVOK.js +40 -0
- package/dist/bundle/{all-profiles-PGFXLOKN.js → all-profiles-HFVXPMF6.js} +11 -11
- package/dist/bundle/{anthropic-LPOJ3TYF.js → anthropic-VE6WR6IN.js} +5 -5
- package/dist/bundle/{app-server-EYWGCSRY.js → app-server-GZ4DCQK7.js} +68 -68
- package/dist/bundle/{bun-ZJOOKIIW.js → bun-2DHMKD34.js} +2 -2
- package/dist/bundle/{bun-sqlite-Y6KKH2OW.js → bun-sqlite-T5XTYL7L.js} +6 -6
- package/dist/bundle/{chunk-WQZENAPE.js → chunk-24HPBWKZ.js} +63 -4
- package/dist/bundle/{chunk-STTHRJBX.js → chunk-2I2KBCS6.js} +5 -5
- package/dist/bundle/{chunk-AIQT2GGK.js → chunk-2K5BAY32.js} +19 -19
- package/dist/bundle/{chunk-WEM4FZPM.js → chunk-2VUIJ5XB.js} +2 -2
- package/dist/bundle/{chunk-KRTXJMCD.js → chunk-3HS7JTPI.js} +27 -177
- package/dist/bundle/{chunk-BCW7DAVV.js → chunk-3TLNO3VM.js} +2 -2
- package/dist/bundle/{chunk-AVBKXCEY.js → chunk-3W5R3XAH.js} +8 -8
- package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-3WG4MTQI.js} +1 -1
- package/dist/bundle/{chunk-HPRGUUHY.js → chunk-3YTTWJKL.js} +1 -1
- package/dist/bundle/{chunk-ZKPM53YG.js → chunk-4UEYVM46.js} +4 -4
- package/dist/bundle/{chunk-NKIKMG33.js → chunk-5ILCAAY4.js} +35 -35
- package/dist/bundle/{chunk-34HDRZIL.js → chunk-5IPB5WLB.js} +12 -12
- package/dist/bundle/{chunk-QPTHEZZ5.js → chunk-5NIIXJV3.js} +2 -2
- package/dist/bundle/{chunk-MPNMEWHA.js → chunk-5O5WYSSO.js} +1900 -650
- package/dist/bundle/{chunk-MPQ4SPZG.js → chunk-5VTKBGPW.js} +74 -31
- package/dist/bundle/{chunk-QIHJKE4K.js → chunk-5WDNG4QE.js} +7 -7
- package/dist/bundle/{chunk-OFOA6VJ2.js → chunk-67YPTVGP.js} +3 -3
- package/dist/bundle/{chunk-DEUCWBBH.js → chunk-6DABKZYH.js} +70 -11
- package/dist/bundle/{chunk-VIJV474N.js → chunk-745FMNI5.js} +1 -1
- package/dist/bundle/{chunk-KXWRVLSU.js → chunk-AKSWXRIU.js} +1 -1
- package/dist/bundle/{chunk-PMGAU6AP.js → chunk-AP3CWDRK.js} +2 -2
- package/dist/bundle/{chunk-5UPNDUAA.js → chunk-BM5F2ZNI.js} +2 -2
- package/dist/bundle/{chunk-EPBHJMF6.js → chunk-BU5CEMUH.js} +13 -13
- package/dist/bundle/{chunk-6PWRJGX4.js → chunk-CTN4DW2F.js} +4 -4
- package/dist/bundle/{chunk-CWCJEAHZ.js → chunk-CU76ZACK.js} +3 -3
- package/dist/bundle/{chunk-4RZ4DUQT.js → chunk-DIKUPU3T.js} +3 -3
- package/dist/bundle/{chunk-POTS24SH.js → chunk-E27NRLJZ.js} +18 -18
- package/dist/bundle/{chunk-BH5FEFZB.js → chunk-EB53G4HO.js} +2 -2
- package/dist/bundle/{chunk-DJUUQG6Y.js → chunk-EJZIEBAR.js} +8 -8
- package/dist/bundle/{chunk-BW7NPFVC.js → chunk-G6LDK6DJ.js} +7 -7
- package/dist/bundle/{chunk-V5VMAHDQ.js → chunk-GEJI27GN.js} +6 -6
- package/dist/bundle/{chunk-YQBGPBYN.js → chunk-GHXTNKX2.js} +2 -2
- package/dist/bundle/{chunk-5HGS65I3.js → chunk-GR4HZBWO.js} +2 -2
- package/dist/bundle/{chunk-I334AT2H.js → chunk-GWXTVO43.js} +7 -7
- package/dist/bundle/{chunk-Z7FC6VVM.js → chunk-H4W2OO35.js} +1 -1
- package/dist/bundle/{chunk-KAW5VEER.js → chunk-H5HBZCEJ.js} +8 -8
- package/dist/bundle/{chunk-VCYUYFIV.js → chunk-HX2BE7DO.js} +1 -1
- package/dist/bundle/{chunk-3CHJYWA2.js → chunk-HYDXA624.js} +6 -6
- package/dist/bundle/{chunk-DDMBPYHP.js → chunk-HZIGGAC7.js} +2 -2
- package/dist/bundle/{chunk-RJBKDZGV.js → chunk-I75ON7VM.js} +8 -8
- package/dist/bundle/{chunk-ODRF47VS.js → chunk-ID4GJFE7.js} +8 -8
- package/dist/bundle/{chunk-LWS5AO3H.js → chunk-J2SCELII.js} +16 -16
- package/dist/bundle/{chunk-R7ZOCDNG.js → chunk-J4FXBF44.js} +1 -1
- package/dist/bundle/{chunk-QCHW7R7L.js → chunk-J76CMNWQ.js} +1 -1
- package/dist/bundle/{chunk-AHZQMSXW.js → chunk-JDCFHZNU.js} +8 -8
- package/dist/bundle/{chunk-K3WCBNH4.js → chunk-JFLKTYH5.js} +6 -6
- package/dist/bundle/{chunk-5WADRBQG.js → chunk-K4Y2ZWOO.js} +3 -3
- package/dist/bundle/{chunk-PPQRWFJZ.js → chunk-KDW7B7AR.js} +5 -5
- package/dist/bundle/{chunk-YZ5MULJM.js → chunk-KKMOKSS5.js} +3 -3
- package/dist/bundle/{chunk-MFWECOO3.js → chunk-LHY5XGIR.js} +59 -59
- package/dist/bundle/{chunk-MW4ROXQ6.js → chunk-LTU4BQ4S.js} +3 -3
- package/dist/bundle/{chunk-A5UTNGI4.js → chunk-M3LRSN6J.js} +13 -13
- package/dist/bundle/{chunk-RZS7N3OZ.js → chunk-MJ24YFXZ.js} +7 -7
- package/dist/bundle/{chunk-HBFSGL5E.js → chunk-MSQGZHKM.js} +32 -28
- package/dist/bundle/{chunk-OCISQFMW.js → chunk-NQOQG7L3.js} +1 -1
- package/dist/bundle/{chunk-QLFD3MOL.js → chunk-PDVMYIBP.js} +1492 -733
- package/dist/bundle/{chunk-NEDV6RCQ.js → chunk-PR7ZDMGF.js} +3 -3
- package/dist/bundle/{chunk-L6WSFVTD.js → chunk-PZ3QJDTD.js} +5 -5
- package/dist/bundle/{chunk-LXLXF2OE.js → chunk-Q6AC7WLD.js} +3 -3
- package/dist/bundle/{chunk-WXEN6AXQ.js → chunk-QH47G73D.js} +3 -3
- package/dist/bundle/{chunk-23CLSKY7.js → chunk-QK5HQUHB.js} +3 -3
- package/dist/bundle/{chunk-KC4ILAKO.js → chunk-R26OEZOL.js} +1 -1
- package/dist/bundle/{chunk-NLPGUYCG.js → chunk-RLK2EGQD.js} +21 -15
- package/dist/bundle/{chunk-SBNZYRVZ.js → chunk-RLNPTES2.js} +4 -4
- package/dist/bundle/{chunk-K5S7MKBB.js → chunk-T4MZJMEJ.js} +17 -17
- package/dist/bundle/{chunk-MGMLSPIY.js → chunk-TAPQZYXY.js} +1 -1
- package/dist/bundle/{chunk-HPSESLOZ.js → chunk-TCSVW7BA.js} +1 -1
- package/dist/bundle/{chunk-7Q64D56R.js → chunk-THGAVPRA.js} +11 -11
- package/dist/bundle/{chunk-BVK4GUUI.js → chunk-TRLV5NWZ.js} +1706 -1820
- package/dist/bundle/{chunk-WDR77HPO.js → chunk-TT75CEYZ.js} +8 -1
- package/dist/bundle/{chunk-L4SVHQ7H.js → chunk-TXO4CJW3.js} +7 -7
- package/dist/bundle/{chunk-MKBQFD37.js → chunk-UCGZRZJA.js} +1 -1
- package/dist/bundle/{chunk-5ENY4POG.js → chunk-UVGJL753.js} +61 -61
- package/dist/bundle/{chunk-GZJP3KQQ.js → chunk-UZ2CL435.js} +1 -1
- package/dist/bundle/{chunk-YJLJZMEA.js → chunk-V7N2K5OT.js} +33 -30
- package/dist/bundle/{chunk-MENMD5Y5.js → chunk-VR2CJFVL.js} +8 -8
- package/dist/bundle/{chunk-EGR3YUWD.js → chunk-WASBOYI2.js} +4 -4
- package/dist/bundle/{chunk-NEP67GLY.js → chunk-WE4JSHIG.js} +6 -6
- package/dist/bundle/{chunk-ABPZOI3C.js → chunk-X2QRCFGJ.js} +4 -4
- package/dist/bundle/{chunk-ZLWQPUPB.js → chunk-XRFYVVFU.js} +2 -2
- package/dist/bundle/{chunk-6S422S22.js → chunk-YDG5FIQB.js} +7 -9
- package/dist/bundle/{chunk-ZMHD76RE.js → chunk-YIH2A2PQ.js} +2 -2
- package/dist/bundle/{chunk-7RIE3DAW.js → chunk-ZERQSELP.js} +189 -158
- package/dist/bundle/{chunk-BGUGTMTS.js → chunk-ZKTYTOF4.js} +8 -8
- package/dist/bundle/command-contract-5FXCYQUS.js +40 -0
- package/dist/bundle/{command-server-entry-B7S5AUE6.js → command-server-entry-H6IAJNOF.js} +28 -28
- package/dist/bundle/{decode-7L33C5UJ.js → decode-TR2EC46M.js} +5 -5
- package/dist/bundle/{dispatch-BIGHHSXV.js → dispatch-B2EP6DDT.js} +8 -8
- package/dist/bundle/{echarts-CWR3QH55.js → echarts-7OP7I5B2.js} +2 -2
- package/dist/bundle/{embed-GXQ3HOQ6.js → embed-FLGS4LN7.js} +6 -6
- package/dist/bundle/{embedder-47OYXGLS.js → embedder-JIXQXCP3.js} +9 -9
- package/dist/bundle/{failure-VMZOU5GZ.js → failure-AOACEURF.js} +2 -2
- package/dist/bundle/{first-run-YVQQOUQG.js → first-run-XJ2NWIK2.js} +12 -12
- package/dist/bundle/first-screen-U73G5CMM.js +40 -0
- package/dist/bundle/hubspot.js +27 -27
- package/dist/bundle/{instructions-QFS2MPK3.js → instructions-PYCYV6QE.js} +1 -1
- package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-ZNULRPZ4.js} +2 -2
- package/dist/bundle/meeting-combined-IHTM5H5B.js +25 -0
- package/dist/bundle/{meeting-model-GLF2HVJG.js → meeting-model-2PA5WJY5.js} +11 -11
- package/dist/bundle/{meeting-semantic-RG56F4YX.js → meeting-semantic-5IH63QFV.js} +6 -6
- package/dist/bundle/{node-3TSWTXGI.js → node-6GTNIVBM.js} +2 -2
- package/dist/bundle/{node-sqlite-UPQCG7DJ.js → node-sqlite-FBCEHPNT.js} +7 -7
- package/dist/bundle/{oauth-MCVEENW3.js → oauth-BFP4SCL5.js} +7 -7
- package/dist/bundle/{open-JMUTKUYJ.js → open-MLU4MHGO.js} +5 -5
- package/dist/bundle/{openai-HT7YDOK7.js → openai-R7WJI6SO.js} +15 -15
- package/dist/bundle/{process-7RC6DAGM.js → process-NMNQLJHZ.js} +1 -1
- package/dist/bundle/{program-3DLBMOEJ.js → program-Z735HPFG.js} +474 -320
- package/dist/bundle/{prompt-7EROPXPF.js → prompt-A6RM55Q4.js} +5 -5
- package/dist/bundle/{recognize-B232GXD2.js → recognize-ORRDV45M.js} +4 -4
- package/dist/bundle/{remote-HGV64VRC.js → remote-UF3WSC4X.js} +9 -9
- package/dist/bundle/{rerank-5S6TDXHD.js → rerank-ZSJORUGH.js} +7 -7
- package/dist/bundle/{schemas-SB42IXEX.js → schemas-EXBNVPMI.js} +1 -1
- package/dist/bundle/{serve-D2WFCV6Z.js → serve-4KBJ6SIA.js} +9 -9
- package/dist/bundle/{server-4AXPTJPV.js → server-IFK4S6LJ.js} +60 -60
- package/dist/bundle/server-MNUAZWTN.js +86 -0
- package/dist/bundle/source-PBCQAG4C.js +426 -0
- package/dist/bundle/{sqlite-runtime-DAFMZNLI.js → sqlite-runtime-XPDUWOPG.js} +6 -6
- package/dist/bundle/{state-7OEBDXVV.js → state-4M26H7NL.js} +6 -6
- package/dist/bundle/{store-2ZWSWF76.js → store-3W4ZOOIB.js} +28 -24
- package/dist/bundle/store-CDY2PW6J.js +34 -0
- package/dist/bundle/{store-KC6US326.js → store-ICTY3RIF.js} +22 -22
- package/dist/bundle/store-maintenance-command-Y7TC3I43.js +73 -0
- package/dist/bundle/surface-4LNDJZD2.js +72 -0
- package/dist/bundle/writer-WGHWQTC2.js +86 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +31 -78
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +2 -0
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +0 -3
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +4 -31
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -10
- package/dist/config.js.map +1 -1
- package/dist/crm/activities.d.ts +6 -1
- package/dist/crm/activities.d.ts.map +1 -1
- package/dist/crm/activities.js +36 -0
- package/dist/crm/activities.js.map +1 -1
- package/dist/crm/writer.d.ts +1 -1
- package/dist/crm/writer.d.ts.map +1 -1
- package/dist/crm/writer.js +69 -1
- package/dist/crm/writer.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +0 -2
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -2
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/hubspot-cli/SKILL.md +10 -5
- package/skills/hubspot-cli/references/api/api-basic.md +2 -2
- package/skills/hubspot-cli/references/api/api-batch.md +2 -2
- package/dist/bundle/agent-RBQMA24N.js +0 -40
- package/dist/bundle/command-contract-O2UKYHLD.js +0 -40
- package/dist/bundle/first-screen-TU3KE2B5.js +0 -40
- package/dist/bundle/meeting-combined-WBEOLQMP.js +0 -25
- package/dist/bundle/server-FFHVNABP.js +0 -86
- package/dist/bundle/source-DF63EC2B.js +0 -945
- package/dist/bundle/store-Q3ZKD4FJ.js +0 -34
- package/dist/bundle/store-maintenance-command-24A4GBRP.js +0 -73
- package/dist/bundle/surface-SPTM57EP.js +0 -72
- package/dist/bundle/writer-EQQ55HOS.js +0 -86
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I75ON7VM.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-67YPTVGP.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PZ3QJDTD.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J4FXBF44.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KKMOKSS5.js";
|
|
26
26
|
import {
|
|
27
27
|
CATEGORIES,
|
|
28
28
|
FACT_STATUSES,
|
|
@@ -67,18 +67,18 @@ import {
|
|
|
67
67
|
typedCommand,
|
|
68
68
|
untrusted,
|
|
69
69
|
useAsProcessRun
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-V7N2K5OT.js";
|
|
71
71
|
import {
|
|
72
72
|
isCliFailure,
|
|
73
73
|
storeDamaged
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-HZIGGAC7.js";
|
|
75
75
|
import {
|
|
76
76
|
endpoint
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-5WDNG4QE.js";
|
|
78
78
|
import {
|
|
79
79
|
filesPresent,
|
|
80
80
|
sharedModelsDirectory
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-CTN4DW2F.js";
|
|
82
82
|
import {
|
|
83
83
|
CEILING_KEY,
|
|
84
84
|
COMMAND_PATH_KEY,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
permissionOverrides,
|
|
93
93
|
projectFields,
|
|
94
94
|
resolveOutput
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-G6LDK6DJ.js";
|
|
96
96
|
import {
|
|
97
97
|
BUSINESS_KINDS,
|
|
98
98
|
CRM_ACTIVITY_KINDS,
|
|
@@ -107,10 +107,10 @@ import {
|
|
|
107
107
|
ORDER_STATUSES,
|
|
108
108
|
RELATION_KINDS,
|
|
109
109
|
STANDINGS
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-RLK2EGQD.js";
|
|
111
111
|
import {
|
|
112
112
|
TAG_TYPES
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-YIH2A2PQ.js";
|
|
114
114
|
import {
|
|
115
115
|
FACT_TYPES,
|
|
116
116
|
FIELD_TYPES,
|
|
@@ -138,14 +138,14 @@ import {
|
|
|
138
138
|
parseLucene,
|
|
139
139
|
readsZone,
|
|
140
140
|
timezoneOf
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-UVGJL753.js";
|
|
142
142
|
import {
|
|
143
143
|
repairConfigText,
|
|
144
144
|
sharedConfigPath
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-MJ24YFXZ.js";
|
|
146
146
|
import {
|
|
147
147
|
storePath
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-2VUIJ5XB.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-2K5BAY32.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-H5HBZCEJ.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-AP3CWDRK.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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.127.0_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.127.0_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.127.0_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.127.0_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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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"];
|
|
@@ -5175,7 +5175,10 @@ var scopes = /* @__PURE__ */ __name((raw) => {
|
|
|
5175
5175
|
return out;
|
|
5176
5176
|
}, "scopes");
|
|
5177
5177
|
var savedPermissionKeys = /* @__PURE__ */ __name((raw) => scopes(raw).flatMap(([path2, scope]) => isNode(scope.permissions) ? Object.keys(scope.permissions).map((key) => ({ key, at: [...path2, "permissions", key] })) : []), "savedPermissionKeys");
|
|
5178
|
-
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2) => saved.filter(({ key }) => !known.has(key)).map(({ at: at2 }) => locate("unknown_permission", at2, context2, (key) =>
|
|
5178
|
+
var permissionIssues = /* @__PURE__ */ __name((saved, known, context2, renamed = /* @__PURE__ */ new Map()) => saved.filter(({ key }) => !known.has(key)).map(({ key: name, at: at2 }) => locate("unknown_permission", at2, context2, (key) => {
|
|
5179
|
+
const now = renamed.get(name);
|
|
5180
|
+
return now === void 0 ? `${key} names no command` : `${key} names no command: its command moved, so rename it to permissions.${now}`;
|
|
5181
|
+
})), "permissionIssues");
|
|
5179
5182
|
var pathId = /* @__PURE__ */ __name((path2) => path2.join("\0"), "pathId");
|
|
5180
5183
|
var prune = /* @__PURE__ */ __name((raw, paths) => {
|
|
5181
5184
|
const drop = new Set(paths.map(pathId));
|
|
@@ -5267,7 +5270,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5267
5270
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5268
5271
|
}, "readConfigFile");
|
|
5269
5272
|
|
|
5270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5271
5274
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5272
5275
|
import { dirname, join as join3 } from "node:path";
|
|
5273
5276
|
var DEFAULT_CONFIG = {
|
|
@@ -5296,7 +5299,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5296
5299
|
}
|
|
5297
5300
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5298
5301
|
|
|
5299
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5300
5303
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5301
5304
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5302
5305
|
const path2 = key.split(".");
|
|
@@ -5318,7 +5321,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5318
5321
|
return { config, added };
|
|
5319
5322
|
}, "withSettingDefaults");
|
|
5320
5323
|
|
|
5321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5322
5325
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5323
5326
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5324
5327
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5846,7 +5849,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5846
5849
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5847
5850
|
}, "given");
|
|
5848
5851
|
|
|
5849
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5850
5853
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
5851
5854
|
const { deadline, signal, app } = environmentOf(command);
|
|
5852
5855
|
const now = deadline?.();
|
|
@@ -6000,7 +6003,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6000
6003
|
return words.join(" ");
|
|
6001
6004
|
}, "commandPath");
|
|
6002
6005
|
|
|
6003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6004
6007
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6005
6008
|
var FETCH = { remote: "read", local: "write" };
|
|
6006
6009
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6137,7 +6140,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6137
6140
|
throw readOnlyRefusal(lock, what);
|
|
6138
6141
|
}, "refuseUnderReadOnly");
|
|
6139
6142
|
|
|
6140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6141
6144
|
var account = strictObject({
|
|
6142
6145
|
provider: text,
|
|
6143
6146
|
id,
|
|
@@ -6147,7 +6150,7 @@ var account = strictObject({
|
|
|
6147
6150
|
scope: optional(picklist(["personal", "work"]))
|
|
6148
6151
|
});
|
|
6149
6152
|
|
|
6150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6151
6154
|
var accountSession = strictObject({
|
|
6152
6155
|
current: boolean(),
|
|
6153
6156
|
client: nullable(text),
|
|
@@ -6157,7 +6160,7 @@ var accountSession = strictObject({
|
|
|
6157
6160
|
created_at: optional(nullable(time))
|
|
6158
6161
|
});
|
|
6159
6162
|
|
|
6160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6161
6164
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6162
6165
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6163
6166
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6186,7 +6189,7 @@ var accountRemoval = strictObject({
|
|
|
6186
6189
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6187
6190
|
});
|
|
6188
6191
|
|
|
6189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6190
6193
|
var accountProfile = strictObject({
|
|
6191
6194
|
profile: id,
|
|
6192
6195
|
current: boolean(),
|
|
@@ -6198,7 +6201,7 @@ var accountProfile = strictObject({
|
|
|
6198
6201
|
bot: optional(literal(true))
|
|
6199
6202
|
});
|
|
6200
6203
|
|
|
6201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6202
6205
|
var milliseconds = pipe(number(), minValue(0));
|
|
6203
6206
|
var counterReading = strictObject({
|
|
6204
6207
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6210,7 +6213,7 @@ var counterReading = strictObject({
|
|
|
6210
6213
|
});
|
|
6211
6214
|
var selection = record(string(), unknown());
|
|
6212
6215
|
|
|
6213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6214
6217
|
var adminRow = strictObject({
|
|
6215
6218
|
ref: reference,
|
|
6216
6219
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6263,7 +6266,7 @@ var adminReport = strictObject({
|
|
|
6263
6266
|
rows: array(adminRow)
|
|
6264
6267
|
});
|
|
6265
6268
|
|
|
6266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6267
6270
|
var closeSuggestion = strictObject({
|
|
6268
6271
|
as: picklist(["done", "dismissed"]),
|
|
6269
6272
|
/** The agent's name. */
|
|
@@ -6325,7 +6328,7 @@ var task = strictObject({
|
|
|
6325
6328
|
updated_at: optional(time)
|
|
6326
6329
|
});
|
|
6327
6330
|
|
|
6328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6329
6332
|
var agendaChat = strictObject({
|
|
6330
6333
|
chat: reference,
|
|
6331
6334
|
title: nullable(text),
|
|
@@ -6395,11 +6398,11 @@ var agenda = strictObject({
|
|
|
6395
6398
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6396
6399
|
});
|
|
6397
6400
|
|
|
6398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6399
6402
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6400
6403
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6401
6404
|
|
|
6402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6403
6406
|
var attachment = strictObject({
|
|
6404
6407
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6405
6408
|
message: optional(reference),
|
|
@@ -6444,7 +6447,7 @@ var hitFile = strictObject({
|
|
|
6444
6447
|
local_path: optional(text)
|
|
6445
6448
|
});
|
|
6446
6449
|
|
|
6447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6448
6451
|
var actionableError = objectWithRest({
|
|
6449
6452
|
code: text,
|
|
6450
6453
|
message: text,
|
|
@@ -6461,7 +6464,7 @@ var batchResult = strictObject({
|
|
|
6461
6464
|
max_error_percent: count
|
|
6462
6465
|
});
|
|
6463
6466
|
|
|
6464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6465
6468
|
var extractionItem = strictObject({
|
|
6466
6469
|
ref: reference,
|
|
6467
6470
|
attachment: count,
|
|
@@ -6494,7 +6497,7 @@ var extractionReport = strictObject({
|
|
|
6494
6497
|
cursor: optional(text)
|
|
6495
6498
|
});
|
|
6496
6499
|
|
|
6497
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6498
6501
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6499
6502
|
var attachmentBytes = strictObject({
|
|
6500
6503
|
ref: reference,
|
|
@@ -6525,7 +6528,7 @@ var attachmentTextChange = strictObject({
|
|
|
6525
6528
|
text: optional(text)
|
|
6526
6529
|
});
|
|
6527
6530
|
|
|
6528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6529
6532
|
var WEIGHTS = {
|
|
6530
6533
|
bot: 3,
|
|
6531
6534
|
scam: 3,
|
|
@@ -6550,7 +6553,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6550
6553
|
var DIGITS = /\d{5,}/;
|
|
6551
6554
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6552
6555
|
|
|
6553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6554
6557
|
var linkedIdentity = strictObject({
|
|
6555
6558
|
provider: text,
|
|
6556
6559
|
id,
|
|
@@ -6605,7 +6608,7 @@ var contactCheck = strictObject({
|
|
|
6605
6608
|
checked_at: time
|
|
6606
6609
|
});
|
|
6607
6610
|
|
|
6608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6609
6612
|
var member = strictObject({
|
|
6610
6613
|
id,
|
|
6611
6614
|
name: nullable(text),
|
|
@@ -6628,7 +6631,7 @@ var member = strictObject({
|
|
|
6628
6631
|
check: optional(record(string(), unknown()))
|
|
6629
6632
|
});
|
|
6630
6633
|
|
|
6631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6632
6635
|
var setting = optional(nullable(boolean()));
|
|
6633
6636
|
var chat = strictObject({
|
|
6634
6637
|
ref: reference,
|
|
@@ -6669,7 +6672,7 @@ var chat = strictObject({
|
|
|
6669
6672
|
members: optional(array(member))
|
|
6670
6673
|
});
|
|
6671
6674
|
|
|
6672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6673
6676
|
var quoted = strictObject({
|
|
6674
6677
|
id,
|
|
6675
6678
|
sender_id: nullable(id),
|
|
@@ -6790,7 +6793,7 @@ var message = strictObject({
|
|
|
6790
6793
|
provider_metadata: providerMetadata
|
|
6791
6794
|
});
|
|
6792
6795
|
|
|
6793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
6794
6797
|
var recordedMeeting = strictObject({
|
|
6795
6798
|
ref: reference,
|
|
6796
6799
|
meeting_id: count,
|
|
@@ -6807,7 +6810,7 @@ var recordedMeeting = strictObject({
|
|
|
6807
6810
|
call: optional(meetingCall)
|
|
6808
6811
|
});
|
|
6809
6812
|
|
|
6810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
6811
6814
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
6812
6815
|
var contextMessage = strictObject({
|
|
6813
6816
|
locator: reference,
|
|
@@ -7013,7 +7016,7 @@ var contactPreparation = strictObject({
|
|
|
7013
7016
|
})
|
|
7014
7017
|
});
|
|
7015
7018
|
|
|
7016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7017
7020
|
var nullableText = nullable(text);
|
|
7018
7021
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7019
7022
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7169,7 +7172,7 @@ var stage = strictObject({
|
|
|
7169
7172
|
untrusted
|
|
7170
7173
|
});
|
|
7171
7174
|
|
|
7172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7175
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7173
7176
|
var nullableText2 = nullable(text);
|
|
7174
7177
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7175
7178
|
var standing = picklist(STANDINGS);
|
|
@@ -7348,7 +7351,7 @@ var dealBrief = strictObject({
|
|
|
7348
7351
|
not_read: coverage2.entries.not_read
|
|
7349
7352
|
});
|
|
7350
7353
|
|
|
7351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7352
7355
|
var chart = strictObject({
|
|
7353
7356
|
version: literal(1),
|
|
7354
7357
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7363,7 +7366,7 @@ var chart = strictObject({
|
|
|
7363
7366
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7364
7367
|
});
|
|
7365
7368
|
|
|
7366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7367
7370
|
var named = strictObject({
|
|
7368
7371
|
id,
|
|
7369
7372
|
title: nullable(text),
|
|
@@ -7386,7 +7389,7 @@ var folder = strictObject({
|
|
|
7386
7389
|
excluded_chats: optional(array(named))
|
|
7387
7390
|
});
|
|
7388
7391
|
|
|
7389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7390
7393
|
var inviteLink = strictObject({
|
|
7391
7394
|
link: text,
|
|
7392
7395
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7402,7 +7405,7 @@ var inviteLink = strictObject({
|
|
|
7402
7405
|
joined_count: optional(count)
|
|
7403
7406
|
});
|
|
7404
7407
|
|
|
7405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7406
7409
|
var operated = { operation_id: id, chat_id: id };
|
|
7407
7410
|
var group = strictObject({
|
|
7408
7411
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7482,7 +7485,7 @@ var chatFolderOrder = strictObject({
|
|
|
7482
7485
|
folders: array(strictObject({ id, title: text }))
|
|
7483
7486
|
});
|
|
7484
7487
|
|
|
7485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7486
7489
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7487
7490
|
var chatRemoval = strictObject(operated2);
|
|
7488
7491
|
var chatMuting = strictObject({
|
|
@@ -7493,7 +7496,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7493
7496
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7494
7497
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7495
7498
|
|
|
7496
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7499
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7497
7500
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7498
7501
|
var chatEvent = strictObject({
|
|
7499
7502
|
chat_id: id,
|
|
@@ -7510,7 +7513,7 @@ var chatEvent = strictObject({
|
|
|
7510
7513
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7511
7514
|
});
|
|
7512
7515
|
|
|
7513
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7514
7517
|
var chatMetadata = strictObject({
|
|
7515
7518
|
chat_id: id,
|
|
7516
7519
|
title: nullable(text),
|
|
@@ -7525,7 +7528,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7525
7528
|
has_more: boolean()
|
|
7526
7529
|
});
|
|
7527
7530
|
|
|
7528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7529
7532
|
var action = picklist(["report", "delete", "remove"]);
|
|
7530
7533
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7531
7534
|
var chatRules = strictObject({
|
|
@@ -7562,7 +7565,7 @@ var chatModeration = strictObject({
|
|
|
7562
7565
|
}))
|
|
7563
7566
|
});
|
|
7564
7567
|
|
|
7565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
7566
7569
|
var chatSending = strictObject({
|
|
7567
7570
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
7568
7571
|
meaning: text,
|
|
@@ -7572,7 +7575,7 @@ var chatSending = strictObject({
|
|
|
7572
7575
|
changed: optional(boolean())
|
|
7573
7576
|
});
|
|
7574
7577
|
|
|
7575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7576
7579
|
var optionalCount = optional(count);
|
|
7577
7580
|
var minutes = nullable(number());
|
|
7578
7581
|
var chatStats = strictObject({
|
|
@@ -7648,7 +7651,7 @@ var taskStats = strictObject({
|
|
|
7648
7651
|
}))
|
|
7649
7652
|
});
|
|
7650
7653
|
|
|
7651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7652
7655
|
var memberCount = strictObject({
|
|
7653
7656
|
day: pipe(text, isoDate()),
|
|
7654
7657
|
participants: nullable(count),
|
|
@@ -7671,7 +7674,7 @@ var chatTracking = strictObject({
|
|
|
7671
7674
|
tracked: boolean()
|
|
7672
7675
|
});
|
|
7673
7676
|
|
|
7674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7675
7678
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7676
7679
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7677
7680
|
var profileFields = {
|
|
@@ -7709,7 +7712,7 @@ var profileFields = {
|
|
|
7709
7712
|
}))
|
|
7710
7713
|
};
|
|
7711
7714
|
|
|
7712
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7713
7716
|
var contact = strictObject({
|
|
7714
7717
|
ref: reference,
|
|
7715
7718
|
id,
|
|
@@ -7740,7 +7743,7 @@ var contact = strictObject({
|
|
|
7740
7743
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7741
7744
|
});
|
|
7742
7745
|
|
|
7743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7744
7747
|
var contactNote = strictObject({
|
|
7745
7748
|
id,
|
|
7746
7749
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7752,13 +7755,13 @@ var contactNote = strictObject({
|
|
|
7752
7755
|
updated_at: time
|
|
7753
7756
|
});
|
|
7754
7757
|
|
|
7755
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7756
7759
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7757
7760
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7758
7761
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7759
7762
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7760
7763
|
|
|
7761
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7762
7765
|
var conversation = strictObject({
|
|
7763
7766
|
id,
|
|
7764
7767
|
chat: reference,
|
|
@@ -7773,7 +7776,7 @@ var conversation = strictObject({
|
|
|
7773
7776
|
rules_version: count
|
|
7774
7777
|
});
|
|
7775
7778
|
|
|
7776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7777
7780
|
var conversationBuild = strictObject({
|
|
7778
7781
|
chat: id,
|
|
7779
7782
|
messages: count,
|
|
@@ -7798,7 +7801,7 @@ var catchUpPreparation = strictObject({
|
|
|
7798
7801
|
prepared: optional(conversationPreparation)
|
|
7799
7802
|
});
|
|
7800
7803
|
|
|
7801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7802
7805
|
var conversationDetails = union([
|
|
7803
7806
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7804
7807
|
message
|
|
@@ -7885,10 +7888,15 @@ var conversationHit = strictObject({
|
|
|
7885
7888
|
score: nullable(number()),
|
|
7886
7889
|
matched_in: optional(literal("context")),
|
|
7887
7890
|
by: array(picklist(["meaning", "words"])),
|
|
7888
|
-
stale: boolean()
|
|
7891
|
+
stale: boolean(),
|
|
7892
|
+
/** Up to three of the chunk's messages as "sender: text": what the hit says, without opening it. */
|
|
7893
|
+
lines: optional(array(text)),
|
|
7894
|
+
/** In the block of the owner's own conversations, which the hits before it left out. */
|
|
7895
|
+
from_owner: optional(literal(true)),
|
|
7896
|
+
untrusted
|
|
7889
7897
|
});
|
|
7890
7898
|
|
|
7891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
7892
7900
|
var counters = strictObject({
|
|
7893
7901
|
cutoff: time,
|
|
7894
7902
|
max_age_ms: milliseconds,
|
|
@@ -7918,7 +7926,7 @@ var counterRefresh = strictObject({
|
|
|
7918
7926
|
complete: optional(boolean())
|
|
7919
7927
|
});
|
|
7920
7928
|
|
|
7921
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
7922
7930
|
var document = strictObject({
|
|
7923
7931
|
ref: reference,
|
|
7924
7932
|
id,
|
|
@@ -7933,7 +7941,7 @@ var document = strictObject({
|
|
|
7933
7941
|
owners: optional(array(text))
|
|
7934
7942
|
});
|
|
7935
7943
|
|
|
7936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
7937
7945
|
var documentLink = strictObject({
|
|
7938
7946
|
ref: reference,
|
|
7939
7947
|
url: text,
|
|
@@ -7944,7 +7952,7 @@ var documentLink = strictObject({
|
|
|
7944
7952
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7945
7953
|
});
|
|
7946
7954
|
|
|
7947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
7948
7956
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7949
7957
|
var contribution = strictObject({
|
|
7950
7958
|
message: evidenceMessage,
|
|
@@ -7974,7 +7982,7 @@ var retentionStay = strictObject({
|
|
|
7974
7982
|
});
|
|
7975
7983
|
var evidence = union([contribution, retentionStay]);
|
|
7976
7984
|
|
|
7977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
7978
7986
|
var fact = strictObject({
|
|
7979
7987
|
ref: reference,
|
|
7980
7988
|
id,
|
|
@@ -8005,7 +8013,7 @@ var fact = strictObject({
|
|
|
8005
8013
|
updated_at: time
|
|
8006
8014
|
});
|
|
8007
8015
|
|
|
8008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8009
8017
|
var hit = strictObject({
|
|
8010
8018
|
kind: picklist([
|
|
8011
8019
|
"message",
|
|
@@ -8017,6 +8025,9 @@ var hit = strictObject({
|
|
|
8017
8025
|
"deal",
|
|
8018
8026
|
"lead",
|
|
8019
8027
|
"crm_file",
|
|
8028
|
+
"issue",
|
|
8029
|
+
"project",
|
|
8030
|
+
"issue_comment",
|
|
8020
8031
|
...BUSINESS_KINDS
|
|
8021
8032
|
]),
|
|
8022
8033
|
ref: reference,
|
|
@@ -8064,7 +8075,7 @@ var hit = strictObject({
|
|
|
8064
8075
|
untrusted
|
|
8065
8076
|
});
|
|
8066
8077
|
|
|
8067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8068
8079
|
var identity = strictObject({
|
|
8069
8080
|
ref: reference,
|
|
8070
8081
|
provider: text,
|
|
@@ -8080,7 +8091,7 @@ var identity = strictObject({
|
|
|
8080
8091
|
person: optional(nullable(reference))
|
|
8081
8092
|
});
|
|
8082
8093
|
|
|
8083
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8084
8095
|
var imageEmbedding = strictObject({
|
|
8085
8096
|
model: text,
|
|
8086
8097
|
embedded: count,
|
|
@@ -8089,13 +8100,13 @@ var imageEmbedding = strictObject({
|
|
|
8089
8100
|
more: boolean()
|
|
8090
8101
|
});
|
|
8091
8102
|
|
|
8092
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8093
8104
|
import { spawn } from "node:child_process";
|
|
8094
8105
|
import { randomBytes } from "node:crypto";
|
|
8095
8106
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8096
8107
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8097
8108
|
|
|
8098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8099
8110
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8100
8111
|
const total = input.total ?? null;
|
|
8101
8112
|
const updated = input.updatedAt ?? null;
|
|
@@ -8126,7 +8137,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8126
8137
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8127
8138
|
}, "progressLine");
|
|
8128
8139
|
|
|
8129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8130
8141
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8131
8142
|
const run = currentRun();
|
|
8132
8143
|
const trace = traceId ?? run.traceId;
|
|
@@ -8140,7 +8151,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8140
8151
|
}));
|
|
8141
8152
|
}, "recordLogFor");
|
|
8142
8153
|
|
|
8143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8144
8155
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8145
8156
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8146
8157
|
const out = openSync(log, "a", 384);
|
|
@@ -8295,7 +8306,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8295
8306
|
return { job: id6, pid, chat: input.chat, log };
|
|
8296
8307
|
}, "startArchiveJob");
|
|
8297
8308
|
|
|
8298
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8309
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8299
8310
|
var problem = strictObject({ code: text, message: text });
|
|
8300
8311
|
var job = strictObject({
|
|
8301
8312
|
id,
|
|
@@ -8318,7 +8329,7 @@ var job = strictObject({
|
|
|
8318
8329
|
error: optional(problem)
|
|
8319
8330
|
});
|
|
8320
8331
|
|
|
8321
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8322
8333
|
var joinRequest = strictObject({
|
|
8323
8334
|
person_id: id,
|
|
8324
8335
|
name: nullable(text),
|
|
@@ -8329,7 +8340,7 @@ var joinRequest = strictObject({
|
|
|
8329
8340
|
about: optional(text)
|
|
8330
8341
|
});
|
|
8331
8342
|
|
|
8332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8333
8344
|
var botProfile = strictObject({
|
|
8334
8345
|
name: text,
|
|
8335
8346
|
token: text,
|
|
@@ -8453,7 +8464,7 @@ var stickerInventory = strictObject({
|
|
|
8453
8464
|
url: optional(nullable(text))
|
|
8454
8465
|
});
|
|
8455
8466
|
|
|
8456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8457
8468
|
var pollVote = strictObject({
|
|
8458
8469
|
person_id: id,
|
|
8459
8470
|
name: nullable(text),
|
|
@@ -8463,7 +8474,7 @@ var pollVote = strictObject({
|
|
|
8463
8474
|
voted_at: time
|
|
8464
8475
|
});
|
|
8465
8476
|
|
|
8466
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8467
8478
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8468
8479
|
var observation = strictObject({
|
|
8469
8480
|
value: pipe(number(), minValue(0)),
|
|
@@ -8505,7 +8516,7 @@ var serveSummary = strictObject({
|
|
|
8505
8516
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8506
8517
|
});
|
|
8507
8518
|
|
|
8508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8519
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8509
8520
|
var mailCounts = strictObject({
|
|
8510
8521
|
by: picklist(["day", "week", "sender"]),
|
|
8511
8522
|
received: count,
|
|
@@ -8520,7 +8531,7 @@ var mailCounts = strictObject({
|
|
|
8520
8531
|
}))
|
|
8521
8532
|
});
|
|
8522
8533
|
|
|
8523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8524
8535
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8525
8536
|
var base = { id, evidence: array(evidence2) };
|
|
8526
8537
|
var finding = variant("kind", [
|
|
@@ -8664,7 +8675,7 @@ var mailFindings = strictObject({
|
|
|
8664
8675
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8665
8676
|
});
|
|
8666
8677
|
|
|
8667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8668
8679
|
var mediaArchive = strictObject({
|
|
8669
8680
|
directory: text,
|
|
8670
8681
|
chats: count,
|
|
@@ -8696,7 +8707,7 @@ var mediaArchiveTimer = union([
|
|
|
8696
8707
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8697
8708
|
]);
|
|
8698
8709
|
|
|
8699
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8700
8711
|
var preparationId = pipe(string(), minLength(1));
|
|
8701
8712
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8702
8713
|
var preparationTime = nullable(isoTime);
|
|
@@ -8788,7 +8799,7 @@ var preparationMeeting = strictObject({
|
|
|
8788
8799
|
updated_at: isoTime
|
|
8789
8800
|
});
|
|
8790
8801
|
|
|
8791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8792
8803
|
var meetingEvidence = preparationEvidence;
|
|
8793
8804
|
var meetingPersonContext = strictObject({
|
|
8794
8805
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8810,7 +8821,7 @@ var meetingPersonContext = strictObject({
|
|
|
8810
8821
|
})
|
|
8811
8822
|
});
|
|
8812
8823
|
|
|
8813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8814
8825
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8815
8826
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8816
8827
|
var finding2 = variant("kind", [
|
|
@@ -8848,7 +8859,7 @@ var meetingFindings = strictObject({
|
|
|
8848
8859
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8849
8860
|
});
|
|
8850
8861
|
|
|
8851
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8852
8863
|
var communicationCoverage = strictObject({
|
|
8853
8864
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8854
8865
|
query: string(),
|
|
@@ -8893,7 +8904,7 @@ var preparationCommunications = strictObject({
|
|
|
8893
8904
|
}))
|
|
8894
8905
|
});
|
|
8895
8906
|
|
|
8896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8907
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8897
8908
|
var meetingPreparation = strictObject({
|
|
8898
8909
|
communications: optional(preparationCommunications),
|
|
8899
8910
|
schema_version: literal(1),
|
|
@@ -9006,7 +9017,7 @@ var meetingPreparation = strictObject({
|
|
|
9006
9017
|
})
|
|
9007
9018
|
});
|
|
9008
9019
|
|
|
9009
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9010
9021
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9011
9022
|
var id3 = pipe(string(), minLength(1));
|
|
9012
9023
|
var text3 = string();
|
|
@@ -9070,7 +9081,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9070
9081
|
})
|
|
9071
9082
|
});
|
|
9072
9083
|
|
|
9073
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9084
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9074
9085
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9075
9086
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9076
9087
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9100,7 +9111,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9100
9111
|
})
|
|
9101
9112
|
});
|
|
9102
9113
|
|
|
9103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9104
9115
|
var text4 = string();
|
|
9105
9116
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9106
9117
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9117,7 +9128,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9117
9128
|
persistence: literal("proposal-only")
|
|
9118
9129
|
});
|
|
9119
9130
|
|
|
9120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9121
9132
|
var memory = strictObject({
|
|
9122
9133
|
ref: reference,
|
|
9123
9134
|
id,
|
|
@@ -9145,7 +9156,7 @@ var memory = strictObject({
|
|
|
9145
9156
|
updated_at: time
|
|
9146
9157
|
});
|
|
9147
9158
|
|
|
9148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9149
9160
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9150
9161
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9151
9162
|
var mention = strictObject({
|
|
@@ -9189,7 +9200,7 @@ var mentionRebuild = strictObject({
|
|
|
9189
9200
|
mentions: count
|
|
9190
9201
|
});
|
|
9191
9202
|
|
|
9192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9193
9204
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9194
9205
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9195
9206
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9198,7 +9209,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9198
9209
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9199
9210
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9200
9211
|
|
|
9201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9202
9213
|
var messageTranscript = strictObject({
|
|
9203
9214
|
message_id: id,
|
|
9204
9215
|
text,
|
|
@@ -9256,7 +9267,7 @@ var evidencePacket = strictObject({
|
|
|
9256
9267
|
}))
|
|
9257
9268
|
});
|
|
9258
9269
|
|
|
9259
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9260
9271
|
var messageThread = strictObject({
|
|
9261
9272
|
ref: reference,
|
|
9262
9273
|
chat: id,
|
|
@@ -9273,7 +9284,7 @@ var messageThread = strictObject({
|
|
|
9273
9284
|
});
|
|
9274
9285
|
var messageContext = union([message, messageThread]);
|
|
9275
9286
|
|
|
9276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9277
9288
|
var messageCounts = strictObject({
|
|
9278
9289
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9279
9290
|
total: count,
|
|
@@ -9286,7 +9297,7 @@ var messageCounts = strictObject({
|
|
|
9286
9297
|
}))
|
|
9287
9298
|
});
|
|
9288
9299
|
|
|
9289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9290
9301
|
var messageLink = strictObject({
|
|
9291
9302
|
ref: reference,
|
|
9292
9303
|
url: nullable(text),
|
|
@@ -9303,7 +9314,7 @@ var messageLink = strictObject({
|
|
|
9303
9314
|
})))
|
|
9304
9315
|
});
|
|
9305
9316
|
|
|
9306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9307
9318
|
var savedMessageFile = strictObject({
|
|
9308
9319
|
kind: text,
|
|
9309
9320
|
path: text,
|
|
@@ -9390,7 +9401,7 @@ var messageSyncAll = strictObject({
|
|
|
9390
9401
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9391
9402
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9392
9403
|
|
|
9393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9394
9405
|
var messageWrite = strictObject({
|
|
9395
9406
|
operation_id: id,
|
|
9396
9407
|
message,
|
|
@@ -9405,7 +9416,7 @@ var draftWrite = strictObject({
|
|
|
9405
9416
|
});
|
|
9406
9417
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9407
9418
|
|
|
9408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9419
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9409
9420
|
var model2 = strictObject({
|
|
9410
9421
|
id,
|
|
9411
9422
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9440,7 +9451,7 @@ var chosenModel = strictObject({
|
|
|
9440
9451
|
estimate_seconds: nullable(count)
|
|
9441
9452
|
});
|
|
9442
9453
|
|
|
9443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9444
9455
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9445
9456
|
var modelKey = strictObject({
|
|
9446
9457
|
provider: text,
|
|
@@ -9450,7 +9461,7 @@ var modelKey = strictObject({
|
|
|
9450
9461
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9451
9462
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9452
9463
|
|
|
9453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9464
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9454
9465
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9455
9466
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9456
9467
|
var graph = strictObject({
|
|
@@ -9484,14 +9495,14 @@ var officialStats = strictObject({
|
|
|
9484
9495
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9485
9496
|
});
|
|
9486
9497
|
|
|
9487
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9488
9499
|
var person2 = strictObject({
|
|
9489
9500
|
ref: reference,
|
|
9490
9501
|
name: nullable(text),
|
|
9491
9502
|
identities: optional(array(identity))
|
|
9492
9503
|
});
|
|
9493
9504
|
|
|
9494
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9495
9506
|
var poll = strictObject({
|
|
9496
9507
|
chat_id: id,
|
|
9497
9508
|
message_id: id,
|
|
@@ -9507,11 +9518,11 @@ var poll = strictObject({
|
|
|
9507
9518
|
});
|
|
9508
9519
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9509
9520
|
|
|
9510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9511
9522
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9512
9523
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9513
9524
|
|
|
9514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9525
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9515
9526
|
var figures = record(string(), number());
|
|
9516
9527
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9517
9528
|
var rankingRow = strictObject({
|
|
@@ -9558,7 +9569,7 @@ var ranking = strictObject({
|
|
|
9558
9569
|
rows: array(rankingRow)
|
|
9559
9570
|
});
|
|
9560
9571
|
|
|
9561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9562
9573
|
var reaction = strictObject({
|
|
9563
9574
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9564
9575
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9566,7 +9577,7 @@ var reaction = strictObject({
|
|
|
9566
9577
|
reacted_at: time
|
|
9567
9578
|
});
|
|
9568
9579
|
|
|
9569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9580
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9570
9581
|
var reactionChange = strictObject({
|
|
9571
9582
|
operation_id: id,
|
|
9572
9583
|
chat_id: id,
|
|
@@ -9574,7 +9585,7 @@ var reactionChange = strictObject({
|
|
|
9574
9585
|
reaction: nullable(text)
|
|
9575
9586
|
});
|
|
9576
9587
|
|
|
9577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9588
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9578
9589
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9579
9590
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9580
9591
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9585,7 +9596,7 @@ var recipientChange = strictObject({
|
|
|
9585
9596
|
...partial(recipientOff).entries
|
|
9586
9597
|
});
|
|
9587
9598
|
|
|
9588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9599
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9589
9600
|
var events = array(record(string(), unknown()));
|
|
9590
9601
|
var recordedRun = strictObject({
|
|
9591
9602
|
run_id: id,
|
|
@@ -9657,7 +9668,7 @@ var runHit = strictObject({
|
|
|
9657
9668
|
});
|
|
9658
9669
|
var runLocation = strictObject({ path: text });
|
|
9659
9670
|
|
|
9660
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9671
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9661
9672
|
var relationship = strictObject({
|
|
9662
9673
|
id,
|
|
9663
9674
|
from: reference,
|
|
@@ -9684,7 +9695,7 @@ var relationship = strictObject({
|
|
|
9684
9695
|
created_at: time
|
|
9685
9696
|
});
|
|
9686
9697
|
|
|
9687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9688
9699
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9689
9700
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9690
9701
|
var responseTimes = strictObject({
|
|
@@ -9701,7 +9712,7 @@ var waitingChats = strictObject({
|
|
|
9701
9712
|
by_kind: strictObject({ private: count, group: count })
|
|
9702
9713
|
});
|
|
9703
9714
|
|
|
9704
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9705
9716
|
var retentionCohort = strictObject({
|
|
9706
9717
|
/** The first day of the joining day or week. */
|
|
9707
9718
|
cohort: text,
|
|
@@ -9749,7 +9760,7 @@ var retention = strictObject({
|
|
|
9749
9760
|
rows: array(retentionCohort)
|
|
9750
9761
|
});
|
|
9751
9762
|
|
|
9752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9753
9764
|
var savedSearch = strictObject({
|
|
9754
9765
|
id,
|
|
9755
9766
|
/** `null` for a run in the history. */
|
|
@@ -9766,7 +9777,7 @@ var savedSearch = strictObject({
|
|
|
9766
9777
|
});
|
|
9767
9778
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9768
9779
|
|
|
9769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9770
9781
|
var sendAttempt = strictObject({
|
|
9771
9782
|
at: time,
|
|
9772
9783
|
profile: text,
|
|
@@ -9794,7 +9805,7 @@ var sendAttempt = strictObject({
|
|
|
9794
9805
|
error_code: optional(text)
|
|
9795
9806
|
});
|
|
9796
9807
|
|
|
9797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9798
9809
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9799
9810
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9800
9811
|
var infoSchema = strictObject({
|
|
@@ -10024,7 +10035,7 @@ var storeRepair = union([
|
|
|
10024
10035
|
]);
|
|
10025
10036
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10026
10037
|
|
|
10027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10028
10039
|
var range = strictObject({ from: number(), to: number() });
|
|
10029
10040
|
var storeChatStatus = strictObject({
|
|
10030
10041
|
chat_id: id,
|
|
@@ -10122,7 +10133,7 @@ var storeJobRetry = union([
|
|
|
10122
10133
|
]);
|
|
10123
10134
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10124
10135
|
|
|
10125
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10126
10137
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10127
10138
|
var storeTable = strictObject({
|
|
10128
10139
|
name: text,
|
|
@@ -10131,7 +10142,7 @@ var storeTable = strictObject({
|
|
|
10131
10142
|
bytes: optional(nullable(count))
|
|
10132
10143
|
});
|
|
10133
10144
|
|
|
10134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10135
10146
|
var tagTarget = variant("type", [
|
|
10136
10147
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10137
10148
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10162,7 +10173,7 @@ var automaticTags = strictObject({
|
|
|
10162
10173
|
dry_run: boolean()
|
|
10163
10174
|
});
|
|
10164
10175
|
|
|
10165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10176
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10166
10177
|
var tagging = strictObject({
|
|
10167
10178
|
tag: text,
|
|
10168
10179
|
type: picklist(TAG_TYPES),
|
|
@@ -10175,7 +10186,7 @@ var tagging = strictObject({
|
|
|
10175
10186
|
created_at: time
|
|
10176
10187
|
});
|
|
10177
10188
|
|
|
10178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10179
10190
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10180
10191
|
var taskPair = strictObject({
|
|
10181
10192
|
task: nullable(side),
|
|
@@ -10198,7 +10209,7 @@ var taskPair = strictObject({
|
|
|
10198
10209
|
created_at: time
|
|
10199
10210
|
});
|
|
10200
10211
|
|
|
10201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10202
10213
|
var nullableTime = nullable(time);
|
|
10203
10214
|
var link = strictObject({
|
|
10204
10215
|
id,
|
|
@@ -10372,7 +10383,7 @@ var taskReview = strictObject({
|
|
|
10372
10383
|
untrusted
|
|
10373
10384
|
});
|
|
10374
10385
|
|
|
10375
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10376
10387
|
var template = strictObject({
|
|
10377
10388
|
key: text,
|
|
10378
10389
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10384,7 +10395,7 @@ var template = strictObject({
|
|
|
10384
10395
|
updated_by: nullable(text)
|
|
10385
10396
|
});
|
|
10386
10397
|
|
|
10387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10388
10399
|
var topic = strictObject({
|
|
10389
10400
|
id,
|
|
10390
10401
|
title: text,
|
|
@@ -10398,7 +10409,7 @@ var topic = strictObject({
|
|
|
10398
10409
|
untrusted
|
|
10399
10410
|
});
|
|
10400
10411
|
|
|
10401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10412
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10402
10413
|
var ENTITIES = {
|
|
10403
10414
|
sync_progress: progress,
|
|
10404
10415
|
deal,
|
|
@@ -10700,7 +10711,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10700
10711
|
return [name, definition];
|
|
10701
10712
|
})), "entityDefinitions");
|
|
10702
10713
|
|
|
10703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10714
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10704
10715
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10705
10716
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10706
10717
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10734,7 +10745,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10734
10745
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10735
10746
|
}, "answerRow");
|
|
10736
10747
|
|
|
10737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10738
10749
|
import { join as join5 } from "node:path";
|
|
10739
10750
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10740
10751
|
var IMAGE_MODELS = [
|
|
@@ -10788,7 +10799,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10788
10799
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10789
10800
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10790
10801
|
|
|
10791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10792
10803
|
var STEPS2 = defineSteps([
|
|
10793
10804
|
...STEPS,
|
|
10794
10805
|
{
|
|
@@ -11036,6 +11047,20 @@ var rootOf2 = /* @__PURE__ */ __name((command) => {
|
|
|
11036
11047
|
root = root.parent;
|
|
11037
11048
|
return root;
|
|
11038
11049
|
}, "rootOf");
|
|
11050
|
+
var typedCommandPath = /* @__PURE__ */ __name((program2, rest) => {
|
|
11051
|
+
const words = [];
|
|
11052
|
+
let current2 = program2;
|
|
11053
|
+
for (const token of rest) {
|
|
11054
|
+
if (token.startsWith("-"))
|
|
11055
|
+
continue;
|
|
11056
|
+
const next = current2.commands.find((one) => one.name() === token || one.aliases().includes(token));
|
|
11057
|
+
if (!next)
|
|
11058
|
+
break;
|
|
11059
|
+
words.push(token);
|
|
11060
|
+
current2 = next;
|
|
11061
|
+
}
|
|
11062
|
+
return words.join(" ");
|
|
11063
|
+
}, "typedCommandPath");
|
|
11039
11064
|
var commandAt = /* @__PURE__ */ __name((root, path2) => {
|
|
11040
11065
|
let at2 = root;
|
|
11041
11066
|
for (const word of path2.split(" "))
|
|
@@ -11078,7 +11103,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11078
11103
|
].join(" ");
|
|
11079
11104
|
}, "stepLine");
|
|
11080
11105
|
|
|
11081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11082
11107
|
var where = [{ field: "ref" }];
|
|
11083
11108
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11084
11109
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11170,7 +11195,7 @@ var STATUS_ROWS = {
|
|
|
11170
11195
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11171
11196
|
};
|
|
11172
11197
|
|
|
11173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11174
11199
|
var TEXT_CHARS = 400;
|
|
11175
11200
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11176
11201
|
var messageRow = {
|
|
@@ -11538,7 +11563,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11538
11563
|
return lines.concat(footerOf(body)).join("\n");
|
|
11539
11564
|
}, "compactText");
|
|
11540
11565
|
|
|
11541
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11542
11567
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11543
11568
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11544
11569
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11596,7 +11621,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11596
11621
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11597
11622
|
}, "largeAnswerSteps");
|
|
11598
11623
|
|
|
11599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11624
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11600
11625
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11601
11626
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11602
11627
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11610,7 +11635,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11610
11635
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11611
11636
|
}, "strip");
|
|
11612
11637
|
|
|
11613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11614
11639
|
var OPEN = "\u27E6";
|
|
11615
11640
|
var CLOSE = "\u27E7";
|
|
11616
11641
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11679,6 +11704,8 @@ var MESSAGE_UNTRUSTED = [
|
|
|
11679
11704
|
"bcc.name",
|
|
11680
11705
|
"reply_addresses.name"
|
|
11681
11706
|
];
|
|
11707
|
+
var CHAT_UNTRUSTED = ["title", "description"];
|
|
11708
|
+
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11682
11709
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11683
11710
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11684
11711
|
DECLARED.set(command, fields);
|
|
@@ -11698,7 +11725,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11698
11725
|
return result;
|
|
11699
11726
|
}, "withFieldsMarked");
|
|
11700
11727
|
|
|
11701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11702
11729
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11703
11730
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11704
11731
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12070,6 +12097,7 @@ export {
|
|
|
12070
12097
|
nextStep,
|
|
12071
12098
|
lineOf,
|
|
12072
12099
|
rootOf2,
|
|
12100
|
+
typedCommandPath,
|
|
12073
12101
|
commandAt,
|
|
12074
12102
|
runnable,
|
|
12075
12103
|
failureSteps,
|
|
@@ -12078,7 +12106,10 @@ export {
|
|
|
12078
12106
|
tooLargeSteps,
|
|
12079
12107
|
withoutProviderRefs,
|
|
12080
12108
|
runMarkOf,
|
|
12109
|
+
marked,
|
|
12081
12110
|
withUntrustedMarked,
|
|
12111
|
+
CHAT_UNTRUSTED,
|
|
12112
|
+
CONTACT_UNTRUSTED,
|
|
12082
12113
|
marksUntrusted,
|
|
12083
12114
|
answerSchema,
|
|
12084
12115
|
listOf,
|