@wirecat/mail-cli 0.28.0 → 0.30.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 +32 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-Q4E2LPB4.js → all-profiles-523GLORJ.js} +7 -7
- package/dist/bundle/{anthropic-S3N4JDJU.js → anthropic-KKYGROQR.js} +2 -2
- package/dist/bundle/{app-server-XS7ABUNU.js → app-server-RJR7U5NT.js} +44 -44
- package/dist/bundle/{bun-RDYA5FCZ.js → bun-EBQHHLKR.js} +2 -2
- package/dist/bundle/{bun-sqlite-FPVHKI24.js → bun-sqlite-LTG2RRSL.js} +3 -3
- package/dist/bundle/{chunk-UUM7AF32.js → chunk-26H2HVJD.js} +2 -2
- package/dist/bundle/{chunk-3RBUACSJ.js → chunk-2M7PPII5.js} +71 -71
- package/dist/bundle/{chunk-FOZXPSHA.js → chunk-3ECFSRLQ.js} +3 -3
- package/dist/bundle/{chunk-TVMBGHUW.js → chunk-3HCEKXXB.js} +6 -6
- package/dist/bundle/{chunk-FHQ32JKS.js → chunk-4F7WQHDO.js} +1 -1
- package/dist/bundle/{chunk-TXDA437R.js → chunk-54JKDFOV.js} +1 -1
- package/dist/bundle/{chunk-5ZJ6IHVE.js → chunk-5X5A3CAX.js} +1 -1
- package/dist/bundle/{chunk-YE464BDT.js → chunk-6C7SA4LD.js} +52 -52
- package/dist/bundle/{chunk-54ZEOOL7.js → chunk-A3YXTDTP.js} +15 -15
- package/dist/bundle/{chunk-HYMSFNTS.js → chunk-B3NXAN6J.js} +148 -391
- package/dist/bundle/{chunk-7ESXP4TG.js → chunk-BOGGQOVO.js} +1 -1
- package/dist/bundle/{chunk-MT5KDBOM.js → chunk-CWAA73PJ.js} +5 -5
- package/dist/bundle/{chunk-HKC6ZJA5.js → chunk-D3J4T5OZ.js} +12 -12
- package/dist/bundle/{chunk-HFROBAHY.js → chunk-DBI22GQL.js} +378 -293
- package/dist/bundle/{chunk-LY2QIBFL.js → chunk-E2SL7HIZ.js} +9 -9
- package/dist/bundle/{chunk-45ET53MO.js → chunk-ENKZEQ4Y.js} +2 -2
- package/dist/bundle/{chunk-IKTBM64M.js → chunk-F22PLRCG.js} +7 -7
- package/dist/bundle/{chunk-7E4KECG4.js → chunk-FL2TKSZY.js} +1 -1
- package/dist/bundle/{chunk-ATJANIQR.js → chunk-FYXGD6R6.js} +2 -2
- package/dist/bundle/{chunk-2MTIGJHQ.js → chunk-GCSFZTRI.js} +9 -8
- package/dist/bundle/{chunk-YAQGWHMH.js → chunk-GDFJKUMK.js} +6 -6
- package/dist/bundle/{chunk-YSR2XBDO.js → chunk-GXKFRZUP.js} +3 -3
- package/dist/bundle/{chunk-4CRO7EHW.js → chunk-HVJ2WQI7.js} +10 -10
- package/dist/bundle/{chunk-ODPYXNHI.js → chunk-HZUUVNWC.js} +1 -1
- package/dist/bundle/{chunk-KBTVVHFP.js → chunk-IIV43UIC.js} +12 -12
- package/dist/bundle/{chunk-VFRI6RF7.js → chunk-IJONJTST.js} +1 -1
- package/dist/bundle/{chunk-3AH7UEM6.js → chunk-J5PUHGK2.js} +1 -1
- package/dist/bundle/{chunk-NUHUTJTM.js → chunk-JKWNPRZD.js} +1 -1
- package/dist/bundle/{chunk-PIKOQWTL.js → chunk-K5FTIIYR.js} +4 -4
- package/dist/bundle/{chunk-WZNQ2P7H.js → chunk-KE2RQUQO.js} +1307 -1307
- package/dist/bundle/{chunk-Z5D6CRY6.js → chunk-KIZYN3NG.js} +322 -11
- package/dist/bundle/{chunk-FM4B357N.js → chunk-L2D5QYI3.js} +2 -2
- package/dist/bundle/{chunk-IUIL6OQY.js → chunk-LM4K6K2R.js} +4 -4
- package/dist/bundle/{chunk-KSFPMRH6.js → chunk-LN2LWPN2.js} +1 -1
- package/dist/bundle/{chunk-UQZJ2GFQ.js → chunk-MP572GP7.js} +2 -2
- package/dist/bundle/{chunk-ZPVVSA5R.js → chunk-MVDP7VL6.js} +1 -1
- package/dist/bundle/{chunk-EVO4FGYJ.js → chunk-NMN7RTX5.js} +15 -15
- package/dist/bundle/{chunk-OLTJB5PW.js → chunk-NV2REPY6.js} +1 -1
- package/dist/bundle/{chunk-MVGFB7IS.js → chunk-ONA3UI3R.js} +2 -2
- package/dist/bundle/{chunk-5PDWUD3W.js → chunk-Q23EEGPC.js} +1 -1
- package/dist/bundle/{chunk-ZIFB6KGQ.js → chunk-QGIQ62KV.js} +1554 -940
- package/dist/bundle/{chunk-PYOM4J73.js → chunk-R3IFRHZ2.js} +2 -2
- package/dist/bundle/{chunk-XEMARUGS.js → chunk-RLPWLGP6.js} +7 -7
- package/dist/bundle/{chunk-P7TVXYJZ.js → chunk-S2KKQA7O.js} +29 -29
- package/dist/bundle/{chunk-VXHL3XI6.js → chunk-SN5V6CKH.js} +2 -2
- package/dist/bundle/{chunk-IZEK7JI7.js → chunk-SNZFQ5SS.js} +6 -2
- package/dist/bundle/{chunk-D4QALV67.js → chunk-SPWKGRTO.js} +1 -1
- package/dist/bundle/{chunk-D6VV655V.js → chunk-T7A6HSBF.js} +2 -1
- package/dist/bundle/{chunk-6B2BBL35.js → chunk-TIMBTN5Z.js} +5 -5
- package/dist/bundle/{chunk-44IAJV2T.js → chunk-U7VYDTXN.js} +16 -16
- package/dist/bundle/{chunk-KNTAOY5J.js → chunk-WHS3CTTM.js} +7 -7
- package/dist/bundle/{chunk-DZYGVA6V.js → chunk-WXQK5RO5.js} +21 -21
- package/dist/bundle/{chunk-DMW6J2P3.js → chunk-XGEPAJBY.js} +1 -1
- package/dist/bundle/{chunk-BDWOTD7E.js → chunk-YMJXGIYG.js} +80 -80
- package/dist/bundle/{chunk-PCYTU7HS.js → chunk-YNI57LTZ.js} +1 -1
- package/dist/bundle/{chunk-TV6OJBK6.js → chunk-ZG2XBWFT.js} +3 -3
- package/dist/bundle/{command-contract-4PTK23CK.js → command-contract-ETECA2AC.js} +15 -15
- package/dist/bundle/{command-server-entry-KSAHRZOO.js → command-server-entry-BFXRYTBC.js} +21 -21
- package/dist/bundle/{decode-SIVT4JWX.js → decode-4QRYNPD5.js} +2 -2
- package/dist/bundle/{dist-YWSF5MHP.js → dist-MHJPECI4.js} +11 -11
- package/dist/bundle/{echarts-CABLIXX7.js → echarts-EJXBKCJT.js} +2 -2
- package/dist/bundle/{embed-OHENS6RB.js → embed-46WZZMUQ.js} +3 -3
- package/dist/bundle/{embedder-JINT4Y4O.js → embedder-56WHJKJE.js} +6 -6
- package/dist/bundle/{first-run-4XEWECC3.js → first-run-CATDBOBV.js} +6 -6
- package/dist/bundle/first-screen-WCDR3QUR.js +34 -0
- package/dist/bundle/{instructions-3D22PA4T.js → instructions-Z7GVGWXS.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-42G4RGMW.js → node-L2PVEW3N.js} +2 -2
- package/dist/bundle/{node-sqlite-KQZM5M3N.js → node-sqlite-RIGII7U7.js} +4 -4
- package/dist/bundle/{oauth-7BNCNKQV.js → oauth-OWT6NYRS.js} +4 -4
- package/dist/bundle/{open-ULOQOP7K.js → open-D3SPYL7O.js} +2 -2
- package/dist/bundle/{openai-O5AH6VGT.js → openai-IPTZDMFD.js} +12 -12
- package/dist/bundle/{process-6D767IDN.js → process-MNZTQ2DA.js} +1 -1
- package/dist/bundle/{program-UXFXSGIW.js → program-QCHTCOCR.js} +1354 -1053
- package/dist/bundle/{prompt-WN7EBVKT.js → prompt-BN6AKRWN.js} +2 -2
- package/dist/bundle/{recognize-IX33XEXZ.js → recognize-I5TH7OEW.js} +1 -1
- package/dist/bundle/{remote-22N3FQUC.js → remote-R324LAUL.js} +6 -6
- package/dist/bundle/{rerank-IGX4EFA2.js → rerank-ZMGZCUJV.js} +4 -4
- package/dist/bundle/{serve-XWIRR2QZ.js → serve-YUFZSNJC.js} +6 -6
- package/dist/bundle/{server-OQV2MVCA.js → server-54ULZ3RA.js} +35 -35
- package/dist/bundle/server-UD75CYDG.js +68 -0
- package/dist/bundle/{sqlite-runtime-WFBTXXXJ.js → sqlite-runtime-AYQTUQXM.js} +3 -3
- package/dist/bundle/{state-4J5ERHJA.js → state-PHEBOYYI.js} +3 -3
- package/dist/bundle/{store-YRBX7XLM.js → store-4PHDSXEV.js} +13 -13
- package/dist/bundle/{store-YSP2NPRJ.js → store-NGX3A5XT.js} +19 -15
- package/dist/bundle/store-maintenance-command-WHBIV6HC.js +58 -0
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +78 -20
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/words.d.ts.map +1 -1
- package/dist/commands/words.js +2 -0
- package/dist/commands/words.js.map +1 -1
- package/dist/mail/imap/connection.d.ts.map +1 -1
- package/dist/mail/imap/connection.js +10 -2
- package/dist/mail/imap/connection.js.map +1 -1
- package/dist/mail/rules/apply.d.ts +10 -2
- package/dist/mail/rules/apply.d.ts.map +1 -1
- package/dist/mail/rules/apply.js +110 -30
- package/dist/mail/rules/apply.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +1 -0
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/first-screen-YI2YNTYY.js +0 -34
- package/dist/bundle/server-DF2SECWB.js +0 -68
- package/dist/bundle/store-maintenance-command-4TW6FABJ.js +0 -58
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GCSFZTRI.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
providerErrorKey,
|
|
24
24
|
renderEvent,
|
|
25
25
|
runContextOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RLPWLGP6.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BOGGQOVO.js";
|
|
30
30
|
import {
|
|
31
31
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MP572GP7.js";
|
|
33
33
|
import {
|
|
34
34
|
note
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ENKZEQ4Y.js";
|
|
36
36
|
import {
|
|
37
37
|
CATEGORIES,
|
|
38
38
|
FACT_STATUSES,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
typedCommand,
|
|
78
78
|
untrusted,
|
|
79
79
|
useAsProcessRun
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-YMJXGIYG.js";
|
|
81
81
|
import {
|
|
82
82
|
BUSINESS_KINDS,
|
|
83
83
|
CRM_ACTIVITY_KINDS,
|
|
@@ -112,26 +112,27 @@ import {
|
|
|
112
112
|
meetingStats,
|
|
113
113
|
meetingSummary,
|
|
114
114
|
meetingTranscript
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-2M7PPII5.js";
|
|
116
116
|
import {
|
|
117
117
|
isCliFailure,
|
|
118
118
|
storeDamaged
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-JKWNPRZD.js";
|
|
120
120
|
import {
|
|
121
121
|
endpoint
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-Q23EEGPC.js";
|
|
123
123
|
import {
|
|
124
124
|
readSharedSection,
|
|
125
|
+
repairConfigText,
|
|
125
126
|
sharedConfigPath,
|
|
126
127
|
writeSharedSection
|
|
127
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-KIZYN3NG.js";
|
|
128
129
|
import {
|
|
129
130
|
filesPresent,
|
|
130
131
|
sharedModelsDirectory
|
|
131
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-3ECFSRLQ.js";
|
|
132
133
|
import {
|
|
133
134
|
storePath
|
|
134
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-54JKDFOV.js";
|
|
135
136
|
import {
|
|
136
137
|
configFilePath,
|
|
137
138
|
createRecordLog,
|
|
@@ -204,7 +205,7 @@ import {
|
|
|
204
205
|
__name
|
|
205
206
|
} from "./chunk-ZVVMGPBJ.js";
|
|
206
207
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
208
209
|
import { readFileSync } from "node:fs";
|
|
209
210
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
210
211
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -3961,7 +3962,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3961
3962
|
}
|
|
3962
3963
|
}, "refuseJoinedPath");
|
|
3963
3964
|
|
|
3964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
3965
3966
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3966
3967
|
var requests = new AsyncLocalStorage();
|
|
3967
3968
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3976,7 +3977,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3976
3977
|
return direct;
|
|
3977
3978
|
}, "exitCodeSet");
|
|
3978
3979
|
|
|
3979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3980
3981
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3981
3982
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3982
3983
|
messageId: message2.id,
|
|
@@ -4082,7 +4083,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4082
4083
|
}, "guardedWrite");
|
|
4083
4084
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4084
4085
|
|
|
4085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4086
4087
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4087
4088
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4088
4089
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4265,7 +4266,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4265
4266
|
}
|
|
4266
4267
|
}, "withAbort");
|
|
4267
4268
|
|
|
4268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4269
4270
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4270
4271
|
import { join } from "node:path";
|
|
4271
4272
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4287,7 +4288,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4287
4288
|
}, "profilesWithAccounts");
|
|
4288
4289
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4289
4290
|
|
|
4290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4291
4292
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4292
4293
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4293
4294
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4330,7 +4331,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4330
4331
|
};
|
|
4331
4332
|
}, "runBudget");
|
|
4332
4333
|
|
|
4333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4334
4335
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4335
4336
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4336
4337
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4368,7 +4369,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4368
4369
|
progress: "sync.progress"
|
|
4369
4370
|
};
|
|
4370
4371
|
|
|
4371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4372
4373
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4373
4374
|
const recording = startRecording(options);
|
|
4374
4375
|
try {
|
|
@@ -4583,7 +4584,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4583
4584
|
return void 0;
|
|
4584
4585
|
}, "partialOutcome");
|
|
4585
4586
|
|
|
4586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4587
4588
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4588
4589
|
if (ms2 === void 0)
|
|
4589
4590
|
return body();
|
|
@@ -4609,7 +4610,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4609
4610
|
}
|
|
4610
4611
|
}, "withDeadline");
|
|
4611
4612
|
|
|
4612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4613
4614
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4614
4615
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4615
4616
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4678,10 +4679,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4678
4679
|
return void 0;
|
|
4679
4680
|
}, "sampleCommand");
|
|
4680
4681
|
|
|
4681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4682
4683
|
import { existsSync as existsSync5 } from "node:fs";
|
|
4683
4684
|
|
|
4684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4685
4686
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4686
4687
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4687
4688
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4750,7 +4751,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4750
4751
|
};
|
|
4751
4752
|
}, "modelTarget");
|
|
4752
4753
|
|
|
4753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4754
4755
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4755
4756
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4756
4757
|
var AI_FIELDS = {
|
|
@@ -4794,7 +4795,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4794
4795
|
};
|
|
4795
4796
|
}, "resolveAISettings");
|
|
4796
4797
|
|
|
4797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
4798
4799
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4799
4800
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4800
4801
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4808,7 +4809,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4808
4809
|
return ms2;
|
|
4809
4810
|
}, "parseDuration");
|
|
4810
4811
|
|
|
4811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
4812
4813
|
import { existsSync as existsSync2 } from "node:fs";
|
|
4813
4814
|
import { join as join2 } from "node:path";
|
|
4814
4815
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -5085,7 +5086,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5085
5086
|
}, "vectorModelKey");
|
|
5086
5087
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5087
5088
|
|
|
5088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5089
5090
|
var HISTORY_MAX_DAYS = 1095;
|
|
5090
5091
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5091
5092
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5132,7 +5133,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5132
5133
|
return { batch: { ...batch, messages }, skipped };
|
|
5133
5134
|
}, "limitBatch");
|
|
5134
5135
|
|
|
5135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5136
5137
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5137
5138
|
import { join as join3 } from "node:path";
|
|
5138
5139
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5221,251 +5222,8 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5221
5222
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5222
5223
|
}, "registryProfiles");
|
|
5223
5224
|
|
|
5224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5225
5226
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5226
|
-
|
|
5227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/cli/config-repair.js
|
|
5228
|
-
var REPAIR_WORDS = {
|
|
5229
|
-
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5230
|
-
comment: "a comment, which JSON does not allow",
|
|
5231
|
-
trailing_comma: "a comma before a closing bracket",
|
|
5232
|
-
missing_comma: "a missing comma",
|
|
5233
|
-
unquoted_key: "a key without double quotes",
|
|
5234
|
-
single_quotes: "text in single quotes",
|
|
5235
|
-
missing_closer: "the file stops before its closing brackets \u2014 whatever followed this line was already lost"
|
|
5236
|
-
};
|
|
5237
|
-
var GiveUp = class {
|
|
5238
|
-
static {
|
|
5239
|
-
__name(this, "GiveUp");
|
|
5240
|
-
}
|
|
5241
|
-
at;
|
|
5242
|
-
why;
|
|
5243
|
-
constructor(at2, why) {
|
|
5244
|
-
this.at = at2;
|
|
5245
|
-
this.why = why;
|
|
5246
|
-
}
|
|
5247
|
-
};
|
|
5248
|
-
var NUMBER = /^-?(0|[1-9]\d*)(\.\d+)?([eE][+-]?\d+)?/;
|
|
5249
|
-
var LITERAL = /^(true|false|null)/;
|
|
5250
|
-
var KEY = /^[A-Za-z_$][\w$.-]*/;
|
|
5251
|
-
var ENDS_VALUE = /^[\s,\]}/]?$/;
|
|
5252
|
-
var repairConfigText = /* @__PURE__ */ __name((text5) => {
|
|
5253
|
-
try {
|
|
5254
|
-
JSON.parse(text5);
|
|
5255
|
-
return { state: "valid" };
|
|
5256
|
-
} catch {
|
|
5257
|
-
}
|
|
5258
|
-
const fixes = [];
|
|
5259
|
-
const lineAt = /* @__PURE__ */ __name((offset) => text5.slice(0, offset).split("\n").length, "lineAt");
|
|
5260
|
-
const fix = /* @__PURE__ */ __name((kind2, offset) => fixes.push({ kind: kind2, line: lineAt(offset) }), "fix");
|
|
5261
|
-
const giveUp = /* @__PURE__ */ __name((why, offset = at2) => {
|
|
5262
|
-
throw new GiveUp(offset, why);
|
|
5263
|
-
}, "giveUp");
|
|
5264
|
-
let at2 = 0;
|
|
5265
|
-
let truncated = false;
|
|
5266
|
-
let last = "open";
|
|
5267
|
-
let lastEnd = 0;
|
|
5268
|
-
const previous = /* @__PURE__ */ __name(() => last, "previous");
|
|
5269
|
-
const skip = /* @__PURE__ */ __name(() => {
|
|
5270
|
-
for (; ; ) {
|
|
5271
|
-
while (/\s/.test(text5[at2] ?? ""))
|
|
5272
|
-
at2++;
|
|
5273
|
-
if (text5.startsWith("//", at2)) {
|
|
5274
|
-
fix("comment", at2);
|
|
5275
|
-
while (at2 < text5.length && text5[at2] !== "\n")
|
|
5276
|
-
at2++;
|
|
5277
|
-
} else if (text5.startsWith("/*", at2)) {
|
|
5278
|
-
const end = text5.indexOf("*/", at2 + 2);
|
|
5279
|
-
if (end < 0)
|
|
5280
|
-
giveUp("a /* comment is never closed");
|
|
5281
|
-
fix("comment", at2);
|
|
5282
|
-
at2 = end + 2;
|
|
5283
|
-
} else
|
|
5284
|
-
return;
|
|
5285
|
-
}
|
|
5286
|
-
}, "skip");
|
|
5287
|
-
const string2 = /* @__PURE__ */ __name(() => {
|
|
5288
|
-
const quote = text5[at2];
|
|
5289
|
-
const start = at2;
|
|
5290
|
-
if (quote === "'")
|
|
5291
|
-
fix("single_quotes", at2);
|
|
5292
|
-
at2++;
|
|
5293
|
-
let body = "";
|
|
5294
|
-
for (; ; ) {
|
|
5295
|
-
if (at2 >= text5.length)
|
|
5296
|
-
giveUp("the file stops inside a quoted text", start);
|
|
5297
|
-
const char = text5[at2];
|
|
5298
|
-
if (char === quote)
|
|
5299
|
-
break;
|
|
5300
|
-
if (text5.charCodeAt(at2) < 32)
|
|
5301
|
-
giveUp("a line break inside a quoted text");
|
|
5302
|
-
if (char === "\\") {
|
|
5303
|
-
const next = text5[at2 + 1] ?? "";
|
|
5304
|
-
if (quote === "'" && next === "'")
|
|
5305
|
-
body += "'";
|
|
5306
|
-
else if (/^["\\/bfnrt]$/.test(next))
|
|
5307
|
-
body += `\\${next}`;
|
|
5308
|
-
else if (next === "u" && /^[0-9a-fA-F]{4}$/.test(text5.slice(at2 + 2, at2 + 6))) {
|
|
5309
|
-
body += text5.slice(at2, at2 + 6);
|
|
5310
|
-
at2 += 4;
|
|
5311
|
-
} else
|
|
5312
|
-
giveUp("an escape JSON has no meaning for");
|
|
5313
|
-
at2 += 2;
|
|
5314
|
-
continue;
|
|
5315
|
-
}
|
|
5316
|
-
body += char === '"' ? '\\"' : char;
|
|
5317
|
-
at2++;
|
|
5318
|
-
}
|
|
5319
|
-
at2++;
|
|
5320
|
-
return JSON.parse(`"${body}"`);
|
|
5321
|
-
}, "string");
|
|
5322
|
-
const key = /* @__PURE__ */ __name(() => {
|
|
5323
|
-
const char = text5[at2] ?? "";
|
|
5324
|
-
if (char === '"' || char === "'")
|
|
5325
|
-
return string2();
|
|
5326
|
-
const word = KEY.exec(text5.slice(at2))?.[0];
|
|
5327
|
-
if (!word)
|
|
5328
|
-
return giveUp("something other than a key where a key should be");
|
|
5329
|
-
fix("unquoted_key", at2);
|
|
5330
|
-
at2 += word.length;
|
|
5331
|
-
return word;
|
|
5332
|
-
}, "key");
|
|
5333
|
-
const scalar = /* @__PURE__ */ __name(() => {
|
|
5334
|
-
const char = text5[at2] ?? "";
|
|
5335
|
-
if (char === '"' || char === "'")
|
|
5336
|
-
return { json: JSON.stringify(string2()) };
|
|
5337
|
-
const word = (NUMBER.exec(text5.slice(at2)) ?? LITERAL.exec(text5.slice(at2)))?.[0];
|
|
5338
|
-
if (!word || !ENDS_VALUE.test(text5[at2 + word.length] ?? ""))
|
|
5339
|
-
return giveUp("a value that is not JSON \u2014 text needs quotes, and only true, false and null go without");
|
|
5340
|
-
if (at2 + word.length === text5.length && NUMBER.test(word))
|
|
5341
|
-
giveUp("the file stops inside a number");
|
|
5342
|
-
at2 += word.length;
|
|
5343
|
-
return { json: word };
|
|
5344
|
-
}, "scalar");
|
|
5345
|
-
const members = /* @__PURE__ */ __name((close, one) => {
|
|
5346
|
-
const out = [];
|
|
5347
|
-
at2++;
|
|
5348
|
-
last = "open";
|
|
5349
|
-
let comma = -1;
|
|
5350
|
-
for (; ; ) {
|
|
5351
|
-
skip();
|
|
5352
|
-
if (truncated)
|
|
5353
|
-
return out;
|
|
5354
|
-
if (at2 >= text5.length) {
|
|
5355
|
-
if (previous() === "close")
|
|
5356
|
-
giveUp("the file stops after a closing bracket, so which brackets are missing has two readings");
|
|
5357
|
-
if (previous() === "comma")
|
|
5358
|
-
fix("trailing_comma", comma);
|
|
5359
|
-
fix("missing_closer", text5.length);
|
|
5360
|
-
truncated = true;
|
|
5361
|
-
return out;
|
|
5362
|
-
}
|
|
5363
|
-
const char = text5[at2];
|
|
5364
|
-
if (char === close) {
|
|
5365
|
-
if (previous() === "comma")
|
|
5366
|
-
fix("trailing_comma", comma);
|
|
5367
|
-
at2++;
|
|
5368
|
-
last = "close";
|
|
5369
|
-
return out;
|
|
5370
|
-
}
|
|
5371
|
-
if (char === "}" || char === "]")
|
|
5372
|
-
giveUp(`a ${char} where ${close} should close`);
|
|
5373
|
-
if (char === ",") {
|
|
5374
|
-
if (previous() !== "value" && previous() !== "close")
|
|
5375
|
-
giveUp("a comma with nothing before it");
|
|
5376
|
-
comma = at2;
|
|
5377
|
-
at2++;
|
|
5378
|
-
last = "comma";
|
|
5379
|
-
continue;
|
|
5380
|
-
}
|
|
5381
|
-
if (previous() === "value" || previous() === "close") {
|
|
5382
|
-
if (lineAt(at2) === lineAt(lastEnd))
|
|
5383
|
-
giveUp("two entries on one line with no comma between them");
|
|
5384
|
-
fix("missing_comma", lastEnd);
|
|
5385
|
-
}
|
|
5386
|
-
out.push(one());
|
|
5387
|
-
}
|
|
5388
|
-
}, "members");
|
|
5389
|
-
const value = /* @__PURE__ */ __name(() => {
|
|
5390
|
-
const char = text5[at2] ?? "";
|
|
5391
|
-
let node;
|
|
5392
|
-
if (char === "{") {
|
|
5393
|
-
const seen = /* @__PURE__ */ new Set();
|
|
5394
|
-
node = {
|
|
5395
|
-
object: members("}", () => {
|
|
5396
|
-
const start = at2;
|
|
5397
|
-
const name = key();
|
|
5398
|
-
if (seen.has(name))
|
|
5399
|
-
giveUp("a key appears twice in one object", start);
|
|
5400
|
-
seen.add(name);
|
|
5401
|
-
skip();
|
|
5402
|
-
if (at2 >= text5.length)
|
|
5403
|
-
giveUp("the file stops after a key, before its value");
|
|
5404
|
-
if (text5[at2] !== ":")
|
|
5405
|
-
giveUp("a key with no colon after it");
|
|
5406
|
-
at2++;
|
|
5407
|
-
skip();
|
|
5408
|
-
if (at2 >= text5.length)
|
|
5409
|
-
giveUp("the file stops after a key, before its value");
|
|
5410
|
-
return [name, value()];
|
|
5411
|
-
})
|
|
5412
|
-
};
|
|
5413
|
-
} else if (char === "[") {
|
|
5414
|
-
node = {
|
|
5415
|
-
array: members("]", () => {
|
|
5416
|
-
return value();
|
|
5417
|
-
})
|
|
5418
|
-
};
|
|
5419
|
-
} else
|
|
5420
|
-
node = scalar();
|
|
5421
|
-
if (!truncated) {
|
|
5422
|
-
last = "json" in node ? "value" : "close";
|
|
5423
|
-
lastEnd = at2;
|
|
5424
|
-
}
|
|
5425
|
-
return node;
|
|
5426
|
-
}, "value");
|
|
5427
|
-
try {
|
|
5428
|
-
if (text5.includes("\0") || text5.includes(String.fromCharCode(65533)))
|
|
5429
|
-
giveUp("the file is not text", 0);
|
|
5430
|
-
if (text5.charCodeAt(0) === 65279) {
|
|
5431
|
-
fix("byte_order_mark", 0);
|
|
5432
|
-
at2 = 1;
|
|
5433
|
-
}
|
|
5434
|
-
skip();
|
|
5435
|
-
if (text5[at2] !== "{")
|
|
5436
|
-
giveUp(at2 >= text5.length ? "the file is empty" : "the file does not start with {");
|
|
5437
|
-
const root = value();
|
|
5438
|
-
skip();
|
|
5439
|
-
if (at2 < text5.length)
|
|
5440
|
-
giveUp("more text after the closing }");
|
|
5441
|
-
const repaired = `${serialise(root, "")}
|
|
5442
|
-
`;
|
|
5443
|
-
JSON.parse(repaired);
|
|
5444
|
-
return { state: "repaired", text: repaired, fixes };
|
|
5445
|
-
} catch (error) {
|
|
5446
|
-
if (!(error instanceof GiveUp))
|
|
5447
|
-
throw error;
|
|
5448
|
-
const before = text5.slice(0, error.at).split("\n");
|
|
5449
|
-
return {
|
|
5450
|
-
state: "refused",
|
|
5451
|
-
line: before.length,
|
|
5452
|
-
column: (before.at(-1)?.length ?? 0) + 1,
|
|
5453
|
-
why: error.why
|
|
5454
|
-
};
|
|
5455
|
-
}
|
|
5456
|
-
}, "repairConfigText");
|
|
5457
|
-
var serialise = /* @__PURE__ */ __name((node, indent) => {
|
|
5458
|
-
if ("json" in node)
|
|
5459
|
-
return node.json;
|
|
5460
|
-
const inner = `${indent} `;
|
|
5461
|
-
const parts = "object" in node ? node.object.map(([name, item]) => `${inner}${JSON.stringify(name)}: ${serialise(item, inner)}`) : node.array.map((item) => `${inner}${serialise(item, inner)}`);
|
|
5462
|
-
const [open, close] = "object" in node ? ["{", "}"] : ["[", "]"];
|
|
5463
|
-
return parts.length === 0 ? `${open}${close}` : `${open}
|
|
5464
|
-
${parts.join(",\n")}
|
|
5465
|
-
${indent}${close}`;
|
|
5466
|
-
}, "serialise");
|
|
5467
|
-
|
|
5468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5469
5227
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5470
5228
|
var SECTIONS = ["personal", "bot"];
|
|
5471
5229
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5759,7 +5517,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5759
5517
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5760
5518
|
}, "readConfigFile");
|
|
5761
5519
|
|
|
5762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5763
5521
|
import { existsSync as existsSync4, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5764
5522
|
import { dirname, join as join4 } from "node:path";
|
|
5765
5523
|
var DEFAULT_CONFIG = {
|
|
@@ -5788,7 +5546,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5788
5546
|
}
|
|
5789
5547
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5790
5548
|
|
|
5791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5792
5550
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5793
5551
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5794
5552
|
const path2 = key.split(".");
|
|
@@ -5810,7 +5568,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5810
5568
|
return { config, added };
|
|
5811
5569
|
}, "withSettingDefaults");
|
|
5812
5570
|
|
|
5813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5814
5572
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5815
5573
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5816
5574
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6336,7 +6094,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6336
6094
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6337
6095
|
}, "given");
|
|
6338
6096
|
|
|
6339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6340
6098
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6341
6099
|
const { deadline, signal, app } = environmentOf(command);
|
|
6342
6100
|
const now = deadline?.();
|
|
@@ -6476,7 +6234,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6476
6234
|
return words2.join(" ");
|
|
6477
6235
|
}, "commandPath");
|
|
6478
6236
|
|
|
6479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6480
6238
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6481
6239
|
var FETCH = { remote: "read", local: "write" };
|
|
6482
6240
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6615,7 +6373,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6615
6373
|
throw readOnlyRefusal(lock, what);
|
|
6616
6374
|
}, "refuseUnderReadOnly");
|
|
6617
6375
|
|
|
6618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6619
6377
|
var account = strictObject({
|
|
6620
6378
|
provider: text,
|
|
6621
6379
|
id,
|
|
@@ -6625,7 +6383,7 @@ var account = strictObject({
|
|
|
6625
6383
|
scope: optional(picklist(["personal", "work"]))
|
|
6626
6384
|
});
|
|
6627
6385
|
|
|
6628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6629
6387
|
var accountSession = strictObject({
|
|
6630
6388
|
current: boolean(),
|
|
6631
6389
|
client: nullable(text),
|
|
@@ -6635,7 +6393,7 @@ var accountSession = strictObject({
|
|
|
6635
6393
|
created_at: optional(nullable(time))
|
|
6636
6394
|
});
|
|
6637
6395
|
|
|
6638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6639
6397
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6640
6398
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6641
6399
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6664,7 +6422,7 @@ var accountRemoval = strictObject({
|
|
|
6664
6422
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6665
6423
|
});
|
|
6666
6424
|
|
|
6667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6668
6426
|
var accountProfile = strictObject({
|
|
6669
6427
|
profile: id,
|
|
6670
6428
|
current: boolean(),
|
|
@@ -6676,7 +6434,7 @@ var accountProfile = strictObject({
|
|
|
6676
6434
|
bot: optional(literal(true))
|
|
6677
6435
|
});
|
|
6678
6436
|
|
|
6679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6680
6438
|
var milliseconds = pipe(number(), minValue(0));
|
|
6681
6439
|
var counterReading = strictObject({
|
|
6682
6440
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6688,7 +6446,7 @@ var counterReading = strictObject({
|
|
|
6688
6446
|
});
|
|
6689
6447
|
var selection = record(string(), unknown());
|
|
6690
6448
|
|
|
6691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6692
6450
|
var adminRow = strictObject({
|
|
6693
6451
|
ref: reference,
|
|
6694
6452
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6741,7 +6499,7 @@ var adminReport = strictObject({
|
|
|
6741
6499
|
rows: array(adminRow)
|
|
6742
6500
|
});
|
|
6743
6501
|
|
|
6744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6502
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6745
6503
|
var closeSuggestion = strictObject({
|
|
6746
6504
|
as: picklist(["done", "dismissed"]),
|
|
6747
6505
|
/** The agent's name. */
|
|
@@ -6803,7 +6561,7 @@ var task = strictObject({
|
|
|
6803
6561
|
updated_at: optional(time)
|
|
6804
6562
|
});
|
|
6805
6563
|
|
|
6806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6807
6565
|
var agendaChat = strictObject({
|
|
6808
6566
|
chat: reference,
|
|
6809
6567
|
title: nullable(text),
|
|
@@ -6873,11 +6631,11 @@ var agenda = strictObject({
|
|
|
6873
6631
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6874
6632
|
});
|
|
6875
6633
|
|
|
6876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6877
6635
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6878
6636
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6879
6637
|
|
|
6880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6881
6639
|
var attachment = strictObject({
|
|
6882
6640
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6883
6641
|
message: optional(reference),
|
|
@@ -6922,7 +6680,7 @@ var hitFile = strictObject({
|
|
|
6922
6680
|
local_path: optional(text)
|
|
6923
6681
|
});
|
|
6924
6682
|
|
|
6925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6926
6684
|
var actionableError = objectWithRest({
|
|
6927
6685
|
code: text,
|
|
6928
6686
|
message: text,
|
|
@@ -6939,7 +6697,7 @@ var batchResult = strictObject({
|
|
|
6939
6697
|
max_error_percent: count
|
|
6940
6698
|
});
|
|
6941
6699
|
|
|
6942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6943
6701
|
var extractionItem = strictObject({
|
|
6944
6702
|
ref: reference,
|
|
6945
6703
|
attachment: count,
|
|
@@ -6972,7 +6730,7 @@ var extractionReport = strictObject({
|
|
|
6972
6730
|
cursor: optional(text)
|
|
6973
6731
|
});
|
|
6974
6732
|
|
|
6975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6976
6734
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6977
6735
|
var attachmentBytes = strictObject({
|
|
6978
6736
|
ref: reference,
|
|
@@ -7003,7 +6761,7 @@ var attachmentTextChange = strictObject({
|
|
|
7003
6761
|
text: optional(text)
|
|
7004
6762
|
});
|
|
7005
6763
|
|
|
7006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
7007
6765
|
var WEIGHTS = {
|
|
7008
6766
|
bot: 3,
|
|
7009
6767
|
scam: 3,
|
|
@@ -7028,7 +6786,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7028
6786
|
var DIGITS = /\d{5,}/;
|
|
7029
6787
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7030
6788
|
|
|
7031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
7032
6790
|
var linkedIdentity = strictObject({
|
|
7033
6791
|
provider: text,
|
|
7034
6792
|
id,
|
|
@@ -7083,7 +6841,7 @@ var contactCheck = strictObject({
|
|
|
7083
6841
|
checked_at: time
|
|
7084
6842
|
});
|
|
7085
6843
|
|
|
7086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
7087
6845
|
var member = strictObject({
|
|
7088
6846
|
id,
|
|
7089
6847
|
name: nullable(text),
|
|
@@ -7106,7 +6864,7 @@ var member = strictObject({
|
|
|
7106
6864
|
check: optional(record(string(), unknown()))
|
|
7107
6865
|
});
|
|
7108
6866
|
|
|
7109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6867
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
7110
6868
|
var setting = optional(nullable(boolean()));
|
|
7111
6869
|
var chat = strictObject({
|
|
7112
6870
|
ref: reference,
|
|
@@ -7147,7 +6905,7 @@ var chat = strictObject({
|
|
|
7147
6905
|
members: optional(array(member))
|
|
7148
6906
|
});
|
|
7149
6907
|
|
|
7150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
7151
6909
|
var quoted = strictObject({
|
|
7152
6910
|
id,
|
|
7153
6911
|
sender_id: nullable(id),
|
|
@@ -7266,7 +7024,7 @@ var message = strictObject({
|
|
|
7266
7024
|
provider_metadata: providerMetadata
|
|
7267
7025
|
});
|
|
7268
7026
|
|
|
7269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7270
7028
|
var recordedMeeting = strictObject({
|
|
7271
7029
|
ref: reference,
|
|
7272
7030
|
meeting_id: count,
|
|
@@ -7279,7 +7037,7 @@ var recordedMeeting = strictObject({
|
|
|
7279
7037
|
people: array(reference)
|
|
7280
7038
|
});
|
|
7281
7039
|
|
|
7282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7283
7041
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7284
7042
|
var contextMessage = strictObject({
|
|
7285
7043
|
locator: reference,
|
|
@@ -7485,7 +7243,7 @@ var contactPreparation = strictObject({
|
|
|
7485
7243
|
})
|
|
7486
7244
|
});
|
|
7487
7245
|
|
|
7488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7246
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7489
7247
|
var nullableText = nullable(text);
|
|
7490
7248
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7491
7249
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7596,7 +7354,7 @@ var stage = strictObject({
|
|
|
7596
7354
|
untrusted
|
|
7597
7355
|
});
|
|
7598
7356
|
|
|
7599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7600
7358
|
var nullableText2 = nullable(text);
|
|
7601
7359
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7602
7360
|
var standing = picklist(STANDINGS);
|
|
@@ -7770,7 +7528,7 @@ var dealBrief = strictObject({
|
|
|
7770
7528
|
not_read: coverage2.entries.not_read
|
|
7771
7529
|
});
|
|
7772
7530
|
|
|
7773
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7774
7532
|
var chart = strictObject({
|
|
7775
7533
|
version: literal(1),
|
|
7776
7534
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7785,7 +7543,7 @@ var chart = strictObject({
|
|
|
7785
7543
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7786
7544
|
});
|
|
7787
7545
|
|
|
7788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7789
7547
|
var named = strictObject({
|
|
7790
7548
|
id,
|
|
7791
7549
|
title: nullable(text),
|
|
@@ -7808,7 +7566,7 @@ var folder = strictObject({
|
|
|
7808
7566
|
excluded_chats: optional(array(named))
|
|
7809
7567
|
});
|
|
7810
7568
|
|
|
7811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7812
7570
|
var inviteLink = strictObject({
|
|
7813
7571
|
link: text,
|
|
7814
7572
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7824,7 +7582,7 @@ var inviteLink = strictObject({
|
|
|
7824
7582
|
joined_count: optional(count)
|
|
7825
7583
|
});
|
|
7826
7584
|
|
|
7827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7828
7586
|
var operated = { operation_id: id, chat_id: id };
|
|
7829
7587
|
var group = strictObject({
|
|
7830
7588
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7904,7 +7662,7 @@ var chatFolderOrder = strictObject({
|
|
|
7904
7662
|
folders: array(strictObject({ id, title: text }))
|
|
7905
7663
|
});
|
|
7906
7664
|
|
|
7907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7908
7666
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7909
7667
|
var chatRemoval = strictObject(operated2);
|
|
7910
7668
|
var chatMuting = strictObject({
|
|
@@ -7915,7 +7673,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7915
7673
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7916
7674
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7917
7675
|
|
|
7918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7919
7677
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7920
7678
|
var chatEvent = strictObject({
|
|
7921
7679
|
chat_id: id,
|
|
@@ -7932,7 +7690,7 @@ var chatEvent = strictObject({
|
|
|
7932
7690
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7933
7691
|
});
|
|
7934
7692
|
|
|
7935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7936
7694
|
var chatMetadata = strictObject({
|
|
7937
7695
|
chat_id: id,
|
|
7938
7696
|
title: nullable(text),
|
|
@@ -7947,7 +7705,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7947
7705
|
has_more: boolean()
|
|
7948
7706
|
});
|
|
7949
7707
|
|
|
7950
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7951
7709
|
var action = picklist(["report", "delete", "remove"]);
|
|
7952
7710
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7953
7711
|
var chatRules = strictObject({
|
|
@@ -7984,7 +7742,7 @@ var chatModeration = strictObject({
|
|
|
7984
7742
|
}))
|
|
7985
7743
|
});
|
|
7986
7744
|
|
|
7987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7988
7746
|
var optionalCount = optional(count);
|
|
7989
7747
|
var minutes = nullable(number());
|
|
7990
7748
|
var chatStats = strictObject({
|
|
@@ -8060,7 +7818,7 @@ var taskStats = strictObject({
|
|
|
8060
7818
|
}))
|
|
8061
7819
|
});
|
|
8062
7820
|
|
|
8063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
8064
7822
|
var memberCount = strictObject({
|
|
8065
7823
|
day: pipe(text, isoDate()),
|
|
8066
7824
|
participants: nullable(count),
|
|
@@ -8083,7 +7841,7 @@ var chatTracking = strictObject({
|
|
|
8083
7841
|
tracked: boolean()
|
|
8084
7842
|
});
|
|
8085
7843
|
|
|
8086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
8087
7845
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8088
7846
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8089
7847
|
var profileFields = {
|
|
@@ -8121,7 +7879,7 @@ var profileFields = {
|
|
|
8121
7879
|
}))
|
|
8122
7880
|
};
|
|
8123
7881
|
|
|
8124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
8125
7883
|
var contact = strictObject({
|
|
8126
7884
|
ref: reference,
|
|
8127
7885
|
id,
|
|
@@ -8152,7 +7910,7 @@ var contact = strictObject({
|
|
|
8152
7910
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8153
7911
|
});
|
|
8154
7912
|
|
|
8155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
8156
7914
|
var contactNote = strictObject({
|
|
8157
7915
|
id,
|
|
8158
7916
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8164,13 +7922,13 @@ var contactNote = strictObject({
|
|
|
8164
7922
|
updated_at: time
|
|
8165
7923
|
});
|
|
8166
7924
|
|
|
8167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
8168
7926
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8169
7927
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8170
7928
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8171
7929
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8172
7930
|
|
|
8173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
8174
7932
|
var conversation = strictObject({
|
|
8175
7933
|
id,
|
|
8176
7934
|
chat: reference,
|
|
@@ -8185,7 +7943,7 @@ var conversation = strictObject({
|
|
|
8185
7943
|
rules_version: count
|
|
8186
7944
|
});
|
|
8187
7945
|
|
|
8188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7946
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
8189
7947
|
var conversationBuild = strictObject({
|
|
8190
7948
|
chat: id,
|
|
8191
7949
|
messages: count,
|
|
@@ -8210,7 +7968,7 @@ var catchUpPreparation = strictObject({
|
|
|
8210
7968
|
prepared: optional(conversationPreparation)
|
|
8211
7969
|
});
|
|
8212
7970
|
|
|
8213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
8214
7972
|
var conversationDetails = union([
|
|
8215
7973
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8216
7974
|
message
|
|
@@ -8300,7 +8058,7 @@ var conversationHit = strictObject({
|
|
|
8300
8058
|
stale: boolean()
|
|
8301
8059
|
});
|
|
8302
8060
|
|
|
8303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8304
8062
|
var counters = strictObject({
|
|
8305
8063
|
cutoff: time,
|
|
8306
8064
|
max_age_ms: milliseconds,
|
|
@@ -8330,7 +8088,7 @@ var counterRefresh = strictObject({
|
|
|
8330
8088
|
complete: optional(boolean())
|
|
8331
8089
|
});
|
|
8332
8090
|
|
|
8333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8334
8092
|
var document = strictObject({
|
|
8335
8093
|
ref: reference,
|
|
8336
8094
|
id,
|
|
@@ -8345,7 +8103,7 @@ var document = strictObject({
|
|
|
8345
8103
|
owners: optional(array(text))
|
|
8346
8104
|
});
|
|
8347
8105
|
|
|
8348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8349
8107
|
var documentLink = strictObject({
|
|
8350
8108
|
ref: reference,
|
|
8351
8109
|
url: text,
|
|
@@ -8356,7 +8114,7 @@ var documentLink = strictObject({
|
|
|
8356
8114
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8357
8115
|
});
|
|
8358
8116
|
|
|
8359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8360
8118
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8361
8119
|
var contribution = strictObject({
|
|
8362
8120
|
message: evidenceMessage,
|
|
@@ -8386,7 +8144,7 @@ var retentionStay = strictObject({
|
|
|
8386
8144
|
});
|
|
8387
8145
|
var evidence = union([contribution, retentionStay]);
|
|
8388
8146
|
|
|
8389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8390
8148
|
var fact = strictObject({
|
|
8391
8149
|
ref: reference,
|
|
8392
8150
|
id,
|
|
@@ -8417,7 +8175,7 @@ var fact = strictObject({
|
|
|
8417
8175
|
updated_at: time
|
|
8418
8176
|
});
|
|
8419
8177
|
|
|
8420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8421
8179
|
var hit = strictObject({
|
|
8422
8180
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8423
8181
|
ref: reference,
|
|
@@ -8465,7 +8223,7 @@ var hit = strictObject({
|
|
|
8465
8223
|
untrusted
|
|
8466
8224
|
});
|
|
8467
8225
|
|
|
8468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8469
8227
|
var identity = strictObject({
|
|
8470
8228
|
ref: reference,
|
|
8471
8229
|
provider: text,
|
|
@@ -8481,7 +8239,7 @@ var identity = strictObject({
|
|
|
8481
8239
|
person: optional(nullable(reference))
|
|
8482
8240
|
});
|
|
8483
8241
|
|
|
8484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8485
8243
|
var imageEmbedding = strictObject({
|
|
8486
8244
|
model: text,
|
|
8487
8245
|
embedded: count,
|
|
@@ -8490,13 +8248,13 @@ var imageEmbedding = strictObject({
|
|
|
8490
8248
|
more: boolean()
|
|
8491
8249
|
});
|
|
8492
8250
|
|
|
8493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8494
8252
|
import { spawn } from "node:child_process";
|
|
8495
8253
|
import { randomBytes } from "node:crypto";
|
|
8496
8254
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8497
8255
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8498
8256
|
|
|
8499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8500
8258
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8501
8259
|
const total = input.total ?? null;
|
|
8502
8260
|
const updated = input.updatedAt ?? null;
|
|
@@ -8512,7 +8270,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8512
8270
|
};
|
|
8513
8271
|
}, "progressOf");
|
|
8514
8272
|
|
|
8515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8516
8274
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8517
8275
|
const run = currentRun();
|
|
8518
8276
|
const trace = traceId ?? run.traceId;
|
|
@@ -8526,7 +8284,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8526
8284
|
}));
|
|
8527
8285
|
}, "recordLogFor");
|
|
8528
8286
|
|
|
8529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8530
8288
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8531
8289
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8532
8290
|
const out = openSync(log, "a", 384);
|
|
@@ -8681,7 +8439,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8681
8439
|
return { job: id6, pid, chat: input.chat, log };
|
|
8682
8440
|
}, "startArchiveJob");
|
|
8683
8441
|
|
|
8684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8685
8443
|
var problem = strictObject({ code: text, message: text });
|
|
8686
8444
|
var job = strictObject({
|
|
8687
8445
|
id,
|
|
@@ -8704,7 +8462,7 @@ var job = strictObject({
|
|
|
8704
8462
|
error: optional(problem)
|
|
8705
8463
|
});
|
|
8706
8464
|
|
|
8707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8708
8466
|
var joinRequest = strictObject({
|
|
8709
8467
|
person_id: id,
|
|
8710
8468
|
name: nullable(text),
|
|
@@ -8715,7 +8473,7 @@ var joinRequest = strictObject({
|
|
|
8715
8473
|
about: optional(text)
|
|
8716
8474
|
});
|
|
8717
8475
|
|
|
8718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8719
8477
|
var botProfile = strictObject({
|
|
8720
8478
|
name: text,
|
|
8721
8479
|
token: text,
|
|
@@ -8839,7 +8597,7 @@ var stickerInventory = strictObject({
|
|
|
8839
8597
|
url: optional(nullable(text))
|
|
8840
8598
|
});
|
|
8841
8599
|
|
|
8842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8843
8601
|
var pollVote = strictObject({
|
|
8844
8602
|
person_id: id,
|
|
8845
8603
|
name: nullable(text),
|
|
@@ -8849,7 +8607,7 @@ var pollVote = strictObject({
|
|
|
8849
8607
|
voted_at: time
|
|
8850
8608
|
});
|
|
8851
8609
|
|
|
8852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8853
8611
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8854
8612
|
var observation = strictObject({
|
|
8855
8613
|
value: pipe(number(), minValue(0)),
|
|
@@ -8891,7 +8649,7 @@ var serveSummary = strictObject({
|
|
|
8891
8649
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8892
8650
|
});
|
|
8893
8651
|
|
|
8894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8895
8653
|
var mailCounts = strictObject({
|
|
8896
8654
|
by: picklist(["day", "week", "sender"]),
|
|
8897
8655
|
received: count,
|
|
@@ -8906,7 +8664,7 @@ var mailCounts = strictObject({
|
|
|
8906
8664
|
}))
|
|
8907
8665
|
});
|
|
8908
8666
|
|
|
8909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8910
8668
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8911
8669
|
var base = { id, evidence: array(evidence2) };
|
|
8912
8670
|
var finding = variant("kind", [
|
|
@@ -9050,7 +8808,7 @@ var mailFindings = strictObject({
|
|
|
9050
8808
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9051
8809
|
});
|
|
9052
8810
|
|
|
9053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
9054
8812
|
var mediaArchive = strictObject({
|
|
9055
8813
|
directory: text,
|
|
9056
8814
|
chats: count,
|
|
@@ -9082,7 +8840,7 @@ var mediaArchiveTimer = union([
|
|
|
9082
8840
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9083
8841
|
]);
|
|
9084
8842
|
|
|
9085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
9086
8844
|
var preparationId = pipe(string(), minLength(1));
|
|
9087
8845
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9088
8846
|
var preparationTime = nullable(isoTime);
|
|
@@ -9174,7 +8932,7 @@ var preparationMeeting = strictObject({
|
|
|
9174
8932
|
updated_at: isoTime
|
|
9175
8933
|
});
|
|
9176
8934
|
|
|
9177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
9178
8936
|
var meetingEvidence = preparationEvidence;
|
|
9179
8937
|
var meetingPersonContext = strictObject({
|
|
9180
8938
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9196,7 +8954,7 @@ var meetingPersonContext = strictObject({
|
|
|
9196
8954
|
})
|
|
9197
8955
|
});
|
|
9198
8956
|
|
|
9199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
9200
8958
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9201
8959
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9202
8960
|
var finding2 = variant("kind", [
|
|
@@ -9234,7 +8992,7 @@ var meetingFindings = strictObject({
|
|
|
9234
8992
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9235
8993
|
});
|
|
9236
8994
|
|
|
9237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
9238
8996
|
var communicationCoverage = strictObject({
|
|
9239
8997
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9240
8998
|
query: string(),
|
|
@@ -9279,7 +9037,7 @@ var preparationCommunications = strictObject({
|
|
|
9279
9037
|
}))
|
|
9280
9038
|
});
|
|
9281
9039
|
|
|
9282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9283
9041
|
var meetingPreparation = strictObject({
|
|
9284
9042
|
communications: optional(preparationCommunications),
|
|
9285
9043
|
schema_version: literal(1),
|
|
@@ -9392,7 +9150,7 @@ var meetingPreparation = strictObject({
|
|
|
9392
9150
|
})
|
|
9393
9151
|
});
|
|
9394
9152
|
|
|
9395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9396
9154
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9397
9155
|
var id3 = pipe(string(), minLength(1));
|
|
9398
9156
|
var text3 = string();
|
|
@@ -9456,7 +9214,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9456
9214
|
})
|
|
9457
9215
|
});
|
|
9458
9216
|
|
|
9459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9460
9218
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9461
9219
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9462
9220
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9486,7 +9244,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9486
9244
|
})
|
|
9487
9245
|
});
|
|
9488
9246
|
|
|
9489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9490
9248
|
var text4 = string();
|
|
9491
9249
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9492
9250
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9503,7 +9261,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9503
9261
|
persistence: literal("proposal-only")
|
|
9504
9262
|
});
|
|
9505
9263
|
|
|
9506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9507
9265
|
var memory = strictObject({
|
|
9508
9266
|
ref: reference,
|
|
9509
9267
|
id,
|
|
@@ -9531,7 +9289,7 @@ var memory = strictObject({
|
|
|
9531
9289
|
updated_at: time
|
|
9532
9290
|
});
|
|
9533
9291
|
|
|
9534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9535
9293
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9536
9294
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9537
9295
|
var mention = strictObject({
|
|
@@ -9575,13 +9333,13 @@ var mentionRebuild = strictObject({
|
|
|
9575
9333
|
mentions: count
|
|
9576
9334
|
});
|
|
9577
9335
|
|
|
9578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9579
9337
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9580
9338
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9581
9339
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9582
9340
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9583
9341
|
|
|
9584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9585
9343
|
var messageTranscript = strictObject({
|
|
9586
9344
|
message_id: id,
|
|
9587
9345
|
text,
|
|
@@ -9639,7 +9397,7 @@ var evidencePacket = strictObject({
|
|
|
9639
9397
|
}))
|
|
9640
9398
|
});
|
|
9641
9399
|
|
|
9642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9643
9401
|
var messageThread = strictObject({
|
|
9644
9402
|
ref: reference,
|
|
9645
9403
|
chat: id,
|
|
@@ -9656,7 +9414,7 @@ var messageThread = strictObject({
|
|
|
9656
9414
|
});
|
|
9657
9415
|
var messageContext = union([message, messageThread]);
|
|
9658
9416
|
|
|
9659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9660
9418
|
var messageCounts = strictObject({
|
|
9661
9419
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9662
9420
|
total: count,
|
|
@@ -9669,7 +9427,7 @@ var messageCounts = strictObject({
|
|
|
9669
9427
|
}))
|
|
9670
9428
|
});
|
|
9671
9429
|
|
|
9672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9673
9431
|
var messageLink = strictObject({
|
|
9674
9432
|
ref: reference,
|
|
9675
9433
|
url: nullable(text),
|
|
@@ -9686,7 +9444,7 @@ var messageLink = strictObject({
|
|
|
9686
9444
|
})))
|
|
9687
9445
|
});
|
|
9688
9446
|
|
|
9689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9690
9448
|
var savedMessageFile = strictObject({
|
|
9691
9449
|
kind: text,
|
|
9692
9450
|
path: text,
|
|
@@ -9773,7 +9531,7 @@ var messageSyncAll = strictObject({
|
|
|
9773
9531
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9774
9532
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9775
9533
|
|
|
9776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9777
9535
|
var messageWrite = strictObject({
|
|
9778
9536
|
operation_id: id,
|
|
9779
9537
|
message,
|
|
@@ -9788,7 +9546,7 @@ var draftWrite = strictObject({
|
|
|
9788
9546
|
});
|
|
9789
9547
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9790
9548
|
|
|
9791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9792
9550
|
var model2 = strictObject({
|
|
9793
9551
|
id,
|
|
9794
9552
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9823,7 +9581,7 @@ var chosenModel = strictObject({
|
|
|
9823
9581
|
estimate_seconds: nullable(count)
|
|
9824
9582
|
});
|
|
9825
9583
|
|
|
9826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9827
9585
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9828
9586
|
var modelKey = strictObject({
|
|
9829
9587
|
provider: text,
|
|
@@ -9833,7 +9591,7 @@ var modelKey = strictObject({
|
|
|
9833
9591
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9834
9592
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9835
9593
|
|
|
9836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9837
9595
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9838
9596
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9839
9597
|
var graph = strictObject({
|
|
@@ -9867,14 +9625,14 @@ var officialStats = strictObject({
|
|
|
9867
9625
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9868
9626
|
});
|
|
9869
9627
|
|
|
9870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9871
9629
|
var person2 = strictObject({
|
|
9872
9630
|
ref: reference,
|
|
9873
9631
|
name: nullable(text),
|
|
9874
9632
|
identities: optional(array(identity))
|
|
9875
9633
|
});
|
|
9876
9634
|
|
|
9877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9878
9636
|
var poll = strictObject({
|
|
9879
9637
|
chat_id: id,
|
|
9880
9638
|
message_id: id,
|
|
@@ -9890,11 +9648,11 @@ var poll = strictObject({
|
|
|
9890
9648
|
});
|
|
9891
9649
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9892
9650
|
|
|
9893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9894
9652
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9895
9653
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9896
9654
|
|
|
9897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9898
9656
|
var figures = record(string(), number());
|
|
9899
9657
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9900
9658
|
var rankingRow = strictObject({
|
|
@@ -9941,7 +9699,7 @@ var ranking = strictObject({
|
|
|
9941
9699
|
rows: array(rankingRow)
|
|
9942
9700
|
});
|
|
9943
9701
|
|
|
9944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9945
9703
|
var reaction = strictObject({
|
|
9946
9704
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9947
9705
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9949,7 +9707,7 @@ var reaction = strictObject({
|
|
|
9949
9707
|
reacted_at: time
|
|
9950
9708
|
});
|
|
9951
9709
|
|
|
9952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9953
9711
|
var reactionChange = strictObject({
|
|
9954
9712
|
operation_id: id,
|
|
9955
9713
|
chat_id: id,
|
|
@@ -9957,7 +9715,7 @@ var reactionChange = strictObject({
|
|
|
9957
9715
|
reaction: nullable(text)
|
|
9958
9716
|
});
|
|
9959
9717
|
|
|
9960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9961
9719
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9962
9720
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9963
9721
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9968,7 +9726,7 @@ var recipientChange = strictObject({
|
|
|
9968
9726
|
...partial(recipientOff).entries
|
|
9969
9727
|
});
|
|
9970
9728
|
|
|
9971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9972
9730
|
var events = array(record(string(), unknown()));
|
|
9973
9731
|
var recordedRun = strictObject({
|
|
9974
9732
|
run_id: id,
|
|
@@ -10040,7 +9798,7 @@ var runHit = strictObject({
|
|
|
10040
9798
|
});
|
|
10041
9799
|
var runLocation = strictObject({ path: text });
|
|
10042
9800
|
|
|
10043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
10044
9802
|
var relationship = strictObject({
|
|
10045
9803
|
id,
|
|
10046
9804
|
from: reference,
|
|
@@ -10067,7 +9825,7 @@ var relationship = strictObject({
|
|
|
10067
9825
|
created_at: time
|
|
10068
9826
|
});
|
|
10069
9827
|
|
|
10070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
10071
9829
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10072
9830
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10073
9831
|
var responseTimes = strictObject({
|
|
@@ -10084,7 +9842,7 @@ var waitingChats = strictObject({
|
|
|
10084
9842
|
by_kind: strictObject({ private: count, group: count })
|
|
10085
9843
|
});
|
|
10086
9844
|
|
|
10087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
10088
9846
|
var retentionCohort = strictObject({
|
|
10089
9847
|
/** The first day of the joining day or week. */
|
|
10090
9848
|
cohort: text,
|
|
@@ -10132,7 +9890,7 @@ var retention = strictObject({
|
|
|
10132
9890
|
rows: array(retentionCohort)
|
|
10133
9891
|
});
|
|
10134
9892
|
|
|
10135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
10136
9894
|
var savedSearch = strictObject({
|
|
10137
9895
|
id,
|
|
10138
9896
|
/** `null` for a run in the history. */
|
|
@@ -10149,7 +9907,7 @@ var savedSearch = strictObject({
|
|
|
10149
9907
|
});
|
|
10150
9908
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10151
9909
|
|
|
10152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
10153
9911
|
var sendAttempt = strictObject({
|
|
10154
9912
|
at: time,
|
|
10155
9913
|
profile: text,
|
|
@@ -10177,7 +9935,7 @@ var sendAttempt = strictObject({
|
|
|
10177
9935
|
error_code: optional(text)
|
|
10178
9936
|
});
|
|
10179
9937
|
|
|
10180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
10181
9939
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10182
9940
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10183
9941
|
var infoSchema = strictObject({
|
|
@@ -10407,7 +10165,7 @@ var storeRepair = union([
|
|
|
10407
10165
|
]);
|
|
10408
10166
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10409
10167
|
|
|
10410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10411
10169
|
var range = strictObject({ from: number(), to: number() });
|
|
10412
10170
|
var storeChatStatus = strictObject({
|
|
10413
10171
|
chat_id: id,
|
|
@@ -10505,7 +10263,7 @@ var storeJobRetry = union([
|
|
|
10505
10263
|
]);
|
|
10506
10264
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10507
10265
|
|
|
10508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10509
10267
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10510
10268
|
var storeTable = strictObject({
|
|
10511
10269
|
name: text,
|
|
@@ -10514,7 +10272,7 @@ var storeTable = strictObject({
|
|
|
10514
10272
|
bytes: optional(nullable(count))
|
|
10515
10273
|
});
|
|
10516
10274
|
|
|
10517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10518
10276
|
var tagTarget = variant("type", [
|
|
10519
10277
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10520
10278
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10545,7 +10303,7 @@ var automaticTags = strictObject({
|
|
|
10545
10303
|
dry_run: boolean()
|
|
10546
10304
|
});
|
|
10547
10305
|
|
|
10548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10549
10307
|
var tagging = strictObject({
|
|
10550
10308
|
tag: text,
|
|
10551
10309
|
type: picklist(TAG_TYPES),
|
|
@@ -10558,7 +10316,7 @@ var tagging = strictObject({
|
|
|
10558
10316
|
created_at: time
|
|
10559
10317
|
});
|
|
10560
10318
|
|
|
10561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10562
10320
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10563
10321
|
var taskPair = strictObject({
|
|
10564
10322
|
task: nullable(side),
|
|
@@ -10581,7 +10339,7 @@ var taskPair = strictObject({
|
|
|
10581
10339
|
created_at: time
|
|
10582
10340
|
});
|
|
10583
10341
|
|
|
10584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10585
10343
|
var nullableTime = nullable(time);
|
|
10586
10344
|
var link = strictObject({
|
|
10587
10345
|
id,
|
|
@@ -10755,7 +10513,7 @@ var taskReview = strictObject({
|
|
|
10755
10513
|
untrusted
|
|
10756
10514
|
});
|
|
10757
10515
|
|
|
10758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10759
10517
|
var template = strictObject({
|
|
10760
10518
|
key: text,
|
|
10761
10519
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10767,7 +10525,7 @@ var template = strictObject({
|
|
|
10767
10525
|
updated_by: nullable(text)
|
|
10768
10526
|
});
|
|
10769
10527
|
|
|
10770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10771
10529
|
var topic = strictObject({
|
|
10772
10530
|
id,
|
|
10773
10531
|
title: text,
|
|
@@ -10781,7 +10539,7 @@ var topic = strictObject({
|
|
|
10781
10539
|
untrusted
|
|
10782
10540
|
});
|
|
10783
10541
|
|
|
10784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10785
10543
|
var ENTITIES = {
|
|
10786
10544
|
sync_progress: progress,
|
|
10787
10545
|
deal,
|
|
@@ -11076,7 +10834,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11076
10834
|
return [name, definition];
|
|
11077
10835
|
})), "entityDefinitions");
|
|
11078
10836
|
|
|
11079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
11080
10838
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11081
10839
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11082
10840
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11110,7 +10868,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11110
10868
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11111
10869
|
}, "answerRow");
|
|
11112
10870
|
|
|
11113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
11114
10872
|
import { join as join6 } from "node:path";
|
|
11115
10873
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11116
10874
|
var IMAGE_MODELS = [
|
|
@@ -11164,7 +10922,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11164
10922
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11165
10923
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11166
10924
|
|
|
11167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
11168
10926
|
var STEPS2 = defineSteps([
|
|
11169
10927
|
...STEPS,
|
|
11170
10928
|
{
|
|
@@ -11454,7 +11212,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11454
11212
|
].join(" ");
|
|
11455
11213
|
}, "stepLine");
|
|
11456
11214
|
|
|
11457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11458
11216
|
var where = [{ field: "ref" }];
|
|
11459
11217
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11460
11218
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11546,7 +11304,7 @@ var STATUS_ROWS = {
|
|
|
11546
11304
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11547
11305
|
};
|
|
11548
11306
|
|
|
11549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11550
11308
|
var TEXT_CHARS = 400;
|
|
11551
11309
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11552
11310
|
var messageRow = {
|
|
@@ -11914,7 +11672,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11914
11672
|
return lines.concat(footerOf(body)).join("\n");
|
|
11915
11673
|
}, "compactText");
|
|
11916
11674
|
|
|
11917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11918
11676
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11919
11677
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11920
11678
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11972,7 +11730,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11972
11730
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11973
11731
|
}, "largeAnswerSteps");
|
|
11974
11732
|
|
|
11975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11976
11734
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11977
11735
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11978
11736
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11986,7 +11744,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11986
11744
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11987
11745
|
}, "strip");
|
|
11988
11746
|
|
|
11989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11990
11748
|
var OPEN = "\u27E6";
|
|
11991
11749
|
var CLOSE = "\u27E7";
|
|
11992
11750
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12070,7 +11828,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12070
11828
|
return result;
|
|
12071
11829
|
}, "withFieldsMarked");
|
|
12072
11830
|
|
|
12073
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
12074
11832
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12075
11833
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12076
11834
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12287,6 +12045,7 @@ export {
|
|
|
12287
12045
|
sharedCommand,
|
|
12288
12046
|
refuseJoinedPath,
|
|
12289
12047
|
deadlineMargin,
|
|
12048
|
+
runBudget,
|
|
12290
12049
|
recorded,
|
|
12291
12050
|
startRecording,
|
|
12292
12051
|
wasSettled,
|
|
@@ -12334,8 +12093,6 @@ export {
|
|
|
12334
12093
|
botFiles,
|
|
12335
12094
|
ChatRegistry,
|
|
12336
12095
|
registryProfiles,
|
|
12337
|
-
REPAIR_WORDS,
|
|
12338
|
-
repairConfigText,
|
|
12339
12096
|
permissionIssues,
|
|
12340
12097
|
withoutPath,
|
|
12341
12098
|
publicIssue,
|