@wirecat/mail-cli 0.27.0 → 0.29.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 +26 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-5XWH7TBM.js → all-profiles-Q4E2LPB4.js} +7 -7
- package/dist/bundle/{anthropic-QEQGUEPW.js → anthropic-S3N4JDJU.js} +2 -2
- package/dist/bundle/{app-server-YWDU56NR.js → app-server-E44CAPPI.js} +44 -44
- package/dist/bundle/{bun-PWMM6L45.js → bun-RDYA5FCZ.js} +2 -2
- package/dist/bundle/{bun-sqlite-S4QD5YUO.js → bun-sqlite-FPVHKI24.js} +3 -3
- package/dist/bundle/{chunk-2FZMIJW7.js → chunk-2MTIGJHQ.js} +4 -4
- package/dist/bundle/{chunk-QQTSPQ2D.js → chunk-3AH7UEM6.js} +1 -1
- package/dist/bundle/{chunk-7BXOFLWJ.js → chunk-3RBUACSJ.js} +54 -54
- package/dist/bundle/{chunk-4VDWQKDI.js → chunk-44IAJV2T.js} +16 -16
- package/dist/bundle/{chunk-NZG6IRDW.js → chunk-45ET53MO.js} +2 -2
- package/dist/bundle/{chunk-XBL46B4V.js → chunk-5PDWUD3W.js} +1 -1
- package/dist/bundle/{chunk-APLVXHFG.js → chunk-5ZJ6IHVE.js} +1 -1
- package/dist/bundle/{chunk-255RGG5W.js → chunk-6B2BBL35.js} +5 -5
- package/dist/bundle/{chunk-TKOZCIHU.js → chunk-7AO73MJZ.js} +15 -15
- package/dist/bundle/{chunk-AIEMFRBU.js → chunk-7E4KECG4.js} +1 -1
- package/dist/bundle/{chunk-UIKVP23D.js → chunk-7ESXP4TG.js} +1 -1
- package/dist/bundle/{chunk-77J5ID2O.js → chunk-ATJANIQR.js} +2 -2
- package/dist/bundle/{chunk-T7VERZP5.js → chunk-BDWOTD7E.js} +23 -23
- package/dist/bundle/{chunk-IDOHT4Z3.js → chunk-BPHLFSUO.js} +15 -15
- package/dist/bundle/{chunk-KHBZ4OEP.js → chunk-D4QALV67.js} +1 -1
- package/dist/bundle/{chunk-WRHAX53U.js → chunk-DIOHJT2W.js} +6 -6
- package/dist/bundle/{chunk-QVJMFZFW.js → chunk-DMW6J2P3.js} +1 -1
- package/dist/bundle/{chunk-ROLHKFKB.js → chunk-FDGCTY6J.js} +9 -9
- package/dist/bundle/{chunk-572NWJUN.js → chunk-FHQ32JKS.js} +1 -1
- package/dist/bundle/{chunk-CZRMT6XV.js → chunk-FM4B357N.js} +2 -2
- package/dist/bundle/{chunk-CKFVKHTB.js → chunk-FOZXPSHA.js} +3 -3
- package/dist/bundle/{chunk-5DLPM5AV.js → chunk-HKC6ZJA5.js} +12 -12
- package/dist/bundle/{chunk-BZCXAVGP.js → chunk-IKTBM64M.js} +7 -7
- package/dist/bundle/{chunk-WMXUFUV3.js → chunk-IZEK7JI7.js} +2 -2
- package/dist/bundle/{chunk-UEJVXUIO.js → chunk-KBTVVHFP.js} +12 -12
- package/dist/bundle/{chunk-ELPH22W6.js → chunk-KNTAOY5J.js} +7 -7
- package/dist/bundle/{chunk-EXWZCI5G.js → chunk-KSFPMRH6.js} +1 -1
- package/dist/bundle/{chunk-DSUOYJUL.js → chunk-KTLJ6F2B.js} +3 -3
- package/dist/bundle/{chunk-S7H7TAC3.js → chunk-MT5KDBOM.js} +5 -5
- package/dist/bundle/{chunk-XM2THVMR.js → chunk-MVGFB7IS.js} +2 -2
- package/dist/bundle/{chunk-SXKKOOA7.js → chunk-NUHUTJTM.js} +1 -1
- package/dist/bundle/{chunk-AIZ225IA.js → chunk-NWA7JS74.js} +241 -241
- package/dist/bundle/{chunk-PJ3FKBXG.js → chunk-ODPYXNHI.js} +1 -1
- package/dist/bundle/{chunk-ZVQDOKDY.js → chunk-OLTJB5PW.js} +1 -1
- package/dist/bundle/{chunk-TI2OANJZ.js → chunk-PCYTU7HS.js} +1 -1
- package/dist/bundle/{chunk-OEPNLKHI.js → chunk-PIKOQWTL.js} +4 -4
- package/dist/bundle/{chunk-RRLAFEPQ.js → chunk-PYOM4J73.js} +2 -2
- package/dist/bundle/{chunk-PA7LDYVX.js → chunk-RFM3AAK5.js} +52 -52
- package/dist/bundle/{chunk-UBH4UPZ7.js → chunk-RGIEG4XK.js} +2 -1
- package/dist/bundle/{chunk-VYZ37D2Q.js → chunk-TXDA437R.js} +1 -1
- package/dist/bundle/{chunk-5BPOEPYL.js → chunk-UH7FYLFL.js} +4 -4
- package/dist/bundle/{chunk-ZSWSFKNE.js → chunk-UQZJ2GFQ.js} +2 -2
- package/dist/bundle/{chunk-DQO2LX5I.js → chunk-UUM7AF32.js} +2 -2
- package/dist/bundle/{chunk-R3A65A4D.js → chunk-VERUQQZS.js} +10 -10
- package/dist/bundle/{chunk-R5FTCNLJ.js → chunk-VFRI6RF7.js} +1 -1
- package/dist/bundle/{chunk-FOTP6QLO.js → chunk-VXHL3XI6.js} +2 -2
- package/dist/bundle/{chunk-FVVSBQGK.js → chunk-W32UQL5I.js} +21 -21
- package/dist/bundle/{chunk-OCUKQRJ3.js → chunk-WSHPLO4Q.js} +149 -148
- package/dist/bundle/{chunk-RGQFVVBB.js → chunk-WZNQ2P7H.js} +17 -17
- package/dist/bundle/{chunk-HBK6MRAL.js → chunk-XEMARUGS.js} +7 -7
- package/dist/bundle/{chunk-OPOEAGVB.js → chunk-YAQGWHMH.js} +6 -6
- package/dist/bundle/{chunk-S2QRW647.js → chunk-YRER6N3Y.js} +29 -29
- package/dist/bundle/{chunk-OC3U2JAK.js → chunk-YSR2XBDO.js} +3 -3
- package/dist/bundle/{chunk-XCYDTIVK.js → chunk-Z5D6CRY6.js} +4 -4
- package/dist/bundle/{chunk-PRSXMM4I.js → chunk-ZIFB6KGQ.js} +359 -359
- package/dist/bundle/{chunk-MY4LVD64.js → chunk-ZPVVSA5R.js} +1 -1
- package/dist/bundle/{command-contract-MIJONVVG.js → command-contract-TMLXLGVT.js} +15 -15
- package/dist/bundle/{command-server-entry-VHUFW3OZ.js → command-server-entry-PFUR2W7X.js} +21 -21
- package/dist/bundle/{decode-TIMTSVXM.js → decode-SIVT4JWX.js} +2 -2
- package/dist/bundle/{dist-IP25JFTN.js → dist-YWSF5MHP.js} +11 -11
- package/dist/bundle/{echarts-SDZA2SWG.js → echarts-CABLIXX7.js} +2 -2
- package/dist/bundle/{embed-4W527BCE.js → embed-OHENS6RB.js} +3 -3
- package/dist/bundle/{embedder-LQE2SBJ3.js → embedder-JINT4Y4O.js} +6 -6
- package/dist/bundle/{first-run-KZTKMEI4.js → first-run-LU2MAK2B.js} +6 -6
- package/dist/bundle/first-screen-KZNLKRRQ.js +34 -0
- package/dist/bundle/{instructions-7T6JJIFS.js → instructions-3D22PA4T.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-BZDMUFTW.js → node-42G4RGMW.js} +2 -2
- package/dist/bundle/{node-sqlite-PVSKI4OS.js → node-sqlite-KQZM5M3N.js} +4 -4
- package/dist/bundle/{oauth-TGYGAVGF.js → oauth-7BNCNKQV.js} +4 -4
- package/dist/bundle/{open-5YED4Q4C.js → open-ULOQOP7K.js} +2 -2
- package/dist/bundle/{openai-XVJTML22.js → openai-O5AH6VGT.js} +12 -12
- package/dist/bundle/{process-756VBE7E.js → process-6D767IDN.js} +1 -1
- package/dist/bundle/{program-TDHDXAQA.js → program-OE7MFRMJ.js} +525 -408
- package/dist/bundle/{prompt-HPZANASN.js → prompt-WN7EBVKT.js} +2 -2
- package/dist/bundle/{recognize-PP5XQQHH.js → recognize-IX33XEXZ.js} +1 -1
- package/dist/bundle/{remote-C2LU2WYG.js → remote-22N3FQUC.js} +6 -6
- package/dist/bundle/{rerank-WRHNOM4Z.js → rerank-IGX4EFA2.js} +4 -4
- package/dist/bundle/{serve-RE3IV2QB.js → serve-XWIRR2QZ.js} +6 -6
- package/dist/bundle/server-D5OTVERP.js +68 -0
- package/dist/bundle/{server-52BJ7UTO.js → server-DBS4WC6T.js} +35 -35
- package/dist/bundle/{sqlite-runtime-CRRL3MYX.js → sqlite-runtime-WFBTXXXJ.js} +3 -3
- package/dist/bundle/{state-YGJRPMWD.js → state-4J5ERHJA.js} +3 -3
- package/dist/bundle/{store-ESQE4VHP.js → store-YRBX7XLM.js} +13 -13
- package/dist/bundle/{store-6AZ5LVJL.js → store-YSP2NPRJ.js} +15 -15
- package/dist/bundle/store-maintenance-command-SH6IB7S6.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-4LG5SJ6D.js +0 -34
- package/dist/bundle/server-43V7HNFY.js +0 -68
- package/dist/bundle/store-maintenance-command-AKQMKUYO.js +0 -58
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2MTIGJHQ.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-XEMARUGS.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-7ESXP4TG.js";
|
|
30
30
|
import {
|
|
31
31
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UQZJ2GFQ.js";
|
|
33
33
|
import {
|
|
34
34
|
note
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-45ET53MO.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-BDWOTD7E.js";
|
|
81
81
|
import {
|
|
82
82
|
BUSINESS_KINDS,
|
|
83
83
|
CRM_ACTIVITY_KINDS,
|
|
@@ -112,26 +112,26 @@ import {
|
|
|
112
112
|
meetingStats,
|
|
113
113
|
meetingSummary,
|
|
114
114
|
meetingTranscript
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-3RBUACSJ.js";
|
|
116
116
|
import {
|
|
117
117
|
isCliFailure,
|
|
118
118
|
storeDamaged
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-NUHUTJTM.js";
|
|
120
120
|
import {
|
|
121
121
|
endpoint
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-5PDWUD3W.js";
|
|
123
123
|
import {
|
|
124
124
|
readSharedSection,
|
|
125
125
|
sharedConfigPath,
|
|
126
126
|
writeSharedSection
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-Z5D6CRY6.js";
|
|
128
128
|
import {
|
|
129
129
|
filesPresent,
|
|
130
130
|
sharedModelsDirectory
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-FOZXPSHA.js";
|
|
132
132
|
import {
|
|
133
133
|
storePath
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-TXDA437R.js";
|
|
135
135
|
import {
|
|
136
136
|
configFilePath,
|
|
137
137
|
createRecordLog,
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
__name
|
|
205
205
|
} from "./chunk-ZVVMGPBJ.js";
|
|
206
206
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
207
|
+
// 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/ports/app.js
|
|
208
208
|
import { readFileSync } from "node:fs";
|
|
209
209
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
210
210
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -3961,7 +3961,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3961
3961
|
}
|
|
3962
3962
|
}, "refuseJoinedPath");
|
|
3963
3963
|
|
|
3964
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3964
|
+
// 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/command-server-request.js
|
|
3965
3965
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3966
3966
|
var requests = new AsyncLocalStorage();
|
|
3967
3967
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3976,7 +3976,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3976
3976
|
return direct;
|
|
3977
3977
|
}, "exitCodeSet");
|
|
3978
3978
|
|
|
3979
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3979
|
+
// 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/sends/guarded.js
|
|
3980
3980
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3981
3981
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3982
3982
|
messageId: message2.id,
|
|
@@ -4082,7 +4082,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4082
4082
|
}, "guardedWrite");
|
|
4083
4083
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4084
4084
|
|
|
4085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4085
|
+
// 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/execution.js
|
|
4086
4086
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4087
4087
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4088
4088
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4265,7 +4265,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
}, "withAbort");
|
|
4267
4267
|
|
|
4268
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4268
|
+
// 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/messenger/accounts.js
|
|
4269
4269
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4270
4270
|
import { join } from "node:path";
|
|
4271
4271
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4287,7 +4287,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4287
4287
|
}, "profilesWithAccounts");
|
|
4288
4288
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4289
4289
|
|
|
4290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4290
|
+
// 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/background/budget.js
|
|
4291
4291
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4292
4292
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4293
4293
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4330,7 +4330,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4330
4330
|
};
|
|
4331
4331
|
}, "runBudget");
|
|
4332
4332
|
|
|
4333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4333
|
+
// 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/runs/log-events.js
|
|
4334
4334
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4335
4335
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4336
4336
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4368,7 +4368,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4368
4368
|
progress: "sync.progress"
|
|
4369
4369
|
};
|
|
4370
4370
|
|
|
4371
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4371
|
+
// 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/runs/recording.js
|
|
4372
4372
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4373
4373
|
const recording = startRecording(options);
|
|
4374
4374
|
try {
|
|
@@ -4583,7 +4583,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4583
4583
|
return void 0;
|
|
4584
4584
|
}, "partialOutcome");
|
|
4585
4585
|
|
|
4586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4586
|
+
// 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/deadline.js
|
|
4587
4587
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4588
4588
|
if (ms2 === void 0)
|
|
4589
4589
|
return body();
|
|
@@ -4609,7 +4609,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4609
4609
|
}
|
|
4610
4610
|
}, "withDeadline");
|
|
4611
4611
|
|
|
4612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4612
|
+
// 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/profile.js
|
|
4613
4613
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4614
4614
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4615
4615
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4678,10 +4678,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4678
4678
|
return void 0;
|
|
4679
4679
|
}, "sampleCommand");
|
|
4680
4680
|
|
|
4681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4681
|
+
// 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/settings.js
|
|
4682
4682
|
import { existsSync as existsSync5 } from "node:fs";
|
|
4683
4683
|
|
|
4684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4684
|
+
// 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/models/settings.js
|
|
4685
4685
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4686
4686
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4687
4687
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4750,7 +4750,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4750
4750
|
};
|
|
4751
4751
|
}, "modelTarget");
|
|
4752
4752
|
|
|
4753
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4753
|
+
// 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/analysis/settings.js
|
|
4754
4754
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4755
4755
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4756
4756
|
var AI_FIELDS = {
|
|
@@ -4794,7 +4794,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4794
4794
|
};
|
|
4795
4795
|
}, "resolveAISettings");
|
|
4796
4796
|
|
|
4797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4797
|
+
// 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/domain/duration.js
|
|
4798
4798
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4799
4799
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4800
4800
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4808,7 +4808,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4808
4808
|
return ms2;
|
|
4809
4809
|
}, "parseDuration");
|
|
4810
4810
|
|
|
4811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4811
|
+
// 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/embeddings/models.js
|
|
4812
4812
|
import { existsSync as existsSync2 } from "node:fs";
|
|
4813
4813
|
import { join as join2 } from "node:path";
|
|
4814
4814
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -5085,7 +5085,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5085
5085
|
}, "vectorModelKey");
|
|
5086
5086
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5087
5087
|
|
|
5088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5088
|
+
// 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/services/history-limits.js
|
|
5089
5089
|
var HISTORY_MAX_DAYS = 1095;
|
|
5090
5090
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5091
5091
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5132,7 +5132,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5132
5132
|
return { batch: { ...batch, messages }, skipped };
|
|
5133
5133
|
}, "limitBatch");
|
|
5134
5134
|
|
|
5135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5135
|
+
// 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/bot/registry.js
|
|
5136
5136
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5137
5137
|
import { join as join3 } from "node:path";
|
|
5138
5138
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5221,10 +5221,10 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5221
5221
|
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
5222
|
}, "registryProfiles");
|
|
5223
5223
|
|
|
5224
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5224
|
+
// 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
|
|
5225
5225
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5226
5226
|
|
|
5227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
5228
|
var REPAIR_WORDS = {
|
|
5229
5229
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
5230
5230
|
comment: "a comment, which JSON does not allow",
|
|
@@ -5465,7 +5465,7 @@ ${parts.join(",\n")}
|
|
|
5465
5465
|
${indent}${close}`;
|
|
5466
5466
|
}, "serialise");
|
|
5467
5467
|
|
|
5468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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
5469
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5470
5470
|
var SECTIONS = ["personal", "bot"];
|
|
5471
5471
|
var SHELL_SAFE = /^[A-Za-z0-9_.:@-]*$/;
|
|
@@ -5759,7 +5759,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5759
5759
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5760
5760
|
}, "readConfigFile");
|
|
5761
5761
|
|
|
5762
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5762
|
+
// 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/default-config.js
|
|
5763
5763
|
import { existsSync as existsSync4, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5764
5764
|
import { dirname, join as join4 } from "node:path";
|
|
5765
5765
|
var DEFAULT_CONFIG = {
|
|
@@ -5788,7 +5788,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5788
5788
|
}
|
|
5789
5789
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5790
5790
|
|
|
5791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5791
|
+
// 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/setting-defaults.js
|
|
5792
5792
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5793
5793
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5794
5794
|
const path2 = key.split(".");
|
|
@@ -5810,7 +5810,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5810
5810
|
return { config, added };
|
|
5811
5811
|
}, "withSettingDefaults");
|
|
5812
5812
|
|
|
5813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5813
|
+
// 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/settings.js
|
|
5814
5814
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5815
5815
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5816
5816
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6336,7 +6336,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6336
6336
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6337
6337
|
}, "given");
|
|
6338
6338
|
|
|
6339
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6339
|
+
// 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/context.js
|
|
6340
6340
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6341
6341
|
const { deadline, signal, app } = environmentOf(command);
|
|
6342
6342
|
const now = deadline?.();
|
|
@@ -6476,7 +6476,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6476
6476
|
return words2.join(" ");
|
|
6477
6477
|
}, "commandPath");
|
|
6478
6478
|
|
|
6479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6479
|
+
// 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/effects.js
|
|
6480
6480
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6481
6481
|
var FETCH = { remote: "read", local: "write" };
|
|
6482
6482
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6615,7 +6615,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6615
6615
|
throw readOnlyRefusal(lock, what);
|
|
6616
6616
|
}, "refuseUnderReadOnly");
|
|
6617
6617
|
|
|
6618
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6618
|
+
// 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/entities/account.js
|
|
6619
6619
|
var account = strictObject({
|
|
6620
6620
|
provider: text,
|
|
6621
6621
|
id,
|
|
@@ -6625,7 +6625,7 @@ var account = strictObject({
|
|
|
6625
6625
|
scope: optional(picklist(["personal", "work"]))
|
|
6626
6626
|
});
|
|
6627
6627
|
|
|
6628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6628
|
+
// 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/entities/account-session.js
|
|
6629
6629
|
var accountSession = strictObject({
|
|
6630
6630
|
current: boolean(),
|
|
6631
6631
|
client: nullable(text),
|
|
@@ -6635,7 +6635,7 @@ var accountSession = strictObject({
|
|
|
6635
6635
|
created_at: optional(nullable(time))
|
|
6636
6636
|
});
|
|
6637
6637
|
|
|
6638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6638
|
+
// 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/entities/account-change.js
|
|
6639
6639
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6640
6640
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6641
6641
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6664,7 +6664,7 @@ var accountRemoval = strictObject({
|
|
|
6664
6664
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6665
6665
|
});
|
|
6666
6666
|
|
|
6667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6667
|
+
// 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/entities/account-profile.js
|
|
6668
6668
|
var accountProfile = strictObject({
|
|
6669
6669
|
profile: id,
|
|
6670
6670
|
current: boolean(),
|
|
@@ -6676,7 +6676,7 @@ var accountProfile = strictObject({
|
|
|
6676
6676
|
bot: optional(literal(true))
|
|
6677
6677
|
});
|
|
6678
6678
|
|
|
6679
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6679
|
+
// 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/entities/counter-reading.js
|
|
6680
6680
|
var milliseconds = pipe(number(), minValue(0));
|
|
6681
6681
|
var counterReading = strictObject({
|
|
6682
6682
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6688,7 +6688,7 @@ var counterReading = strictObject({
|
|
|
6688
6688
|
});
|
|
6689
6689
|
var selection = record(string(), unknown());
|
|
6690
6690
|
|
|
6691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6691
|
+
// 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/entities/admin-report.js
|
|
6692
6692
|
var adminRow = strictObject({
|
|
6693
6693
|
ref: reference,
|
|
6694
6694
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6741,7 +6741,7 @@ var adminReport = strictObject({
|
|
|
6741
6741
|
rows: array(adminRow)
|
|
6742
6742
|
});
|
|
6743
6743
|
|
|
6744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6744
|
+
// 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/entities/task.js
|
|
6745
6745
|
var closeSuggestion = strictObject({
|
|
6746
6746
|
as: picklist(["done", "dismissed"]),
|
|
6747
6747
|
/** The agent's name. */
|
|
@@ -6803,7 +6803,7 @@ var task = strictObject({
|
|
|
6803
6803
|
updated_at: optional(time)
|
|
6804
6804
|
});
|
|
6805
6805
|
|
|
6806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6806
|
+
// 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/entities/agenda.js
|
|
6807
6807
|
var agendaChat = strictObject({
|
|
6808
6808
|
chat: reference,
|
|
6809
6809
|
title: nullable(text),
|
|
@@ -6873,11 +6873,11 @@ var agenda = strictObject({
|
|
|
6873
6873
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6874
6874
|
});
|
|
6875
6875
|
|
|
6876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6876
|
+
// 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/entities/analysis-consent.js
|
|
6877
6877
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6878
6878
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6879
6879
|
|
|
6880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6880
|
+
// 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/entities/attachment.js
|
|
6881
6881
|
var attachment = strictObject({
|
|
6882
6882
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6883
6883
|
message: optional(reference),
|
|
@@ -6922,7 +6922,7 @@ var hitFile = strictObject({
|
|
|
6922
6922
|
local_path: optional(text)
|
|
6923
6923
|
});
|
|
6924
6924
|
|
|
6925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6925
|
+
// 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/entities/batch-result.js
|
|
6926
6926
|
var actionableError = objectWithRest({
|
|
6927
6927
|
code: text,
|
|
6928
6928
|
message: text,
|
|
@@ -6939,7 +6939,7 @@ var batchResult = strictObject({
|
|
|
6939
6939
|
max_error_percent: count
|
|
6940
6940
|
});
|
|
6941
6941
|
|
|
6942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6942
|
+
// 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/entities/extraction-report.js
|
|
6943
6943
|
var extractionItem = strictObject({
|
|
6944
6944
|
ref: reference,
|
|
6945
6945
|
attachment: count,
|
|
@@ -6972,7 +6972,7 @@ var extractionReport = strictObject({
|
|
|
6972
6972
|
cursor: optional(text)
|
|
6973
6973
|
});
|
|
6974
6974
|
|
|
6975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6975
|
+
// 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/entities/attachment-results.js
|
|
6976
6976
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6977
6977
|
var attachmentBytes = strictObject({
|
|
6978
6978
|
ref: reference,
|
|
@@ -7003,7 +7003,7 @@ var attachmentTextChange = strictObject({
|
|
|
7003
7003
|
text: optional(text)
|
|
7004
7004
|
});
|
|
7005
7005
|
|
|
7006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7006
|
+
// 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/botcheck/reasons.js
|
|
7007
7007
|
var WEIGHTS = {
|
|
7008
7008
|
bot: 3,
|
|
7009
7009
|
scam: 3,
|
|
@@ -7028,7 +7028,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
7028
7028
|
var DIGITS = /\d{5,}/;
|
|
7029
7029
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
7030
7030
|
|
|
7031
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7031
|
+
// 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/entities/contact-activity.js
|
|
7032
7032
|
var linkedIdentity = strictObject({
|
|
7033
7033
|
provider: text,
|
|
7034
7034
|
id,
|
|
@@ -7083,7 +7083,7 @@ var contactCheck = strictObject({
|
|
|
7083
7083
|
checked_at: time
|
|
7084
7084
|
});
|
|
7085
7085
|
|
|
7086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7086
|
+
// 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/entities/member.js
|
|
7087
7087
|
var member = strictObject({
|
|
7088
7088
|
id,
|
|
7089
7089
|
name: nullable(text),
|
|
@@ -7106,7 +7106,7 @@ var member = strictObject({
|
|
|
7106
7106
|
check: optional(record(string(), unknown()))
|
|
7107
7107
|
});
|
|
7108
7108
|
|
|
7109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7109
|
+
// 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/entities/chat.js
|
|
7110
7110
|
var setting = optional(nullable(boolean()));
|
|
7111
7111
|
var chat = strictObject({
|
|
7112
7112
|
ref: reference,
|
|
@@ -7147,7 +7147,7 @@ var chat = strictObject({
|
|
|
7147
7147
|
members: optional(array(member))
|
|
7148
7148
|
});
|
|
7149
7149
|
|
|
7150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7150
|
+
// 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/entities/message.js
|
|
7151
7151
|
var quoted = strictObject({
|
|
7152
7152
|
id,
|
|
7153
7153
|
sender_id: nullable(id),
|
|
@@ -7266,7 +7266,7 @@ var message = strictObject({
|
|
|
7266
7266
|
provider_metadata: providerMetadata
|
|
7267
7267
|
});
|
|
7268
7268
|
|
|
7269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7269
|
+
// 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/entities/recorded-meeting.js
|
|
7270
7270
|
var recordedMeeting = strictObject({
|
|
7271
7271
|
ref: reference,
|
|
7272
7272
|
meeting_id: count,
|
|
@@ -7279,7 +7279,7 @@ var recordedMeeting = strictObject({
|
|
|
7279
7279
|
people: array(reference)
|
|
7280
7280
|
});
|
|
7281
7281
|
|
|
7282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7282
|
+
// 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/entities/contact-context.js
|
|
7283
7283
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7284
7284
|
var contextMessage = strictObject({
|
|
7285
7285
|
locator: reference,
|
|
@@ -7485,7 +7485,7 @@ var contactPreparation = strictObject({
|
|
|
7485
7485
|
})
|
|
7486
7486
|
});
|
|
7487
7487
|
|
|
7488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7488
|
+
// 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/entities/deal.js
|
|
7489
7489
|
var nullableText = nullable(text);
|
|
7490
7490
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7491
7491
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7596,7 +7596,7 @@ var stage = strictObject({
|
|
|
7596
7596
|
untrusted
|
|
7597
7597
|
});
|
|
7598
7598
|
|
|
7599
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7599
|
+
// 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/entities/business-context.js
|
|
7600
7600
|
var nullableText2 = nullable(text);
|
|
7601
7601
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7602
7602
|
var standing = picklist(STANDINGS);
|
|
@@ -7770,7 +7770,7 @@ var dealBrief = strictObject({
|
|
|
7770
7770
|
not_read: coverage2.entries.not_read
|
|
7771
7771
|
});
|
|
7772
7772
|
|
|
7773
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7773
|
+
// 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/entities/chart.js
|
|
7774
7774
|
var chart = strictObject({
|
|
7775
7775
|
version: literal(1),
|
|
7776
7776
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7785,7 +7785,7 @@ var chart = strictObject({
|
|
|
7785
7785
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7786
7786
|
});
|
|
7787
7787
|
|
|
7788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7788
|
+
// 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/entities/folder.js
|
|
7789
7789
|
var named = strictObject({
|
|
7790
7790
|
id,
|
|
7791
7791
|
title: nullable(text),
|
|
@@ -7808,7 +7808,7 @@ var folder = strictObject({
|
|
|
7808
7808
|
excluded_chats: optional(array(named))
|
|
7809
7809
|
});
|
|
7810
7810
|
|
|
7811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7811
|
+
// 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/entities/invite-link.js
|
|
7812
7812
|
var inviteLink = strictObject({
|
|
7813
7813
|
link: text,
|
|
7814
7814
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7824,7 +7824,7 @@ var inviteLink = strictObject({
|
|
|
7824
7824
|
joined_count: optional(count)
|
|
7825
7825
|
});
|
|
7826
7826
|
|
|
7827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7827
|
+
// 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/entities/chat-admin.js
|
|
7828
7828
|
var operated = { operation_id: id, chat_id: id };
|
|
7829
7829
|
var group = strictObject({
|
|
7830
7830
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7904,7 +7904,7 @@ var chatFolderOrder = strictObject({
|
|
|
7904
7904
|
folders: array(strictObject({ id, title: text }))
|
|
7905
7905
|
});
|
|
7906
7906
|
|
|
7907
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7907
|
+
// 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/entities/chat-change.js
|
|
7908
7908
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7909
7909
|
var chatRemoval = strictObject(operated2);
|
|
7910
7910
|
var chatMuting = strictObject({
|
|
@@ -7915,7 +7915,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7915
7915
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7916
7916
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7917
7917
|
|
|
7918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7918
|
+
// 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/entities/chat-event.js
|
|
7919
7919
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7920
7920
|
var chatEvent = strictObject({
|
|
7921
7921
|
chat_id: id,
|
|
@@ -7932,7 +7932,7 @@ var chatEvent = strictObject({
|
|
|
7932
7932
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7933
7933
|
});
|
|
7934
7934
|
|
|
7935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7935
|
+
// 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/entities/chat-metadata.js
|
|
7936
7936
|
var chatMetadata = strictObject({
|
|
7937
7937
|
chat_id: id,
|
|
7938
7938
|
title: nullable(text),
|
|
@@ -7947,7 +7947,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7947
7947
|
has_more: boolean()
|
|
7948
7948
|
});
|
|
7949
7949
|
|
|
7950
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7950
|
+
// 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/entities/chat-moderation.js
|
|
7951
7951
|
var action = picklist(["report", "delete", "remove"]);
|
|
7952
7952
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7953
7953
|
var chatRules = strictObject({
|
|
@@ -7984,7 +7984,7 @@ var chatModeration = strictObject({
|
|
|
7984
7984
|
}))
|
|
7985
7985
|
});
|
|
7986
7986
|
|
|
7987
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7987
|
+
// 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/entities/chat-stats.js
|
|
7988
7988
|
var optionalCount = optional(count);
|
|
7989
7989
|
var minutes = nullable(number());
|
|
7990
7990
|
var chatStats = strictObject({
|
|
@@ -8060,7 +8060,7 @@ var taskStats = strictObject({
|
|
|
8060
8060
|
}))
|
|
8061
8061
|
});
|
|
8062
8062
|
|
|
8063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8063
|
+
// 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/entities/chat-tracking.js
|
|
8064
8064
|
var memberCount = strictObject({
|
|
8065
8065
|
day: pipe(text, isoDate()),
|
|
8066
8066
|
participants: nullable(count),
|
|
@@ -8083,7 +8083,7 @@ var chatTracking = strictObject({
|
|
|
8083
8083
|
tracked: boolean()
|
|
8084
8084
|
});
|
|
8085
8085
|
|
|
8086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8086
|
+
// 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/entities/contact-read.js
|
|
8087
8087
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8088
8088
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
8089
8089
|
var profileFields = {
|
|
@@ -8121,7 +8121,7 @@ var profileFields = {
|
|
|
8121
8121
|
}))
|
|
8122
8122
|
};
|
|
8123
8123
|
|
|
8124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8124
|
+
// 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/entities/contact.js
|
|
8125
8125
|
var contact = strictObject({
|
|
8126
8126
|
ref: reference,
|
|
8127
8127
|
id,
|
|
@@ -8152,7 +8152,7 @@ var contact = strictObject({
|
|
|
8152
8152
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
8153
8153
|
});
|
|
8154
8154
|
|
|
8155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8155
|
+
// 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/entities/contact-note.js
|
|
8156
8156
|
var contactNote = strictObject({
|
|
8157
8157
|
id,
|
|
8158
8158
|
/** The contact, as a `contact:` reference. */
|
|
@@ -8164,13 +8164,13 @@ var contactNote = strictObject({
|
|
|
8164
8164
|
updated_at: time
|
|
8165
8165
|
});
|
|
8166
8166
|
|
|
8167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8167
|
+
// 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/entities/contact-write.js
|
|
8168
8168
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
8169
8169
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
8170
8170
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
8171
8171
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
8172
8172
|
|
|
8173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8173
|
+
// 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/entities/conversation.js
|
|
8174
8174
|
var conversation = strictObject({
|
|
8175
8175
|
id,
|
|
8176
8176
|
chat: reference,
|
|
@@ -8185,7 +8185,7 @@ var conversation = strictObject({
|
|
|
8185
8185
|
rules_version: count
|
|
8186
8186
|
});
|
|
8187
8187
|
|
|
8188
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8188
|
+
// 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/entities/conversation-preparation.js
|
|
8189
8189
|
var conversationBuild = strictObject({
|
|
8190
8190
|
chat: id,
|
|
8191
8191
|
messages: count,
|
|
@@ -8210,7 +8210,7 @@ var catchUpPreparation = strictObject({
|
|
|
8210
8210
|
prepared: optional(conversationPreparation)
|
|
8211
8211
|
});
|
|
8212
8212
|
|
|
8213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8213
|
+
// 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/entities/conversation-results.js
|
|
8214
8214
|
var conversationDetails = union([
|
|
8215
8215
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
8216
8216
|
message
|
|
@@ -8300,7 +8300,7 @@ var conversationHit = strictObject({
|
|
|
8300
8300
|
stale: boolean()
|
|
8301
8301
|
});
|
|
8302
8302
|
|
|
8303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8303
|
+
// 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/entities/counters.js
|
|
8304
8304
|
var counters = strictObject({
|
|
8305
8305
|
cutoff: time,
|
|
8306
8306
|
max_age_ms: milliseconds,
|
|
@@ -8330,7 +8330,7 @@ var counterRefresh = strictObject({
|
|
|
8330
8330
|
complete: optional(boolean())
|
|
8331
8331
|
});
|
|
8332
8332
|
|
|
8333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8333
|
+
// 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/entities/document.js
|
|
8334
8334
|
var document = strictObject({
|
|
8335
8335
|
ref: reference,
|
|
8336
8336
|
id,
|
|
@@ -8345,7 +8345,7 @@ var document = strictObject({
|
|
|
8345
8345
|
owners: optional(array(text))
|
|
8346
8346
|
});
|
|
8347
8347
|
|
|
8348
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8348
|
+
// 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/entities/document-link.js
|
|
8349
8349
|
var documentLink = strictObject({
|
|
8350
8350
|
ref: reference,
|
|
8351
8351
|
url: text,
|
|
@@ -8356,7 +8356,7 @@ var documentLink = strictObject({
|
|
|
8356
8356
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8357
8357
|
});
|
|
8358
8358
|
|
|
8359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8359
|
+
// 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/entities/evidence.js
|
|
8360
8360
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8361
8361
|
var contribution = strictObject({
|
|
8362
8362
|
message: evidenceMessage,
|
|
@@ -8386,7 +8386,7 @@ var retentionStay = strictObject({
|
|
|
8386
8386
|
});
|
|
8387
8387
|
var evidence = union([contribution, retentionStay]);
|
|
8388
8388
|
|
|
8389
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8389
|
+
// 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/entities/fact.js
|
|
8390
8390
|
var fact = strictObject({
|
|
8391
8391
|
ref: reference,
|
|
8392
8392
|
id,
|
|
@@ -8417,7 +8417,7 @@ var fact = strictObject({
|
|
|
8417
8417
|
updated_at: time
|
|
8418
8418
|
});
|
|
8419
8419
|
|
|
8420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8420
|
+
// 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/entities/hit.js
|
|
8421
8421
|
var hit = strictObject({
|
|
8422
8422
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8423
8423
|
ref: reference,
|
|
@@ -8465,7 +8465,7 @@ var hit = strictObject({
|
|
|
8465
8465
|
untrusted
|
|
8466
8466
|
});
|
|
8467
8467
|
|
|
8468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8468
|
+
// 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/entities/identity.js
|
|
8469
8469
|
var identity = strictObject({
|
|
8470
8470
|
ref: reference,
|
|
8471
8471
|
provider: text,
|
|
@@ -8481,7 +8481,7 @@ var identity = strictObject({
|
|
|
8481
8481
|
person: optional(nullable(reference))
|
|
8482
8482
|
});
|
|
8483
8483
|
|
|
8484
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8484
|
+
// 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/entities/image-embedding.js
|
|
8485
8485
|
var imageEmbedding = strictObject({
|
|
8486
8486
|
model: text,
|
|
8487
8487
|
embedded: count,
|
|
@@ -8490,13 +8490,13 @@ var imageEmbedding = strictObject({
|
|
|
8490
8490
|
more: boolean()
|
|
8491
8491
|
});
|
|
8492
8492
|
|
|
8493
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8493
|
+
// 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/services/backfill-jobs.js
|
|
8494
8494
|
import { spawn } from "node:child_process";
|
|
8495
8495
|
import { randomBytes } from "node:crypto";
|
|
8496
8496
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8497
8497
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8498
8498
|
|
|
8499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8499
|
+
// 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/background/checkpoints.js
|
|
8500
8500
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8501
8501
|
const total = input.total ?? null;
|
|
8502
8502
|
const updated = input.updatedAt ?? null;
|
|
@@ -8512,7 +8512,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8512
8512
|
};
|
|
8513
8513
|
}, "progressOf");
|
|
8514
8514
|
|
|
8515
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8515
|
+
// 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/runs/record-log.js
|
|
8516
8516
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8517
8517
|
const run = currentRun();
|
|
8518
8518
|
const trace = traceId ?? run.traceId;
|
|
@@ -8526,7 +8526,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8526
8526
|
}));
|
|
8527
8527
|
}, "recordLogFor");
|
|
8528
8528
|
|
|
8529
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8529
|
+
// 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/services/backfill-jobs.js
|
|
8530
8530
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8531
8531
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8532
8532
|
const out = openSync(log, "a", 384);
|
|
@@ -8681,7 +8681,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8681
8681
|
return { job: id6, pid, chat: input.chat, log };
|
|
8682
8682
|
}, "startArchiveJob");
|
|
8683
8683
|
|
|
8684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8684
|
+
// 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/entities/job.js
|
|
8685
8685
|
var problem = strictObject({ code: text, message: text });
|
|
8686
8686
|
var job = strictObject({
|
|
8687
8687
|
id,
|
|
@@ -8704,7 +8704,7 @@ var job = strictObject({
|
|
|
8704
8704
|
error: optional(problem)
|
|
8705
8705
|
});
|
|
8706
8706
|
|
|
8707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8707
|
+
// 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/entities/join-request.js
|
|
8708
8708
|
var joinRequest = strictObject({
|
|
8709
8709
|
person_id: id,
|
|
8710
8710
|
name: nullable(text),
|
|
@@ -8715,7 +8715,7 @@ var joinRequest = strictObject({
|
|
|
8715
8715
|
about: optional(text)
|
|
8716
8716
|
});
|
|
8717
8717
|
|
|
8718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8718
|
+
// 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/entities/list-results.js
|
|
8719
8719
|
var botProfile = strictObject({
|
|
8720
8720
|
name: text,
|
|
8721
8721
|
token: text,
|
|
@@ -8839,7 +8839,7 @@ var stickerInventory = strictObject({
|
|
|
8839
8839
|
url: optional(nullable(text))
|
|
8840
8840
|
});
|
|
8841
8841
|
|
|
8842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8842
|
+
// 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/entities/poll-vote.js
|
|
8843
8843
|
var pollVote = strictObject({
|
|
8844
8844
|
person_id: id,
|
|
8845
8845
|
name: nullable(text),
|
|
@@ -8849,7 +8849,7 @@ var pollVote = strictObject({
|
|
|
8849
8849
|
voted_at: time
|
|
8850
8850
|
});
|
|
8851
8851
|
|
|
8852
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8852
|
+
// 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/entities/listener.js
|
|
8853
8853
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8854
8854
|
var observation = strictObject({
|
|
8855
8855
|
value: pipe(number(), minValue(0)),
|
|
@@ -8891,7 +8891,7 @@ var serveSummary = strictObject({
|
|
|
8891
8891
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8892
8892
|
});
|
|
8893
8893
|
|
|
8894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8894
|
+
// 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/entities/mail-counts.js
|
|
8895
8895
|
var mailCounts = strictObject({
|
|
8896
8896
|
by: picklist(["day", "week", "sender"]),
|
|
8897
8897
|
received: count,
|
|
@@ -8906,7 +8906,7 @@ var mailCounts = strictObject({
|
|
|
8906
8906
|
}))
|
|
8907
8907
|
});
|
|
8908
8908
|
|
|
8909
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8909
|
+
// 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/entities/mail-findings.js
|
|
8910
8910
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8911
8911
|
var base = { id, evidence: array(evidence2) };
|
|
8912
8912
|
var finding = variant("kind", [
|
|
@@ -9050,7 +9050,7 @@ var mailFindings = strictObject({
|
|
|
9050
9050
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
9051
9051
|
});
|
|
9052
9052
|
|
|
9053
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9053
|
+
// 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/entities/media-archive.js
|
|
9054
9054
|
var mediaArchive = strictObject({
|
|
9055
9055
|
directory: text,
|
|
9056
9056
|
chats: count,
|
|
@@ -9082,7 +9082,7 @@ var mediaArchiveTimer = union([
|
|
|
9082
9082
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
9083
9083
|
]);
|
|
9084
9084
|
|
|
9085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9085
|
+
// 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/entities/meeting-preparation-parts.js
|
|
9086
9086
|
var preparationId = pipe(string(), minLength(1));
|
|
9087
9087
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
9088
9088
|
var preparationTime = nullable(isoTime);
|
|
@@ -9174,7 +9174,7 @@ var preparationMeeting = strictObject({
|
|
|
9174
9174
|
updated_at: isoTime
|
|
9175
9175
|
});
|
|
9176
9176
|
|
|
9177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9177
|
+
// 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/entities/meeting-evidence.js
|
|
9178
9178
|
var meetingEvidence = preparationEvidence;
|
|
9179
9179
|
var meetingPersonContext = strictObject({
|
|
9180
9180
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -9196,7 +9196,7 @@ var meetingPersonContext = strictObject({
|
|
|
9196
9196
|
})
|
|
9197
9197
|
});
|
|
9198
9198
|
|
|
9199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9199
|
+
// 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/entities/meeting-findings.js
|
|
9200
9200
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
9201
9201
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
9202
9202
|
var finding2 = variant("kind", [
|
|
@@ -9234,7 +9234,7 @@ var meetingFindings = strictObject({
|
|
|
9234
9234
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
9235
9235
|
});
|
|
9236
9236
|
|
|
9237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9237
|
+
// 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/entities/meeting-communications.js
|
|
9238
9238
|
var communicationCoverage = strictObject({
|
|
9239
9239
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
9240
9240
|
query: string(),
|
|
@@ -9279,7 +9279,7 @@ var preparationCommunications = strictObject({
|
|
|
9279
9279
|
}))
|
|
9280
9280
|
});
|
|
9281
9281
|
|
|
9282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9282
|
+
// 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/entities/meeting-preparation.js
|
|
9283
9283
|
var meetingPreparation = strictObject({
|
|
9284
9284
|
communications: optional(preparationCommunications),
|
|
9285
9285
|
schema_version: literal(1),
|
|
@@ -9392,7 +9392,7 @@ var meetingPreparation = strictObject({
|
|
|
9392
9392
|
})
|
|
9393
9393
|
});
|
|
9394
9394
|
|
|
9395
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9395
|
+
// 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/entities/meeting-project-candidates.js
|
|
9396
9396
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9397
9397
|
var id3 = pipe(string(), minLength(1));
|
|
9398
9398
|
var text3 = string();
|
|
@@ -9456,7 +9456,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9456
9456
|
})
|
|
9457
9457
|
});
|
|
9458
9458
|
|
|
9459
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9459
|
+
// 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/entities/meeting-series-inventory.js
|
|
9460
9460
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9461
9461
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9462
9462
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9486,7 +9486,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9486
9486
|
})
|
|
9487
9487
|
});
|
|
9488
9488
|
|
|
9489
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9489
|
+
// 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/entities/meeting-task-proposal.js
|
|
9490
9490
|
var text4 = string();
|
|
9491
9491
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9492
9492
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9503,7 +9503,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9503
9503
|
persistence: literal("proposal-only")
|
|
9504
9504
|
});
|
|
9505
9505
|
|
|
9506
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9506
|
+
// 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/entities/memory.js
|
|
9507
9507
|
var memory = strictObject({
|
|
9508
9508
|
ref: reference,
|
|
9509
9509
|
id,
|
|
@@ -9531,7 +9531,7 @@ var memory = strictObject({
|
|
|
9531
9531
|
updated_at: time
|
|
9532
9532
|
});
|
|
9533
9533
|
|
|
9534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9534
|
+
// 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/entities/mention.js
|
|
9535
9535
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9536
9536
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9537
9537
|
var mention = strictObject({
|
|
@@ -9575,13 +9575,13 @@ var mentionRebuild = strictObject({
|
|
|
9575
9575
|
mentions: count
|
|
9576
9576
|
});
|
|
9577
9577
|
|
|
9578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9578
|
+
// 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/entities/message-change.js
|
|
9579
9579
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9580
9580
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9581
9581
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9582
9582
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9583
9583
|
|
|
9584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9584
|
+
// 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/entities/message-read.js
|
|
9585
9585
|
var messageTranscript = strictObject({
|
|
9586
9586
|
message_id: id,
|
|
9587
9587
|
text,
|
|
@@ -9639,7 +9639,7 @@ var evidencePacket = strictObject({
|
|
|
9639
9639
|
}))
|
|
9640
9640
|
});
|
|
9641
9641
|
|
|
9642
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9642
|
+
// 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/entities/message-context.js
|
|
9643
9643
|
var messageThread = strictObject({
|
|
9644
9644
|
ref: reference,
|
|
9645
9645
|
chat: id,
|
|
@@ -9656,7 +9656,7 @@ var messageThread = strictObject({
|
|
|
9656
9656
|
});
|
|
9657
9657
|
var messageContext = union([message, messageThread]);
|
|
9658
9658
|
|
|
9659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9659
|
+
// 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/entities/message-counts.js
|
|
9660
9660
|
var messageCounts = strictObject({
|
|
9661
9661
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9662
9662
|
total: count,
|
|
@@ -9669,7 +9669,7 @@ var messageCounts = strictObject({
|
|
|
9669
9669
|
}))
|
|
9670
9670
|
});
|
|
9671
9671
|
|
|
9672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9672
|
+
// 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/entities/message-link.js
|
|
9673
9673
|
var messageLink = strictObject({
|
|
9674
9674
|
ref: reference,
|
|
9675
9675
|
url: nullable(text),
|
|
@@ -9686,7 +9686,7 @@ var messageLink = strictObject({
|
|
|
9686
9686
|
})))
|
|
9687
9687
|
});
|
|
9688
9688
|
|
|
9689
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9689
|
+
// 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/entities/message-transfer.js
|
|
9690
9690
|
var savedMessageFile = strictObject({
|
|
9691
9691
|
kind: text,
|
|
9692
9692
|
path: text,
|
|
@@ -9773,7 +9773,7 @@ var messageSyncAll = strictObject({
|
|
|
9773
9773
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9774
9774
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9775
9775
|
|
|
9776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9776
|
+
// 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/entities/message-write.js
|
|
9777
9777
|
var messageWrite = strictObject({
|
|
9778
9778
|
operation_id: id,
|
|
9779
9779
|
message,
|
|
@@ -9788,7 +9788,7 @@ var draftWrite = strictObject({
|
|
|
9788
9788
|
});
|
|
9789
9789
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9790
9790
|
|
|
9791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9791
|
+
// 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/entities/model.js
|
|
9792
9792
|
var model2 = strictObject({
|
|
9793
9793
|
id,
|
|
9794
9794
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9823,7 +9823,7 @@ var chosenModel = strictObject({
|
|
|
9823
9823
|
estimate_seconds: nullable(count)
|
|
9824
9824
|
});
|
|
9825
9825
|
|
|
9826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9826
|
+
// 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/entities/model-key.js
|
|
9827
9827
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9828
9828
|
var modelKey = strictObject({
|
|
9829
9829
|
provider: text,
|
|
@@ -9833,7 +9833,7 @@ var modelKey = strictObject({
|
|
|
9833
9833
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9834
9834
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9835
9835
|
|
|
9836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9836
|
+
// 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/entities/official-stats.js
|
|
9837
9837
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9838
9838
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9839
9839
|
var graph = strictObject({
|
|
@@ -9867,14 +9867,14 @@ var officialStats = strictObject({
|
|
|
9867
9867
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9868
9868
|
});
|
|
9869
9869
|
|
|
9870
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9870
|
+
// 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/entities/person.js
|
|
9871
9871
|
var person2 = strictObject({
|
|
9872
9872
|
ref: reference,
|
|
9873
9873
|
name: nullable(text),
|
|
9874
9874
|
identities: optional(array(identity))
|
|
9875
9875
|
});
|
|
9876
9876
|
|
|
9877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9877
|
+
// 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/entities/poll.js
|
|
9878
9878
|
var poll = strictObject({
|
|
9879
9879
|
chat_id: id,
|
|
9880
9880
|
message_id: id,
|
|
@@ -9890,11 +9890,11 @@ var poll = strictObject({
|
|
|
9890
9890
|
});
|
|
9891
9891
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9892
9892
|
|
|
9893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9893
|
+
// 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/entities/private-contact.js
|
|
9894
9894
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9895
9895
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9896
9896
|
|
|
9897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9897
|
+
// 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/entities/ranking.js
|
|
9898
9898
|
var figures = record(string(), number());
|
|
9899
9899
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9900
9900
|
var rankingRow = strictObject({
|
|
@@ -9941,7 +9941,7 @@ var ranking = strictObject({
|
|
|
9941
9941
|
rows: array(rankingRow)
|
|
9942
9942
|
});
|
|
9943
9943
|
|
|
9944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9944
|
+
// 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/entities/reaction.js
|
|
9945
9945
|
var reaction = strictObject({
|
|
9946
9946
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9947
9947
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9949,7 +9949,7 @@ var reaction = strictObject({
|
|
|
9949
9949
|
reacted_at: time
|
|
9950
9950
|
});
|
|
9951
9951
|
|
|
9952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9952
|
+
// 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/entities/reaction-change.js
|
|
9953
9953
|
var reactionChange = strictObject({
|
|
9954
9954
|
operation_id: id,
|
|
9955
9955
|
chat_id: id,
|
|
@@ -9957,7 +9957,7 @@ var reactionChange = strictObject({
|
|
|
9957
9957
|
reaction: nullable(text)
|
|
9958
9958
|
});
|
|
9959
9959
|
|
|
9960
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9960
|
+
// 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/entities/recipient.js
|
|
9961
9961
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9962
9962
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9963
9963
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9968,7 +9968,7 @@ var recipientChange = strictObject({
|
|
|
9968
9968
|
...partial(recipientOff).entries
|
|
9969
9969
|
});
|
|
9970
9970
|
|
|
9971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9971
|
+
// 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/entities/recorded-run.js
|
|
9972
9972
|
var events = array(record(string(), unknown()));
|
|
9973
9973
|
var recordedRun = strictObject({
|
|
9974
9974
|
run_id: id,
|
|
@@ -10040,7 +10040,7 @@ var runHit = strictObject({
|
|
|
10040
10040
|
});
|
|
10041
10041
|
var runLocation = strictObject({ path: text });
|
|
10042
10042
|
|
|
10043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10043
|
+
// 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/entities/relationship.js
|
|
10044
10044
|
var relationship = strictObject({
|
|
10045
10045
|
id,
|
|
10046
10046
|
from: reference,
|
|
@@ -10067,7 +10067,7 @@ var relationship = strictObject({
|
|
|
10067
10067
|
created_at: time
|
|
10068
10068
|
});
|
|
10069
10069
|
|
|
10070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10070
|
+
// 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/entities/reply-stats.js
|
|
10071
10071
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
10072
10072
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
10073
10073
|
var responseTimes = strictObject({
|
|
@@ -10084,7 +10084,7 @@ var waitingChats = strictObject({
|
|
|
10084
10084
|
by_kind: strictObject({ private: count, group: count })
|
|
10085
10085
|
});
|
|
10086
10086
|
|
|
10087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10087
|
+
// 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/entities/retention.js
|
|
10088
10088
|
var retentionCohort = strictObject({
|
|
10089
10089
|
/** The first day of the joining day or week. */
|
|
10090
10090
|
cohort: text,
|
|
@@ -10132,7 +10132,7 @@ var retention = strictObject({
|
|
|
10132
10132
|
rows: array(retentionCohort)
|
|
10133
10133
|
});
|
|
10134
10134
|
|
|
10135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10135
|
+
// 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/entities/saved-search.js
|
|
10136
10136
|
var savedSearch = strictObject({
|
|
10137
10137
|
id,
|
|
10138
10138
|
/** `null` for a run in the history. */
|
|
@@ -10149,7 +10149,7 @@ var savedSearch = strictObject({
|
|
|
10149
10149
|
});
|
|
10150
10150
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
10151
10151
|
|
|
10152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10152
|
+
// 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/entities/send-attempt.js
|
|
10153
10153
|
var sendAttempt = strictObject({
|
|
10154
10154
|
at: time,
|
|
10155
10155
|
profile: text,
|
|
@@ -10177,7 +10177,7 @@ var sendAttempt = strictObject({
|
|
|
10177
10177
|
error_code: optional(text)
|
|
10178
10178
|
});
|
|
10179
10179
|
|
|
10180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10180
|
+
// 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/entities/store-maintenance.js
|
|
10181
10181
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
10182
10182
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
10183
10183
|
var infoSchema = strictObject({
|
|
@@ -10407,7 +10407,7 @@ var storeRepair = union([
|
|
|
10407
10407
|
]);
|
|
10408
10408
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10409
10409
|
|
|
10410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10410
|
+
// 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/entities/store-records.js
|
|
10411
10411
|
var range = strictObject({ from: number(), to: number() });
|
|
10412
10412
|
var storeChatStatus = strictObject({
|
|
10413
10413
|
chat_id: id,
|
|
@@ -10505,7 +10505,7 @@ var storeJobRetry = union([
|
|
|
10505
10505
|
]);
|
|
10506
10506
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10507
10507
|
|
|
10508
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10508
|
+
// 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/entities/store-table.js
|
|
10509
10509
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10510
10510
|
var storeTable = strictObject({
|
|
10511
10511
|
name: text,
|
|
@@ -10514,7 +10514,7 @@ var storeTable = strictObject({
|
|
|
10514
10514
|
bytes: optional(nullable(count))
|
|
10515
10515
|
});
|
|
10516
10516
|
|
|
10517
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10517
|
+
// 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/entities/tag-change.js
|
|
10518
10518
|
var tagTarget = variant("type", [
|
|
10519
10519
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10520
10520
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10545,7 +10545,7 @@ var automaticTags = strictObject({
|
|
|
10545
10545
|
dry_run: boolean()
|
|
10546
10546
|
});
|
|
10547
10547
|
|
|
10548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10548
|
+
// 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/entities/tagging.js
|
|
10549
10549
|
var tagging = strictObject({
|
|
10550
10550
|
tag: text,
|
|
10551
10551
|
type: picklist(TAG_TYPES),
|
|
@@ -10558,7 +10558,7 @@ var tagging = strictObject({
|
|
|
10558
10558
|
created_at: time
|
|
10559
10559
|
});
|
|
10560
10560
|
|
|
10561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10561
|
+
// 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/entities/task-pair.js
|
|
10562
10562
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10563
10563
|
var taskPair = strictObject({
|
|
10564
10564
|
task: nullable(side),
|
|
@@ -10581,7 +10581,7 @@ var taskPair = strictObject({
|
|
|
10581
10581
|
created_at: time
|
|
10582
10582
|
});
|
|
10583
10583
|
|
|
10584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10584
|
+
// 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/entities/task-results.js
|
|
10585
10585
|
var nullableTime = nullable(time);
|
|
10586
10586
|
var link = strictObject({
|
|
10587
10587
|
id,
|
|
@@ -10755,7 +10755,7 @@ var taskReview = strictObject({
|
|
|
10755
10755
|
untrusted
|
|
10756
10756
|
});
|
|
10757
10757
|
|
|
10758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10758
|
+
// 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/entities/template.js
|
|
10759
10759
|
var template = strictObject({
|
|
10760
10760
|
key: text,
|
|
10761
10761
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10767,7 +10767,7 @@ var template = strictObject({
|
|
|
10767
10767
|
updated_by: nullable(text)
|
|
10768
10768
|
});
|
|
10769
10769
|
|
|
10770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10770
|
+
// 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/entities/topic.js
|
|
10771
10771
|
var topic = strictObject({
|
|
10772
10772
|
id,
|
|
10773
10773
|
title: text,
|
|
@@ -10781,7 +10781,7 @@ var topic = strictObject({
|
|
|
10781
10781
|
untrusted
|
|
10782
10782
|
});
|
|
10783
10783
|
|
|
10784
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10784
|
+
// 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/entities/index.js
|
|
10785
10785
|
var ENTITIES = {
|
|
10786
10786
|
sync_progress: progress,
|
|
10787
10787
|
deal,
|
|
@@ -11076,7 +11076,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
11076
11076
|
return [name, definition];
|
|
11077
11077
|
})), "entityDefinitions");
|
|
11078
11078
|
|
|
11079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11079
|
+
// 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/answer-entity.js
|
|
11080
11080
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
11081
11081
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
11082
11082
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -11110,7 +11110,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
11110
11110
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
11111
11111
|
}, "answerRow");
|
|
11112
11112
|
|
|
11113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11113
|
+
// 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/images/picture/models.js
|
|
11114
11114
|
import { join as join6 } from "node:path";
|
|
11115
11115
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
11116
11116
|
var IMAGE_MODELS = [
|
|
@@ -11164,7 +11164,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
11164
11164
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
11165
11165
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
11166
11166
|
|
|
11167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11167
|
+
// 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/steps.js
|
|
11168
11168
|
var STEPS2 = defineSteps([
|
|
11169
11169
|
...STEPS,
|
|
11170
11170
|
{
|
|
@@ -11454,7 +11454,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11454
11454
|
].join(" ");
|
|
11455
11455
|
}, "stepLine");
|
|
11456
11456
|
|
|
11457
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11457
|
+
// 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/project-status-rows.js
|
|
11458
11458
|
var where = [{ field: "ref" }];
|
|
11459
11459
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11460
11460
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11546,7 +11546,7 @@ var STATUS_ROWS = {
|
|
|
11546
11546
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11547
11547
|
};
|
|
11548
11548
|
|
|
11549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11549
|
+
// 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/compact.js
|
|
11550
11550
|
var TEXT_CHARS = 400;
|
|
11551
11551
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11552
11552
|
var messageRow = {
|
|
@@ -11914,7 +11914,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11914
11914
|
return lines.concat(footerOf(body)).join("\n");
|
|
11915
11915
|
}, "compactText");
|
|
11916
11916
|
|
|
11917
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11917
|
+
// 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/output-budget.js
|
|
11918
11918
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11919
11919
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11920
11920
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11972,7 +11972,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11972
11972
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11973
11973
|
}, "largeAnswerSteps");
|
|
11974
11974
|
|
|
11975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11975
|
+
// 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/provider-refs.js
|
|
11976
11976
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11977
11977
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11978
11978
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11986,7 +11986,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11986
11986
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11987
11987
|
}, "strip");
|
|
11988
11988
|
|
|
11989
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11989
|
+
// 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/untrusted-marks.js
|
|
11990
11990
|
var OPEN = "\u27E6";
|
|
11991
11991
|
var CLOSE = "\u27E7";
|
|
11992
11992
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -12070,7 +12070,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
12070
12070
|
return result;
|
|
12071
12071
|
}, "withFieldsMarked");
|
|
12072
12072
|
|
|
12073
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
12073
|
+
// 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/envelope.js
|
|
12074
12074
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
12075
12075
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
12076
12076
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -12287,6 +12287,7 @@ export {
|
|
|
12287
12287
|
sharedCommand,
|
|
12288
12288
|
refuseJoinedPath,
|
|
12289
12289
|
deadlineMargin,
|
|
12290
|
+
runBudget,
|
|
12290
12291
|
recorded,
|
|
12291
12292
|
startRecording,
|
|
12292
12293
|
wasSettled,
|