@wirecat/mail-cli 0.23.0 → 0.23.1
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 +19 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-CI32WFEV.js → all-profiles-FJHJCGRU.js} +7 -7
- package/dist/bundle/{anthropic-ICSOMJIN.js → anthropic-AFL7NKVZ.js} +2 -2
- package/dist/bundle/{app-server-3F4ZB7DH.js → app-server-WKCBJMHI.js} +41 -41
- package/dist/bundle/{bun-7AHNFZMZ.js → bun-HQATAQJQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-UIWRS4HI.js → bun-sqlite-4ECAV7OU.js} +2 -2
- package/dist/bundle/{chunk-D6WTKSRA.js → chunk-2HXHAFRP.js} +2 -2
- package/dist/bundle/{chunk-XP5FBDIG.js → chunk-34743C4C.js} +1 -1
- package/dist/bundle/{chunk-SETCGPFG.js → chunk-3OZKDC6Y.js} +7 -6
- package/dist/bundle/{chunk-ETIUB2DF.js → chunk-3UFD76IR.js} +4 -4
- package/dist/bundle/{chunk-UA4BOLIY.js → chunk-4IFX4HV2.js} +4 -4
- package/dist/bundle/{chunk-7SIWMF77.js → chunk-4IWJARFA.js} +1 -1
- package/dist/bundle/{chunk-WQRX4RQS.js → chunk-4YJJQNNJ.js} +3 -3
- package/dist/bundle/{chunk-5Y2WRUYP.js → chunk-5UKBUI4I.js} +1 -1
- package/dist/bundle/{chunk-7OVVX4F4.js → chunk-76RTQYJQ.js} +1 -1
- package/dist/bundle/{chunk-TEL2OMS5.js → chunk-7YRKUEYE.js} +70 -49
- package/dist/bundle/{chunk-I3YNNSGB.js → chunk-AGNAT7CM.js} +1 -1
- package/dist/bundle/{chunk-4YTX5YAU.js → chunk-B6QMMRIM.js} +175 -151
- package/dist/bundle/{chunk-5J4WNTTM.js → chunk-BVJQBAGL.js} +9 -9
- package/dist/bundle/{chunk-NEDYKKJJ.js → chunk-CBWA2T3N.js} +2 -2
- package/dist/bundle/{chunk-R4RAWEMV.js → chunk-CCYHBNRL.js} +14 -14
- package/dist/bundle/{chunk-ZYHBMDNU.js → chunk-CUOCDJFI.js} +7 -7
- package/dist/bundle/{chunk-HN6PB7F5.js → chunk-CYQVWITQ.js} +16 -16
- package/dist/bundle/{chunk-SCH3NC5X.js → chunk-E7ZVKQHG.js} +2 -2
- package/dist/bundle/{chunk-B4MWHI2V.js → chunk-EXPR6QAX.js} +25 -11
- package/dist/bundle/{chunk-5AQ4S4TZ.js → chunk-FWFNUJQD.js} +17 -17
- package/dist/bundle/{chunk-UTLJQG6Q.js → chunk-GJNFNC76.js} +7 -7
- package/dist/bundle/{chunk-S2U5BXWS.js → chunk-HOKGIYUO.js} +22 -2
- package/dist/bundle/{chunk-HGV7DSSA.js → chunk-KKGX7JMX.js} +2 -2
- package/dist/bundle/{chunk-7DFWXIY5.js → chunk-LQDMUMA2.js} +222 -222
- package/dist/bundle/{chunk-FIZWQTUC.js → chunk-M7RGG3UU.js} +2 -2
- package/dist/bundle/{chunk-HRIYU2HJ.js → chunk-MBKNL5TX.js} +433 -94
- package/dist/bundle/{chunk-5Z7LZAVP.js → chunk-MUDHCYN4.js} +5 -5
- package/dist/bundle/{chunk-KNRONMVG.js → chunk-NKBAZ4VC.js} +1 -1
- package/dist/bundle/{chunk-JDKC7EXM.js → chunk-NMGF3UOZ.js} +27 -27
- package/dist/bundle/{chunk-FVKZ55I2.js → chunk-NOA6E6MM.js} +1652 -1216
- package/dist/bundle/{chunk-7ZDH2XEY.js → chunk-OJCUSHZG.js} +3 -3
- package/dist/bundle/{chunk-JO4BJYVE.js → chunk-OU5CWCG2.js} +1 -1
- package/dist/bundle/{chunk-NKDYHAHP.js → chunk-PMIKRELC.js} +2 -2
- package/dist/bundle/{chunk-XV3M3NAN.js → chunk-QR7JZM3D.js} +1 -1
- package/dist/bundle/{chunk-KJQZXCNK.js → chunk-QUKD5SO2.js} +3 -3
- package/dist/bundle/{chunk-AFPETMXZ.js → chunk-QV3M2MHG.js} +8 -8
- package/dist/bundle/{chunk-6FSLEARF.js → chunk-R554W7ZO.js} +1 -1
- package/dist/bundle/{chunk-2BAO4T4Z.js → chunk-R5MYOLQP.js} +12 -12
- package/dist/bundle/{chunk-ELGEHZK2.js → chunk-ROKTS7WM.js} +1 -1
- package/dist/bundle/{chunk-5QQOUYNA.js → chunk-S5OTP7XS.js} +2 -2
- package/dist/bundle/{chunk-B6GITVDX.js → chunk-SBGXKM4U.js} +4 -4
- package/dist/bundle/{chunk-5AS5N7V5.js → chunk-SNTLN2QT.js} +1 -1
- package/dist/bundle/{chunk-FHCOGR7S.js → chunk-SR3ADLGX.js} +2 -2
- package/dist/bundle/{chunk-SGMENSI6.js → chunk-UMXVQIGD.js} +24 -14
- package/dist/bundle/{chunk-4PNIZUEC.js → chunk-V3TDQUXD.js} +23 -23
- package/dist/bundle/{chunk-BT7UUI6E.js → chunk-V7CFZ773.js} +2 -2
- package/dist/bundle/{chunk-4TKQIXND.js → chunk-VAMCRP47.js} +1 -1
- package/dist/bundle/{chunk-AHRHP2H2.js → chunk-VFKX5UMJ.js} +5 -5
- package/dist/bundle/{chunk-CNYQ3TTZ.js → chunk-VYHIX3OP.js} +22 -22
- package/dist/bundle/{chunk-OMW37FXK.js → chunk-VYIIX6VN.js} +1 -1
- package/dist/bundle/{chunk-RIAZTS6C.js → chunk-WN4HP7IZ.js} +10 -10
- package/dist/bundle/{chunk-IMIY7HQB.js → chunk-ZXIPJF3Y.js} +1 -1
- package/dist/bundle/{command-contract-UIRWJVEY.js → command-contract-IIHBNF7J.js} +14 -14
- package/dist/bundle/{decode-BJXABRAN.js → decode-QXKTMOTH.js} +2 -2
- package/dist/bundle/{dist-LLEA6R4V.js → dist-5FX36DAW.js} +18 -10
- package/dist/bundle/{echarts-YPTKBOZV.js → echarts-HHUM43TU.js} +2 -2
- package/dist/bundle/{embed-DMROTI5M.js → embed-SRZSDZVI.js} +3 -3
- package/dist/bundle/{embedder-DWMHXCHJ.js → embedder-WZIZCWLX.js} +6 -6
- package/dist/bundle/{first-run-FQOEF2IO.js → first-run-6DVWZ3JQ.js} +5 -5
- package/dist/bundle/first-screen-SRZ7NYHZ.js +33 -0
- package/dist/bundle/{instructions-OGKMROLD.js → instructions-UWONE6UT.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-HIKYE546.js → node-HLAOYJDB.js} +2 -2
- package/dist/bundle/{node-sqlite-3GJAG7VO.js → node-sqlite-RO66I7W6.js} +3 -3
- package/dist/bundle/{oauth-H3DB6IHI.js → oauth-VNLB2TET.js} +4 -4
- package/dist/bundle/{open-DJ2PRG74.js → open-QQSG343L.js} +2 -2
- package/dist/bundle/{openai-MDBRYB55.js → openai-JTFC7OGF.js} +10 -10
- package/dist/bundle/{process-4LBD72JH.js → process-3CZAXR6P.js} +1 -1
- package/dist/bundle/{program-F6WK6RX4.js → program-XTOS4RAM.js} +1504 -817
- package/dist/bundle/{prompt-UNPUG6SO.js → prompt-HGQ6GPYL.js} +2 -2
- package/dist/bundle/{recognize-DMIO4PDB.js → recognize-2SHMNEIZ.js} +1 -1
- package/dist/bundle/{remote-24HJA72D.js → remote-GBQC3433.js} +4 -4
- package/dist/bundle/{rerank-PTNCHHIU.js → rerank-FQHQXFNR.js} +4 -4
- package/dist/bundle/{serve-T6JHM2YD.js → serve-THU67QUZ.js} +6 -6
- package/dist/bundle/{server-BWEYRUR3.js → server-LOT3CLYX.js} +33 -33
- package/dist/bundle/server-VKMUX7ZT.js +65 -0
- package/dist/bundle/{sqlite-runtime-ZJ4EH5ZM.js → sqlite-runtime-NOOUMBC4.js} +3 -3
- package/dist/bundle/{state-KSN4OFYW.js → state-KSKZCV2U.js} +3 -3
- package/dist/bundle/{store-OIEZJEA7.js → store-BAKSHTKF.js} +18 -12
- package/dist/bundle/{store-GVBW2ZFK.js → store-OHNZOQ7U.js} +20 -16
- package/dist/bundle/store-maintenance-command-ROQHJVEA.js +54 -0
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +29 -7
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/sync.d.ts +0 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +8 -2
- package/dist/commands/sync.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/first-screen-B6LF5464.js +0 -33
- package/dist/bundle/server-VUQNR5ZD.js +0 -65
- package/dist/bundle/store-maintenance-command-KJ54HLUQ.js +0 -54
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-SBGXKM4U.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
providerErrorKey,
|
|
24
24
|
renderEvent,
|
|
25
25
|
runContextOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CUOCDJFI.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OU5CWCG2.js";
|
|
30
30
|
import {
|
|
31
31
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-SR3ADLGX.js";
|
|
33
33
|
import {
|
|
34
34
|
note
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-E7ZVKQHG.js";
|
|
36
36
|
import {
|
|
37
37
|
FACT_STATUSES,
|
|
38
38
|
LINK_KINDS,
|
|
@@ -56,10 +56,11 @@ import {
|
|
|
56
56
|
project,
|
|
57
57
|
providerMetadata,
|
|
58
58
|
reminder,
|
|
59
|
+
sourceReview,
|
|
59
60
|
text,
|
|
60
61
|
time,
|
|
61
62
|
untrusted
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-EXPR6QAX.js";
|
|
63
64
|
import {
|
|
64
65
|
BUSINESS_KINDS,
|
|
65
66
|
DEAL_ROLES,
|
|
@@ -89,23 +90,23 @@ import {
|
|
|
89
90
|
meetingStats,
|
|
90
91
|
meetingSummary,
|
|
91
92
|
meetingTranscript
|
|
92
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-7YRKUEYE.js";
|
|
93
94
|
import {
|
|
94
95
|
isCliFailure,
|
|
95
96
|
storeDamaged
|
|
96
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-R554W7ZO.js";
|
|
97
98
|
import {
|
|
98
99
|
readSharedSection,
|
|
99
100
|
sharedConfigPath,
|
|
100
101
|
writeSharedSection
|
|
101
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-3UFD76IR.js";
|
|
102
103
|
import {
|
|
103
104
|
filesPresent,
|
|
104
105
|
sharedModelsDirectory
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-QUKD5SO2.js";
|
|
106
107
|
import {
|
|
107
108
|
storePath
|
|
108
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-5UKBUI4I.js";
|
|
109
110
|
import {
|
|
110
111
|
configFilePath,
|
|
111
112
|
createRecordLog,
|
|
@@ -179,7 +180,7 @@ import {
|
|
|
179
180
|
__name
|
|
180
181
|
} from "./chunk-ZVVMGPBJ.js";
|
|
181
182
|
|
|
182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
183
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
183
184
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
184
185
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
185
186
|
const name = envName(app, "READ_ONLY");
|
|
@@ -3892,7 +3893,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3892
3893
|
}
|
|
3893
3894
|
}, "refuseJoinedPath");
|
|
3894
3895
|
|
|
3895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3896
3897
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3897
3898
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3898
3899
|
messageId: message2.id,
|
|
@@ -3998,7 +3999,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
3998
3999
|
}, "guardedWrite");
|
|
3999
4000
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4000
4001
|
|
|
4001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4002
4003
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4003
4004
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4004
4005
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4181,7 +4182,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4181
4182
|
}
|
|
4182
4183
|
}, "withAbort");
|
|
4183
4184
|
|
|
4184
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4185
4186
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4186
4187
|
import { join } from "node:path";
|
|
4187
4188
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4203,7 +4204,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4203
4204
|
}, "profilesWithAccounts");
|
|
4204
4205
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4205
4206
|
|
|
4206
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4207
4208
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4208
4209
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4209
4210
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4246,7 +4247,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
4246
4247
|
};
|
|
4247
4248
|
}, "runBudget");
|
|
4248
4249
|
|
|
4249
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4250
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4250
4251
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4251
4252
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4252
4253
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4280,7 +4281,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4280
4281
|
cache: "cache.answered"
|
|
4281
4282
|
};
|
|
4282
4283
|
|
|
4283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4284
4285
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4285
4286
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4286
4287
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4293,13 +4294,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4293
4294
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4294
4295
|
}), "snakeLogger");
|
|
4295
4296
|
|
|
4296
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4297
4298
|
import { randomUUID } from "node:crypto";
|
|
4298
4299
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4299
4300
|
import { userInfo } from "node:os";
|
|
4300
4301
|
import { join as join2, sep } from "node:path";
|
|
4301
4302
|
|
|
4302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4303
4304
|
var diagnostic = {
|
|
4304
4305
|
event: true,
|
|
4305
4306
|
operation: true,
|
|
@@ -4369,7 +4370,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4369
4370
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4370
4371
|
].sort();
|
|
4371
4372
|
|
|
4372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4373
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4373
4374
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4374
4375
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4375
4376
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -4722,7 +4723,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
4722
4723
|
};
|
|
4723
4724
|
}, "metadataOf");
|
|
4724
4725
|
|
|
4725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4726
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
4726
4727
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4727
4728
|
import { randomBytes } from "node:crypto";
|
|
4728
4729
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -4760,7 +4761,7 @@ var attempts = new AsyncLocalStorage2();
|
|
|
4760
4761
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
4761
4762
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
4762
4763
|
|
|
4763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4764
4765
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4765
4766
|
const recording = startRecording(options);
|
|
4766
4767
|
try {
|
|
@@ -4952,7 +4953,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4952
4953
|
return void 0;
|
|
4953
4954
|
}, "partialOutcome");
|
|
4954
4955
|
|
|
4955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4956
4957
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4957
4958
|
if (ms2 === void 0)
|
|
4958
4959
|
return body();
|
|
@@ -4978,7 +4979,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4978
4979
|
}
|
|
4979
4980
|
}, "withDeadline");
|
|
4980
4981
|
|
|
4981
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4982
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4982
4983
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4983
4984
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4984
4985
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5047,10 +5048,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5047
5048
|
return void 0;
|
|
5048
5049
|
}, "sampleCommand");
|
|
5049
5050
|
|
|
5050
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5051
5052
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5052
5053
|
|
|
5053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5054
5055
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5055
5056
|
try {
|
|
5056
5057
|
const url3 = new URL(value);
|
|
@@ -5060,7 +5061,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5060
5061
|
}
|
|
5061
5062
|
}, "endpoint");
|
|
5062
5063
|
|
|
5063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5064
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5064
5065
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5065
5066
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5066
5067
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5129,7 +5130,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5129
5130
|
};
|
|
5130
5131
|
}, "modelTarget");
|
|
5131
5132
|
|
|
5132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5133
5134
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5134
5135
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5135
5136
|
var AI_FIELDS = {
|
|
@@ -5173,7 +5174,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5173
5174
|
};
|
|
5174
5175
|
}, "resolveAISettings");
|
|
5175
5176
|
|
|
5176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5177
5178
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5178
5179
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5179
5180
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5187,7 +5188,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5187
5188
|
return ms2;
|
|
5188
5189
|
}, "parseDuration");
|
|
5189
5190
|
|
|
5190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5191
5192
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5192
5193
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5193
5194
|
var e5Large = huggingFace("Xenova/multilingual-e5-large", "00fc3aeb3dbb95842de2ac1961d33c6319acf57b");
|
|
@@ -5449,7 +5450,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5449
5450
|
}, "vectorModelKey");
|
|
5450
5451
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5451
5452
|
|
|
5452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5453
5454
|
var HISTORY_MAX_DAYS = 1095;
|
|
5454
5455
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5455
5456
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5496,7 +5497,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5496
5497
|
return { batch: { ...batch, messages }, skipped };
|
|
5497
5498
|
}, "limitBatch");
|
|
5498
5499
|
|
|
5499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5500
5501
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5501
5502
|
import { join as join3 } from "node:path";
|
|
5502
5503
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5585,10 +5586,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5585
5586
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5586
5587
|
}, "registryProfiles");
|
|
5587
5588
|
|
|
5588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5589
5590
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5590
5591
|
|
|
5591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5592
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5592
5593
|
var REPAIR_WORDS = {
|
|
5593
5594
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5594
5595
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5829,7 +5830,7 @@ ${parts.join(",\n")}
|
|
|
5829
5830
|
${indent}${close}`;
|
|
5830
5831
|
}, "serialise");
|
|
5831
5832
|
|
|
5832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5833
5834
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5834
5835
|
var SECTIONS = ["personal", "bot"];
|
|
5835
5836
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6123,7 +6124,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6123
6124
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6124
6125
|
}, "readConfigFile");
|
|
6125
6126
|
|
|
6126
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6127
6128
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6128
6129
|
import { dirname, join as join4 } from "node:path";
|
|
6129
6130
|
var DEFAULT_CONFIG = {
|
|
@@ -6152,7 +6153,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6152
6153
|
}
|
|
6153
6154
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6154
6155
|
|
|
6155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6156
6157
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6157
6158
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6158
6159
|
const path2 = key.split(".");
|
|
@@ -6174,7 +6175,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
6174
6175
|
return { config, added };
|
|
6175
6176
|
}, "withSettingDefaults");
|
|
6176
6177
|
|
|
6177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6178
6179
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6179
6180
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6180
6181
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6684,7 +6685,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6684
6685
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6685
6686
|
}, "given");
|
|
6686
6687
|
|
|
6687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6688
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6688
6689
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
|
|
6689
6690
|
const { deadline, signal, app } = environmentOf(command);
|
|
6690
6691
|
const now = deadline?.();
|
|
@@ -6816,7 +6817,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6816
6817
|
return words2.join(" ");
|
|
6817
6818
|
}, "commandPath");
|
|
6818
6819
|
|
|
6819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6820
6821
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6821
6822
|
var FETCH = { remote: "read", local: "write" };
|
|
6822
6823
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6866,6 +6867,10 @@ var isProposal = /* @__PURE__ */ __name((command) => {
|
|
|
6866
6867
|
}, "isProposal");
|
|
6867
6868
|
var LOCKED_AUTHORITY_COMMANDS = ["rules add"];
|
|
6868
6869
|
var NARROWS = /* @__PURE__ */ new WeakSet();
|
|
6870
|
+
var narrowsUnderLock = /* @__PURE__ */ __name((command) => {
|
|
6871
|
+
NARROWS.add(command);
|
|
6872
|
+
return command;
|
|
6873
|
+
}, "narrowsUnderLock");
|
|
6869
6874
|
var admittedUnderLock = /* @__PURE__ */ __name((command) => {
|
|
6870
6875
|
if (!NARROWS.has(command))
|
|
6871
6876
|
return false;
|
|
@@ -6944,7 +6949,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6944
6949
|
throw readOnlyRefusal(lock, what);
|
|
6945
6950
|
}, "refuseUnderReadOnly");
|
|
6946
6951
|
|
|
6947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6948
6953
|
var account = strictObject({
|
|
6949
6954
|
provider: text,
|
|
6950
6955
|
id,
|
|
@@ -6954,7 +6959,7 @@ var account = strictObject({
|
|
|
6954
6959
|
scope: optional(picklist(["personal", "work"]))
|
|
6955
6960
|
});
|
|
6956
6961
|
|
|
6957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6962
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6958
6963
|
var accountSession = strictObject({
|
|
6959
6964
|
current: boolean(),
|
|
6960
6965
|
client: nullable(text),
|
|
@@ -6964,7 +6969,7 @@ var accountSession = strictObject({
|
|
|
6964
6969
|
created_at: optional(nullable(time))
|
|
6965
6970
|
});
|
|
6966
6971
|
|
|
6967
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6968
6973
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6969
6974
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6970
6975
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6993,7 +6998,7 @@ var accountRemoval = strictObject({
|
|
|
6993
6998
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6994
6999
|
});
|
|
6995
7000
|
|
|
6996
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7001
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6997
7002
|
var accountProfile = strictObject({
|
|
6998
7003
|
profile: id,
|
|
6999
7004
|
current: boolean(),
|
|
@@ -7005,7 +7010,7 @@ var accountProfile = strictObject({
|
|
|
7005
7010
|
bot: optional(literal(true))
|
|
7006
7011
|
});
|
|
7007
7012
|
|
|
7008
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
7009
7014
|
var milliseconds = pipe(number(), minValue(0));
|
|
7010
7015
|
var counterReading = strictObject({
|
|
7011
7016
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -7017,7 +7022,7 @@ var counterReading = strictObject({
|
|
|
7017
7022
|
});
|
|
7018
7023
|
var selection = record(string(), unknown());
|
|
7019
7024
|
|
|
7020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7025
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
7021
7026
|
var adminRow = strictObject({
|
|
7022
7027
|
ref: reference,
|
|
7023
7028
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -7070,7 +7075,7 @@ var adminReport = strictObject({
|
|
|
7070
7075
|
rows: array(adminRow)
|
|
7071
7076
|
});
|
|
7072
7077
|
|
|
7073
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7078
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
7074
7079
|
var closeSuggestion = strictObject({
|
|
7075
7080
|
as: picklist(["done", "dismissed"]),
|
|
7076
7081
|
/** The agent's name. */
|
|
@@ -7132,7 +7137,7 @@ var task = strictObject({
|
|
|
7132
7137
|
updated_at: optional(time)
|
|
7133
7138
|
});
|
|
7134
7139
|
|
|
7135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7136
7141
|
var agendaChat = strictObject({
|
|
7137
7142
|
chat: reference,
|
|
7138
7143
|
title: nullable(text),
|
|
@@ -7202,11 +7207,11 @@ var agenda = strictObject({
|
|
|
7202
7207
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7203
7208
|
});
|
|
7204
7209
|
|
|
7205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7206
7211
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7207
7212
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7208
7213
|
|
|
7209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7210
7215
|
var attachment = strictObject({
|
|
7211
7216
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7212
7217
|
message: optional(reference),
|
|
@@ -7244,7 +7249,7 @@ var attachment = strictObject({
|
|
|
7244
7249
|
});
|
|
7245
7250
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7246
7251
|
|
|
7247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7248
7253
|
var actionableError = objectWithRest({
|
|
7249
7254
|
code: text,
|
|
7250
7255
|
message: text,
|
|
@@ -7261,7 +7266,7 @@ var batchResult = strictObject({
|
|
|
7261
7266
|
max_error_percent: count
|
|
7262
7267
|
});
|
|
7263
7268
|
|
|
7264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7265
7270
|
var extractionItem = strictObject({
|
|
7266
7271
|
ref: reference,
|
|
7267
7272
|
attachment: count,
|
|
@@ -7294,7 +7299,7 @@ var extractionReport = strictObject({
|
|
|
7294
7299
|
cursor: optional(text)
|
|
7295
7300
|
});
|
|
7296
7301
|
|
|
7297
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7298
7303
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7299
7304
|
var attachmentBytes = strictObject({
|
|
7300
7305
|
ref: reference,
|
|
@@ -7322,7 +7327,7 @@ var attachmentTextChange = strictObject({
|
|
|
7322
7327
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7323
7328
|
});
|
|
7324
7329
|
|
|
7325
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7326
7331
|
var chart = strictObject({
|
|
7327
7332
|
version: literal(1),
|
|
7328
7333
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7337,7 +7342,7 @@ var chart = strictObject({
|
|
|
7337
7342
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7338
7343
|
});
|
|
7339
7344
|
|
|
7340
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7345
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7341
7346
|
var member = strictObject({
|
|
7342
7347
|
id,
|
|
7343
7348
|
name: nullable(text),
|
|
@@ -7360,7 +7365,7 @@ var member = strictObject({
|
|
|
7360
7365
|
check: optional(record(string(), unknown()))
|
|
7361
7366
|
});
|
|
7362
7367
|
|
|
7363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7368
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7364
7369
|
var setting = optional(nullable(boolean()));
|
|
7365
7370
|
var chat = strictObject({
|
|
7366
7371
|
ref: reference,
|
|
@@ -7401,7 +7406,7 @@ var chat = strictObject({
|
|
|
7401
7406
|
members: optional(array(member))
|
|
7402
7407
|
});
|
|
7403
7408
|
|
|
7404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7405
7410
|
var named = strictObject({
|
|
7406
7411
|
id,
|
|
7407
7412
|
title: nullable(text),
|
|
@@ -7424,7 +7429,7 @@ var folder = strictObject({
|
|
|
7424
7429
|
excluded_chats: optional(array(named))
|
|
7425
7430
|
});
|
|
7426
7431
|
|
|
7427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7428
7433
|
var inviteLink = strictObject({
|
|
7429
7434
|
link: text,
|
|
7430
7435
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7440,7 +7445,7 @@ var inviteLink = strictObject({
|
|
|
7440
7445
|
joined_count: optional(count)
|
|
7441
7446
|
});
|
|
7442
7447
|
|
|
7443
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7444
7449
|
var operated = { operation_id: id, chat_id: id };
|
|
7445
7450
|
var group = strictObject({
|
|
7446
7451
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7520,7 +7525,7 @@ var chatFolderOrder = strictObject({
|
|
|
7520
7525
|
folders: array(strictObject({ id, title: text }))
|
|
7521
7526
|
});
|
|
7522
7527
|
|
|
7523
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7524
7529
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7525
7530
|
var chatRemoval = strictObject(operated2);
|
|
7526
7531
|
var chatMuting = strictObject({
|
|
@@ -7531,7 +7536,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7531
7536
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7532
7537
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7533
7538
|
|
|
7534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7535
7540
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7536
7541
|
var chatEvent = strictObject({
|
|
7537
7542
|
chat_id: id,
|
|
@@ -7548,7 +7553,7 @@ var chatEvent = strictObject({
|
|
|
7548
7553
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7549
7554
|
});
|
|
7550
7555
|
|
|
7551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7552
7557
|
var chatMetadata = strictObject({
|
|
7553
7558
|
chat_id: id,
|
|
7554
7559
|
title: nullable(text),
|
|
@@ -7563,7 +7568,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7563
7568
|
has_more: boolean()
|
|
7564
7569
|
});
|
|
7565
7570
|
|
|
7566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7567
7572
|
var action = picklist(["report", "delete", "remove"]);
|
|
7568
7573
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7569
7574
|
var chatRules = strictObject({
|
|
@@ -7600,7 +7605,7 @@ var chatModeration = strictObject({
|
|
|
7600
7605
|
}))
|
|
7601
7606
|
});
|
|
7602
7607
|
|
|
7603
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7604
7609
|
var optionalCount = optional(count);
|
|
7605
7610
|
var minutes = nullable(number());
|
|
7606
7611
|
var chatStats = strictObject({
|
|
@@ -7674,7 +7679,7 @@ var taskStats = strictObject({
|
|
|
7674
7679
|
}))
|
|
7675
7680
|
});
|
|
7676
7681
|
|
|
7677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7678
7683
|
var memberCount = strictObject({
|
|
7679
7684
|
day: pipe(text, isoDate()),
|
|
7680
7685
|
participants: nullable(count),
|
|
@@ -7697,7 +7702,7 @@ var chatTracking = strictObject({
|
|
|
7697
7702
|
tracked: boolean()
|
|
7698
7703
|
});
|
|
7699
7704
|
|
|
7700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7705
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7701
7706
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7702
7707
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7703
7708
|
var profileFields = {
|
|
@@ -7735,7 +7740,7 @@ var profileFields = {
|
|
|
7735
7740
|
}))
|
|
7736
7741
|
};
|
|
7737
7742
|
|
|
7738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7739
7744
|
var contact = strictObject({
|
|
7740
7745
|
ref: reference,
|
|
7741
7746
|
id,
|
|
@@ -7766,7 +7771,7 @@ var contact = strictObject({
|
|
|
7766
7771
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7767
7772
|
});
|
|
7768
7773
|
|
|
7769
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7774
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7770
7775
|
var WEIGHTS = {
|
|
7771
7776
|
bot: 3,
|
|
7772
7777
|
scam: 3,
|
|
@@ -7791,7 +7796,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7791
7796
|
var DIGITS = /\d{5,}/;
|
|
7792
7797
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7793
7798
|
|
|
7794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7795
7800
|
var linkedIdentity = strictObject({
|
|
7796
7801
|
provider: text,
|
|
7797
7802
|
id,
|
|
@@ -7833,7 +7838,7 @@ var contactCheck = strictObject({
|
|
|
7833
7838
|
checked_at: time
|
|
7834
7839
|
});
|
|
7835
7840
|
|
|
7836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7837
7842
|
var quoted = strictObject({
|
|
7838
7843
|
id,
|
|
7839
7844
|
sender_id: nullable(id),
|
|
@@ -7952,7 +7957,7 @@ var message = strictObject({
|
|
|
7952
7957
|
provider_metadata: providerMetadata
|
|
7953
7958
|
});
|
|
7954
7959
|
|
|
7955
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7960
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7956
7961
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7957
7962
|
var contextMessage = strictObject({
|
|
7958
7963
|
locator: reference,
|
|
@@ -8152,7 +8157,7 @@ var contactPreparation = strictObject({
|
|
|
8152
8157
|
})
|
|
8153
8158
|
});
|
|
8154
8159
|
|
|
8155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8156
8161
|
var contactNote = strictObject({
|
|
8157
8162
|
id,
|
|
8158
8163
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8164,13 +8169,13 @@ var contactNote = strictObject({
|
|
|
8164
8169
|
updated_at: time
|
|
8165
8170
|
});
|
|
8166
8171
|
|
|
8167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8168
8173
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8169
8174
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8170
8175
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8171
8176
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8172
8177
|
|
|
8173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8174
8179
|
var conversation = strictObject({
|
|
8175
8180
|
id,
|
|
8176
8181
|
chat: reference,
|
|
@@ -8185,7 +8190,7 @@ var conversation = strictObject({
|
|
|
8185
8190
|
rules_version: count
|
|
8186
8191
|
});
|
|
8187
8192
|
|
|
8188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8193
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8189
8194
|
var conversationBuild = strictObject({
|
|
8190
8195
|
chat: id,
|
|
8191
8196
|
messages: count,
|
|
@@ -8210,7 +8215,7 @@ var catchUpPreparation = strictObject({
|
|
|
8210
8215
|
prepared: optional(conversationPreparation)
|
|
8211
8216
|
});
|
|
8212
8217
|
|
|
8213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8214
8219
|
var conversationDetails = union([
|
|
8215
8220
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8216
8221
|
message
|
|
@@ -8300,7 +8305,7 @@ var conversationHit = strictObject({
|
|
|
8300
8305
|
stale: boolean()
|
|
8301
8306
|
});
|
|
8302
8307
|
|
|
8303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8304
8309
|
var counters = strictObject({
|
|
8305
8310
|
cutoff: time,
|
|
8306
8311
|
max_age_ms: milliseconds,
|
|
@@ -8330,7 +8335,7 @@ var counterRefresh = strictObject({
|
|
|
8330
8335
|
complete: optional(boolean())
|
|
8331
8336
|
});
|
|
8332
8337
|
|
|
8333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8338
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8334
8339
|
var nullableText = nullable(text);
|
|
8335
8340
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8336
8341
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8420,7 +8425,7 @@ var stage = strictObject({
|
|
|
8420
8425
|
untrusted
|
|
8421
8426
|
});
|
|
8422
8427
|
|
|
8423
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8424
8429
|
var document = strictObject({
|
|
8425
8430
|
ref: reference,
|
|
8426
8431
|
id,
|
|
@@ -8435,7 +8440,7 @@ var document = strictObject({
|
|
|
8435
8440
|
owners: optional(array(text))
|
|
8436
8441
|
});
|
|
8437
8442
|
|
|
8438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8439
8444
|
var documentLink = strictObject({
|
|
8440
8445
|
ref: reference,
|
|
8441
8446
|
url: text,
|
|
@@ -8446,7 +8451,7 @@ var documentLink = strictObject({
|
|
|
8446
8451
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8447
8452
|
});
|
|
8448
8453
|
|
|
8449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8450
8455
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8451
8456
|
var contribution = strictObject({
|
|
8452
8457
|
message: evidenceMessage,
|
|
@@ -8476,7 +8481,7 @@ var retentionStay = strictObject({
|
|
|
8476
8481
|
});
|
|
8477
8482
|
var evidence = union([contribution, retentionStay]);
|
|
8478
8483
|
|
|
8479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8480
8485
|
var fact = strictObject({
|
|
8481
8486
|
ref: reference,
|
|
8482
8487
|
id,
|
|
@@ -8502,11 +8507,12 @@ var fact = strictObject({
|
|
|
8502
8507
|
evidence: array(reference),
|
|
8503
8508
|
/** With `--sources`: each piece of evidence read back. */
|
|
8504
8509
|
sources: optional(array(evidenceSource)),
|
|
8510
|
+
source_review: optional(sourceReview),
|
|
8505
8511
|
created_at: time,
|
|
8506
8512
|
updated_at: time
|
|
8507
8513
|
});
|
|
8508
8514
|
|
|
8509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8515
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8510
8516
|
var hit = strictObject({
|
|
8511
8517
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8512
8518
|
ref: reference,
|
|
@@ -8548,7 +8554,7 @@ var hit = strictObject({
|
|
|
8548
8554
|
untrusted
|
|
8549
8555
|
});
|
|
8550
8556
|
|
|
8551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8552
8558
|
var identity = strictObject({
|
|
8553
8559
|
ref: reference,
|
|
8554
8560
|
provider: text,
|
|
@@ -8561,7 +8567,7 @@ var identity = strictObject({
|
|
|
8561
8567
|
person: optional(nullable(reference))
|
|
8562
8568
|
});
|
|
8563
8569
|
|
|
8564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8565
8571
|
var imageEmbedding = strictObject({
|
|
8566
8572
|
model: text,
|
|
8567
8573
|
embedded: count,
|
|
@@ -8570,13 +8576,13 @@ var imageEmbedding = strictObject({
|
|
|
8570
8576
|
more: boolean()
|
|
8571
8577
|
});
|
|
8572
8578
|
|
|
8573
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8574
8580
|
import { spawn } from "node:child_process";
|
|
8575
8581
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8576
8582
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8577
8583
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8578
8584
|
|
|
8579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8580
8586
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8581
8587
|
const total = input.total ?? null;
|
|
8582
8588
|
const updated = input.updatedAt ?? null;
|
|
@@ -8592,7 +8598,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8592
8598
|
};
|
|
8593
8599
|
}, "progressOf");
|
|
8594
8600
|
|
|
8595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8596
8602
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8597
8603
|
const run = currentRun();
|
|
8598
8604
|
const trace = traceId ?? run.traceId;
|
|
@@ -8606,7 +8612,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8606
8612
|
}));
|
|
8607
8613
|
}, "recordLogFor");
|
|
8608
8614
|
|
|
8609
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8610
8616
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8611
8617
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8612
8618
|
const out = openSync(log, "a", 384);
|
|
@@ -8761,7 +8767,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8761
8767
|
return { job: id6, pid, chat: input.chat, log };
|
|
8762
8768
|
}, "startArchiveJob");
|
|
8763
8769
|
|
|
8764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8765
8771
|
var problem = strictObject({ code: text, message: text });
|
|
8766
8772
|
var job = strictObject({
|
|
8767
8773
|
id,
|
|
@@ -8784,7 +8790,7 @@ var job = strictObject({
|
|
|
8784
8790
|
error: optional(problem)
|
|
8785
8791
|
});
|
|
8786
8792
|
|
|
8787
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8788
8794
|
var joinRequest = strictObject({
|
|
8789
8795
|
person_id: id,
|
|
8790
8796
|
name: nullable(text),
|
|
@@ -8795,7 +8801,7 @@ var joinRequest = strictObject({
|
|
|
8795
8801
|
about: optional(text)
|
|
8796
8802
|
});
|
|
8797
8803
|
|
|
8798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8804
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8799
8805
|
var botProfile = strictObject({
|
|
8800
8806
|
name: text,
|
|
8801
8807
|
token: text,
|
|
@@ -8840,11 +8846,13 @@ var scheduledJob = strictObject({
|
|
|
8840
8846
|
failing_since: optional(time),
|
|
8841
8847
|
failures: optional(number()),
|
|
8842
8848
|
cost_usd: optional(number()),
|
|
8843
|
-
|
|
8849
|
+
input_hash: optional(text),
|
|
8850
|
+
/** The last time a run did not start, and why: the day's cost cap, too little new mail, or the same input. */
|
|
8844
8851
|
skipped: optional(strictObject({
|
|
8845
8852
|
at: time,
|
|
8846
8853
|
why: text,
|
|
8847
|
-
/** A dotted id for `why`, so a client can translate it: `cost.day-cap`, `mail.none-new`, `mail.below-threshold
|
|
8854
|
+
/** A dotted id for `why`, so a client can translate it: `cost.day-cap`, `mail.none-new`, `mail.below-threshold`,
|
|
8855
|
+
* `mail.same-input`. */
|
|
8848
8856
|
reason: optional(pipe(text, regex(/^[a-z][a-z0-9-]*(\.[a-z][a-z0-9-]*)+$/)))
|
|
8849
8857
|
})),
|
|
8850
8858
|
/** How the run's result went along each route; `reason` a dotted id, `error` the sending CLI's code and reason id. */
|
|
@@ -8888,7 +8896,7 @@ var stickerInventory = strictObject({
|
|
|
8888
8896
|
url: optional(nullable(text))
|
|
8889
8897
|
});
|
|
8890
8898
|
|
|
8891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8899
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8892
8900
|
var pollVote = strictObject({
|
|
8893
8901
|
person_id: id,
|
|
8894
8902
|
name: nullable(text),
|
|
@@ -8898,7 +8906,7 @@ var pollVote = strictObject({
|
|
|
8898
8906
|
voted_at: time
|
|
8899
8907
|
});
|
|
8900
8908
|
|
|
8901
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8902
8910
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8903
8911
|
var observation = strictObject({
|
|
8904
8912
|
value: pipe(number(), minValue(0)),
|
|
@@ -8940,7 +8948,7 @@ var serveSummary = strictObject({
|
|
|
8940
8948
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8941
8949
|
});
|
|
8942
8950
|
|
|
8943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8944
8952
|
var mailCounts = strictObject({
|
|
8945
8953
|
by: picklist(["day", "week", "sender"]),
|
|
8946
8954
|
received: count,
|
|
@@ -8955,7 +8963,7 @@ var mailCounts = strictObject({
|
|
|
8955
8963
|
}))
|
|
8956
8964
|
});
|
|
8957
8965
|
|
|
8958
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8959
8967
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8960
8968
|
var base = { id, evidence: array(evidence2) };
|
|
8961
8969
|
var finding = variant("kind", [
|
|
@@ -9099,7 +9107,7 @@ var mailFindings = strictObject({
|
|
|
9099
9107
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9100
9108
|
});
|
|
9101
9109
|
|
|
9102
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9103
9111
|
var mediaArchive = strictObject({
|
|
9104
9112
|
directory: text,
|
|
9105
9113
|
chats: count,
|
|
@@ -9131,7 +9139,7 @@ var mediaArchiveTimer = union([
|
|
|
9131
9139
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9132
9140
|
]);
|
|
9133
9141
|
|
|
9134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9135
9143
|
var preparationId = pipe(string(), minLength(1));
|
|
9136
9144
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9137
9145
|
var preparationTime = nullable(isoTime);
|
|
@@ -9223,7 +9231,7 @@ var preparationMeeting = strictObject({
|
|
|
9223
9231
|
updated_at: isoTime
|
|
9224
9232
|
});
|
|
9225
9233
|
|
|
9226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9234
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9227
9235
|
var meetingEvidence = preparationEvidence;
|
|
9228
9236
|
var meetingPersonContext = strictObject({
|
|
9229
9237
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9245,7 +9253,7 @@ var meetingPersonContext = strictObject({
|
|
|
9245
9253
|
})
|
|
9246
9254
|
});
|
|
9247
9255
|
|
|
9248
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9249
9257
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9250
9258
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9251
9259
|
var finding2 = variant("kind", [
|
|
@@ -9283,7 +9291,7 @@ var meetingFindings = strictObject({
|
|
|
9283
9291
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9284
9292
|
});
|
|
9285
9293
|
|
|
9286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9294
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9287
9295
|
var communicationCoverage = strictObject({
|
|
9288
9296
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9289
9297
|
query: string(),
|
|
@@ -9328,7 +9336,7 @@ var preparationCommunications = strictObject({
|
|
|
9328
9336
|
}))
|
|
9329
9337
|
});
|
|
9330
9338
|
|
|
9331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9332
9340
|
var meetingPreparation = strictObject({
|
|
9333
9341
|
communications: optional(preparationCommunications),
|
|
9334
9342
|
schema_version: literal(1),
|
|
@@ -9441,7 +9449,7 @@ var meetingPreparation = strictObject({
|
|
|
9441
9449
|
})
|
|
9442
9450
|
});
|
|
9443
9451
|
|
|
9444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9452
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9445
9453
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9446
9454
|
var id3 = pipe(string(), minLength(1));
|
|
9447
9455
|
var text3 = string();
|
|
@@ -9505,7 +9513,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9505
9513
|
})
|
|
9506
9514
|
});
|
|
9507
9515
|
|
|
9508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9509
9517
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9510
9518
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9511
9519
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9535,7 +9543,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9535
9543
|
})
|
|
9536
9544
|
});
|
|
9537
9545
|
|
|
9538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9539
9547
|
var text4 = string();
|
|
9540
9548
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9541
9549
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9552,7 +9560,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9552
9560
|
persistence: literal("proposal-only")
|
|
9553
9561
|
});
|
|
9554
9562
|
|
|
9555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9556
9564
|
var memory = strictObject({
|
|
9557
9565
|
ref: reference,
|
|
9558
9566
|
id,
|
|
@@ -9575,11 +9583,12 @@ var memory = strictObject({
|
|
|
9575
9583
|
/** With `--sources`: each piece of evidence read back. */
|
|
9576
9584
|
sources: optional(array(evidenceSource)),
|
|
9577
9585
|
last_verified_at: nullable(time),
|
|
9586
|
+
source_review: optional(sourceReview),
|
|
9578
9587
|
created_at: time,
|
|
9579
9588
|
updated_at: time
|
|
9580
9589
|
});
|
|
9581
9590
|
|
|
9582
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9583
9592
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9584
9593
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9585
9594
|
var mention = strictObject({
|
|
@@ -9622,13 +9631,13 @@ var mentionRebuild = strictObject({
|
|
|
9622
9631
|
mentions: count
|
|
9623
9632
|
});
|
|
9624
9633
|
|
|
9625
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9626
9635
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9627
9636
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9628
9637
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9629
9638
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9630
9639
|
|
|
9631
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9640
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9632
9641
|
var messageTranscript = strictObject({
|
|
9633
9642
|
message_id: id,
|
|
9634
9643
|
text,
|
|
@@ -9686,7 +9695,7 @@ var evidencePacket = strictObject({
|
|
|
9686
9695
|
}))
|
|
9687
9696
|
});
|
|
9688
9697
|
|
|
9689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9690
9699
|
var messageThread = strictObject({
|
|
9691
9700
|
ref: reference,
|
|
9692
9701
|
chat: id,
|
|
@@ -9703,7 +9712,7 @@ var messageThread = strictObject({
|
|
|
9703
9712
|
});
|
|
9704
9713
|
var messageContext = union([message, messageThread]);
|
|
9705
9714
|
|
|
9706
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9707
9716
|
var messageCounts = strictObject({
|
|
9708
9717
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9709
9718
|
total: count,
|
|
@@ -9716,7 +9725,7 @@ var messageCounts = strictObject({
|
|
|
9716
9725
|
}))
|
|
9717
9726
|
});
|
|
9718
9727
|
|
|
9719
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9720
9729
|
var messageLink = strictObject({
|
|
9721
9730
|
ref: reference,
|
|
9722
9731
|
url: nullable(text),
|
|
@@ -9733,7 +9742,7 @@ var messageLink = strictObject({
|
|
|
9733
9742
|
})))
|
|
9734
9743
|
});
|
|
9735
9744
|
|
|
9736
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9737
9746
|
var savedMessageFile = strictObject({
|
|
9738
9747
|
kind: text,
|
|
9739
9748
|
path: text,
|
|
@@ -9820,7 +9829,7 @@ var messageSyncAll = strictObject({
|
|
|
9820
9829
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9821
9830
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9822
9831
|
|
|
9823
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9824
9833
|
var messageWrite = strictObject({
|
|
9825
9834
|
operation_id: id,
|
|
9826
9835
|
message,
|
|
@@ -9835,7 +9844,7 @@ var draftWrite = strictObject({
|
|
|
9835
9844
|
});
|
|
9836
9845
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9837
9846
|
|
|
9838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9847
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9839
9848
|
var model2 = strictObject({
|
|
9840
9849
|
id,
|
|
9841
9850
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9870,7 +9879,7 @@ var chosenModel = strictObject({
|
|
|
9870
9879
|
estimate_seconds: nullable(count)
|
|
9871
9880
|
});
|
|
9872
9881
|
|
|
9873
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9874
9883
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9875
9884
|
var modelKey = strictObject({
|
|
9876
9885
|
provider: text,
|
|
@@ -9880,7 +9889,7 @@ var modelKey = strictObject({
|
|
|
9880
9889
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9881
9890
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9882
9891
|
|
|
9883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9884
9893
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9885
9894
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9886
9895
|
var graph = strictObject({
|
|
@@ -9914,14 +9923,14 @@ var officialStats = strictObject({
|
|
|
9914
9923
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9915
9924
|
});
|
|
9916
9925
|
|
|
9917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9918
9927
|
var person2 = strictObject({
|
|
9919
9928
|
ref: reference,
|
|
9920
9929
|
name: nullable(text),
|
|
9921
9930
|
identities: optional(array(identity))
|
|
9922
9931
|
});
|
|
9923
9932
|
|
|
9924
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9925
9934
|
var poll = strictObject({
|
|
9926
9935
|
chat_id: id,
|
|
9927
9936
|
message_id: id,
|
|
@@ -9937,11 +9946,11 @@ var poll = strictObject({
|
|
|
9937
9946
|
});
|
|
9938
9947
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9939
9948
|
|
|
9940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9941
9950
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9942
9951
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9943
9952
|
|
|
9944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9945
9954
|
var figures = record(string(), number());
|
|
9946
9955
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9947
9956
|
var rankingRow = strictObject({
|
|
@@ -9988,7 +9997,7 @@ var ranking = strictObject({
|
|
|
9988
9997
|
rows: array(rankingRow)
|
|
9989
9998
|
});
|
|
9990
9999
|
|
|
9991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9992
10001
|
var reaction = strictObject({
|
|
9993
10002
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9994
10003
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9996,7 +10005,7 @@ var reaction = strictObject({
|
|
|
9996
10005
|
reacted_at: time
|
|
9997
10006
|
});
|
|
9998
10007
|
|
|
9999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10008
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
10000
10009
|
var reactionChange = strictObject({
|
|
10001
10010
|
operation_id: id,
|
|
10002
10011
|
chat_id: id,
|
|
@@ -10004,7 +10013,7 @@ var reactionChange = strictObject({
|
|
|
10004
10013
|
reaction: nullable(text)
|
|
10005
10014
|
});
|
|
10006
10015
|
|
|
10007
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
10008
10017
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
10009
10018
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
10010
10019
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -10015,7 +10024,7 @@ var recipientChange = strictObject({
|
|
|
10015
10024
|
...partial(recipientOff).entries
|
|
10016
10025
|
});
|
|
10017
10026
|
|
|
10018
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
10019
10028
|
var events = array(record(string(), unknown()));
|
|
10020
10029
|
var recordedRun = strictObject({
|
|
10021
10030
|
run_id: id,
|
|
@@ -10087,7 +10096,7 @@ var runHit = strictObject({
|
|
|
10087
10096
|
});
|
|
10088
10097
|
var runLocation = strictObject({ path: text });
|
|
10089
10098
|
|
|
10090
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10091
10100
|
var relationship = strictObject({
|
|
10092
10101
|
id,
|
|
10093
10102
|
from: reference,
|
|
@@ -10110,7 +10119,7 @@ var relationship = strictObject({
|
|
|
10110
10119
|
created_at: time
|
|
10111
10120
|
});
|
|
10112
10121
|
|
|
10113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10114
10123
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10115
10124
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10116
10125
|
var responseTimes = strictObject({
|
|
@@ -10127,7 +10136,7 @@ var waitingChats = strictObject({
|
|
|
10127
10136
|
by_kind: strictObject({ private: count, group: count })
|
|
10128
10137
|
});
|
|
10129
10138
|
|
|
10130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10131
10140
|
var retentionCohort = strictObject({
|
|
10132
10141
|
/** The first day of the joining day or week. */
|
|
10133
10142
|
cohort: text,
|
|
@@ -10175,7 +10184,7 @@ var retention = strictObject({
|
|
|
10175
10184
|
rows: array(retentionCohort)
|
|
10176
10185
|
});
|
|
10177
10186
|
|
|
10178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10187
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10179
10188
|
var savedSearch = strictObject({
|
|
10180
10189
|
id,
|
|
10181
10190
|
/** `null` for a run in the history. */
|
|
@@ -10192,7 +10201,7 @@ var savedSearch = strictObject({
|
|
|
10192
10201
|
});
|
|
10193
10202
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10194
10203
|
|
|
10195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10196
10205
|
var sendAttempt = strictObject({
|
|
10197
10206
|
at: time,
|
|
10198
10207
|
profile: text,
|
|
@@ -10220,7 +10229,7 @@ var sendAttempt = strictObject({
|
|
|
10220
10229
|
error_code: optional(text)
|
|
10221
10230
|
});
|
|
10222
10231
|
|
|
10223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10224
10233
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10225
10234
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10226
10235
|
var infoSchema = strictObject({
|
|
@@ -10441,7 +10450,7 @@ var storeRepair = union([
|
|
|
10441
10450
|
]);
|
|
10442
10451
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10443
10452
|
|
|
10444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10445
10454
|
var range = strictObject({ from: number(), to: number() });
|
|
10446
10455
|
var storeChatStatus = strictObject({
|
|
10447
10456
|
chat_id: id,
|
|
@@ -10539,7 +10548,7 @@ var storeJobRetry = union([
|
|
|
10539
10548
|
]);
|
|
10540
10549
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10541
10550
|
|
|
10542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10551
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10543
10552
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10544
10553
|
var storeTable = strictObject({
|
|
10545
10554
|
name: text,
|
|
@@ -10548,7 +10557,7 @@ var storeTable = strictObject({
|
|
|
10548
10557
|
bytes: optional(nullable(count))
|
|
10549
10558
|
});
|
|
10550
10559
|
|
|
10551
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10552
10561
|
var tagTarget = variant("type", [
|
|
10553
10562
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10554
10563
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10579,7 +10588,7 @@ var automaticTags = strictObject({
|
|
|
10579
10588
|
dry_run: boolean()
|
|
10580
10589
|
});
|
|
10581
10590
|
|
|
10582
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10583
10592
|
var tagging = strictObject({
|
|
10584
10593
|
tag: text,
|
|
10585
10594
|
type: picklist(TAG_TYPES),
|
|
@@ -10592,7 +10601,7 @@ var tagging = strictObject({
|
|
|
10592
10601
|
created_at: time
|
|
10593
10602
|
});
|
|
10594
10603
|
|
|
10595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10604
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10596
10605
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10597
10606
|
var taskPair = strictObject({
|
|
10598
10607
|
task: nullable(side),
|
|
@@ -10615,7 +10624,7 @@ var taskPair = strictObject({
|
|
|
10615
10624
|
created_at: time
|
|
10616
10625
|
});
|
|
10617
10626
|
|
|
10618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10627
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10619
10628
|
var nullableTime = nullable(time);
|
|
10620
10629
|
var link = strictObject({
|
|
10621
10630
|
id,
|
|
@@ -10789,7 +10798,19 @@ var taskReview = strictObject({
|
|
|
10789
10798
|
untrusted
|
|
10790
10799
|
});
|
|
10791
10800
|
|
|
10792
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10802
|
+
var template = strictObject({
|
|
10803
|
+
key: text,
|
|
10804
|
+
channel: picklist(["telegram", "email", "text"]),
|
|
10805
|
+
language: text,
|
|
10806
|
+
about: text,
|
|
10807
|
+
renders: boolean(),
|
|
10808
|
+
source: picklist(["stored", "default"]),
|
|
10809
|
+
updated_at: nullable(time),
|
|
10810
|
+
updated_by: nullable(text)
|
|
10811
|
+
});
|
|
10812
|
+
|
|
10813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10793
10814
|
var topic = strictObject({
|
|
10794
10815
|
id,
|
|
10795
10816
|
title: text,
|
|
@@ -10803,7 +10824,7 @@ var topic = strictObject({
|
|
|
10803
10824
|
untrusted
|
|
10804
10825
|
});
|
|
10805
10826
|
|
|
10806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10827
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10807
10828
|
var ENTITIES = {
|
|
10808
10829
|
sync_progress: progress,
|
|
10809
10830
|
deal,
|
|
@@ -11084,14 +11105,15 @@ var ENTITIES = {
|
|
|
11084
11105
|
tracked_chat: trackedChat,
|
|
11085
11106
|
tracked_chat_history: trackedChatHistory,
|
|
11086
11107
|
chat_tracking: chatTracking,
|
|
11087
|
-
task_stats: taskStats
|
|
11108
|
+
task_stats: taskStats,
|
|
11109
|
+
template
|
|
11088
11110
|
};
|
|
11089
11111
|
var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.entries(ENTITIES).map(([name, schema2]) => {
|
|
11090
11112
|
const { $schema: _, ...definition } = jsonSchemaOf(schema2);
|
|
11091
11113
|
return [name, definition];
|
|
11092
11114
|
})), "entityDefinitions");
|
|
11093
11115
|
|
|
11094
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11095
11117
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11096
11118
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11097
11119
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11125,7 +11147,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11125
11147
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11126
11148
|
}, "answerRow");
|
|
11127
11149
|
|
|
11128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11129
11151
|
import { join as join6 } from "node:path";
|
|
11130
11152
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11131
11153
|
var IMAGE_MODELS = [
|
|
@@ -11179,7 +11201,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11179
11201
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11180
11202
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11181
11203
|
|
|
11182
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11183
11205
|
var STEPS2 = defineSteps([
|
|
11184
11206
|
...STEPS,
|
|
11185
11207
|
{
|
|
@@ -11466,7 +11488,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11466
11488
|
].join(" ");
|
|
11467
11489
|
}, "stepLine");
|
|
11468
11490
|
|
|
11469
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11470
11492
|
var where = [{ field: "ref" }];
|
|
11471
11493
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11472
11494
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11558,7 +11580,7 @@ var STATUS_ROWS = {
|
|
|
11558
11580
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11559
11581
|
};
|
|
11560
11582
|
|
|
11561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11562
11584
|
var TEXT_CHARS = 400;
|
|
11563
11585
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11564
11586
|
var messageRow = {
|
|
@@ -11924,7 +11946,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11924
11946
|
return lines.concat(footerOf(body)).join("\n");
|
|
11925
11947
|
}, "compactText");
|
|
11926
11948
|
|
|
11927
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11928
11950
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11929
11951
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11930
11952
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11982,7 +12004,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11982
12004
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11983
12005
|
}, "largeAnswerSteps");
|
|
11984
12006
|
|
|
11985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12007
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11986
12008
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11987
12009
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11988
12010
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11996,7 +12018,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11996
12018
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11997
12019
|
}, "strip");
|
|
11998
12020
|
|
|
11999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12021
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12000
12022
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12001
12023
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12002
12024
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12307,6 +12329,7 @@ export {
|
|
|
12307
12329
|
isLogin,
|
|
12308
12330
|
destroysNothing,
|
|
12309
12331
|
proposesOnly,
|
|
12332
|
+
narrowsUnderLock,
|
|
12310
12333
|
admittedUnderLock,
|
|
12311
12334
|
changesStore,
|
|
12312
12335
|
readsOverMcpAt,
|
|
@@ -12349,6 +12372,7 @@ export {
|
|
|
12349
12372
|
sendAttempt,
|
|
12350
12373
|
storeTable,
|
|
12351
12374
|
tagging,
|
|
12375
|
+
template,
|
|
12352
12376
|
topic,
|
|
12353
12377
|
ENTITIES,
|
|
12354
12378
|
entityDefinitions,
|