@wirecat/mail-cli 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-MRNWJSXX.js → all-profiles-DTUWUCQQ.js} +7 -6
- package/dist/bundle/{anthropic-OUV5B4ZR.js → anthropic-YJAEQSNT.js} +3 -3
- package/dist/bundle/{app-server-TLZPGT53.js → app-server-3ZXSTBA3.js} +41 -40
- package/dist/bundle/{bun-IDEPIM6S.js → bun-34VBM7C5.js} +2 -2
- package/dist/bundle/{bun-sqlite-DW4XMJOP.js → bun-sqlite-GCT7ROCK.js} +2 -2
- package/dist/bundle/{chunk-ETZFPIDO.js → chunk-2PPEDB67.js} +31 -29
- package/dist/bundle/{chunk-HUOAAQU7.js → chunk-3DSYLE5N.js} +2 -2
- package/dist/bundle/{chunk-RYRR5NFB.js → chunk-3HDQVTND.js} +4 -4
- package/dist/bundle/{chunk-H3KB77WL.js → chunk-4FWJNIPH.js} +1 -1
- package/dist/bundle/{chunk-NA63ZIYN.js → chunk-4WIEVQ2Q.js} +8 -14
- package/dist/bundle/{chunk-EWXCMKLM.js → chunk-566MEXK5.js} +2 -2
- package/dist/bundle/{chunk-GZAETQ6X.js → chunk-72N26BQM.js} +24 -22
- package/dist/bundle/{chunk-DC6BXHWF.js → chunk-7XLOWYGD.js} +93 -6
- package/dist/bundle/{chunk-RYE5SRUM.js → chunk-AF62BPIW.js} +5 -5
- package/dist/bundle/{chunk-GAPH7GET.js → chunk-B74SOC4R.js} +9 -20
- package/dist/bundle/{chunk-BQM4ROFB.js → chunk-FTI73RLC.js} +2 -2
- package/dist/bundle/{chunk-OUMXW53I.js → chunk-GAPQENMY.js} +2 -2
- package/dist/bundle/{chunk-4EMXLDQ6.js → chunk-HJ2CXDKJ.js} +130 -11
- package/dist/bundle/{chunk-2ZDKZGES.js → chunk-HN43G27G.js} +30 -22
- package/dist/bundle/{chunk-VVHEB3M3.js → chunk-HRRSTIGP.js} +4 -4
- package/dist/bundle/{chunk-QC6QDORL.js → chunk-HSBGNVEL.js} +202 -171
- package/dist/bundle/{chunk-CQVRBZGP.js → chunk-I2SDXWLR.js} +173 -48
- package/dist/bundle/{chunk-3CJVUCDZ.js → chunk-J2U6LUT5.js} +3 -3
- package/dist/bundle/{chunk-WJQWEKZL.js → chunk-J4UZXBEV.js} +1 -1
- package/dist/bundle/{chunk-57KFWOMH.js → chunk-KMQAHDBM.js} +7170 -13496
- package/dist/bundle/{chunk-7H45FPAT.js → chunk-LF5XM4HE.js} +1 -1
- package/dist/bundle/chunk-LTXYJAJK.js +12211 -0
- package/dist/bundle/{chunk-YJMQWOPH.js → chunk-MD64ITYO.js} +1 -1
- package/dist/bundle/{chunk-WELIANTW.js → chunk-MDDB7M7Z.js} +1 -1
- package/dist/bundle/{chunk-ZXQDJMWD.js → chunk-NOVBK4SY.js} +12 -12
- package/dist/bundle/{chunk-YL5WH6XH.js → chunk-O3M2S62X.js} +3 -3
- package/dist/bundle/{chunk-H4MWBB4X.js → chunk-ODFHIXMA.js} +1 -1
- package/dist/bundle/{chunk-HCRMPNSO.js → chunk-OKO2Q6H6.js} +2 -2
- package/dist/bundle/{chunk-FBSDRNW5.js → chunk-P2QJA7S5.js} +1 -1
- package/dist/bundle/{chunk-VIXEQPVE.js → chunk-P6FT6YYT.js} +17 -14
- package/dist/bundle/{chunk-QU3JH3GB.js → chunk-QE72KTS7.js} +1 -1
- package/dist/bundle/{chunk-W3PU5XGE.js → chunk-QPRXTLMD.js} +1 -1
- package/dist/bundle/{chunk-EQWYG3QN.js → chunk-QTMVGOSF.js} +298 -266
- package/dist/bundle/{chunk-HTNWOOA2.js → chunk-R3WPMQYZ.js} +105 -61
- package/dist/bundle/{chunk-SOZXI7I3.js → chunk-RFB27ACZ.js} +2 -2
- package/dist/bundle/{chunk-P2RSKCY4.js → chunk-RPCKBXKN.js} +1 -1
- package/dist/bundle/{chunk-QXZTVB5I.js → chunk-RT6SLZBI.js} +1 -1
- package/dist/bundle/{chunk-TX2TTMK4.js → chunk-RY7PBP4F.js} +45 -29
- package/dist/bundle/{chunk-7ERCJWNL.js → chunk-SCIC2CJS.js} +4 -4
- package/dist/bundle/{chunk-33BOFLDQ.js → chunk-SFC46MP2.js} +249 -8
- package/dist/bundle/chunk-SYEICLTR.js +66 -0
- package/dist/bundle/{chunk-NBHMSEN4.js → chunk-T2GQA2E4.js} +1 -1
- package/dist/bundle/{chunk-HOGJNJ3T.js → chunk-T3DTYJTG.js} +1 -1
- package/dist/bundle/{chunk-MQISDBH2.js → chunk-TCCN5TON.js} +1 -1
- package/dist/bundle/{chunk-KO2DA7CN.js → chunk-V6OIIVH3.js} +10 -10
- package/dist/bundle/{chunk-A5A6MPIX.js → chunk-VDUGE6TH.js} +2 -2
- package/dist/bundle/{chunk-LCP2DMBD.js → chunk-VINSQR4X.js} +7 -7
- package/dist/bundle/{chunk-42QY6DIG.js → chunk-VQZCIDSO.js} +2 -2
- package/dist/bundle/{chunk-OYYEY3UE.js → chunk-WBAA2X3E.js} +9 -9
- package/dist/bundle/{chunk-2WORM2E3.js → chunk-Z75WYAX6.js} +6 -6
- package/dist/bundle/{chunk-POWHDZIC.js → chunk-Z7N4MGOQ.js} +5 -5
- package/dist/bundle/{chunk-R2ETE3SX.js → chunk-ZKLXSVIO.js} +1 -1
- package/dist/bundle/{chunk-OBSV2GUJ.js → chunk-ZZSHGCRC.js} +3 -3
- package/dist/bundle/{command-contract-36ASI4YI.js → command-contract-Y4ZQAJEC.js} +14 -13
- package/dist/bundle/{decode-Z37HTJ53.js → decode-BIOOL5E4.js} +2 -2
- package/dist/bundle/{dist-E3UUAOWA.js → dist-TJVIRLE5.js} +77 -17
- package/dist/bundle/{echarts-TSRD7GVA.js → echarts-ECPGMKXO.js} +2 -2
- package/dist/bundle/{embed-Z5GZUUCK.js → embed-F7JFSLHN.js} +3 -3
- package/dist/bundle/{embedder-SYWZ6JW2.js → embedder-U4G74HV3.js} +6 -6
- package/dist/bundle/{first-run-I5GMVVX5.js → first-run-JTYPUYQP.js} +5 -5
- package/dist/bundle/first-screen-W6RWTAU7.js +33 -0
- package/dist/bundle/{instructions-IMW3LWMS.js → instructions-WNCGZ7OJ.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-V6SRRJ2F.js → node-UIRGGMGT.js} +2 -2
- package/dist/bundle/{node-sqlite-HN2P6PY2.js → node-sqlite-4ZM7OPRF.js} +3 -3
- package/dist/bundle/{oauth-7FIIKNXY.js → oauth-5RAJZPBW.js} +4 -4
- package/dist/bundle/{open-6XPAHITO.js → open-7ORCHOAI.js} +2 -2
- package/dist/bundle/{openai-B5MSVUDL.js → openai-XSJNXJA7.js} +10 -10
- package/dist/bundle/{process-LNEAZMJV.js → process-ZLO72UVZ.js} +1 -1
- package/dist/bundle/{program-BDB3D2HE.js → program-PFVJDKM4.js} +1722 -1650
- package/dist/bundle/{prompt-ZXS7F7OS.js → prompt-IDUPCUGM.js} +2 -2
- package/dist/bundle/{recognize-ONHYBE77.js → recognize-OS3EZKIM.js} +1 -1
- package/dist/bundle/{remote-IBZTKGBQ.js → remote-PF4LZR65.js} +4 -4
- package/dist/bundle/{rerank-TWODAEGK.js → rerank-CQNZF3JI.js} +4 -4
- package/dist/bundle/{serve-PPJIP254.js → serve-Y2DDLGBT.js} +6 -6
- package/dist/bundle/server-I3IALQMC.js +65 -0
- package/dist/bundle/{server-VG7EAG5C.js → server-TVRT7YEY.js} +33 -32
- package/dist/bundle/{sqlite-runtime-JZFSB33U.js → sqlite-runtime-5343C3OE.js} +3 -3
- package/dist/bundle/{state-2FUXS6RU.js → state-4GBTMPIV.js} +3 -3
- package/dist/bundle/{store-VURW3NE7.js → store-OLBLTQPT.js} +44 -13
- package/dist/bundle/{store-PYAP6NYK.js → store-QA6QJ5BB.js} +20 -11
- package/dist/bundle/store-maintenance-command-LB6CMGP4.js +55 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-IRY3ZFPW.js +0 -656
- package/dist/bundle/first-screen-R3LHPHU3.js +0 -32
- package/dist/bundle/server-JBV7NTAA.js +0 -64
- package/dist/bundle/store-maintenance-command-EHWGMBEA.js +0 -54
|
@@ -13,31 +13,26 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HRRSTIGP.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
20
20
|
errorDetailOf,
|
|
21
21
|
framesOf,
|
|
22
|
-
isCliFailure,
|
|
23
22
|
keepsSuccess,
|
|
24
23
|
providerErrorKey,
|
|
25
24
|
renderEvent,
|
|
26
25
|
runContextOf
|
|
27
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B74SOC4R.js";
|
|
28
27
|
import {
|
|
29
28
|
permissionCeiling
|
|
30
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VDUGE6TH.js";
|
|
31
30
|
import {
|
|
32
31
|
carries
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import {
|
|
35
|
-
filesPresent,
|
|
36
|
-
sharedModelsDirectory
|
|
37
|
-
} from "./chunk-YL5WH6XH.js";
|
|
32
|
+
} from "./chunk-T3DTYJTG.js";
|
|
38
33
|
import {
|
|
39
34
|
note
|
|
40
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-566MEXK5.js";
|
|
41
36
|
import {
|
|
42
37
|
FACT_STATUSES,
|
|
43
38
|
LINK_KINDS,
|
|
@@ -46,7 +41,6 @@ import {
|
|
|
46
41
|
MEMORY_SCOPES,
|
|
47
42
|
MEMORY_STATUSES,
|
|
48
43
|
PRIORITY_LABELS,
|
|
49
|
-
RELATION_KINDS,
|
|
50
44
|
TASK_KINDS,
|
|
51
45
|
TASK_ORIGINS,
|
|
52
46
|
TASK_STATES,
|
|
@@ -57,6 +51,7 @@ import {
|
|
|
57
51
|
count,
|
|
58
52
|
evidenceSource,
|
|
59
53
|
id,
|
|
54
|
+
markStoreDamaged,
|
|
60
55
|
organization,
|
|
61
56
|
project,
|
|
62
57
|
providerMetadata,
|
|
@@ -64,8 +59,9 @@ import {
|
|
|
64
59
|
text,
|
|
65
60
|
time,
|
|
66
61
|
untrusted
|
|
67
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HJ2CXDKJ.js";
|
|
68
63
|
import {
|
|
64
|
+
DEAL_ROLES,
|
|
69
65
|
FACT_TYPES,
|
|
70
66
|
FIELD_TYPES,
|
|
71
67
|
INVOICE_DIRECTIONS,
|
|
@@ -74,6 +70,8 @@ import {
|
|
|
74
70
|
ORDER_PURPOSES,
|
|
75
71
|
ORDER_STATUSES,
|
|
76
72
|
QUERY_BACKENDS,
|
|
73
|
+
RELATION_KINDS,
|
|
74
|
+
STANDINGS,
|
|
77
75
|
TAG_TYPES,
|
|
78
76
|
describeQuery,
|
|
79
77
|
event,
|
|
@@ -90,13 +88,21 @@ import {
|
|
|
90
88
|
meetingStats,
|
|
91
89
|
meetingSummary,
|
|
92
90
|
meetingTranscript
|
|
93
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-I2SDXWLR.js";
|
|
92
|
+
import {
|
|
93
|
+
isCliFailure,
|
|
94
|
+
storeDamaged
|
|
95
|
+
} from "./chunk-SYEICLTR.js";
|
|
94
96
|
import {
|
|
95
97
|
sharedConfigPath
|
|
96
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-3HDQVTND.js";
|
|
99
|
+
import {
|
|
100
|
+
filesPresent,
|
|
101
|
+
sharedModelsDirectory
|
|
102
|
+
} from "./chunk-O3M2S62X.js";
|
|
97
103
|
import {
|
|
98
104
|
storePath
|
|
99
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-RPCKBXKN.js";
|
|
100
106
|
import {
|
|
101
107
|
configFilePath,
|
|
102
108
|
createRecordLog,
|
|
@@ -168,7 +174,7 @@ import {
|
|
|
168
174
|
__name
|
|
169
175
|
} from "./chunk-ZVVMGPBJ.js";
|
|
170
176
|
|
|
171
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
177
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
172
178
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
173
179
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
174
180
|
const name = envName(app, "READ_ONLY");
|
|
@@ -3881,7 +3887,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3881
3887
|
}
|
|
3882
3888
|
}, "refuseJoinedPath");
|
|
3883
3889
|
|
|
3884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3885
3891
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3886
3892
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3887
3893
|
messageId: message2.id,
|
|
@@ -3987,7 +3993,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
3987
3993
|
}, "guardedWrite");
|
|
3988
3994
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
3989
3995
|
|
|
3990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
3991
3997
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
3992
3998
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
3993
3999
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4170,7 +4176,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4170
4176
|
}
|
|
4171
4177
|
}, "withAbort");
|
|
4172
4178
|
|
|
4173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4174
4180
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4175
4181
|
import { join } from "node:path";
|
|
4176
4182
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4192,7 +4198,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4192
4198
|
}, "profilesWithAccounts");
|
|
4193
4199
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4194
4200
|
|
|
4195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4196
4202
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4197
4203
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4198
4204
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4235,7 +4241,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
4235
4241
|
};
|
|
4236
4242
|
}, "runBudget");
|
|
4237
4243
|
|
|
4238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4244
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4239
4245
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4240
4246
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4241
4247
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4269,7 +4275,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4269
4275
|
cache: "cache.answered"
|
|
4270
4276
|
};
|
|
4271
4277
|
|
|
4272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4278
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4273
4279
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4274
4280
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4275
4281
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4282,13 +4288,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4282
4288
|
error: /* @__PURE__ */ __name((event2, message2) => logger.error(logAttributes(event2), message2), "error")
|
|
4283
4289
|
}), "snakeLogger");
|
|
4284
4290
|
|
|
4285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4286
4292
|
import { randomUUID } from "node:crypto";
|
|
4287
4293
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4288
4294
|
import { userInfo } from "node:os";
|
|
4289
4295
|
import { join as join2, sep } from "node:path";
|
|
4290
4296
|
|
|
4291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4297
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4292
4298
|
var diagnostic = {
|
|
4293
4299
|
event: true,
|
|
4294
4300
|
operation: true,
|
|
@@ -4358,7 +4364,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4358
4364
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4359
4365
|
].sort();
|
|
4360
4366
|
|
|
4361
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4362
4368
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4363
4369
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4364
4370
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -4711,7 +4717,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
4711
4717
|
};
|
|
4712
4718
|
}, "metadataOf");
|
|
4713
4719
|
|
|
4714
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4720
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
4715
4721
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4716
4722
|
import { randomBytes } from "node:crypto";
|
|
4717
4723
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -4749,7 +4755,7 @@ var attempts = new AsyncLocalStorage2();
|
|
|
4749
4755
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
4750
4756
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
4751
4757
|
|
|
4752
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4758
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4753
4759
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4754
4760
|
const recording = startRecording(options);
|
|
4755
4761
|
try {
|
|
@@ -4840,7 +4846,14 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
4840
4846
|
...partial2 ? { partial: partial2 } : {}
|
|
4841
4847
|
});
|
|
4842
4848
|
}, "succeed"),
|
|
4843
|
-
fail: /* @__PURE__ */ __name(async (
|
|
4849
|
+
fail: /* @__PURE__ */ __name(async (thrown) => {
|
|
4850
|
+
const error = storeDamaged(thrown);
|
|
4851
|
+
markStoreDamaged(thrown, {
|
|
4852
|
+
store: storePath(options.env),
|
|
4853
|
+
command: `${options.app.command} ${options.command}`,
|
|
4854
|
+
version: options.app.version,
|
|
4855
|
+
runId
|
|
4856
|
+
});
|
|
4844
4857
|
const failed = run ?? (held ? keep(open({ startedAt })) : void 0);
|
|
4845
4858
|
if (failed) {
|
|
4846
4859
|
if (!isCliFailure(error))
|
|
@@ -4855,8 +4868,8 @@ var startRecording = /* @__PURE__ */ __name((options) => {
|
|
|
4855
4868
|
...run ? {} : { keptBecauseFailed: true }
|
|
4856
4869
|
});
|
|
4857
4870
|
}
|
|
4858
|
-
if (typeof
|
|
4859
|
-
settled.add(
|
|
4871
|
+
if (typeof thrown === "object" && thrown !== null)
|
|
4872
|
+
settled.add(thrown);
|
|
4860
4873
|
}, "fail")
|
|
4861
4874
|
};
|
|
4862
4875
|
}, "startRecording");
|
|
@@ -4934,7 +4947,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4934
4947
|
return void 0;
|
|
4935
4948
|
}, "partialOutcome");
|
|
4936
4949
|
|
|
4937
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4950
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4938
4951
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4939
4952
|
if (ms2 === void 0)
|
|
4940
4953
|
return body();
|
|
@@ -4960,7 +4973,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4960
4973
|
}
|
|
4961
4974
|
}, "withDeadline");
|
|
4962
4975
|
|
|
4963
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4964
4977
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4965
4978
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4966
4979
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -5029,10 +5042,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
5029
5042
|
return void 0;
|
|
5030
5043
|
}, "sampleCommand");
|
|
5031
5044
|
|
|
5032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5045
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5033
5046
|
import { existsSync as existsSync4 } from "node:fs";
|
|
5034
5047
|
|
|
5035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
5036
5049
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
5037
5050
|
try {
|
|
5038
5051
|
const url2 = new URL(value);
|
|
@@ -5042,7 +5055,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
5042
5055
|
}
|
|
5043
5056
|
}, "endpoint");
|
|
5044
5057
|
|
|
5045
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
5046
5059
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
5047
5060
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
5048
5061
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5111,7 +5124,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5111
5124
|
};
|
|
5112
5125
|
}, "modelTarget");
|
|
5113
5126
|
|
|
5114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5127
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5115
5128
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5116
5129
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5117
5130
|
var AI_FIELDS = {
|
|
@@ -5155,7 +5168,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5155
5168
|
};
|
|
5156
5169
|
}, "resolveAISettings");
|
|
5157
5170
|
|
|
5158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5171
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5159
5172
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5160
5173
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5161
5174
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -5169,7 +5182,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
5169
5182
|
return ms2;
|
|
5170
5183
|
}, "parseDuration");
|
|
5171
5184
|
|
|
5172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5185
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5173
5186
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5174
5187
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5175
5188
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5328,7 +5341,7 @@ var rerankModel = /* @__PURE__ */ __name((id6) => {
|
|
|
5328
5341
|
var vectorModelKey = /* @__PURE__ */ __name((model3) => `local:${model3.id}:${model3.dims}`, "vectorModelKey");
|
|
5329
5342
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5330
5343
|
|
|
5331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5332
5345
|
var HISTORY_MAX_DAYS = 1095;
|
|
5333
5346
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5334
5347
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
@@ -5375,7 +5388,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5375
5388
|
return { batch: { ...batch, messages }, skipped };
|
|
5376
5389
|
}, "limitBatch");
|
|
5377
5390
|
|
|
5378
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5391
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5379
5392
|
import { existsSync as existsSync2, readdirSync as readdirSync3, readFileSync as readFileSync3 } from "node:fs";
|
|
5380
5393
|
import { join as join3 } from "node:path";
|
|
5381
5394
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5464,10 +5477,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5464
5477
|
return readdirSync3(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5465
5478
|
}, "registryProfiles");
|
|
5466
5479
|
|
|
5467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5480
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5468
5481
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5469
5482
|
|
|
5470
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5471
5484
|
var REPAIR_WORDS = {
|
|
5472
5485
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5473
5486
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5708,7 +5721,7 @@ ${parts.join(",\n")}
|
|
|
5708
5721
|
${indent}${close}`;
|
|
5709
5722
|
}, "serialise");
|
|
5710
5723
|
|
|
5711
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5712
5725
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5713
5726
|
var SECTIONS = ["personal", "bot"];
|
|
5714
5727
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -6002,7 +6015,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
6002
6015
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
6003
6016
|
}, "readConfigFile");
|
|
6004
6017
|
|
|
6005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6018
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
6006
6019
|
import { existsSync as existsSync3, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
6007
6020
|
import { dirname, join as join4 } from "node:path";
|
|
6008
6021
|
var DEFAULT_CONFIG = {
|
|
@@ -6031,7 +6044,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
6031
6044
|
}
|
|
6032
6045
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
6033
6046
|
|
|
6034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6047
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
6035
6048
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
6036
6049
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
6037
6050
|
const path2 = key.split(".");
|
|
@@ -6053,7 +6066,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
6053
6066
|
return { config, added };
|
|
6054
6067
|
}, "withSettingDefaults");
|
|
6055
6068
|
|
|
6056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6069
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
6057
6070
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
6058
6071
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
6059
6072
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6563,7 +6576,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6563
6576
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6564
6577
|
}, "given");
|
|
6565
6578
|
|
|
6566
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6567
6580
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
|
|
6568
6581
|
const { deadline, signal, app } = environmentOf(command);
|
|
6569
6582
|
const now = deadline?.();
|
|
@@ -6695,7 +6708,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6695
6708
|
return words.join(" ");
|
|
6696
6709
|
}, "commandPath");
|
|
6697
6710
|
|
|
6698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6699
6712
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6700
6713
|
var FETCH = { remote: "read", local: "write" };
|
|
6701
6714
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6823,7 +6836,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6823
6836
|
throw readOnlyRefusal(lock, what);
|
|
6824
6837
|
}, "refuseUnderReadOnly");
|
|
6825
6838
|
|
|
6826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6839
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6827
6840
|
var account = strictObject({
|
|
6828
6841
|
provider: text,
|
|
6829
6842
|
id,
|
|
@@ -6833,7 +6846,7 @@ var account = strictObject({
|
|
|
6833
6846
|
scope: optional(picklist(["personal", "work"]))
|
|
6834
6847
|
});
|
|
6835
6848
|
|
|
6836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6837
6850
|
var accountSession = strictObject({
|
|
6838
6851
|
current: boolean(),
|
|
6839
6852
|
client: nullable(text),
|
|
@@ -6843,7 +6856,7 @@ var accountSession = strictObject({
|
|
|
6843
6856
|
created_at: optional(nullable(time))
|
|
6844
6857
|
});
|
|
6845
6858
|
|
|
6846
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6847
6860
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6848
6861
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6849
6862
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6861,7 +6874,7 @@ var accountPrivacy = strictObject({
|
|
|
6861
6874
|
});
|
|
6862
6875
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
6863
6876
|
|
|
6864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6865
6878
|
var accountProfile = strictObject({
|
|
6866
6879
|
profile: id,
|
|
6867
6880
|
current: boolean(),
|
|
@@ -6873,7 +6886,7 @@ var accountProfile = strictObject({
|
|
|
6873
6886
|
bot: optional(literal(true))
|
|
6874
6887
|
});
|
|
6875
6888
|
|
|
6876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6889
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6877
6890
|
var milliseconds = pipe(number(), minValue(0));
|
|
6878
6891
|
var counterReading = strictObject({
|
|
6879
6892
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6885,7 +6898,7 @@ var counterReading = strictObject({
|
|
|
6885
6898
|
});
|
|
6886
6899
|
var selection = record(string(), unknown());
|
|
6887
6900
|
|
|
6888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6901
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6889
6902
|
var adminRow = strictObject({
|
|
6890
6903
|
ref: reference,
|
|
6891
6904
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6938,7 +6951,7 @@ var adminReport = strictObject({
|
|
|
6938
6951
|
rows: array(adminRow)
|
|
6939
6952
|
});
|
|
6940
6953
|
|
|
6941
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6954
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6942
6955
|
var closeSuggestion = strictObject({
|
|
6943
6956
|
as: picklist(["done", "dismissed"]),
|
|
6944
6957
|
/** The agent's name. */
|
|
@@ -7000,7 +7013,7 @@ var task = strictObject({
|
|
|
7000
7013
|
updated_at: optional(time)
|
|
7001
7014
|
});
|
|
7002
7015
|
|
|
7003
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7016
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
7004
7017
|
var agendaChat = strictObject({
|
|
7005
7018
|
chat: reference,
|
|
7006
7019
|
title: nullable(text),
|
|
@@ -7070,11 +7083,11 @@ var agenda = strictObject({
|
|
|
7070
7083
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
7071
7084
|
});
|
|
7072
7085
|
|
|
7073
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
7074
7087
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
7075
7088
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
7076
7089
|
|
|
7077
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7090
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
7078
7091
|
var attachment = strictObject({
|
|
7079
7092
|
/** The message it came with, as a locator; absent inside that message. */
|
|
7080
7093
|
message: optional(reference),
|
|
@@ -7112,7 +7125,7 @@ var attachment = strictObject({
|
|
|
7112
7125
|
});
|
|
7113
7126
|
var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
|
|
7114
7127
|
|
|
7115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
7116
7129
|
var actionableError = objectWithRest({
|
|
7117
7130
|
code: text,
|
|
7118
7131
|
message: text,
|
|
@@ -7129,7 +7142,7 @@ var batchResult = strictObject({
|
|
|
7129
7142
|
max_error_percent: count
|
|
7130
7143
|
});
|
|
7131
7144
|
|
|
7132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
7133
7146
|
var extractionItem = strictObject({
|
|
7134
7147
|
ref: reference,
|
|
7135
7148
|
attachment: count,
|
|
@@ -7162,7 +7175,7 @@ var extractionReport = strictObject({
|
|
|
7162
7175
|
cursor: optional(text)
|
|
7163
7176
|
});
|
|
7164
7177
|
|
|
7165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
7166
7179
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
7167
7180
|
var attachmentBytes = strictObject({
|
|
7168
7181
|
ref: reference,
|
|
@@ -7190,7 +7203,7 @@ var attachmentTextChange = strictObject({
|
|
|
7190
7203
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
7191
7204
|
});
|
|
7192
7205
|
|
|
7193
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7206
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7194
7207
|
var chart = strictObject({
|
|
7195
7208
|
version: literal(1),
|
|
7196
7209
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7205,7 +7218,7 @@ var chart = strictObject({
|
|
|
7205
7218
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7206
7219
|
});
|
|
7207
7220
|
|
|
7208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7209
7222
|
var member = strictObject({
|
|
7210
7223
|
id,
|
|
7211
7224
|
name: nullable(text),
|
|
@@ -7228,7 +7241,7 @@ var member = strictObject({
|
|
|
7228
7241
|
check: optional(record(string(), unknown()))
|
|
7229
7242
|
});
|
|
7230
7243
|
|
|
7231
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7244
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7232
7245
|
var setting = optional(nullable(boolean()));
|
|
7233
7246
|
var chat = strictObject({
|
|
7234
7247
|
ref: reference,
|
|
@@ -7269,7 +7282,7 @@ var chat = strictObject({
|
|
|
7269
7282
|
members: optional(array(member))
|
|
7270
7283
|
});
|
|
7271
7284
|
|
|
7272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7273
7286
|
var named = strictObject({
|
|
7274
7287
|
id,
|
|
7275
7288
|
title: nullable(text),
|
|
@@ -7292,7 +7305,7 @@ var folder = strictObject({
|
|
|
7292
7305
|
excluded_chats: optional(array(named))
|
|
7293
7306
|
});
|
|
7294
7307
|
|
|
7295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7296
7309
|
var inviteLink = strictObject({
|
|
7297
7310
|
link: text,
|
|
7298
7311
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7308,7 +7321,7 @@ var inviteLink = strictObject({
|
|
|
7308
7321
|
joined_count: optional(count)
|
|
7309
7322
|
});
|
|
7310
7323
|
|
|
7311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7312
7325
|
var operated = { operation_id: id, chat_id: id };
|
|
7313
7326
|
var group = strictObject({
|
|
7314
7327
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7388,7 +7401,7 @@ var chatFolderOrder = strictObject({
|
|
|
7388
7401
|
folders: array(strictObject({ id, title: text }))
|
|
7389
7402
|
});
|
|
7390
7403
|
|
|
7391
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7392
7405
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7393
7406
|
var chatRemoval = strictObject(operated2);
|
|
7394
7407
|
var chatMuting = strictObject({
|
|
@@ -7399,7 +7412,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7399
7412
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7400
7413
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7401
7414
|
|
|
7402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7403
7416
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7404
7417
|
var chatEvent = strictObject({
|
|
7405
7418
|
chat_id: id,
|
|
@@ -7416,7 +7429,7 @@ var chatEvent = strictObject({
|
|
|
7416
7429
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7417
7430
|
});
|
|
7418
7431
|
|
|
7419
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7420
7433
|
var chatMetadata = strictObject({
|
|
7421
7434
|
chat_id: id,
|
|
7422
7435
|
title: nullable(text),
|
|
@@ -7431,7 +7444,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7431
7444
|
has_more: boolean()
|
|
7432
7445
|
});
|
|
7433
7446
|
|
|
7434
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7435
7448
|
var action = picklist(["report", "delete", "remove"]);
|
|
7436
7449
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7437
7450
|
var chatRules = strictObject({
|
|
@@ -7468,7 +7481,7 @@ var chatModeration = strictObject({
|
|
|
7468
7481
|
}))
|
|
7469
7482
|
});
|
|
7470
7483
|
|
|
7471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7484
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7472
7485
|
var optionalCount = optional(count);
|
|
7473
7486
|
var minutes = nullable(number());
|
|
7474
7487
|
var chatStats = strictObject({
|
|
@@ -7542,7 +7555,7 @@ var taskStats = strictObject({
|
|
|
7542
7555
|
}))
|
|
7543
7556
|
});
|
|
7544
7557
|
|
|
7545
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7546
7559
|
var memberCount = strictObject({
|
|
7547
7560
|
day: pipe(text, isoDate()),
|
|
7548
7561
|
participants: nullable(count),
|
|
@@ -7565,7 +7578,7 @@ var chatTracking = strictObject({
|
|
|
7565
7578
|
tracked: boolean()
|
|
7566
7579
|
});
|
|
7567
7580
|
|
|
7568
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7569
7582
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7570
7583
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7571
7584
|
var profileFields = {
|
|
@@ -7603,7 +7616,7 @@ var profileFields = {
|
|
|
7603
7616
|
}))
|
|
7604
7617
|
};
|
|
7605
7618
|
|
|
7606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7607
7620
|
var contact = strictObject({
|
|
7608
7621
|
ref: reference,
|
|
7609
7622
|
id,
|
|
@@ -7634,7 +7647,7 @@ var contact = strictObject({
|
|
|
7634
7647
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7635
7648
|
});
|
|
7636
7649
|
|
|
7637
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7650
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7638
7651
|
var WEIGHTS = {
|
|
7639
7652
|
bot: 3,
|
|
7640
7653
|
scam: 3,
|
|
@@ -7659,7 +7672,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7659
7672
|
var DIGITS = /\d{5,}/;
|
|
7660
7673
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7661
7674
|
|
|
7662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7663
7676
|
var linkedIdentity = strictObject({
|
|
7664
7677
|
provider: text,
|
|
7665
7678
|
id,
|
|
@@ -7667,6 +7680,7 @@ var linkedIdentity = strictObject({
|
|
|
7667
7680
|
username: nullable(text),
|
|
7668
7681
|
is_bot: nullable(boolean()),
|
|
7669
7682
|
accounts: array(id),
|
|
7683
|
+
seen_in: array(strictObject({ account: id, scope: picklist(["personal", "work"]) })),
|
|
7670
7684
|
method: text,
|
|
7671
7685
|
linked_by: text,
|
|
7672
7686
|
linked_at: time
|
|
@@ -7700,7 +7714,7 @@ var contactCheck = strictObject({
|
|
|
7700
7714
|
checked_at: time
|
|
7701
7715
|
});
|
|
7702
7716
|
|
|
7703
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7704
7718
|
var quoted = strictObject({
|
|
7705
7719
|
id,
|
|
7706
7720
|
sender_id: nullable(id),
|
|
@@ -7819,7 +7833,7 @@ var message = strictObject({
|
|
|
7819
7833
|
provider_metadata: providerMetadata
|
|
7820
7834
|
});
|
|
7821
7835
|
|
|
7822
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7823
7837
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7824
7838
|
var contextMessage = strictObject({
|
|
7825
7839
|
locator: reference,
|
|
@@ -7853,6 +7867,8 @@ var contextEvent = strictObject({
|
|
|
7853
7867
|
});
|
|
7854
7868
|
var context = strictObject({
|
|
7855
7869
|
person: contextPerson,
|
|
7870
|
+
/** The accounts read: only those of the scopes the caller may read. */
|
|
7871
|
+
accounts: array(strictObject({ provider: text, account: id, scope: picklist(["personal", "work"]) })),
|
|
7856
7872
|
shared: array(sharedChat),
|
|
7857
7873
|
last: strictObject({
|
|
7858
7874
|
from_them: nullable(contextMessage),
|
|
@@ -8017,7 +8033,7 @@ var contactPreparation = strictObject({
|
|
|
8017
8033
|
})
|
|
8018
8034
|
});
|
|
8019
8035
|
|
|
8020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8021
8037
|
var contactNote = strictObject({
|
|
8022
8038
|
id,
|
|
8023
8039
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8029,13 +8045,13 @@ var contactNote = strictObject({
|
|
|
8029
8045
|
updated_at: time
|
|
8030
8046
|
});
|
|
8031
8047
|
|
|
8032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8048
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8033
8049
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8034
8050
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8035
8051
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8036
8052
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8037
8053
|
|
|
8038
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8039
8055
|
var conversation = strictObject({
|
|
8040
8056
|
id,
|
|
8041
8057
|
chat: reference,
|
|
@@ -8050,7 +8066,7 @@ var conversation = strictObject({
|
|
|
8050
8066
|
rules_version: count
|
|
8051
8067
|
});
|
|
8052
8068
|
|
|
8053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8069
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8054
8070
|
var conversationBuild = strictObject({
|
|
8055
8071
|
chat: id,
|
|
8056
8072
|
messages: count,
|
|
@@ -8075,7 +8091,7 @@ var catchUpPreparation = strictObject({
|
|
|
8075
8091
|
prepared: optional(conversationPreparation)
|
|
8076
8092
|
});
|
|
8077
8093
|
|
|
8078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8094
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8079
8095
|
var conversationDetails = union([
|
|
8080
8096
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8081
8097
|
message
|
|
@@ -8165,7 +8181,7 @@ var conversationHit = strictObject({
|
|
|
8165
8181
|
stale: boolean()
|
|
8166
8182
|
});
|
|
8167
8183
|
|
|
8168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8169
8185
|
var counters = strictObject({
|
|
8170
8186
|
cutoff: time,
|
|
8171
8187
|
max_age_ms: milliseconds,
|
|
@@ -8195,7 +8211,7 @@ var counterRefresh = strictObject({
|
|
|
8195
8211
|
complete: optional(boolean())
|
|
8196
8212
|
});
|
|
8197
8213
|
|
|
8198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
8199
8215
|
var nullableText = nullable(text);
|
|
8200
8216
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
8201
8217
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -8232,7 +8248,7 @@ var deal = strictObject({
|
|
|
8232
8248
|
value: unknown(),
|
|
8233
8249
|
option_id: optional(union([string(), array(string())]))
|
|
8234
8250
|
})),
|
|
8235
|
-
people: array(strictObject({ ...party.entries, role: picklist(
|
|
8251
|
+
people: array(strictObject({ ...party.entries, role: picklist(DEAL_ROLES) })),
|
|
8236
8252
|
author: strictObject({
|
|
8237
8253
|
type: picklist(["person", "bot"]),
|
|
8238
8254
|
id,
|
|
@@ -8259,7 +8275,10 @@ var pipelineStage = strictObject({
|
|
|
8259
8275
|
open: count,
|
|
8260
8276
|
/** With a funnel: rows that got this far, and the share of them that reached the next stage. */
|
|
8261
8277
|
reached: optional(count),
|
|
8262
|
-
conversion: optional(nullable(number()))
|
|
8278
|
+
conversion: optional(nullable(number())),
|
|
8279
|
+
/** With a funnel: rows standing in it now, and their sum per currency, never converted. */
|
|
8280
|
+
items: optional(count),
|
|
8281
|
+
amounts: optional(array(strictObject({ amount: text, currency: text, items: count })))
|
|
8263
8282
|
});
|
|
8264
8283
|
var pipeline = strictObject({
|
|
8265
8284
|
id,
|
|
@@ -8282,7 +8301,7 @@ var stage = strictObject({
|
|
|
8282
8301
|
untrusted
|
|
8283
8302
|
});
|
|
8284
8303
|
|
|
8285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8286
8305
|
var document = strictObject({
|
|
8287
8306
|
ref: reference,
|
|
8288
8307
|
id,
|
|
@@ -8297,7 +8316,7 @@ var document = strictObject({
|
|
|
8297
8316
|
owners: optional(array(text))
|
|
8298
8317
|
});
|
|
8299
8318
|
|
|
8300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8301
8320
|
var documentLink = strictObject({
|
|
8302
8321
|
ref: reference,
|
|
8303
8322
|
url: text,
|
|
@@ -8308,7 +8327,7 @@ var documentLink = strictObject({
|
|
|
8308
8327
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8309
8328
|
});
|
|
8310
8329
|
|
|
8311
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8312
8331
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8313
8332
|
var contribution = strictObject({
|
|
8314
8333
|
message: evidenceMessage,
|
|
@@ -8338,7 +8357,7 @@ var retentionStay = strictObject({
|
|
|
8338
8357
|
});
|
|
8339
8358
|
var evidence = union([contribution, retentionStay]);
|
|
8340
8359
|
|
|
8341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8342
8361
|
var fact = strictObject({
|
|
8343
8362
|
ref: reference,
|
|
8344
8363
|
id,
|
|
@@ -8368,7 +8387,7 @@ var fact = strictObject({
|
|
|
8368
8387
|
updated_at: time
|
|
8369
8388
|
});
|
|
8370
8389
|
|
|
8371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8372
8391
|
var hit = strictObject({
|
|
8373
8392
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead"]),
|
|
8374
8393
|
ref: reference,
|
|
@@ -8406,7 +8425,7 @@ var hit = strictObject({
|
|
|
8406
8425
|
untrusted
|
|
8407
8426
|
});
|
|
8408
8427
|
|
|
8409
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8410
8429
|
var identity = strictObject({
|
|
8411
8430
|
ref: reference,
|
|
8412
8431
|
provider: text,
|
|
@@ -8419,7 +8438,7 @@ var identity = strictObject({
|
|
|
8419
8438
|
person: optional(nullable(reference))
|
|
8420
8439
|
});
|
|
8421
8440
|
|
|
8422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8441
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8423
8442
|
var imageEmbedding = strictObject({
|
|
8424
8443
|
model: text,
|
|
8425
8444
|
embedded: count,
|
|
@@ -8428,13 +8447,13 @@ var imageEmbedding = strictObject({
|
|
|
8428
8447
|
more: boolean()
|
|
8429
8448
|
});
|
|
8430
8449
|
|
|
8431
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8432
8451
|
import { spawn } from "node:child_process";
|
|
8433
8452
|
import { randomBytes as randomBytes2 } from "node:crypto";
|
|
8434
8453
|
import { closeSync, existsSync as existsSync5, mkdirSync as mkdirSync3, openSync, readdirSync as readdirSync4, readFileSync as readFileSync5, realpathSync, rmSync as rmSync3 } from "node:fs";
|
|
8435
8454
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8436
8455
|
|
|
8437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8438
8457
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8439
8458
|
const total = input.total ?? null;
|
|
8440
8459
|
const updated = input.updatedAt ?? null;
|
|
@@ -8450,7 +8469,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8450
8469
|
};
|
|
8451
8470
|
}, "progressOf");
|
|
8452
8471
|
|
|
8453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8454
8473
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8455
8474
|
const run = currentRun();
|
|
8456
8475
|
const trace = traceId ?? run.traceId;
|
|
@@ -8464,7 +8483,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8464
8483
|
}));
|
|
8465
8484
|
}, "recordLogFor");
|
|
8466
8485
|
|
|
8467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8486
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8468
8487
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8469
8488
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8470
8489
|
const out = openSync(log, "a", 384);
|
|
@@ -8619,7 +8638,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8619
8638
|
return { job: id6, pid, chat: input.chat, log };
|
|
8620
8639
|
}, "startArchiveJob");
|
|
8621
8640
|
|
|
8622
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8623
8642
|
var problem = strictObject({ code: text, message: text });
|
|
8624
8643
|
var job = strictObject({
|
|
8625
8644
|
id,
|
|
@@ -8642,7 +8661,7 @@ var job = strictObject({
|
|
|
8642
8661
|
error: optional(problem)
|
|
8643
8662
|
});
|
|
8644
8663
|
|
|
8645
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8664
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8646
8665
|
var joinRequest = strictObject({
|
|
8647
8666
|
person_id: id,
|
|
8648
8667
|
name: nullable(text),
|
|
@@ -8653,7 +8672,7 @@ var joinRequest = strictObject({
|
|
|
8653
8672
|
about: optional(text)
|
|
8654
8673
|
});
|
|
8655
8674
|
|
|
8656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8657
8676
|
var botProfile = strictObject({
|
|
8658
8677
|
name: text,
|
|
8659
8678
|
token: text,
|
|
@@ -8746,7 +8765,7 @@ var stickerInventory = strictObject({
|
|
|
8746
8765
|
url: optional(nullable(text))
|
|
8747
8766
|
});
|
|
8748
8767
|
|
|
8749
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8750
8769
|
var pollVote = strictObject({
|
|
8751
8770
|
person_id: id,
|
|
8752
8771
|
name: nullable(text),
|
|
@@ -8756,7 +8775,7 @@ var pollVote = strictObject({
|
|
|
8756
8775
|
voted_at: time
|
|
8757
8776
|
});
|
|
8758
8777
|
|
|
8759
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8760
8779
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8761
8780
|
var observation = strictObject({
|
|
8762
8781
|
value: pipe(number(), minValue(0)),
|
|
@@ -8798,7 +8817,7 @@ var serveSummary = strictObject({
|
|
|
8798
8817
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8799
8818
|
});
|
|
8800
8819
|
|
|
8801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8802
8821
|
var mailCounts = strictObject({
|
|
8803
8822
|
by: picklist(["day", "week", "sender"]),
|
|
8804
8823
|
received: count,
|
|
@@ -8813,7 +8832,7 @@ var mailCounts = strictObject({
|
|
|
8813
8832
|
}))
|
|
8814
8833
|
});
|
|
8815
8834
|
|
|
8816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8817
8836
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8818
8837
|
var base = { id, evidence: array(evidence2) };
|
|
8819
8838
|
var finding = variant("kind", [
|
|
@@ -8957,7 +8976,7 @@ var mailFindings = strictObject({
|
|
|
8957
8976
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8958
8977
|
});
|
|
8959
8978
|
|
|
8960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8979
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8961
8980
|
var mediaArchive = strictObject({
|
|
8962
8981
|
directory: text,
|
|
8963
8982
|
chats: count,
|
|
@@ -8989,7 +9008,7 @@ var mediaArchiveTimer = union([
|
|
|
8989
9008
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8990
9009
|
]);
|
|
8991
9010
|
|
|
8992
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9011
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8993
9012
|
var preparationId = pipe(string(), minLength(1));
|
|
8994
9013
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8995
9014
|
var preparationTime = nullable(isoTime);
|
|
@@ -9081,7 +9100,7 @@ var preparationMeeting = strictObject({
|
|
|
9081
9100
|
updated_at: isoTime
|
|
9082
9101
|
});
|
|
9083
9102
|
|
|
9084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9085
9104
|
var meetingEvidence = preparationEvidence;
|
|
9086
9105
|
var meetingPersonContext = strictObject({
|
|
9087
9106
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9103,7 +9122,7 @@ var meetingPersonContext = strictObject({
|
|
|
9103
9122
|
})
|
|
9104
9123
|
});
|
|
9105
9124
|
|
|
9106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9125
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9107
9126
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9108
9127
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9109
9128
|
var finding2 = variant("kind", [
|
|
@@ -9141,7 +9160,7 @@ var meetingFindings = strictObject({
|
|
|
9141
9160
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9142
9161
|
});
|
|
9143
9162
|
|
|
9144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9145
9164
|
var communicationCoverage = strictObject({
|
|
9146
9165
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9147
9166
|
query: string(),
|
|
@@ -9186,7 +9205,7 @@ var preparationCommunications = strictObject({
|
|
|
9186
9205
|
}))
|
|
9187
9206
|
});
|
|
9188
9207
|
|
|
9189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9190
9209
|
var meetingPreparation = strictObject({
|
|
9191
9210
|
communications: optional(preparationCommunications),
|
|
9192
9211
|
schema_version: literal(1),
|
|
@@ -9299,7 +9318,7 @@ var meetingPreparation = strictObject({
|
|
|
9299
9318
|
})
|
|
9300
9319
|
});
|
|
9301
9320
|
|
|
9302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9321
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9303
9322
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9304
9323
|
var id3 = pipe(string(), minLength(1));
|
|
9305
9324
|
var text3 = string();
|
|
@@ -9363,7 +9382,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9363
9382
|
})
|
|
9364
9383
|
});
|
|
9365
9384
|
|
|
9366
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9367
9386
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9368
9387
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9369
9388
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9393,7 +9412,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9393
9412
|
})
|
|
9394
9413
|
});
|
|
9395
9414
|
|
|
9396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9397
9416
|
var text4 = string();
|
|
9398
9417
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9399
9418
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9410,7 +9429,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9410
9429
|
persistence: literal("proposal-only")
|
|
9411
9430
|
});
|
|
9412
9431
|
|
|
9413
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9414
9433
|
var memory = strictObject({
|
|
9415
9434
|
ref: reference,
|
|
9416
9435
|
id,
|
|
@@ -9437,7 +9456,7 @@ var memory = strictObject({
|
|
|
9437
9456
|
updated_at: time
|
|
9438
9457
|
});
|
|
9439
9458
|
|
|
9440
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9441
9460
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9442
9461
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
9443
9462
|
var mention = strictObject({
|
|
@@ -9480,13 +9499,13 @@ var mentionRebuild = strictObject({
|
|
|
9480
9499
|
mentions: count
|
|
9481
9500
|
});
|
|
9482
9501
|
|
|
9483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9502
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9484
9503
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9485
9504
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9486
9505
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9487
9506
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9488
9507
|
|
|
9489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9508
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9490
9509
|
var messageTranscript = strictObject({
|
|
9491
9510
|
message_id: id,
|
|
9492
9511
|
text,
|
|
@@ -9544,7 +9563,7 @@ var evidencePacket = strictObject({
|
|
|
9544
9563
|
}))
|
|
9545
9564
|
});
|
|
9546
9565
|
|
|
9547
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9566
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9548
9567
|
var messageThread = strictObject({
|
|
9549
9568
|
ref: reference,
|
|
9550
9569
|
chat: id,
|
|
@@ -9561,7 +9580,7 @@ var messageThread = strictObject({
|
|
|
9561
9580
|
});
|
|
9562
9581
|
var messageContext = union([message, messageThread]);
|
|
9563
9582
|
|
|
9564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9565
9584
|
var messageCounts = strictObject({
|
|
9566
9585
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9567
9586
|
total: count,
|
|
@@ -9574,7 +9593,7 @@ var messageCounts = strictObject({
|
|
|
9574
9593
|
}))
|
|
9575
9594
|
});
|
|
9576
9595
|
|
|
9577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9578
9597
|
var messageLink = strictObject({
|
|
9579
9598
|
ref: reference,
|
|
9580
9599
|
url: nullable(text),
|
|
@@ -9591,7 +9610,7 @@ var messageLink = strictObject({
|
|
|
9591
9610
|
})))
|
|
9592
9611
|
});
|
|
9593
9612
|
|
|
9594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9595
9614
|
var savedMessageFile = strictObject({
|
|
9596
9615
|
kind: text,
|
|
9597
9616
|
path: text,
|
|
@@ -9678,7 +9697,7 @@ var messageSyncAll = strictObject({
|
|
|
9678
9697
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9679
9698
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9680
9699
|
|
|
9681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9682
9701
|
var messageWrite = strictObject({
|
|
9683
9702
|
operation_id: id,
|
|
9684
9703
|
message,
|
|
@@ -9693,7 +9712,7 @@ var draftWrite = strictObject({
|
|
|
9693
9712
|
});
|
|
9694
9713
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9695
9714
|
|
|
9696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9697
9716
|
var model2 = strictObject({
|
|
9698
9717
|
id,
|
|
9699
9718
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9710,7 +9729,7 @@ var model2 = strictObject({
|
|
|
9710
9729
|
path: text
|
|
9711
9730
|
});
|
|
9712
9731
|
|
|
9713
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9732
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9714
9733
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9715
9734
|
var modelKey = strictObject({
|
|
9716
9735
|
provider: text,
|
|
@@ -9720,7 +9739,7 @@ var modelKey = strictObject({
|
|
|
9720
9739
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9721
9740
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9722
9741
|
|
|
9723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9724
9743
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9725
9744
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9726
9745
|
var graph = strictObject({
|
|
@@ -9754,14 +9773,14 @@ var officialStats = strictObject({
|
|
|
9754
9773
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9755
9774
|
});
|
|
9756
9775
|
|
|
9757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9758
9777
|
var person2 = strictObject({
|
|
9759
9778
|
ref: reference,
|
|
9760
9779
|
name: nullable(text),
|
|
9761
9780
|
identities: optional(array(identity))
|
|
9762
9781
|
});
|
|
9763
9782
|
|
|
9764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9783
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9765
9784
|
var poll = strictObject({
|
|
9766
9785
|
chat_id: id,
|
|
9767
9786
|
message_id: id,
|
|
@@ -9777,11 +9796,11 @@ var poll = strictObject({
|
|
|
9777
9796
|
});
|
|
9778
9797
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9779
9798
|
|
|
9780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9799
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9781
9800
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9782
9801
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9783
9802
|
|
|
9784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9785
9804
|
var figures = record(string(), number());
|
|
9786
9805
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9787
9806
|
var rankingRow = strictObject({
|
|
@@ -9828,7 +9847,7 @@ var ranking = strictObject({
|
|
|
9828
9847
|
rows: array(rankingRow)
|
|
9829
9848
|
});
|
|
9830
9849
|
|
|
9831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9832
9851
|
var reaction = strictObject({
|
|
9833
9852
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9834
9853
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9836,7 +9855,7 @@ var reaction = strictObject({
|
|
|
9836
9855
|
reacted_at: time
|
|
9837
9856
|
});
|
|
9838
9857
|
|
|
9839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9840
9859
|
var reactionChange = strictObject({
|
|
9841
9860
|
operation_id: id,
|
|
9842
9861
|
chat_id: id,
|
|
@@ -9844,7 +9863,7 @@ var reactionChange = strictObject({
|
|
|
9844
9863
|
reaction: nullable(text)
|
|
9845
9864
|
});
|
|
9846
9865
|
|
|
9847
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9848
9867
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9849
9868
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9850
9869
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9855,7 +9874,7 @@ var recipientChange = strictObject({
|
|
|
9855
9874
|
...partial(recipientOff).entries
|
|
9856
9875
|
});
|
|
9857
9876
|
|
|
9858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9859
9878
|
var events = array(record(string(), unknown()));
|
|
9860
9879
|
var recordedRun = strictObject({
|
|
9861
9880
|
run_id: id,
|
|
@@ -9927,7 +9946,7 @@ var runHit = strictObject({
|
|
|
9927
9946
|
});
|
|
9928
9947
|
var runLocation = strictObject({ path: text });
|
|
9929
9948
|
|
|
9930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9949
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9931
9950
|
var relationship = strictObject({
|
|
9932
9951
|
id,
|
|
9933
9952
|
from: reference,
|
|
@@ -9941,10 +9960,16 @@ var relationship = strictObject({
|
|
|
9941
9960
|
confirmed: boolean(),
|
|
9942
9961
|
provenance: nullable(text),
|
|
9943
9962
|
confidence_category: picklist(["owner-confirmed", "weak"]),
|
|
9963
|
+
/** `reported`: a CRM account says so and nobody confirmed it; `ended`: it no longer holds. */
|
|
9964
|
+
standing: picklist(STANDINGS),
|
|
9965
|
+
/** A job title beside it, never its role. */
|
|
9966
|
+
position: nullable(text),
|
|
9967
|
+
starts_at: nullable(time),
|
|
9968
|
+
ends_at: nullable(time),
|
|
9944
9969
|
created_at: time
|
|
9945
9970
|
});
|
|
9946
9971
|
|
|
9947
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9948
9973
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9949
9974
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9950
9975
|
var responseTimes = strictObject({
|
|
@@ -9961,7 +9986,7 @@ var waitingChats = strictObject({
|
|
|
9961
9986
|
by_kind: strictObject({ private: count, group: count })
|
|
9962
9987
|
});
|
|
9963
9988
|
|
|
9964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9989
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9965
9990
|
var retentionCohort = strictObject({
|
|
9966
9991
|
/** The first day of the joining day or week. */
|
|
9967
9992
|
cohort: text,
|
|
@@ -10009,7 +10034,7 @@ var retention = strictObject({
|
|
|
10009
10034
|
rows: array(retentionCohort)
|
|
10010
10035
|
});
|
|
10011
10036
|
|
|
10012
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10037
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10013
10038
|
var savedSearch = strictObject({
|
|
10014
10039
|
id,
|
|
10015
10040
|
/** `null` for a run in the history. */
|
|
@@ -10026,7 +10051,7 @@ var savedSearch = strictObject({
|
|
|
10026
10051
|
});
|
|
10027
10052
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10028
10053
|
|
|
10029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10030
10055
|
var sendAttempt = strictObject({
|
|
10031
10056
|
at: time,
|
|
10032
10057
|
profile: text,
|
|
@@ -10054,7 +10079,7 @@ var sendAttempt = strictObject({
|
|
|
10054
10079
|
error_code: optional(text)
|
|
10055
10080
|
});
|
|
10056
10081
|
|
|
10057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10058
10083
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10059
10084
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10060
10085
|
var infoSchema = strictObject({
|
|
@@ -10275,7 +10300,7 @@ var storeRepair = union([
|
|
|
10275
10300
|
]);
|
|
10276
10301
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10277
10302
|
|
|
10278
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10279
10304
|
var range = strictObject({ from: number(), to: number() });
|
|
10280
10305
|
var storeChatStatus = strictObject({
|
|
10281
10306
|
chat_id: id,
|
|
@@ -10373,7 +10398,7 @@ var storeJobRetry = union([
|
|
|
10373
10398
|
]);
|
|
10374
10399
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10375
10400
|
|
|
10376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10377
10402
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10378
10403
|
var storeTable = strictObject({
|
|
10379
10404
|
name: text,
|
|
@@ -10382,7 +10407,7 @@ var storeTable = strictObject({
|
|
|
10382
10407
|
bytes: optional(nullable(count))
|
|
10383
10408
|
});
|
|
10384
10409
|
|
|
10385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10386
10411
|
var tagTarget = variant("type", [
|
|
10387
10412
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10388
10413
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10413,7 +10438,7 @@ var automaticTags = strictObject({
|
|
|
10413
10438
|
dry_run: boolean()
|
|
10414
10439
|
});
|
|
10415
10440
|
|
|
10416
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10441
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10417
10442
|
var tagging = strictObject({
|
|
10418
10443
|
tag: text,
|
|
10419
10444
|
type: picklist(TAG_TYPES),
|
|
@@ -10426,7 +10451,7 @@ var tagging = strictObject({
|
|
|
10426
10451
|
created_at: time
|
|
10427
10452
|
});
|
|
10428
10453
|
|
|
10429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10430
10455
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10431
10456
|
var taskPair = strictObject({
|
|
10432
10457
|
task: nullable(side),
|
|
@@ -10449,7 +10474,7 @@ var taskPair = strictObject({
|
|
|
10449
10474
|
created_at: time
|
|
10450
10475
|
});
|
|
10451
10476
|
|
|
10452
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10453
10478
|
var nullableTime = nullable(time);
|
|
10454
10479
|
var link = strictObject({
|
|
10455
10480
|
id,
|
|
@@ -10623,7 +10648,7 @@ var taskReview = strictObject({
|
|
|
10623
10648
|
untrusted
|
|
10624
10649
|
});
|
|
10625
10650
|
|
|
10626
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10627
10652
|
var topic = strictObject({
|
|
10628
10653
|
id,
|
|
10629
10654
|
title: text,
|
|
@@ -10637,7 +10662,7 @@ var topic = strictObject({
|
|
|
10637
10662
|
untrusted
|
|
10638
10663
|
});
|
|
10639
10664
|
|
|
10640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10641
10666
|
var ENTITIES = {
|
|
10642
10667
|
sync_progress: progress,
|
|
10643
10668
|
deal,
|
|
@@ -10923,7 +10948,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10923
10948
|
return [name, definition];
|
|
10924
10949
|
})), "entityDefinitions");
|
|
10925
10950
|
|
|
10926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10951
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10927
10952
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10928
10953
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10929
10954
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10957,7 +10982,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10957
10982
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10958
10983
|
}, "answerRow");
|
|
10959
10984
|
|
|
10960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10961
10986
|
import { join as join6 } from "node:path";
|
|
10962
10987
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10963
10988
|
var IMAGE_MODELS = [
|
|
@@ -11011,7 +11036,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11011
11036
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11012
11037
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11013
11038
|
|
|
11014
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11039
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11015
11040
|
var STEPS2 = defineSteps([
|
|
11016
11041
|
...STEPS,
|
|
11017
11042
|
{
|
|
@@ -11225,6 +11250,12 @@ var STEPS2 = defineSteps([
|
|
|
11225
11250
|
],
|
|
11226
11251
|
why: "once the tasks these {shown} messages hold are opened, updated or closed, so the next review starts after them"
|
|
11227
11252
|
},
|
|
11253
|
+
{
|
|
11254
|
+
id: "store.recover",
|
|
11255
|
+
command: "store recover",
|
|
11256
|
+
args: [],
|
|
11257
|
+
why: "the store file is damaged; this says what is lost and the commands that recover it"
|
|
11258
|
+
},
|
|
11228
11259
|
{
|
|
11229
11260
|
id: "search.meetings",
|
|
11230
11261
|
command: "*",
|
|
@@ -11263,7 +11294,7 @@ var failureSteps = /* @__PURE__ */ __name((root, error) => {
|
|
|
11263
11294
|
nextStep(IMAGE_MODELS.some((one) => one.id === model3) ? "models.download-image" : "models.download", {
|
|
11264
11295
|
args: { model: model3 }
|
|
11265
11296
|
})
|
|
11266
|
-
] : [];
|
|
11297
|
+
] : error.reason === "store.damaged" ? [nextStep("store.recover", {})] : [];
|
|
11267
11298
|
return runnable(root, [...error.next ?? [], ...own]);
|
|
11268
11299
|
}, "failureSteps");
|
|
11269
11300
|
var withSafety = /* @__PURE__ */ __name((steps, targets) => steps.map((step2) => {
|
|
@@ -11292,7 +11323,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11292
11323
|
].join(" ");
|
|
11293
11324
|
}, "stepLine");
|
|
11294
11325
|
|
|
11295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11296
11327
|
var where = [{ field: "ref" }];
|
|
11297
11328
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11298
11329
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11384,7 +11415,7 @@ var STATUS_ROWS = {
|
|
|
11384
11415
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11385
11416
|
};
|
|
11386
11417
|
|
|
11387
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11388
11419
|
var TEXT_CHARS = 400;
|
|
11389
11420
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11390
11421
|
var messageRow = {
|
|
@@ -11750,7 +11781,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11750
11781
|
return lines.concat(footerOf(body)).join("\n");
|
|
11751
11782
|
}, "compactText");
|
|
11752
11783
|
|
|
11753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11754
11785
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11755
11786
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11756
11787
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11808,7 +11839,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11808
11839
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11809
11840
|
}, "largeAnswerSteps");
|
|
11810
11841
|
|
|
11811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11812
11843
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11813
11844
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11814
11845
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11822,7 +11853,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11822
11853
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11823
11854
|
}, "strip");
|
|
11824
11855
|
|
|
11825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11826
11857
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11827
11858
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11828
11859
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -11977,19 +12008,6 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
|
|
|
11977
12008
|
export {
|
|
11978
12009
|
endpoint,
|
|
11979
12010
|
modelTarget,
|
|
11980
|
-
parseDuration,
|
|
11981
|
-
member,
|
|
11982
|
-
chat,
|
|
11983
|
-
botProfile,
|
|
11984
|
-
botSeenChat,
|
|
11985
|
-
botAdmin,
|
|
11986
|
-
botMenuEntry,
|
|
11987
|
-
topicIcon,
|
|
11988
|
-
botWebhook,
|
|
11989
|
-
scheduledJob,
|
|
11990
|
-
callRecord,
|
|
11991
|
-
stickerInventory,
|
|
11992
|
-
progressOf,
|
|
11993
12011
|
envName,
|
|
11994
12012
|
readOnlyLockOf,
|
|
11995
12013
|
mailHolderVariable,
|
|
@@ -12016,6 +12034,19 @@ export {
|
|
|
12016
12034
|
withAttempt,
|
|
12017
12035
|
currentAttempt,
|
|
12018
12036
|
recordLogFor,
|
|
12037
|
+
parseDuration,
|
|
12038
|
+
member,
|
|
12039
|
+
chat,
|
|
12040
|
+
botProfile,
|
|
12041
|
+
botSeenChat,
|
|
12042
|
+
botAdmin,
|
|
12043
|
+
botMenuEntry,
|
|
12044
|
+
topicIcon,
|
|
12045
|
+
botWebhook,
|
|
12046
|
+
scheduledJob,
|
|
12047
|
+
callRecord,
|
|
12048
|
+
stickerInventory,
|
|
12049
|
+
progressOf,
|
|
12019
12050
|
spawnDetached,
|
|
12020
12051
|
jobsDir,
|
|
12021
12052
|
saveJob,
|