@wirecat/hubspot-cli 0.6.0 → 0.7.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 +22 -0
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-JXICB6TB.js +40 -0
- package/dist/bundle/{all-profiles-HFVXPMF6.js → all-profiles-GVEX5MXB.js} +7 -7
- package/dist/bundle/{anthropic-VE6WR6IN.js → anthropic-GK6VBQUD.js} +2 -2
- package/dist/bundle/{app-server-GZ4DCQK7.js → app-server-JRROE463.js} +60 -60
- package/dist/bundle/{bun-2DHMKD34.js → bun-B7XTFPUF.js} +2 -2
- package/dist/bundle/{bun-sqlite-T5XTYL7L.js → bun-sqlite-QSNZ2YP4.js} +3 -3
- package/dist/bundle/{chunk-6DABKZYH.js → chunk-2FLLS5IL.js} +34 -20
- package/dist/bundle/{chunk-UVGJL753.js → chunk-2HSYAKWO.js} +51 -51
- package/dist/bundle/{chunk-PDVMYIBP.js → chunk-2IRBXFIU.js} +1166 -599
- package/dist/bundle/{chunk-YIH2A2PQ.js → chunk-2PCVKD27.js} +1 -1
- package/dist/bundle/{chunk-VR2CJFVL.js → chunk-2V5KOOJV.js} +7 -7
- package/dist/bundle/{chunk-5O5WYSSO.js → chunk-4F62XXF6.js} +495 -375
- package/dist/bundle/{chunk-67YPTVGP.js → chunk-4HZQ5UIY.js} +2 -2
- package/dist/bundle/{chunk-5WDNG4QE.js → chunk-4LHNA6LJ.js} +1 -1
- package/dist/bundle/{chunk-THGAVPRA.js → chunk-52NC5E42.js} +10 -10
- package/dist/bundle/{chunk-XRFYVVFU.js → chunk-5AVU5SF6.js} +1 -1
- package/dist/bundle/{chunk-UCGZRZJA.js → chunk-5EJ3C3JG.js} +1 -1
- package/dist/bundle/{chunk-3W5R3XAH.js → chunk-5ISQ4KJM.js} +6 -6
- package/dist/bundle/{chunk-CU76ZACK.js → chunk-5MFZYHPO.js} +2 -2
- package/dist/bundle/{chunk-K4Y2ZWOO.js → chunk-63YWTFZF.js} +3 -3
- package/dist/bundle/{chunk-GWXTVO43.js → chunk-6EHX762H.js} +6 -6
- package/dist/bundle/{chunk-YDG5FIQB.js → chunk-6IHXKMY6.js} +6 -6
- package/dist/bundle/{chunk-J76CMNWQ.js → chunk-6WKK4UZP.js} +1 -1
- package/dist/bundle/{chunk-CTN4DW2F.js → chunk-A7KGBXBT.js} +3 -3
- package/dist/bundle/{chunk-3YTTWJKL.js → chunk-ALOPYWYY.js} +1 -1
- package/dist/bundle/{chunk-Q6AC7WLD.js → chunk-B3JVNOTB.js} +2 -2
- package/dist/bundle/{chunk-5NIIXJV3.js → chunk-BQPAIGAF.js} +2 -2
- package/dist/bundle/{chunk-HZIGGAC7.js → chunk-BRBBZDMZ.js} +1 -1
- package/dist/bundle/{chunk-E27NRLJZ.js → chunk-BXXU4EXK.js} +17 -17
- package/dist/bundle/{chunk-5IPB5WLB.js → chunk-BY3NKT34.js} +10 -10
- package/dist/bundle/{chunk-HYDXA624.js → chunk-CBTWKTWN.js} +5 -5
- package/dist/bundle/{chunk-MJ24YFXZ.js → chunk-CEHBT7QX.js} +5 -5
- package/dist/bundle/{chunk-RLK2EGQD.js → chunk-DBHJIFDS.js} +28 -15
- package/dist/bundle/{chunk-EJZIEBAR.js → chunk-DIHVN5IC.js} +6 -6
- package/dist/bundle/{chunk-2VUIJ5XB.js → chunk-DMYLQX2O.js} +1 -1
- package/dist/bundle/{chunk-J2SCELII.js → chunk-DWWZAQ4N.js} +13 -13
- package/dist/bundle/{chunk-WE4JSHIG.js → chunk-GD5JTKLS.js} +1 -1
- package/dist/bundle/{chunk-R26OEZOL.js → chunk-GHBJBDTW.js} +1 -1
- package/dist/bundle/{chunk-3HS7JTPI.js → chunk-GYH2AXPO.js} +13 -13
- package/dist/bundle/{chunk-JFLKTYH5.js → chunk-GZD6BYO7.js} +5 -5
- package/dist/bundle/{chunk-AKSWXRIU.js → chunk-I5WHQH5K.js} +1 -1
- package/dist/bundle/{chunk-J4FXBF44.js → chunk-INT5JXGP.js} +1 -1
- package/dist/bundle/{chunk-KKMOKSS5.js → chunk-IRFFXKKK.js} +2 -2
- package/dist/bundle/{chunk-RLNPTES2.js → chunk-J5HHB27S.js} +4 -4
- package/dist/bundle/{chunk-GEJI27GN.js → chunk-JEUYZCWF.js} +5 -5
- package/dist/bundle/{chunk-EB53G4HO.js → chunk-JQUS4KFV.js} +2 -2
- package/dist/bundle/{chunk-GR4HZBWO.js → chunk-KGLMYQXM.js} +1 -1
- package/dist/bundle/{chunk-JDCFHZNU.js → chunk-L3DUZVBP.js} +7 -7
- package/dist/bundle/{chunk-I75ON7VM.js → chunk-LGGBKAVQ.js} +7 -7
- package/dist/bundle/{chunk-ID4GJFE7.js → chunk-LJ52BS6C.js} +6 -6
- package/dist/bundle/{chunk-ZERQSELP.js → chunk-M3JDGRXM.js} +184 -157
- package/dist/bundle/{chunk-3TLNO3VM.js → chunk-MR2BNER3.js} +1 -1
- package/dist/bundle/{chunk-NQOQG7L3.js → chunk-NUPAXK4Z.js} +1 -1
- package/dist/bundle/{chunk-LTU4BQ4S.js → chunk-OX37ZK27.js} +2 -2
- package/dist/bundle/{chunk-LHY5XGIR.js → chunk-P7N3TZLH.js} +56 -56
- package/dist/bundle/{chunk-PZ3QJDTD.js → chunk-QAQK2WXJ.js} +4 -4
- package/dist/bundle/{chunk-BU5CEMUH.js → chunk-QY7EOB66.js} +12 -12
- package/dist/bundle/{chunk-MSQGZHKM.js → chunk-RE55EPBX.js} +25 -24
- package/dist/bundle/{chunk-X2QRCFGJ.js → chunk-SBORPDIQ.js} +3 -3
- package/dist/bundle/{chunk-GHXTNKX2.js → chunk-SFFV2F3Y.js} +2 -2
- package/dist/bundle/{chunk-24HPBWKZ.js → chunk-SMEEFN65.js} +2 -2
- package/dist/bundle/{chunk-UZ2CL435.js → chunk-SVRCPPNI.js} +1 -1
- package/dist/bundle/{chunk-G6LDK6DJ.js → chunk-SZZVNPTI.js} +4 -4
- package/dist/bundle/{chunk-TXO4CJW3.js → chunk-TXCINEH6.js} +5 -5
- package/dist/bundle/{chunk-ZKTYTOF4.js → chunk-UMXA357W.js} +7 -7
- package/dist/bundle/{chunk-KDW7B7AR.js → chunk-VJQLJQHT.js} +4 -4
- package/dist/bundle/{chunk-H4W2OO35.js → chunk-WSTF2MWW.js} +1 -1
- package/dist/bundle/{chunk-TRLV5NWZ.js → chunk-WSUS3MUK.js} +478 -385
- package/dist/bundle/{chunk-M3LRSN6J.js → chunk-WWIYZN67.js} +12 -12
- package/dist/bundle/{chunk-2I2KBCS6.js → chunk-XL3NAXZY.js} +3 -3
- package/dist/bundle/{chunk-QK5HQUHB.js → chunk-XWYYFAML.js} +2 -2
- package/dist/bundle/{chunk-5VTKBGPW.js → chunk-XZLOQNS7.js} +10 -10
- package/dist/bundle/{chunk-TAPQZYXY.js → chunk-YDTFPDAJ.js} +1 -1
- package/dist/bundle/{chunk-4UEYVM46.js → chunk-YFHCKAGU.js} +3 -3
- package/dist/bundle/{chunk-TT75CEYZ.js → chunk-YGZ37OEN.js} +1 -1
- package/dist/bundle/{chunk-V7N2K5OT.js → chunk-YOVIH4QI.js} +22 -22
- package/dist/bundle/{chunk-PR7ZDMGF.js → chunk-YVMLFHWS.js} +2 -2
- package/dist/bundle/{chunk-T4MZJMEJ.js → chunk-ZH76HQDA.js} +16 -16
- package/dist/bundle/{chunk-QH47G73D.js → chunk-ZNNGK73C.js} +2 -2
- package/dist/bundle/{chunk-5ILCAAY4.js → chunk-ZNRZJIRM.js} +33 -33
- package/dist/bundle/{chunk-BM5F2ZNI.js → chunk-ZS6T2PYQ.js} +1 -1
- package/dist/bundle/command-contract-7EWUA6E6.js +40 -0
- package/dist/bundle/{command-server-entry-H6IAJNOF.js → command-server-entry-BFXXPNJO.js} +24 -24
- package/dist/bundle/{decode-TR2EC46M.js → decode-5M7R44BR.js} +2 -2
- package/dist/bundle/{echarts-7OP7I5B2.js → echarts-7MBFY6SZ.js} +2 -2
- package/dist/bundle/{embed-FLGS4LN7.js → embed-Y4GYNHRX.js} +3 -3
- package/dist/bundle/{embedder-JIXQXCP3.js → embedder-FI4T4LQB.js} +6 -6
- package/dist/bundle/{first-run-XJ2NWIK2.js → first-run-YY66AKKG.js} +6 -6
- package/dist/bundle/first-screen-U7Z63VXE.js +40 -0
- package/dist/bundle/hubspot.js +17 -17
- package/dist/bundle/{instructions-PYCYV6QE.js → instructions-SM7TKV6L.js} +1 -1
- package/dist/bundle/{meeting-combined-IHTM5H5B.js → meeting-combined-B444C4NF.js} +11 -11
- package/dist/bundle/{meeting-model-2PA5WJY5.js → meeting-model-DKLMBQXX.js} +8 -8
- package/dist/bundle/{meeting-semantic-5IH63QFV.js → meeting-semantic-C5T6UDVB.js} +2 -2
- package/dist/bundle/{node-6GTNIVBM.js → node-OS6OQF3F.js} +2 -2
- package/dist/bundle/{node-sqlite-FBCEHPNT.js → node-sqlite-2XTWZ4HL.js} +4 -4
- package/dist/bundle/{oauth-BFP4SCL5.js → oauth-BSSJ66FC.js} +4 -4
- package/dist/bundle/{open-MLU4MHGO.js → open-UZ3TKWDY.js} +2 -2
- package/dist/bundle/{openai-R7WJI6SO.js → openai-POVKFBTC.js} +12 -12
- package/dist/bundle/{process-NMNQLJHZ.js → process-A7ZJGQ6G.js} +1 -1
- package/dist/bundle/{program-Z735HPFG.js → program-Q3JFUVC6.js} +193 -102
- package/dist/bundle/{prompt-A6RM55Q4.js → prompt-TYOYTRJM.js} +2 -2
- package/dist/bundle/{recognize-ORRDV45M.js → recognize-GGFRONZT.js} +1 -1
- package/dist/bundle/{remote-UF3WSC4X.js → remote-K4SLWHMI.js} +6 -6
- package/dist/bundle/{rerank-ZSJORUGH.js → rerank-2QTKDUBV.js} +4 -4
- package/dist/bundle/{serve-4KBJ6SIA.js → serve-FG2G2X6Y.js} +6 -6
- package/dist/bundle/{server-IFK4S6LJ.js → server-KRDHBT5Q.js} +52 -52
- package/dist/bundle/server-VFKK6OS4.js +86 -0
- package/dist/bundle/{source-PBCQAG4C.js → source-XP2JNUVU.js} +64 -64
- package/dist/bundle/{sqlite-runtime-XPDUWOPG.js → sqlite-runtime-TWV7KFLA.js} +3 -3
- package/dist/bundle/{state-4M26H7NL.js → state-EFX5ZQED.js} +3 -3
- package/dist/bundle/store-LON2XRIS.js +34 -0
- package/dist/bundle/{store-3W4ZOOIB.js → store-MNQ6YQIS.js} +20 -20
- package/dist/bundle/{store-ICTY3RIF.js → store-QPVH5VPJ.js} +18 -18
- package/dist/bundle/store-maintenance-command-YEMPRNJX.js +73 -0
- package/dist/bundle/surface-UJRMT6QT.js +72 -0
- package/dist/bundle/writer-NOSHE7ZI.js +86 -0
- package/dist/crm/records.d.ts.map +1 -1
- package/dist/crm/records.js +3 -0
- package/dist/crm/records.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/hubspot-cli/SKILL.md +10 -3
- package/dist/bundle/agent-XB35QVOK.js +0 -40
- package/dist/bundle/command-contract-5FXCYQUS.js +0 -40
- package/dist/bundle/first-screen-U73G5CMM.js +0 -40
- package/dist/bundle/server-MNUAZWTN.js +0 -86
- package/dist/bundle/store-CDY2PW6J.js +0 -34
- package/dist/bundle/store-maintenance-command-Y7TC3I43.js +0 -73
- package/dist/bundle/surface-4LNDJZD2.js +0 -72
- package/dist/bundle/writer-WGHWQTC2.js +0 -86
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LGGBKAVQ.js";
|
|
13
13
|
import {
|
|
14
14
|
permissionCeiling
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4HZQ5UIY.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_RERANK_MODEL,
|
|
18
18
|
RERANK_MODELS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QAQK2WXJ.js";
|
|
20
20
|
import {
|
|
21
21
|
carries
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-INT5JXGP.js";
|
|
23
23
|
import {
|
|
24
24
|
note
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-IRFFXKKK.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-YOVIH4QI.js";
|
|
71
71
|
import {
|
|
72
72
|
isCliFailure,
|
|
73
73
|
storeDamaged
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-BRBBZDMZ.js";
|
|
75
75
|
import {
|
|
76
76
|
endpoint
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-4LHNA6LJ.js";
|
|
78
78
|
import {
|
|
79
79
|
filesPresent,
|
|
80
80
|
sharedModelsDirectory
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-A7KGBXBT.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-SZZVNPTI.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-DBHJIFDS.js";
|
|
111
111
|
import {
|
|
112
112
|
TAG_TYPES
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-2PCVKD27.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-2HSYAKWO.js";
|
|
142
142
|
import {
|
|
143
143
|
repairConfigText,
|
|
144
144
|
sharedConfigPath
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-CEHBT7QX.js";
|
|
146
146
|
import {
|
|
147
147
|
storePath
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-DMYLQX2O.js";
|
|
149
149
|
import {
|
|
150
150
|
configFilePath,
|
|
151
151
|
createRecordLog,
|
|
@@ -218,7 +218,7 @@ 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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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");
|
|
@@ -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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/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"];
|
|
@@ -5270,7 +5270,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5270
5270
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5271
5271
|
}, "readConfigFile");
|
|
5272
5272
|
|
|
5273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5274
5274
|
import { existsSync as existsSync3, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5275
5275
|
import { dirname, join as join3 } from "node:path";
|
|
5276
5276
|
var DEFAULT_CONFIG = {
|
|
@@ -5299,7 +5299,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5301
5301
|
|
|
5302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5303
5303
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5304
5304
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5305
5305
|
const path2 = key.split(".");
|
|
@@ -5321,7 +5321,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5321
5321
|
return { config, added };
|
|
5322
5322
|
}, "withSettingDefaults");
|
|
5323
5323
|
|
|
5324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5325
5325
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5326
5326
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5327
5327
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5849,7 +5849,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5849
5849
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5850
5850
|
}, "given");
|
|
5851
5851
|
|
|
5852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5853
5853
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
5854
5854
|
const { deadline, signal, app } = environmentOf(command);
|
|
5855
5855
|
const now = deadline?.();
|
|
@@ -6003,7 +6003,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6003
6003
|
return words.join(" ");
|
|
6004
6004
|
}, "commandPath");
|
|
6005
6005
|
|
|
6006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6007
6007
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6008
6008
|
var FETCH = { remote: "read", local: "write" };
|
|
6009
6009
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6140,7 +6140,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6140
6140
|
throw readOnlyRefusal(lock, what);
|
|
6141
6141
|
}, "refuseUnderReadOnly");
|
|
6142
6142
|
|
|
6143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6144
6144
|
var account = strictObject({
|
|
6145
6145
|
provider: text,
|
|
6146
6146
|
id,
|
|
@@ -6150,7 +6150,7 @@ var account = strictObject({
|
|
|
6150
6150
|
scope: optional(picklist(["personal", "work"]))
|
|
6151
6151
|
});
|
|
6152
6152
|
|
|
6153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6154
6154
|
var accountSession = strictObject({
|
|
6155
6155
|
current: boolean(),
|
|
6156
6156
|
client: nullable(text),
|
|
@@ -6160,7 +6160,7 @@ var accountSession = strictObject({
|
|
|
6160
6160
|
created_at: optional(nullable(time))
|
|
6161
6161
|
});
|
|
6162
6162
|
|
|
6163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6164
6164
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6165
6165
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6166
6166
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6189,7 +6189,7 @@ var accountRemoval = strictObject({
|
|
|
6189
6189
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6190
6190
|
});
|
|
6191
6191
|
|
|
6192
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6193
6193
|
var accountProfile = strictObject({
|
|
6194
6194
|
profile: id,
|
|
6195
6195
|
current: boolean(),
|
|
@@ -6201,7 +6201,7 @@ var accountProfile = strictObject({
|
|
|
6201
6201
|
bot: optional(literal(true))
|
|
6202
6202
|
});
|
|
6203
6203
|
|
|
6204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6205
6205
|
var milliseconds = pipe(number(), minValue(0));
|
|
6206
6206
|
var counterReading = strictObject({
|
|
6207
6207
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6213,7 +6213,7 @@ var counterReading = strictObject({
|
|
|
6213
6213
|
});
|
|
6214
6214
|
var selection = record(string(), unknown());
|
|
6215
6215
|
|
|
6216
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6217
6217
|
var adminRow = strictObject({
|
|
6218
6218
|
ref: reference,
|
|
6219
6219
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6266,7 +6266,7 @@ var adminReport = strictObject({
|
|
|
6266
6266
|
rows: array(adminRow)
|
|
6267
6267
|
});
|
|
6268
6268
|
|
|
6269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6270
6270
|
var closeSuggestion = strictObject({
|
|
6271
6271
|
as: picklist(["done", "dismissed"]),
|
|
6272
6272
|
/** The agent's name. */
|
|
@@ -6328,7 +6328,7 @@ var task = strictObject({
|
|
|
6328
6328
|
updated_at: optional(time)
|
|
6329
6329
|
});
|
|
6330
6330
|
|
|
6331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6332
6332
|
var agendaChat = strictObject({
|
|
6333
6333
|
chat: reference,
|
|
6334
6334
|
title: nullable(text),
|
|
@@ -6398,11 +6398,11 @@ var agenda = strictObject({
|
|
|
6398
6398
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6399
6399
|
});
|
|
6400
6400
|
|
|
6401
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6402
6402
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6403
6403
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6404
6404
|
|
|
6405
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6405
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6406
6406
|
var attachment = strictObject({
|
|
6407
6407
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6408
6408
|
message: optional(reference),
|
|
@@ -6447,7 +6447,7 @@ var hitFile = strictObject({
|
|
|
6447
6447
|
local_path: optional(text)
|
|
6448
6448
|
});
|
|
6449
6449
|
|
|
6450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6451
6451
|
var actionableError = objectWithRest({
|
|
6452
6452
|
code: text,
|
|
6453
6453
|
message: text,
|
|
@@ -6464,7 +6464,7 @@ var batchResult = strictObject({
|
|
|
6464
6464
|
max_error_percent: count
|
|
6465
6465
|
});
|
|
6466
6466
|
|
|
6467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6468
6468
|
var extractionItem = strictObject({
|
|
6469
6469
|
ref: reference,
|
|
6470
6470
|
attachment: count,
|
|
@@ -6497,7 +6497,7 @@ var extractionReport = strictObject({
|
|
|
6497
6497
|
cursor: optional(text)
|
|
6498
6498
|
});
|
|
6499
6499
|
|
|
6500
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6501
6501
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6502
6502
|
var attachmentBytes = strictObject({
|
|
6503
6503
|
ref: reference,
|
|
@@ -6528,7 +6528,7 @@ var attachmentTextChange = strictObject({
|
|
|
6528
6528
|
text: optional(text)
|
|
6529
6529
|
});
|
|
6530
6530
|
|
|
6531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6532
6532
|
var WEIGHTS = {
|
|
6533
6533
|
bot: 3,
|
|
6534
6534
|
scam: 3,
|
|
@@ -6553,7 +6553,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6553
6553
|
var DIGITS = /\d{5,}/;
|
|
6554
6554
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6555
6555
|
|
|
6556
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6557
6557
|
var linkedIdentity = strictObject({
|
|
6558
6558
|
provider: text,
|
|
6559
6559
|
id,
|
|
@@ -6608,7 +6608,7 @@ var contactCheck = strictObject({
|
|
|
6608
6608
|
checked_at: time
|
|
6609
6609
|
});
|
|
6610
6610
|
|
|
6611
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6612
6612
|
var member = strictObject({
|
|
6613
6613
|
id,
|
|
6614
6614
|
name: nullable(text),
|
|
@@ -6631,7 +6631,7 @@ var member = strictObject({
|
|
|
6631
6631
|
check: optional(record(string(), unknown()))
|
|
6632
6632
|
});
|
|
6633
6633
|
|
|
6634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6635
6635
|
var setting = optional(nullable(boolean()));
|
|
6636
6636
|
var chat = strictObject({
|
|
6637
6637
|
ref: reference,
|
|
@@ -6672,7 +6672,7 @@ var chat = strictObject({
|
|
|
6672
6672
|
members: optional(array(member))
|
|
6673
6673
|
});
|
|
6674
6674
|
|
|
6675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6676
6676
|
var quoted = strictObject({
|
|
6677
6677
|
id,
|
|
6678
6678
|
sender_id: nullable(id),
|
|
@@ -6793,7 +6793,7 @@ var message = strictObject({
|
|
|
6793
6793
|
provider_metadata: providerMetadata
|
|
6794
6794
|
});
|
|
6795
6795
|
|
|
6796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6796
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
6797
6797
|
var recordedMeeting = strictObject({
|
|
6798
6798
|
ref: reference,
|
|
6799
6799
|
meeting_id: count,
|
|
@@ -6810,7 +6810,7 @@ var recordedMeeting = strictObject({
|
|
|
6810
6810
|
call: optional(meetingCall)
|
|
6811
6811
|
});
|
|
6812
6812
|
|
|
6813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
6814
6814
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
6815
6815
|
var contextMessage = strictObject({
|
|
6816
6816
|
locator: reference,
|
|
@@ -7016,7 +7016,7 @@ var contactPreparation = strictObject({
|
|
|
7016
7016
|
})
|
|
7017
7017
|
});
|
|
7018
7018
|
|
|
7019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7020
7020
|
var nullableText = nullable(text);
|
|
7021
7021
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7022
7022
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7172,7 +7172,7 @@ var stage = strictObject({
|
|
|
7172
7172
|
untrusted
|
|
7173
7173
|
});
|
|
7174
7174
|
|
|
7175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7175
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7176
7176
|
var nullableText2 = nullable(text);
|
|
7177
7177
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7178
7178
|
var standing = picklist(STANDINGS);
|
|
@@ -7351,7 +7351,7 @@ var dealBrief = strictObject({
|
|
|
7351
7351
|
not_read: coverage2.entries.not_read
|
|
7352
7352
|
});
|
|
7353
7353
|
|
|
7354
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7354
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7355
7355
|
var chart = strictObject({
|
|
7356
7356
|
version: literal(1),
|
|
7357
7357
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7366,7 +7366,7 @@ var chart = strictObject({
|
|
|
7366
7366
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7367
7367
|
});
|
|
7368
7368
|
|
|
7369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7370
7370
|
var named = strictObject({
|
|
7371
7371
|
id,
|
|
7372
7372
|
title: nullable(text),
|
|
@@ -7389,7 +7389,7 @@ var folder = strictObject({
|
|
|
7389
7389
|
excluded_chats: optional(array(named))
|
|
7390
7390
|
});
|
|
7391
7391
|
|
|
7392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7393
7393
|
var inviteLink = strictObject({
|
|
7394
7394
|
link: text,
|
|
7395
7395
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7405,7 +7405,7 @@ var inviteLink = strictObject({
|
|
|
7405
7405
|
joined_count: optional(count)
|
|
7406
7406
|
});
|
|
7407
7407
|
|
|
7408
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7408
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7409
7409
|
var operated = { operation_id: id, chat_id: id };
|
|
7410
7410
|
var group = strictObject({
|
|
7411
7411
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7485,7 +7485,7 @@ var chatFolderOrder = strictObject({
|
|
|
7485
7485
|
folders: array(strictObject({ id, title: text }))
|
|
7486
7486
|
});
|
|
7487
7487
|
|
|
7488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7488
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7489
7489
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7490
7490
|
var chatRemoval = strictObject(operated2);
|
|
7491
7491
|
var chatMuting = strictObject({
|
|
@@ -7496,7 +7496,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7496
7496
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7497
7497
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7498
7498
|
|
|
7499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7499
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7500
7500
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7501
7501
|
var chatEvent = strictObject({
|
|
7502
7502
|
chat_id: id,
|
|
@@ -7513,7 +7513,7 @@ var chatEvent = strictObject({
|
|
|
7513
7513
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7514
7514
|
});
|
|
7515
7515
|
|
|
7516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7517
7517
|
var chatMetadata = strictObject({
|
|
7518
7518
|
chat_id: id,
|
|
7519
7519
|
title: nullable(text),
|
|
@@ -7528,7 +7528,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7528
7528
|
has_more: boolean()
|
|
7529
7529
|
});
|
|
7530
7530
|
|
|
7531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7532
7532
|
var action = picklist(["report", "delete", "remove"]);
|
|
7533
7533
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7534
7534
|
var chatRules = strictObject({
|
|
@@ -7565,7 +7565,7 @@ var chatModeration = strictObject({
|
|
|
7565
7565
|
}))
|
|
7566
7566
|
});
|
|
7567
7567
|
|
|
7568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7568
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-sending.js
|
|
7569
7569
|
var chatSending = strictObject({
|
|
7570
7570
|
mode: picklist(["allowed", "ask", "denied"]),
|
|
7571
7571
|
meaning: text,
|
|
@@ -7575,7 +7575,7 @@ var chatSending = strictObject({
|
|
|
7575
7575
|
changed: optional(boolean())
|
|
7576
7576
|
});
|
|
7577
7577
|
|
|
7578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7579
7579
|
var optionalCount = optional(count);
|
|
7580
7580
|
var minutes = nullable(number());
|
|
7581
7581
|
var chatStats = strictObject({
|
|
@@ -7651,7 +7651,7 @@ var taskStats = strictObject({
|
|
|
7651
7651
|
}))
|
|
7652
7652
|
});
|
|
7653
7653
|
|
|
7654
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7654
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7655
7655
|
var memberCount = strictObject({
|
|
7656
7656
|
day: pipe(text, isoDate()),
|
|
7657
7657
|
participants: nullable(count),
|
|
@@ -7674,7 +7674,7 @@ var chatTracking = strictObject({
|
|
|
7674
7674
|
tracked: boolean()
|
|
7675
7675
|
});
|
|
7676
7676
|
|
|
7677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7678
7678
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7679
7679
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7680
7680
|
var profileFields = {
|
|
@@ -7712,7 +7712,7 @@ var profileFields = {
|
|
|
7712
7712
|
}))
|
|
7713
7713
|
};
|
|
7714
7714
|
|
|
7715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7716
7716
|
var contact = strictObject({
|
|
7717
7717
|
ref: reference,
|
|
7718
7718
|
id,
|
|
@@ -7743,7 +7743,7 @@ var contact = strictObject({
|
|
|
7743
7743
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7744
7744
|
});
|
|
7745
7745
|
|
|
7746
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7747
7747
|
var contactNote = strictObject({
|
|
7748
7748
|
id,
|
|
7749
7749
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7755,13 +7755,13 @@ var contactNote = strictObject({
|
|
|
7755
7755
|
updated_at: time
|
|
7756
7756
|
});
|
|
7757
7757
|
|
|
7758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7759
7759
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7760
7760
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7761
7761
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7762
7762
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7763
7763
|
|
|
7764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7765
7765
|
var conversation = strictObject({
|
|
7766
7766
|
id,
|
|
7767
7767
|
chat: reference,
|
|
@@ -7776,7 +7776,7 @@ var conversation = strictObject({
|
|
|
7776
7776
|
rules_version: count
|
|
7777
7777
|
});
|
|
7778
7778
|
|
|
7779
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7779
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7780
7780
|
var conversationBuild = strictObject({
|
|
7781
7781
|
chat: id,
|
|
7782
7782
|
messages: count,
|
|
@@ -7801,7 +7801,7 @@ var catchUpPreparation = strictObject({
|
|
|
7801
7801
|
prepared: optional(conversationPreparation)
|
|
7802
7802
|
});
|
|
7803
7803
|
|
|
7804
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7805
7805
|
var conversationDetails = union([
|
|
7806
7806
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7807
7807
|
message
|
|
@@ -7896,7 +7896,7 @@ var conversationHit = strictObject({
|
|
|
7896
7896
|
untrusted
|
|
7897
7897
|
});
|
|
7898
7898
|
|
|
7899
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
7900
7900
|
var counters = strictObject({
|
|
7901
7901
|
cutoff: time,
|
|
7902
7902
|
max_age_ms: milliseconds,
|
|
@@ -7926,7 +7926,7 @@ var counterRefresh = strictObject({
|
|
|
7926
7926
|
complete: optional(boolean())
|
|
7927
7927
|
});
|
|
7928
7928
|
|
|
7929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
7930
7930
|
var document = strictObject({
|
|
7931
7931
|
ref: reference,
|
|
7932
7932
|
id,
|
|
@@ -7941,7 +7941,7 @@ var document = strictObject({
|
|
|
7941
7941
|
owners: optional(array(text))
|
|
7942
7942
|
});
|
|
7943
7943
|
|
|
7944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
7945
7945
|
var documentLink = strictObject({
|
|
7946
7946
|
ref: reference,
|
|
7947
7947
|
url: text,
|
|
@@ -7952,7 +7952,7 @@ var documentLink = strictObject({
|
|
|
7952
7952
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
7953
7953
|
});
|
|
7954
7954
|
|
|
7955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7955
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
7956
7956
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
7957
7957
|
var contribution = strictObject({
|
|
7958
7958
|
message: evidenceMessage,
|
|
@@ -7982,7 +7982,7 @@ var retentionStay = strictObject({
|
|
|
7982
7982
|
});
|
|
7983
7983
|
var evidence = union([contribution, retentionStay]);
|
|
7984
7984
|
|
|
7985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
7986
7986
|
var fact = strictObject({
|
|
7987
7987
|
ref: reference,
|
|
7988
7988
|
id,
|
|
@@ -8013,7 +8013,7 @@ var fact = strictObject({
|
|
|
8013
8013
|
updated_at: time
|
|
8014
8014
|
});
|
|
8015
8015
|
|
|
8016
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8017
8017
|
var hit = strictObject({
|
|
8018
8018
|
kind: picklist([
|
|
8019
8019
|
"message",
|
|
@@ -8035,6 +8035,8 @@ var hit = strictObject({
|
|
|
8035
8035
|
url: optional(text),
|
|
8036
8036
|
/** The account it was found in; a note's folder id, or `internal` for a note written in memo. */
|
|
8037
8037
|
account: text,
|
|
8038
|
+
/** A tracker hit that more than one sign-in holds: every account it was found in, `account` first. */
|
|
8039
|
+
accounts: optional(array(text)),
|
|
8038
8040
|
/** The chat, the mail thread's subject, the note's, the event's or the meeting's title. */
|
|
8039
8041
|
title: nullable(text),
|
|
8040
8042
|
/** Null for a meeting whose start is unknown. */
|
|
@@ -8075,7 +8077,7 @@ var hit = strictObject({
|
|
|
8075
8077
|
untrusted
|
|
8076
8078
|
});
|
|
8077
8079
|
|
|
8078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8080
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8079
8081
|
var identity = strictObject({
|
|
8080
8082
|
ref: reference,
|
|
8081
8083
|
provider: text,
|
|
@@ -8091,7 +8093,7 @@ var identity = strictObject({
|
|
|
8091
8093
|
person: optional(nullable(reference))
|
|
8092
8094
|
});
|
|
8093
8095
|
|
|
8094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8095
8097
|
var imageEmbedding = strictObject({
|
|
8096
8098
|
model: text,
|
|
8097
8099
|
embedded: count,
|
|
@@ -8100,13 +8102,13 @@ var imageEmbedding = strictObject({
|
|
|
8100
8102
|
more: boolean()
|
|
8101
8103
|
});
|
|
8102
8104
|
|
|
8103
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8104
8106
|
import { spawn } from "node:child_process";
|
|
8105
8107
|
import { randomBytes } from "node:crypto";
|
|
8106
8108
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8107
8109
|
import { dirname as dirname2, join as join4 } from "node:path";
|
|
8108
8110
|
|
|
8109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8111
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8110
8112
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8111
8113
|
const total = input.total ?? null;
|
|
8112
8114
|
const updated = input.updatedAt ?? null;
|
|
@@ -8137,7 +8139,7 @@ var progressLine = /* @__PURE__ */ __name((progress2) => {
|
|
|
8137
8139
|
return `${progress2.job} ${progress2.profile}: ${of} \u2014 ${progress2.state}${when}`;
|
|
8138
8140
|
}, "progressLine");
|
|
8139
8141
|
|
|
8140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8141
8143
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8142
8144
|
const run = currentRun();
|
|
8143
8145
|
const trace = traceId ?? run.traceId;
|
|
@@ -8151,7 +8153,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8151
8153
|
}));
|
|
8152
8154
|
}, "recordLogFor");
|
|
8153
8155
|
|
|
8154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8155
8157
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8156
8158
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8157
8159
|
const out = openSync(log, "a", 384);
|
|
@@ -8306,7 +8308,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8306
8308
|
return { job: id6, pid, chat: input.chat, log };
|
|
8307
8309
|
}, "startArchiveJob");
|
|
8308
8310
|
|
|
8309
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8311
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8310
8312
|
var problem = strictObject({ code: text, message: text });
|
|
8311
8313
|
var job = strictObject({
|
|
8312
8314
|
id,
|
|
@@ -8329,7 +8331,7 @@ var job = strictObject({
|
|
|
8329
8331
|
error: optional(problem)
|
|
8330
8332
|
});
|
|
8331
8333
|
|
|
8332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8333
8335
|
var joinRequest = strictObject({
|
|
8334
8336
|
person_id: id,
|
|
8335
8337
|
name: nullable(text),
|
|
@@ -8340,7 +8342,7 @@ var joinRequest = strictObject({
|
|
|
8340
8342
|
about: optional(text)
|
|
8341
8343
|
});
|
|
8342
8344
|
|
|
8343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8344
8346
|
var botProfile = strictObject({
|
|
8345
8347
|
name: text,
|
|
8346
8348
|
token: text,
|
|
@@ -8464,7 +8466,7 @@ var stickerInventory = strictObject({
|
|
|
8464
8466
|
url: optional(nullable(text))
|
|
8465
8467
|
});
|
|
8466
8468
|
|
|
8467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8469
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8468
8470
|
var pollVote = strictObject({
|
|
8469
8471
|
person_id: id,
|
|
8470
8472
|
name: nullable(text),
|
|
@@ -8474,7 +8476,7 @@ var pollVote = strictObject({
|
|
|
8474
8476
|
voted_at: time
|
|
8475
8477
|
});
|
|
8476
8478
|
|
|
8477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8478
8480
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8479
8481
|
var observation = strictObject({
|
|
8480
8482
|
value: pipe(number(), minValue(0)),
|
|
@@ -8516,7 +8518,7 @@ var serveSummary = strictObject({
|
|
|
8516
8518
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8517
8519
|
});
|
|
8518
8520
|
|
|
8519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8520
8522
|
var mailCounts = strictObject({
|
|
8521
8523
|
by: picklist(["day", "week", "sender"]),
|
|
8522
8524
|
received: count,
|
|
@@ -8531,7 +8533,7 @@ var mailCounts = strictObject({
|
|
|
8531
8533
|
}))
|
|
8532
8534
|
});
|
|
8533
8535
|
|
|
8534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8535
8537
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8536
8538
|
var base = { id, evidence: array(evidence2) };
|
|
8537
8539
|
var finding = variant("kind", [
|
|
@@ -8675,7 +8677,7 @@ var mailFindings = strictObject({
|
|
|
8675
8677
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8676
8678
|
});
|
|
8677
8679
|
|
|
8678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8680
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8679
8681
|
var mediaArchive = strictObject({
|
|
8680
8682
|
directory: text,
|
|
8681
8683
|
chats: count,
|
|
@@ -8707,7 +8709,7 @@ var mediaArchiveTimer = union([
|
|
|
8707
8709
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8708
8710
|
]);
|
|
8709
8711
|
|
|
8710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8712
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8711
8713
|
var preparationId = pipe(string(), minLength(1));
|
|
8712
8714
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8713
8715
|
var preparationTime = nullable(isoTime);
|
|
@@ -8799,7 +8801,7 @@ var preparationMeeting = strictObject({
|
|
|
8799
8801
|
updated_at: isoTime
|
|
8800
8802
|
});
|
|
8801
8803
|
|
|
8802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8803
8805
|
var meetingEvidence = preparationEvidence;
|
|
8804
8806
|
var meetingPersonContext = strictObject({
|
|
8805
8807
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8821,7 +8823,7 @@ var meetingPersonContext = strictObject({
|
|
|
8821
8823
|
})
|
|
8822
8824
|
});
|
|
8823
8825
|
|
|
8824
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8825
8827
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8826
8828
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8827
8829
|
var finding2 = variant("kind", [
|
|
@@ -8859,7 +8861,7 @@ var meetingFindings = strictObject({
|
|
|
8859
8861
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8860
8862
|
});
|
|
8861
8863
|
|
|
8862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8863
8865
|
var communicationCoverage = strictObject({
|
|
8864
8866
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8865
8867
|
query: string(),
|
|
@@ -8904,7 +8906,7 @@ var preparationCommunications = strictObject({
|
|
|
8904
8906
|
}))
|
|
8905
8907
|
});
|
|
8906
8908
|
|
|
8907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
8908
8910
|
var meetingPreparation = strictObject({
|
|
8909
8911
|
communications: optional(preparationCommunications),
|
|
8910
8912
|
schema_version: literal(1),
|
|
@@ -9017,7 +9019,7 @@ var meetingPreparation = strictObject({
|
|
|
9017
9019
|
})
|
|
9018
9020
|
});
|
|
9019
9021
|
|
|
9020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9022
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9021
9023
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9022
9024
|
var id3 = pipe(string(), minLength(1));
|
|
9023
9025
|
var text3 = string();
|
|
@@ -9081,7 +9083,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9081
9083
|
})
|
|
9082
9084
|
});
|
|
9083
9085
|
|
|
9084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9085
9087
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9086
9088
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9087
9089
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9111,7 +9113,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9111
9113
|
})
|
|
9112
9114
|
});
|
|
9113
9115
|
|
|
9114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9115
9117
|
var text4 = string();
|
|
9116
9118
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9117
9119
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9128,7 +9130,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9128
9130
|
persistence: literal("proposal-only")
|
|
9129
9131
|
});
|
|
9130
9132
|
|
|
9131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9132
9134
|
var memory = strictObject({
|
|
9133
9135
|
ref: reference,
|
|
9134
9136
|
id,
|
|
@@ -9156,7 +9158,7 @@ var memory = strictObject({
|
|
|
9156
9158
|
updated_at: time
|
|
9157
9159
|
});
|
|
9158
9160
|
|
|
9159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9160
9162
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9161
9163
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9162
9164
|
var mention = strictObject({
|
|
@@ -9200,7 +9202,7 @@ var mentionRebuild = strictObject({
|
|
|
9200
9202
|
mentions: count
|
|
9201
9203
|
});
|
|
9202
9204
|
|
|
9203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9204
9206
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9205
9207
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9206
9208
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
@@ -9209,7 +9211,7 @@ var scheduledCancellation = strictObject({ ...operated3, cancelled: array(id) })
|
|
|
9209
9211
|
var scheduledSendEntries = { ...operated3, sent: array(id), messages: array(message) };
|
|
9210
9212
|
var scheduledSend = strictObject(scheduledSendEntries);
|
|
9211
9213
|
|
|
9212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9213
9215
|
var messageTranscript = strictObject({
|
|
9214
9216
|
message_id: id,
|
|
9215
9217
|
text,
|
|
@@ -9267,7 +9269,7 @@ var evidencePacket = strictObject({
|
|
|
9267
9269
|
}))
|
|
9268
9270
|
});
|
|
9269
9271
|
|
|
9270
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9271
9273
|
var messageThread = strictObject({
|
|
9272
9274
|
ref: reference,
|
|
9273
9275
|
chat: id,
|
|
@@ -9284,7 +9286,7 @@ var messageThread = strictObject({
|
|
|
9284
9286
|
});
|
|
9285
9287
|
var messageContext = union([message, messageThread]);
|
|
9286
9288
|
|
|
9287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9288
9290
|
var messageCounts = strictObject({
|
|
9289
9291
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9290
9292
|
total: count,
|
|
@@ -9297,7 +9299,7 @@ var messageCounts = strictObject({
|
|
|
9297
9299
|
}))
|
|
9298
9300
|
});
|
|
9299
9301
|
|
|
9300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9301
9303
|
var messageLink = strictObject({
|
|
9302
9304
|
ref: reference,
|
|
9303
9305
|
url: nullable(text),
|
|
@@ -9314,7 +9316,7 @@ var messageLink = strictObject({
|
|
|
9314
9316
|
})))
|
|
9315
9317
|
});
|
|
9316
9318
|
|
|
9317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9318
9320
|
var savedMessageFile = strictObject({
|
|
9319
9321
|
kind: text,
|
|
9320
9322
|
path: text,
|
|
@@ -9401,7 +9403,7 @@ var messageSyncAll = strictObject({
|
|
|
9401
9403
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9402
9404
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9403
9405
|
|
|
9404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9406
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9405
9407
|
var messageWrite = strictObject({
|
|
9406
9408
|
operation_id: id,
|
|
9407
9409
|
message,
|
|
@@ -9416,7 +9418,7 @@ var draftWrite = strictObject({
|
|
|
9416
9418
|
});
|
|
9417
9419
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9418
9420
|
|
|
9419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9421
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9420
9422
|
var model2 = strictObject({
|
|
9421
9423
|
id,
|
|
9422
9424
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9451,7 +9453,7 @@ var chosenModel = strictObject({
|
|
|
9451
9453
|
estimate_seconds: nullable(count)
|
|
9452
9454
|
});
|
|
9453
9455
|
|
|
9454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9455
9457
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9456
9458
|
var modelKey = strictObject({
|
|
9457
9459
|
provider: text,
|
|
@@ -9461,7 +9463,7 @@ var modelKey = strictObject({
|
|
|
9461
9463
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9462
9464
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9463
9465
|
|
|
9464
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9466
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9465
9467
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9466
9468
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9467
9469
|
var graph = strictObject({
|
|
@@ -9495,14 +9497,14 @@ var officialStats = strictObject({
|
|
|
9495
9497
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9496
9498
|
});
|
|
9497
9499
|
|
|
9498
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9499
9501
|
var person2 = strictObject({
|
|
9500
9502
|
ref: reference,
|
|
9501
9503
|
name: nullable(text),
|
|
9502
9504
|
identities: optional(array(identity))
|
|
9503
9505
|
});
|
|
9504
9506
|
|
|
9505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9506
9508
|
var poll = strictObject({
|
|
9507
9509
|
chat_id: id,
|
|
9508
9510
|
message_id: id,
|
|
@@ -9518,11 +9520,11 @@ var poll = strictObject({
|
|
|
9518
9520
|
});
|
|
9519
9521
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9520
9522
|
|
|
9521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9522
9524
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9523
9525
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9524
9526
|
|
|
9525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9526
9528
|
var figures = record(string(), number());
|
|
9527
9529
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9528
9530
|
var rankingRow = strictObject({
|
|
@@ -9569,7 +9571,7 @@ var ranking = strictObject({
|
|
|
9569
9571
|
rows: array(rankingRow)
|
|
9570
9572
|
});
|
|
9571
9573
|
|
|
9572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9574
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9573
9575
|
var reaction = strictObject({
|
|
9574
9576
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9575
9577
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9577,7 +9579,7 @@ var reaction = strictObject({
|
|
|
9577
9579
|
reacted_at: time
|
|
9578
9580
|
});
|
|
9579
9581
|
|
|
9580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9582
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9581
9583
|
var reactionChange = strictObject({
|
|
9582
9584
|
operation_id: id,
|
|
9583
9585
|
chat_id: id,
|
|
@@ -9585,7 +9587,7 @@ var reactionChange = strictObject({
|
|
|
9585
9587
|
reaction: nullable(text)
|
|
9586
9588
|
});
|
|
9587
9589
|
|
|
9588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9589
9591
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9590
9592
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9591
9593
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9596,7 +9598,7 @@ var recipientChange = strictObject({
|
|
|
9596
9598
|
...partial(recipientOff).entries
|
|
9597
9599
|
});
|
|
9598
9600
|
|
|
9599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9600
9602
|
var events = array(record(string(), unknown()));
|
|
9601
9603
|
var recordedRun = strictObject({
|
|
9602
9604
|
run_id: id,
|
|
@@ -9668,7 +9670,7 @@ var runHit = strictObject({
|
|
|
9668
9670
|
});
|
|
9669
9671
|
var runLocation = strictObject({ path: text });
|
|
9670
9672
|
|
|
9671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9672
9674
|
var relationship = strictObject({
|
|
9673
9675
|
id,
|
|
9674
9676
|
from: reference,
|
|
@@ -9695,7 +9697,7 @@ var relationship = strictObject({
|
|
|
9695
9697
|
created_at: time
|
|
9696
9698
|
});
|
|
9697
9699
|
|
|
9698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9699
9701
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9700
9702
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9701
9703
|
var responseTimes = strictObject({
|
|
@@ -9712,7 +9714,7 @@ var waitingChats = strictObject({
|
|
|
9712
9714
|
by_kind: strictObject({ private: count, group: count })
|
|
9713
9715
|
});
|
|
9714
9716
|
|
|
9715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9716
9718
|
var retentionCohort = strictObject({
|
|
9717
9719
|
/** The first day of the joining day or week. */
|
|
9718
9720
|
cohort: text,
|
|
@@ -9760,7 +9762,7 @@ var retention = strictObject({
|
|
|
9760
9762
|
rows: array(retentionCohort)
|
|
9761
9763
|
});
|
|
9762
9764
|
|
|
9763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9764
9766
|
var savedSearch = strictObject({
|
|
9765
9767
|
id,
|
|
9766
9768
|
/** `null` for a run in the history. */
|
|
@@ -9777,7 +9779,7 @@ var savedSearch = strictObject({
|
|
|
9777
9779
|
});
|
|
9778
9780
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9779
9781
|
|
|
9780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9781
9783
|
var sendAttempt = strictObject({
|
|
9782
9784
|
at: time,
|
|
9783
9785
|
profile: text,
|
|
@@ -9805,7 +9807,7 @@ var sendAttempt = strictObject({
|
|
|
9805
9807
|
error_code: optional(text)
|
|
9806
9808
|
});
|
|
9807
9809
|
|
|
9808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9809
9811
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9810
9812
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9811
9813
|
var infoSchema = strictObject({
|
|
@@ -10035,7 +10037,7 @@ var storeRepair = union([
|
|
|
10035
10037
|
]);
|
|
10036
10038
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10037
10039
|
|
|
10038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10039
10041
|
var range = strictObject({ from: number(), to: number() });
|
|
10040
10042
|
var storeChatStatus = strictObject({
|
|
10041
10043
|
chat_id: id,
|
|
@@ -10133,7 +10135,7 @@ var storeJobRetry = union([
|
|
|
10133
10135
|
]);
|
|
10134
10136
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10135
10137
|
|
|
10136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10137
10139
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10138
10140
|
var storeTable = strictObject({
|
|
10139
10141
|
name: text,
|
|
@@ -10142,7 +10144,7 @@ var storeTable = strictObject({
|
|
|
10142
10144
|
bytes: optional(nullable(count))
|
|
10143
10145
|
});
|
|
10144
10146
|
|
|
10145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10146
10148
|
var tagTarget = variant("type", [
|
|
10147
10149
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10148
10150
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10173,7 +10175,7 @@ var automaticTags = strictObject({
|
|
|
10173
10175
|
dry_run: boolean()
|
|
10174
10176
|
});
|
|
10175
10177
|
|
|
10176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10177
10179
|
var tagging = strictObject({
|
|
10178
10180
|
tag: text,
|
|
10179
10181
|
type: picklist(TAG_TYPES),
|
|
@@ -10186,7 +10188,7 @@ var tagging = strictObject({
|
|
|
10186
10188
|
created_at: time
|
|
10187
10189
|
});
|
|
10188
10190
|
|
|
10189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10190
10192
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10191
10193
|
var taskPair = strictObject({
|
|
10192
10194
|
task: nullable(side),
|
|
@@ -10209,7 +10211,7 @@ var taskPair = strictObject({
|
|
|
10209
10211
|
created_at: time
|
|
10210
10212
|
});
|
|
10211
10213
|
|
|
10212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10213
10215
|
var nullableTime = nullable(time);
|
|
10214
10216
|
var link = strictObject({
|
|
10215
10217
|
id,
|
|
@@ -10383,7 +10385,7 @@ var taskReview = strictObject({
|
|
|
10383
10385
|
untrusted
|
|
10384
10386
|
});
|
|
10385
10387
|
|
|
10386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10388
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10387
10389
|
var template = strictObject({
|
|
10388
10390
|
key: text,
|
|
10389
10391
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10395,7 +10397,7 @@ var template = strictObject({
|
|
|
10395
10397
|
updated_by: nullable(text)
|
|
10396
10398
|
});
|
|
10397
10399
|
|
|
10398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10399
10401
|
var topic = strictObject({
|
|
10400
10402
|
id,
|
|
10401
10403
|
title: text,
|
|
@@ -10409,7 +10411,7 @@ var topic = strictObject({
|
|
|
10409
10411
|
untrusted
|
|
10410
10412
|
});
|
|
10411
10413
|
|
|
10412
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10413
10415
|
var ENTITIES = {
|
|
10414
10416
|
sync_progress: progress,
|
|
10415
10417
|
deal,
|
|
@@ -10711,7 +10713,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10711
10713
|
return [name, definition];
|
|
10712
10714
|
})), "entityDefinitions");
|
|
10713
10715
|
|
|
10714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10716
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10715
10717
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10716
10718
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10717
10719
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10745,7 +10747,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10745
10747
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10746
10748
|
}, "answerRow");
|
|
10747
10749
|
|
|
10748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10749
10751
|
import { join as join5 } from "node:path";
|
|
10750
10752
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10751
10753
|
var IMAGE_MODELS = [
|
|
@@ -10799,7 +10801,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10799
10801
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join5(directory, model3.id, file.name)]), "placedImage");
|
|
10800
10802
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10801
10803
|
|
|
10802
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10803
10805
|
var STEPS2 = defineSteps([
|
|
10804
10806
|
...STEPS,
|
|
10805
10807
|
{
|
|
@@ -11103,7 +11105,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11103
11105
|
].join(" ");
|
|
11104
11106
|
}, "stepLine");
|
|
11105
11107
|
|
|
11106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11107
11109
|
var where = [{ field: "ref" }];
|
|
11108
11110
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11109
11111
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11195,7 +11197,7 @@ var STATUS_ROWS = {
|
|
|
11195
11197
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11196
11198
|
};
|
|
11197
11199
|
|
|
11198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11200
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11199
11201
|
var TEXT_CHARS = 400;
|
|
11200
11202
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11201
11203
|
var messageRow = {
|
|
@@ -11329,9 +11331,13 @@ var isListOrRecord = /* @__PURE__ */ __name((value) => typeof value === "object"
|
|
|
11329
11331
|
var firstSet = /* @__PURE__ */ __name((item, field, column) => fieldsOfColumn(field).map((path2) => at(item, path2)).find((value) => printable(value, column)), "firstSet");
|
|
11330
11332
|
var sourceOf = /* @__PURE__ */ __name((item, column) => fieldsOfColumn(column.field).find((path2) => printable(at(item, path2), column)), "sourceOf");
|
|
11331
11333
|
var clean = /* @__PURE__ */ __name((text5) => visibleControls(text5.replace(/\s+/g, " ").trim()), "clean");
|
|
11334
|
+
var BLOCK = /^(⟦untrusted:([0-9a-f]{16}) [^⟦⟧]*⟧)([^⟦⟧]*)(⟦\/untrusted:\2⟧)$/su;
|
|
11332
11335
|
var cut = /* @__PURE__ */ __name((text5, chars) => {
|
|
11333
11336
|
if (chars <= 0)
|
|
11334
11337
|
return text5;
|
|
11338
|
+
const block = BLOCK.exec(text5);
|
|
11339
|
+
if (block)
|
|
11340
|
+
return `${block[1]}${cut(block[3] ?? "", chars)}${block[4]}`;
|
|
11335
11341
|
const letters = Array.from(text5);
|
|
11336
11342
|
return letters.length <= chars ? text5 : `${letters.slice(0, chars).join("")}\u2026(+${letters.length - chars})`;
|
|
11337
11343
|
}, "cut");
|
|
@@ -11563,7 +11569,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11563
11569
|
return lines.concat(footerOf(body)).join("\n");
|
|
11564
11570
|
}, "compactText");
|
|
11565
11571
|
|
|
11566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11567
11573
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11568
11574
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11569
11575
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11621,7 +11627,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11621
11627
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11622
11628
|
}, "largeAnswerSteps");
|
|
11623
11629
|
|
|
11624
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11630
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11625
11631
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11626
11632
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11627
11633
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11635,7 +11641,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11635
11641
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11636
11642
|
}, "strip");
|
|
11637
11643
|
|
|
11638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11639
11645
|
var OPEN = "\u27E6";
|
|
11640
11646
|
var CLOSE = "\u27E7";
|
|
11641
11647
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11657,19 +11663,35 @@ var idOf = /* @__PURE__ */ __name((value) => {
|
|
|
11657
11663
|
const id6 = value.ref ?? value.id;
|
|
11658
11664
|
return typeof id6 === "string" || typeof id6 === "number" ? String(id6) : void 0;
|
|
11659
11665
|
}, "idOf");
|
|
11666
|
+
var everyStringAt = /* @__PURE__ */ __name((value, mark, source2, id6) => {
|
|
11667
|
+
if (Array.isArray(value))
|
|
11668
|
+
return value.map((one) => everyStringAt(one, mark, source2, id6));
|
|
11669
|
+
if (value === null || typeof value !== "object")
|
|
11670
|
+
return markAt(value, [], mark, source2, id6);
|
|
11671
|
+
const record2 = value;
|
|
11672
|
+
const own = idOf(record2) ?? id6;
|
|
11673
|
+
return Object.fromEntries(Object.entries(record2).map(([key, child]) => [key, everyStringAt(child, mark, source2, own)]));
|
|
11674
|
+
}, "everyStringAt");
|
|
11660
11675
|
var markAt = /* @__PURE__ */ __name((value, path2, mark, source2, id6) => {
|
|
11661
11676
|
if (Array.isArray(value))
|
|
11662
11677
|
return value.map((one) => markAt(one, path2, mark, source2, id6));
|
|
11663
11678
|
if (path2.length === 0)
|
|
11664
11679
|
return typeof value === "string" && !value.startsWith(`${OPEN}untrusted:${mark} `) ? marked(value, mark, source2, id6) : value;
|
|
11680
|
+
if (path2.length === 1 && path2[0] === "*")
|
|
11681
|
+
return everyStringAt(value, mark, source2, id6);
|
|
11665
11682
|
if (value === null || typeof value !== "object")
|
|
11666
11683
|
return value;
|
|
11667
11684
|
const [key = "", ...rest] = path2;
|
|
11668
11685
|
const record2 = value;
|
|
11686
|
+
const own = idOf(record2) ?? id6;
|
|
11687
|
+
if (key === "*")
|
|
11688
|
+
return Object.fromEntries(Object.entries(record2).map(([name, child]) => [name, markAt(child, rest, mark, source2, own)]));
|
|
11669
11689
|
if (!(key in record2))
|
|
11670
11690
|
return value;
|
|
11671
|
-
return { ...record2, [key]: markAt(record2[key], rest, mark, source2,
|
|
11691
|
+
return { ...record2, [key]: markAt(record2[key], rest, mark, source2, own) };
|
|
11672
11692
|
}, "markAt");
|
|
11693
|
+
var withoutRunMarks = /* @__PURE__ */ __name((text5, mark) => text5.replace(new RegExp(`${OPEN}untrusted:${mark}(?: [^${OPEN}${CLOSE}]*)?${CLOSE}|${OPEN}/untrusted:${mark}${CLOSE}`, "gu"), ""), "withoutRunMarks");
|
|
11694
|
+
var API_UNTRUSTED = ["item.*", "items.*"];
|
|
11673
11695
|
var withUntrustedMarked = /* @__PURE__ */ __name((value, mark, id6) => {
|
|
11674
11696
|
if (Array.isArray(value))
|
|
11675
11697
|
return value.map((one) => withUntrustedMarked(one, mark, id6));
|
|
@@ -11708,7 +11730,8 @@ var CHAT_UNTRUSTED = ["title", "description"];
|
|
|
11708
11730
|
var CONTACT_UNTRUSTED = ["description", "chats.title"];
|
|
11709
11731
|
var DECLARED = /* @__PURE__ */ new WeakMap();
|
|
11710
11732
|
var marksUntrusted = /* @__PURE__ */ __name((command, fields = MESSAGE_UNTRUSTED) => {
|
|
11711
|
-
DECLARED.
|
|
11733
|
+
const raw = DECLARED.get(command) === API_UNTRUSTED;
|
|
11734
|
+
DECLARED.set(command, raw ? [.../* @__PURE__ */ new Set([...API_UNTRUSTED, ...fields])] : fields);
|
|
11712
11735
|
return command;
|
|
11713
11736
|
}, "marksUntrusted");
|
|
11714
11737
|
var untrustedFieldsOf = /* @__PURE__ */ __name((command) => DECLARED.get(command), "untrustedFieldsOf");
|
|
@@ -11725,7 +11748,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11725
11748
|
return result;
|
|
11726
11749
|
}, "withFieldsMarked");
|
|
11727
11750
|
|
|
11728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11751
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.748.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_80da9f03871bc395375181cc05991961/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11729
11752
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11730
11753
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11731
11754
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11960,6 +11983,7 @@ export {
|
|
|
11960
11983
|
sharedContracts,
|
|
11961
11984
|
sharedCommand,
|
|
11962
11985
|
refuseJoinedPath,
|
|
11986
|
+
deadlineMargin,
|
|
11963
11987
|
runBudget,
|
|
11964
11988
|
recorded,
|
|
11965
11989
|
startRecording,
|
|
@@ -12088,6 +12112,15 @@ export {
|
|
|
12088
12112
|
imageModelsDirectory,
|
|
12089
12113
|
placedImage,
|
|
12090
12114
|
isImageModelInstalled,
|
|
12115
|
+
untrustedMarkOf,
|
|
12116
|
+
runMarkOf,
|
|
12117
|
+
marked,
|
|
12118
|
+
withoutRunMarks,
|
|
12119
|
+
API_UNTRUSTED,
|
|
12120
|
+
withUntrustedMarked,
|
|
12121
|
+
CHAT_UNTRUSTED,
|
|
12122
|
+
CONTACT_UNTRUSTED,
|
|
12123
|
+
marksUntrusted,
|
|
12091
12124
|
answerEntity,
|
|
12092
12125
|
answerEntitySchema,
|
|
12093
12126
|
answerProjectionSchema,
|
|
@@ -12105,12 +12138,6 @@ export {
|
|
|
12105
12138
|
stepLine,
|
|
12106
12139
|
tooLargeSteps,
|
|
12107
12140
|
withoutProviderRefs,
|
|
12108
|
-
runMarkOf,
|
|
12109
|
-
marked,
|
|
12110
|
-
withUntrustedMarked,
|
|
12111
|
-
CHAT_UNTRUSTED,
|
|
12112
|
-
CONTACT_UNTRUSTED,
|
|
12113
|
-
marksUntrusted,
|
|
12114
12141
|
answerSchema,
|
|
12115
12142
|
listOf,
|
|
12116
12143
|
itemOf,
|