@wirecat/mail-cli 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-XL62TNUO.js → all-profiles-OTCWJSJS.js} +6 -6
- package/dist/bundle/{anthropic-3MSWVYCE.js → anthropic-GUXHDK32.js} +2 -2
- package/dist/bundle/{app-server-RRNR5XFA.js → app-server-GX7DOE4O.js} +43 -43
- package/dist/bundle/{bun-E3F3PEQQ.js → bun-V5QLYBZU.js} +2 -2
- package/dist/bundle/{bun-sqlite-UOFN77LO.js → bun-sqlite-AXD5CCO3.js} +3 -3
- package/dist/bundle/{chunk-UFMR2TB3.js → chunk-2IYAZRTC.js} +2 -2
- package/dist/bundle/{chunk-GXBNTKJW.js → chunk-2UMEZY6D.js} +2 -2
- package/dist/bundle/{chunk-DPDS6IZJ.js → chunk-3URYKAJP.js} +1 -1
- package/dist/bundle/{chunk-FRXDSR45.js → chunk-4YNUQGDP.js} +1 -1
- package/dist/bundle/{chunk-H2QTUZ3C.js → chunk-6SJ7HHAE.js} +1 -1
- package/dist/bundle/{chunk-JLIVJSCF.js → chunk-6TRKNME5.js} +1 -1
- package/dist/bundle/{chunk-I5Y6Y7Q5.js → chunk-6XNTELM5.js} +1 -1
- package/dist/bundle/{chunk-D6D6JLXG.js → chunk-7GW4D3OW.js} +18 -17
- package/dist/bundle/{chunk-NEJU74O4.js → chunk-AJY2IT25.js} +6 -6
- package/dist/bundle/{chunk-7E7YXQ52.js → chunk-ANYADN3S.js} +17 -17
- package/dist/bundle/{chunk-ITU6K7LU.js → chunk-CAQ5GW3A.js} +1 -1
- package/dist/bundle/{chunk-DZSS2IUK.js → chunk-CD3TAITM.js} +2 -2
- package/dist/bundle/{chunk-BNP7WLDQ.js → chunk-FA3B2DHZ.js} +1 -1
- package/dist/bundle/{chunk-DWBY7DMF.js → chunk-GDDCKTBR.js} +1 -1
- package/dist/bundle/{chunk-QVGCHTTU.js → chunk-GPOTPA3S.js} +10 -10
- package/dist/bundle/{chunk-DCR3IWC7.js → chunk-GSXCMQWV.js} +31 -30
- package/dist/bundle/{chunk-THZHNCJP.js → chunk-HFA6AZWA.js} +3 -3
- package/dist/bundle/{chunk-NYQPKZWL.js → chunk-HUWQ7LXZ.js} +254 -264
- package/dist/bundle/{chunk-EMVLCION.js → chunk-IBCGCYRU.js} +1 -1
- package/dist/bundle/{chunk-HZCINHHS.js → chunk-IVD3JTN5.js} +1 -1
- package/dist/bundle/{chunk-3CJ4C6BB.js → chunk-JRGPPS6H.js} +12 -12
- package/dist/bundle/{chunk-LGDJDD5J.js → chunk-JUS4Y4BW.js} +3 -3
- package/dist/bundle/{chunk-EV5SR3OC.js → chunk-KLFF54AF.js} +7 -7
- package/dist/bundle/{chunk-JYGFEMTR.js → chunk-KLGZX6QT.js} +1 -1
- package/dist/bundle/{chunk-QANXOKYQ.js → chunk-LVFI3TCG.js} +5 -5
- package/dist/bundle/{chunk-PIXFZZUZ.js → chunk-LVJWN2PR.js} +6 -6
- package/dist/bundle/{chunk-NUN7DBR4.js → chunk-MENP3FF5.js} +11 -12
- package/dist/bundle/{chunk-P6CYVOL6.js → chunk-MHXZ62CU.js} +1 -1
- package/dist/bundle/{chunk-BXMLIKUM.js → chunk-MSK7RNOM.js} +149 -148
- package/dist/bundle/{chunk-I3BQ2QIY.js → chunk-MT2WDBG2.js} +12 -12
- package/dist/bundle/{chunk-KPFB2VUY.js → chunk-MVMNZ3Q3.js} +56 -56
- package/dist/bundle/{chunk-3V6J7VPF.js → chunk-NMN5JUYL.js} +3 -3
- package/dist/bundle/{chunk-5YRR52NH.js → chunk-O7OP5NQO.js} +1 -1
- package/dist/bundle/{chunk-WZGFC7D5.js → chunk-OUM4ZO53.js} +1 -1
- package/dist/bundle/{chunk-GZLCZU5B.js → chunk-PALY5PGE.js} +5 -5
- package/dist/bundle/{chunk-QSXJ2BVQ.js → chunk-PCMQYGEM.js} +4 -4
- package/dist/bundle/{chunk-MS5XYEYW.js → chunk-PCWAZVAD.js} +25 -4
- package/dist/bundle/{chunk-OP5ZLH53.js → chunk-QHXOXYAT.js} +52 -52
- package/dist/bundle/{chunk-BS6WYCNZ.js → chunk-RNBG75HW.js} +22 -22
- package/dist/bundle/{chunk-NV3WPD3B.js → chunk-SDAYOJLL.js} +5 -5
- package/dist/bundle/{chunk-DDCDOBZS.js → chunk-SEJBS7SI.js} +1 -1
- package/dist/bundle/{chunk-4BW5JACS.js → chunk-SWXKS7JK.js} +16 -16
- package/dist/bundle/{chunk-S2QO6KUI.js → chunk-SZZJOSIS.js} +2 -2
- package/dist/bundle/{chunk-PZL7DHVJ.js → chunk-T577U52I.js} +7 -7
- package/dist/bundle/{chunk-OXHQNEXU.js → chunk-TDTCCHAI.js} +3 -3
- package/dist/bundle/{chunk-GWKGZOSO.js → chunk-TWHIZJAZ.js} +2 -2
- package/dist/bundle/{chunk-T72DWT37.js → chunk-U346WBJ5.js} +4 -4
- package/dist/bundle/{chunk-4ME2NHNJ.js → chunk-U57QRUP7.js} +2 -2
- package/dist/bundle/{chunk-FYP2M6IT.js → chunk-U7RLFLTM.js} +23 -23
- package/dist/bundle/{chunk-BKRIIZPV.js → chunk-WNGMI6AZ.js} +2 -2
- package/dist/bundle/{chunk-SQA5JI7Q.js → chunk-WQOGHND4.js} +1 -1
- package/dist/bundle/{chunk-HZL3X4XR.js → chunk-XXXVVNGI.js} +18 -15
- package/dist/bundle/{chunk-TUXNILKR.js → chunk-Z6OKVD3R.js} +7 -7
- package/dist/bundle/{chunk-6UOUDIXL.js → chunk-ZAD7K4TI.js} +361 -361
- package/dist/bundle/{chunk-E3IOR37T.js → chunk-ZDP6A2VL.js} +2 -2
- package/dist/bundle/{command-contract-YRNKDQDL.js → command-contract-DZ6XRIOI.js} +15 -15
- package/dist/bundle/{command-server-entry-A3FCP24M.js → command-server-entry-BVXOPKXH.js} +21 -21
- package/dist/bundle/{decode-FI2ISRNZ.js → decode-STN3EHT7.js} +2 -2
- package/dist/bundle/{dist-NLOOZJ64.js → dist-B2JWWTNN.js} +11 -11
- package/dist/bundle/{echarts-PMAJUJFE.js → echarts-QIXLXS3G.js} +2 -2
- package/dist/bundle/{embed-OIMT6SAX.js → embed-4NC4ELYP.js} +3 -3
- package/dist/bundle/{embedder-Q5IF5WIM.js → embedder-HBRDIFQC.js} +6 -6
- package/dist/bundle/{first-run-4L53QWOT.js → first-run-6QF67AAZ.js} +6 -6
- package/dist/bundle/first-screen-LXSZMK2P.js +34 -0
- package/dist/bundle/{instructions-ZJGGGXOA.js → instructions-MD2RZT5Z.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-DCSOHRD6.js → node-IEVT2FSJ.js} +2 -2
- package/dist/bundle/{node-sqlite-7F77K5JA.js → node-sqlite-EOTTDMOG.js} +4 -4
- package/dist/bundle/{oauth-LVPMEN6M.js → oauth-A5BEFGCI.js} +4 -4
- package/dist/bundle/{open-XM5LWEN6.js → open-HWN2EZYG.js} +2 -2
- package/dist/bundle/{openai-H2LCGK22.js → openai-PJKJ4CIU.js} +12 -12
- package/dist/bundle/{process-MFC5VSPT.js → process-6Q23D3TO.js} +1 -1
- package/dist/bundle/{program-ZQ43ZYKZ.js → program-WR43NPAV.js} +403 -381
- package/dist/bundle/{prompt-3LZAZNQ4.js → prompt-E7Q2662O.js} +2 -2
- package/dist/bundle/{recognize-GYQMHFY2.js → recognize-4F4PIL4B.js} +1 -1
- package/dist/bundle/{remote-P2MD5G64.js → remote-RGJXO7XK.js} +6 -6
- package/dist/bundle/{rerank-A5X6THV6.js → rerank-EDY7PHMG.js} +4 -4
- package/dist/bundle/{serve-IEC3EUKS.js → serve-Q4XF6ID2.js} +6 -6
- package/dist/bundle/server-2Y5NSP2U.js +67 -0
- package/dist/bundle/{server-3REPXFNI.js → server-5I72DSDF.js} +35 -35
- package/dist/bundle/{sqlite-runtime-AOLQGC5J.js → sqlite-runtime-PU3Z2H7C.js} +3 -3
- package/dist/bundle/{state-D3P5IXXA.js → state-CWSXJBU2.js} +3 -3
- package/dist/bundle/{store-MZCQXBVW.js → store-KQPKS3PX.js} +15 -15
- package/dist/bundle/{store-DIN6OY3K.js → store-ZAMKKM2A.js} +13 -13
- package/dist/bundle/store-maintenance-command-PMTTDR6J.js +58 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/first-screen-ZPQLAAIS.js +0 -34
- package/dist/bundle/server-E2QTFURI.js +0 -67
- package/dist/bundle/store-maintenance-command-UMVFI6M6.js +0 -58
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PCWAZVAD.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-Z6OKVD3R.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WQOGHND4.js";
|
|
30
30
|
import {
|
|
31
31
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-U57QRUP7.js";
|
|
33
33
|
import {
|
|
34
34
|
note
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WNGMI6AZ.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-U7RLFLTM.js";
|
|
81
81
|
import {
|
|
82
82
|
BUSINESS_KINDS,
|
|
83
83
|
CRM_ACTIVITY_KINDS,
|
|
@@ -112,27 +112,27 @@ import {
|
|
|
112
112
|
meetingStats,
|
|
113
113
|
meetingSummary,
|
|
114
114
|
meetingTranscript
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-MVMNZ3Q3.js";
|
|
116
116
|
import {
|
|
117
117
|
isCliFailure,
|
|
118
118
|
storeDamaged
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-O7OP5NQO.js";
|
|
120
120
|
import {
|
|
121
121
|
endpoint
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-GDDCKTBR.js";
|
|
123
123
|
import {
|
|
124
124
|
readSharedSection,
|
|
125
125
|
repairConfigText,
|
|
126
126
|
sharedConfigPath,
|
|
127
127
|
writeSharedSection
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-PALY5PGE.js";
|
|
129
129
|
import {
|
|
130
130
|
filesPresent,
|
|
131
131
|
sharedModelsDirectory
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-JUS4Y4BW.js";
|
|
133
133
|
import {
|
|
134
134
|
storePath
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-FA3B2DHZ.js";
|
|
136
136
|
import {
|
|
137
137
|
configFilePath,
|
|
138
138
|
createRecordLog,
|
|
@@ -205,7 +205,7 @@ import {
|
|
|
205
205
|
__name
|
|
206
206
|
} from "./chunk-ZVVMGPBJ.js";
|
|
207
207
|
|
|
208
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
208
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
209
209
|
import { readFileSync } from "node:fs";
|
|
210
210
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
211
211
|
var locking = /* @__PURE__ */ __name((value) => value !== void 0 && value.trim() !== "" && value !== "0", "locking");
|
|
@@ -3962,7 +3962,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3962
3962
|
}
|
|
3963
3963
|
}, "refuseJoinedPath");
|
|
3964
3964
|
|
|
3965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/command-server-request.js
|
|
3966
3966
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3967
3967
|
var requests = new AsyncLocalStorage();
|
|
3968
3968
|
var inCommandServerRequest = /* @__PURE__ */ __name((request, work) => requests.run(request, work), "inCommandServerRequest");
|
|
@@ -3977,7 +3977,7 @@ var exitCodeSet = /* @__PURE__ */ __name(() => {
|
|
|
3977
3977
|
return direct;
|
|
3978
3978
|
}, "exitCodeSet");
|
|
3979
3979
|
|
|
3980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3981
3981
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
3982
3982
|
var sentIds = /* @__PURE__ */ __name((typed2, message2) => ({
|
|
3983
3983
|
messageId: message2.id,
|
|
@@ -4083,7 +4083,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
4083
4083
|
}, "guardedWrite");
|
|
4084
4084
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
4085
4085
|
|
|
4086
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
4087
4087
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
4088
4088
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
4089
4089
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4266,7 +4266,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4266
4266
|
}
|
|
4267
4267
|
}, "withAbort");
|
|
4268
4268
|
|
|
4269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4270
4270
|
import { existsSync, readdirSync, readFileSync as readFileSync2 } from "node:fs";
|
|
4271
4271
|
import { join } from "node:path";
|
|
4272
4272
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4288,7 +4288,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4288
4288
|
}, "profilesWithAccounts");
|
|
4289
4289
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4290
4290
|
|
|
4291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4292
4292
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4293
4293
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4294
4294
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4331,7 +4331,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests: requests2, deadline, request
|
|
|
4331
4331
|
};
|
|
4332
4332
|
}, "runBudget");
|
|
4333
4333
|
|
|
4334
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4335
4335
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4336
4336
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4337
4337
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4369,7 +4369,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4369
4369
|
progress: "sync.progress"
|
|
4370
4370
|
};
|
|
4371
4371
|
|
|
4372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4373
4373
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4374
4374
|
const recording = startRecording(options);
|
|
4375
4375
|
try {
|
|
@@ -4584,7 +4584,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4584
4584
|
return void 0;
|
|
4585
4585
|
}, "partialOutcome");
|
|
4586
4586
|
|
|
4587
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4588
4588
|
var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
4589
4589
|
if (ms2 === void 0)
|
|
4590
4590
|
return body();
|
|
@@ -4610,7 +4610,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms2, closeables, body) => {
|
|
|
4610
4610
|
}
|
|
4611
4611
|
}, "withDeadline");
|
|
4612
4612
|
|
|
4613
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4613
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4614
4614
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4615
4615
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4616
4616
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4679,10 +4679,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4679
4679
|
return void 0;
|
|
4680
4680
|
}, "sampleCommand");
|
|
4681
4681
|
|
|
4682
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4683
4683
|
import { existsSync as existsSync5 } from "node:fs";
|
|
4684
4684
|
|
|
4685
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4685
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4686
4686
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4687
4687
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4688
4688
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -4751,7 +4751,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
4751
4751
|
};
|
|
4752
4752
|
}, "modelTarget");
|
|
4753
4753
|
|
|
4754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4754
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
4755
4755
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
4756
4756
|
var url2 = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
4757
4757
|
var AI_FIELDS = {
|
|
@@ -4795,7 +4795,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
4795
4795
|
};
|
|
4796
4796
|
}, "resolveAISettings");
|
|
4797
4797
|
|
|
4798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
4799
4799
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
4800
4800
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
4801
4801
|
var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
@@ -4809,7 +4809,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source2) => {
|
|
|
4809
4809
|
return ms2;
|
|
4810
4810
|
}, "parseDuration");
|
|
4811
4811
|
|
|
4812
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
4813
4813
|
import { existsSync as existsSync2 } from "node:fs";
|
|
4814
4814
|
import { join as join2 } from "node:path";
|
|
4815
4815
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -5086,7 +5086,7 @@ var vectorModelKey = /* @__PURE__ */ __name((model3) => {
|
|
|
5086
5086
|
}, "vectorModelKey");
|
|
5087
5087
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5088
5088
|
|
|
5089
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/services/history-limits.js
|
|
5090
5090
|
var HISTORY_MAX_DAYS = 1095;
|
|
5091
5091
|
var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
|
|
5092
5092
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
@@ -5133,7 +5133,7 @@ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now =
|
|
|
5133
5133
|
return { batch: { ...batch, messages }, skipped };
|
|
5134
5134
|
}, "limitBatch");
|
|
5135
5135
|
|
|
5136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/bot/registry.js
|
|
5137
5137
|
import { existsSync as existsSync3, readdirSync as readdirSync2, readFileSync as readFileSync3 } from "node:fs";
|
|
5138
5138
|
import { join as join3 } from "node:path";
|
|
5139
5139
|
var botsDirectory = /* @__PURE__ */ __name((app, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "bots"), "botsDirectory");
|
|
@@ -5222,7 +5222,7 @@ var registryProfiles = /* @__PURE__ */ __name((app, env = process.env) => {
|
|
|
5222
5222
|
return readdirSync2(directory, { withFileTypes: true }).filter((entry) => entry.isFile() && entry.name.endsWith(".json")).map((entry) => entry.name).map((name) => name.slice(0, -".json".length));
|
|
5223
5223
|
}, "registryProfiles");
|
|
5224
5224
|
|
|
5225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5226
5226
|
import { readFileSync as readFileSync4 } from "node:fs";
|
|
5227
5227
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5228
5228
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5517,7 +5517,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5517
5517
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5518
5518
|
}, "readConfigFile");
|
|
5519
5519
|
|
|
5520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5521
5521
|
import { existsSync as existsSync4, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
5522
5522
|
import { dirname, join as join4 } from "node:path";
|
|
5523
5523
|
var DEFAULT_CONFIG = {
|
|
@@ -5546,7 +5546,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5546
5546
|
}
|
|
5547
5547
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5548
5548
|
|
|
5549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/setting-defaults.js
|
|
5550
5550
|
var isNode2 = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5551
5551
|
var parentOf = /* @__PURE__ */ __name((config, key) => {
|
|
5552
5552
|
const path2 = key.split(".");
|
|
@@ -5568,7 +5568,7 @@ var withSettingDefaults = /* @__PURE__ */ __name((raw, declared) => {
|
|
|
5568
5568
|
return { config, added };
|
|
5569
5569
|
}, "withSettingDefaults");
|
|
5570
5570
|
|
|
5571
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5571
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5572
5572
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5573
5573
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5574
5574
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -6094,7 +6094,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
6094
6094
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
6095
6095
|
}, "given");
|
|
6096
6096
|
|
|
6097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
6098
6098
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests2) => {
|
|
6099
6099
|
const { deadline, signal, app } = environmentOf(command);
|
|
6100
6100
|
const now = deadline?.();
|
|
@@ -6234,7 +6234,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6234
6234
|
return words2.join(" ");
|
|
6235
6235
|
}, "commandPath");
|
|
6236
6236
|
|
|
6237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6238
6238
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6239
6239
|
var FETCH = { remote: "read", local: "write" };
|
|
6240
6240
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6299,7 +6299,8 @@ var changesStore = /* @__PURE__ */ __name((command) => {
|
|
|
6299
6299
|
STORE_WRITES.add(command);
|
|
6300
6300
|
return command;
|
|
6301
6301
|
}, "changesStore");
|
|
6302
|
-
var
|
|
6302
|
+
var OWNER_FILES = /* @__PURE__ */ new WeakSet();
|
|
6303
|
+
var savesFiles = /* @__PURE__ */ __name((command) => OWNER_FILES.has(command) || command.name() === "download" || [...command.options.map((option) => option.attributeName()), ...command.registeredArguments.map((one) => one.name())].map((name) => name.toLowerCase()).some((name) => name === "dir" || name.endsWith("dir") || name === "output"), "savesFiles");
|
|
6303
6304
|
var fetchesOnly = /* @__PURE__ */ __name((command) => {
|
|
6304
6305
|
const effects = metaOf(command).effects;
|
|
6305
6306
|
return effects?.remote === "read" && effects.local === "write" && !STORE_WRITES.has(command) && !changesAuthority(command) && !OTHER_SERVICE.has(command) && !savesFiles(command);
|
|
@@ -6316,7 +6317,7 @@ var writesFileNow = /* @__PURE__ */ __name((command) => {
|
|
|
6316
6317
|
const option = FILE_OPTION.get(command);
|
|
6317
6318
|
return option === void 0 || command.opts()[option] !== void 0;
|
|
6318
6319
|
}, "writesFileNow");
|
|
6319
|
-
var readsOverMcp = /* @__PURE__ */ __name((command) => fetchesOnly(command) || FILE_OPTION.has(command), "readsOverMcp");
|
|
6320
|
+
var readsOverMcp = /* @__PURE__ */ __name((command) => fetchesOnly(command) && !LOGIN.has(command) || FILE_OPTION.has(command), "readsOverMcp");
|
|
6320
6321
|
var readsOverMcpAt = /* @__PURE__ */ __name((root) => (path2) => {
|
|
6321
6322
|
let at2 = root;
|
|
6322
6323
|
for (const word of path2)
|
|
@@ -6373,7 +6374,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6373
6374
|
throw readOnlyRefusal(lock, what);
|
|
6374
6375
|
}, "refuseUnderReadOnly");
|
|
6375
6376
|
|
|
6376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6377
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6377
6378
|
var account = strictObject({
|
|
6378
6379
|
provider: text,
|
|
6379
6380
|
id,
|
|
@@ -6383,7 +6384,7 @@ var account = strictObject({
|
|
|
6383
6384
|
scope: optional(picklist(["personal", "work"]))
|
|
6384
6385
|
});
|
|
6385
6386
|
|
|
6386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6387
6388
|
var accountSession = strictObject({
|
|
6388
6389
|
current: boolean(),
|
|
6389
6390
|
client: nullable(text),
|
|
@@ -6393,7 +6394,7 @@ var accountSession = strictObject({
|
|
|
6393
6394
|
created_at: optional(nullable(time))
|
|
6394
6395
|
});
|
|
6395
6396
|
|
|
6396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6397
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6397
6398
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6398
6399
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6399
6400
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6422,7 +6423,7 @@ var accountRemoval = strictObject({
|
|
|
6422
6423
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6423
6424
|
});
|
|
6424
6425
|
|
|
6425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6426
6427
|
var accountProfile = strictObject({
|
|
6427
6428
|
profile: id,
|
|
6428
6429
|
current: boolean(),
|
|
@@ -6434,7 +6435,7 @@ var accountProfile = strictObject({
|
|
|
6434
6435
|
bot: optional(literal(true))
|
|
6435
6436
|
});
|
|
6436
6437
|
|
|
6437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6438
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6438
6439
|
var milliseconds = pipe(number(), minValue(0));
|
|
6439
6440
|
var counterReading = strictObject({
|
|
6440
6441
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6446,7 +6447,7 @@ var counterReading = strictObject({
|
|
|
6446
6447
|
});
|
|
6447
6448
|
var selection = record(string(), unknown());
|
|
6448
6449
|
|
|
6449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6450
6451
|
var adminRow = strictObject({
|
|
6451
6452
|
ref: reference,
|
|
6452
6453
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6499,7 +6500,7 @@ var adminReport = strictObject({
|
|
|
6499
6500
|
rows: array(adminRow)
|
|
6500
6501
|
});
|
|
6501
6502
|
|
|
6502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6503
6504
|
var closeSuggestion = strictObject({
|
|
6504
6505
|
as: picklist(["done", "dismissed"]),
|
|
6505
6506
|
/** The agent's name. */
|
|
@@ -6561,7 +6562,7 @@ var task = strictObject({
|
|
|
6561
6562
|
updated_at: optional(time)
|
|
6562
6563
|
});
|
|
6563
6564
|
|
|
6564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6565
6566
|
var agendaChat = strictObject({
|
|
6566
6567
|
chat: reference,
|
|
6567
6568
|
title: nullable(text),
|
|
@@ -6631,11 +6632,11 @@ var agenda = strictObject({
|
|
|
6631
6632
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6632
6633
|
});
|
|
6633
6634
|
|
|
6634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6635
6636
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6636
6637
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6637
6638
|
|
|
6638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6639
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6639
6640
|
var attachment = strictObject({
|
|
6640
6641
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6641
6642
|
message: optional(reference),
|
|
@@ -6680,7 +6681,7 @@ var hitFile = strictObject({
|
|
|
6680
6681
|
local_path: optional(text)
|
|
6681
6682
|
});
|
|
6682
6683
|
|
|
6683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6684
6685
|
var actionableError = objectWithRest({
|
|
6685
6686
|
code: text,
|
|
6686
6687
|
message: text,
|
|
@@ -6697,7 +6698,7 @@ var batchResult = strictObject({
|
|
|
6697
6698
|
max_error_percent: count
|
|
6698
6699
|
});
|
|
6699
6700
|
|
|
6700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6701
6702
|
var extractionItem = strictObject({
|
|
6702
6703
|
ref: reference,
|
|
6703
6704
|
attachment: count,
|
|
@@ -6730,7 +6731,7 @@ var extractionReport = strictObject({
|
|
|
6730
6731
|
cursor: optional(text)
|
|
6731
6732
|
});
|
|
6732
6733
|
|
|
6733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6734
6735
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6735
6736
|
var attachmentBytes = strictObject({
|
|
6736
6737
|
ref: reference,
|
|
@@ -6761,7 +6762,7 @@ var attachmentTextChange = strictObject({
|
|
|
6761
6762
|
text: optional(text)
|
|
6762
6763
|
});
|
|
6763
6764
|
|
|
6764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6765
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6765
6766
|
var WEIGHTS = {
|
|
6766
6767
|
bot: 3,
|
|
6767
6768
|
scam: 3,
|
|
@@ -6786,7 +6787,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6786
6787
|
var DIGITS = /\d{5,}/;
|
|
6787
6788
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6788
6789
|
|
|
6789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6790
6791
|
var linkedIdentity = strictObject({
|
|
6791
6792
|
provider: text,
|
|
6792
6793
|
id,
|
|
@@ -6841,7 +6842,7 @@ var contactCheck = strictObject({
|
|
|
6841
6842
|
checked_at: time
|
|
6842
6843
|
});
|
|
6843
6844
|
|
|
6844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6845
6846
|
var member = strictObject({
|
|
6846
6847
|
id,
|
|
6847
6848
|
name: nullable(text),
|
|
@@ -6864,7 +6865,7 @@ var member = strictObject({
|
|
|
6864
6865
|
check: optional(record(string(), unknown()))
|
|
6865
6866
|
});
|
|
6866
6867
|
|
|
6867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6868
6869
|
var setting = optional(nullable(boolean()));
|
|
6869
6870
|
var chat = strictObject({
|
|
6870
6871
|
ref: reference,
|
|
@@ -6905,7 +6906,7 @@ var chat = strictObject({
|
|
|
6905
6906
|
members: optional(array(member))
|
|
6906
6907
|
});
|
|
6907
6908
|
|
|
6908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6909
6910
|
var quoted = strictObject({
|
|
6910
6911
|
id,
|
|
6911
6912
|
sender_id: nullable(id),
|
|
@@ -7024,7 +7025,7 @@ var message = strictObject({
|
|
|
7024
7025
|
provider_metadata: providerMetadata
|
|
7025
7026
|
});
|
|
7026
7027
|
|
|
7027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7028
7029
|
var recordedMeeting = strictObject({
|
|
7029
7030
|
ref: reference,
|
|
7030
7031
|
meeting_id: count,
|
|
@@ -7037,7 +7038,7 @@ var recordedMeeting = strictObject({
|
|
|
7037
7038
|
people: array(reference)
|
|
7038
7039
|
});
|
|
7039
7040
|
|
|
7040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7041
7042
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7042
7043
|
var contextMessage = strictObject({
|
|
7043
7044
|
locator: reference,
|
|
@@ -7243,7 +7244,7 @@ var contactPreparation = strictObject({
|
|
|
7243
7244
|
})
|
|
7244
7245
|
});
|
|
7245
7246
|
|
|
7246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7247
7248
|
var nullableText = nullable(text);
|
|
7248
7249
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7249
7250
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7354,7 +7355,7 @@ var stage = strictObject({
|
|
|
7354
7355
|
untrusted
|
|
7355
7356
|
});
|
|
7356
7357
|
|
|
7357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7358
7359
|
var nullableText2 = nullable(text);
|
|
7359
7360
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7360
7361
|
var standing = picklist(STANDINGS);
|
|
@@ -7528,7 +7529,7 @@ var dealBrief = strictObject({
|
|
|
7528
7529
|
not_read: coverage2.entries.not_read
|
|
7529
7530
|
});
|
|
7530
7531
|
|
|
7531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7532
7533
|
var chart = strictObject({
|
|
7533
7534
|
version: literal(1),
|
|
7534
7535
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7543,7 +7544,7 @@ var chart = strictObject({
|
|
|
7543
7544
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7544
7545
|
});
|
|
7545
7546
|
|
|
7546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7547
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7547
7548
|
var named = strictObject({
|
|
7548
7549
|
id,
|
|
7549
7550
|
title: nullable(text),
|
|
@@ -7566,7 +7567,7 @@ var folder = strictObject({
|
|
|
7566
7567
|
excluded_chats: optional(array(named))
|
|
7567
7568
|
});
|
|
7568
7569
|
|
|
7569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7570
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7570
7571
|
var inviteLink = strictObject({
|
|
7571
7572
|
link: text,
|
|
7572
7573
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7582,7 +7583,7 @@ var inviteLink = strictObject({
|
|
|
7582
7583
|
joined_count: optional(count)
|
|
7583
7584
|
});
|
|
7584
7585
|
|
|
7585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7586
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7586
7587
|
var operated = { operation_id: id, chat_id: id };
|
|
7587
7588
|
var group = strictObject({
|
|
7588
7589
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7662,7 +7663,7 @@ var chatFolderOrder = strictObject({
|
|
|
7662
7663
|
folders: array(strictObject({ id, title: text }))
|
|
7663
7664
|
});
|
|
7664
7665
|
|
|
7665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7666
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7666
7667
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7667
7668
|
var chatRemoval = strictObject(operated2);
|
|
7668
7669
|
var chatMuting = strictObject({
|
|
@@ -7673,7 +7674,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7673
7674
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7674
7675
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7675
7676
|
|
|
7676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7677
7678
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7678
7679
|
var chatEvent = strictObject({
|
|
7679
7680
|
chat_id: id,
|
|
@@ -7690,7 +7691,7 @@ var chatEvent = strictObject({
|
|
|
7690
7691
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7691
7692
|
});
|
|
7692
7693
|
|
|
7693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7694
7695
|
var chatMetadata = strictObject({
|
|
7695
7696
|
chat_id: id,
|
|
7696
7697
|
title: nullable(text),
|
|
@@ -7705,7 +7706,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7705
7706
|
has_more: boolean()
|
|
7706
7707
|
});
|
|
7707
7708
|
|
|
7708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7709
7710
|
var action = picklist(["report", "delete", "remove"]);
|
|
7710
7711
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7711
7712
|
var chatRules = strictObject({
|
|
@@ -7742,7 +7743,7 @@ var chatModeration = strictObject({
|
|
|
7742
7743
|
}))
|
|
7743
7744
|
});
|
|
7744
7745
|
|
|
7745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7746
7747
|
var optionalCount = optional(count);
|
|
7747
7748
|
var minutes = nullable(number());
|
|
7748
7749
|
var chatStats = strictObject({
|
|
@@ -7818,7 +7819,7 @@ var taskStats = strictObject({
|
|
|
7818
7819
|
}))
|
|
7819
7820
|
});
|
|
7820
7821
|
|
|
7821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7822
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7822
7823
|
var memberCount = strictObject({
|
|
7823
7824
|
day: pipe(text, isoDate()),
|
|
7824
7825
|
participants: nullable(count),
|
|
@@ -7841,7 +7842,7 @@ var chatTracking = strictObject({
|
|
|
7841
7842
|
tracked: boolean()
|
|
7842
7843
|
});
|
|
7843
7844
|
|
|
7844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7845
7846
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7846
7847
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7847
7848
|
var profileFields = {
|
|
@@ -7879,7 +7880,7 @@ var profileFields = {
|
|
|
7879
7880
|
}))
|
|
7880
7881
|
};
|
|
7881
7882
|
|
|
7882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7883
7884
|
var contact = strictObject({
|
|
7884
7885
|
ref: reference,
|
|
7885
7886
|
id,
|
|
@@ -7910,7 +7911,7 @@ var contact = strictObject({
|
|
|
7910
7911
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7911
7912
|
});
|
|
7912
7913
|
|
|
7913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7914
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7914
7915
|
var contactNote = strictObject({
|
|
7915
7916
|
id,
|
|
7916
7917
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7922,13 +7923,13 @@ var contactNote = strictObject({
|
|
|
7922
7923
|
updated_at: time
|
|
7923
7924
|
});
|
|
7924
7925
|
|
|
7925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7926
7927
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7927
7928
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7928
7929
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7929
7930
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7930
7931
|
|
|
7931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7932
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7932
7933
|
var conversation = strictObject({
|
|
7933
7934
|
id,
|
|
7934
7935
|
chat: reference,
|
|
@@ -7943,7 +7944,7 @@ var conversation = strictObject({
|
|
|
7943
7944
|
rules_version: count
|
|
7944
7945
|
});
|
|
7945
7946
|
|
|
7946
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7947
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7947
7948
|
var conversationBuild = strictObject({
|
|
7948
7949
|
chat: id,
|
|
7949
7950
|
messages: count,
|
|
@@ -7968,7 +7969,7 @@ var catchUpPreparation = strictObject({
|
|
|
7968
7969
|
prepared: optional(conversationPreparation)
|
|
7969
7970
|
});
|
|
7970
7971
|
|
|
7971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7972
7973
|
var conversationDetails = union([
|
|
7973
7974
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7974
7975
|
message
|
|
@@ -8058,7 +8059,7 @@ var conversationHit = strictObject({
|
|
|
8058
8059
|
stale: boolean()
|
|
8059
8060
|
});
|
|
8060
8061
|
|
|
8061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8062
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8062
8063
|
var counters = strictObject({
|
|
8063
8064
|
cutoff: time,
|
|
8064
8065
|
max_age_ms: milliseconds,
|
|
@@ -8088,7 +8089,7 @@ var counterRefresh = strictObject({
|
|
|
8088
8089
|
complete: optional(boolean())
|
|
8089
8090
|
});
|
|
8090
8091
|
|
|
8091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8092
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8092
8093
|
var document = strictObject({
|
|
8093
8094
|
ref: reference,
|
|
8094
8095
|
id,
|
|
@@ -8103,7 +8104,7 @@ var document = strictObject({
|
|
|
8103
8104
|
owners: optional(array(text))
|
|
8104
8105
|
});
|
|
8105
8106
|
|
|
8106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8107
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8107
8108
|
var documentLink = strictObject({
|
|
8108
8109
|
ref: reference,
|
|
8109
8110
|
url: text,
|
|
@@ -8114,7 +8115,7 @@ var documentLink = strictObject({
|
|
|
8114
8115
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8115
8116
|
});
|
|
8116
8117
|
|
|
8117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8118
8119
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8119
8120
|
var contribution = strictObject({
|
|
8120
8121
|
message: evidenceMessage,
|
|
@@ -8144,7 +8145,7 @@ var retentionStay = strictObject({
|
|
|
8144
8145
|
});
|
|
8145
8146
|
var evidence = union([contribution, retentionStay]);
|
|
8146
8147
|
|
|
8147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8148
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8148
8149
|
var fact = strictObject({
|
|
8149
8150
|
ref: reference,
|
|
8150
8151
|
id,
|
|
@@ -8175,7 +8176,7 @@ var fact = strictObject({
|
|
|
8175
8176
|
updated_at: time
|
|
8176
8177
|
});
|
|
8177
8178
|
|
|
8178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8179
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8179
8180
|
var hit = strictObject({
|
|
8180
8181
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8181
8182
|
ref: reference,
|
|
@@ -8223,7 +8224,7 @@ var hit = strictObject({
|
|
|
8223
8224
|
untrusted
|
|
8224
8225
|
});
|
|
8225
8226
|
|
|
8226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8227
8228
|
var identity = strictObject({
|
|
8228
8229
|
ref: reference,
|
|
8229
8230
|
provider: text,
|
|
@@ -8239,7 +8240,7 @@ var identity = strictObject({
|
|
|
8239
8240
|
person: optional(nullable(reference))
|
|
8240
8241
|
});
|
|
8241
8242
|
|
|
8242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8243
8244
|
var imageEmbedding = strictObject({
|
|
8244
8245
|
model: text,
|
|
8245
8246
|
embedded: count,
|
|
@@ -8248,13 +8249,13 @@ var imageEmbedding = strictObject({
|
|
|
8248
8249
|
more: boolean()
|
|
8249
8250
|
});
|
|
8250
8251
|
|
|
8251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8252
8253
|
import { spawn } from "node:child_process";
|
|
8253
8254
|
import { randomBytes } from "node:crypto";
|
|
8254
8255
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8255
8256
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8256
8257
|
|
|
8257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8258
8259
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8259
8260
|
const total = input.total ?? null;
|
|
8260
8261
|
const updated = input.updatedAt ?? null;
|
|
@@ -8270,7 +8271,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8270
8271
|
};
|
|
8271
8272
|
}, "progressOf");
|
|
8272
8273
|
|
|
8273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8274
8275
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8275
8276
|
const run = currentRun();
|
|
8276
8277
|
const trace = traceId ?? run.traceId;
|
|
@@ -8284,7 +8285,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8284
8285
|
}));
|
|
8285
8286
|
}, "recordLogFor");
|
|
8286
8287
|
|
|
8287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8288
8289
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8289
8290
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8290
8291
|
const out = openSync(log, "a", 384);
|
|
@@ -8439,7 +8440,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8439
8440
|
return { job: id6, pid, chat: input.chat, log };
|
|
8440
8441
|
}, "startArchiveJob");
|
|
8441
8442
|
|
|
8442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8443
8444
|
var problem = strictObject({ code: text, message: text });
|
|
8444
8445
|
var job = strictObject({
|
|
8445
8446
|
id,
|
|
@@ -8462,7 +8463,7 @@ var job = strictObject({
|
|
|
8462
8463
|
error: optional(problem)
|
|
8463
8464
|
});
|
|
8464
8465
|
|
|
8465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8466
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8466
8467
|
var joinRequest = strictObject({
|
|
8467
8468
|
person_id: id,
|
|
8468
8469
|
name: nullable(text),
|
|
@@ -8473,7 +8474,7 @@ var joinRequest = strictObject({
|
|
|
8473
8474
|
about: optional(text)
|
|
8474
8475
|
});
|
|
8475
8476
|
|
|
8476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8477
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8477
8478
|
var botProfile = strictObject({
|
|
8478
8479
|
name: text,
|
|
8479
8480
|
token: text,
|
|
@@ -8597,7 +8598,7 @@ var stickerInventory = strictObject({
|
|
|
8597
8598
|
url: optional(nullable(text))
|
|
8598
8599
|
});
|
|
8599
8600
|
|
|
8600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8601
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8601
8602
|
var pollVote = strictObject({
|
|
8602
8603
|
person_id: id,
|
|
8603
8604
|
name: nullable(text),
|
|
@@ -8607,7 +8608,7 @@ var pollVote = strictObject({
|
|
|
8607
8608
|
voted_at: time
|
|
8608
8609
|
});
|
|
8609
8610
|
|
|
8610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8611
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8611
8612
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8612
8613
|
var observation = strictObject({
|
|
8613
8614
|
value: pipe(number(), minValue(0)),
|
|
@@ -8649,7 +8650,7 @@ var serveSummary = strictObject({
|
|
|
8649
8650
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8650
8651
|
});
|
|
8651
8652
|
|
|
8652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8653
8654
|
var mailCounts = strictObject({
|
|
8654
8655
|
by: picklist(["day", "week", "sender"]),
|
|
8655
8656
|
received: count,
|
|
@@ -8664,7 +8665,7 @@ var mailCounts = strictObject({
|
|
|
8664
8665
|
}))
|
|
8665
8666
|
});
|
|
8666
8667
|
|
|
8667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8668
8669
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8669
8670
|
var base = { id, evidence: array(evidence2) };
|
|
8670
8671
|
var finding = variant("kind", [
|
|
@@ -8808,7 +8809,7 @@ var mailFindings = strictObject({
|
|
|
8808
8809
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8809
8810
|
});
|
|
8810
8811
|
|
|
8811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8812
8813
|
var mediaArchive = strictObject({
|
|
8813
8814
|
directory: text,
|
|
8814
8815
|
chats: count,
|
|
@@ -8840,7 +8841,7 @@ var mediaArchiveTimer = union([
|
|
|
8840
8841
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8841
8842
|
]);
|
|
8842
8843
|
|
|
8843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8844
8845
|
var preparationId = pipe(string(), minLength(1));
|
|
8845
8846
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8846
8847
|
var preparationTime = nullable(isoTime);
|
|
@@ -8932,7 +8933,7 @@ var preparationMeeting = strictObject({
|
|
|
8932
8933
|
updated_at: isoTime
|
|
8933
8934
|
});
|
|
8934
8935
|
|
|
8935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8936
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8936
8937
|
var meetingEvidence = preparationEvidence;
|
|
8937
8938
|
var meetingPersonContext = strictObject({
|
|
8938
8939
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8954,7 +8955,7 @@ var meetingPersonContext = strictObject({
|
|
|
8954
8955
|
})
|
|
8955
8956
|
});
|
|
8956
8957
|
|
|
8957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8958
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8958
8959
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8959
8960
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8960
8961
|
var finding2 = variant("kind", [
|
|
@@ -8992,7 +8993,7 @@ var meetingFindings = strictObject({
|
|
|
8992
8993
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8993
8994
|
});
|
|
8994
8995
|
|
|
8995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8996
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8996
8997
|
var communicationCoverage = strictObject({
|
|
8997
8998
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8998
8999
|
query: string(),
|
|
@@ -9037,7 +9038,7 @@ var preparationCommunications = strictObject({
|
|
|
9037
9038
|
}))
|
|
9038
9039
|
});
|
|
9039
9040
|
|
|
9040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9041
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9041
9042
|
var meetingPreparation = strictObject({
|
|
9042
9043
|
communications: optional(preparationCommunications),
|
|
9043
9044
|
schema_version: literal(1),
|
|
@@ -9150,7 +9151,7 @@ var meetingPreparation = strictObject({
|
|
|
9150
9151
|
})
|
|
9151
9152
|
});
|
|
9152
9153
|
|
|
9153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9154
9155
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9155
9156
|
var id3 = pipe(string(), minLength(1));
|
|
9156
9157
|
var text3 = string();
|
|
@@ -9214,7 +9215,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9214
9215
|
})
|
|
9215
9216
|
});
|
|
9216
9217
|
|
|
9217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9218
9219
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9219
9220
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9220
9221
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9244,7 +9245,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9244
9245
|
})
|
|
9245
9246
|
});
|
|
9246
9247
|
|
|
9247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9248
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9248
9249
|
var text4 = string();
|
|
9249
9250
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9250
9251
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9261,7 +9262,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9261
9262
|
persistence: literal("proposal-only")
|
|
9262
9263
|
});
|
|
9263
9264
|
|
|
9264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9265
9266
|
var memory = strictObject({
|
|
9266
9267
|
ref: reference,
|
|
9267
9268
|
id,
|
|
@@ -9289,7 +9290,7 @@ var memory = strictObject({
|
|
|
9289
9290
|
updated_at: time
|
|
9290
9291
|
});
|
|
9291
9292
|
|
|
9292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9293
9294
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9294
9295
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9295
9296
|
var mention = strictObject({
|
|
@@ -9333,13 +9334,13 @@ var mentionRebuild = strictObject({
|
|
|
9333
9334
|
mentions: count
|
|
9334
9335
|
});
|
|
9335
9336
|
|
|
9336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9337
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9337
9338
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9338
9339
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9339
9340
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9340
9341
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9341
9342
|
|
|
9342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9343
9344
|
var messageTranscript = strictObject({
|
|
9344
9345
|
message_id: id,
|
|
9345
9346
|
text,
|
|
@@ -9397,7 +9398,7 @@ var evidencePacket = strictObject({
|
|
|
9397
9398
|
}))
|
|
9398
9399
|
});
|
|
9399
9400
|
|
|
9400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9401
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9401
9402
|
var messageThread = strictObject({
|
|
9402
9403
|
ref: reference,
|
|
9403
9404
|
chat: id,
|
|
@@ -9414,7 +9415,7 @@ var messageThread = strictObject({
|
|
|
9414
9415
|
});
|
|
9415
9416
|
var messageContext = union([message, messageThread]);
|
|
9416
9417
|
|
|
9417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9418
9419
|
var messageCounts = strictObject({
|
|
9419
9420
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9420
9421
|
total: count,
|
|
@@ -9427,7 +9428,7 @@ var messageCounts = strictObject({
|
|
|
9427
9428
|
}))
|
|
9428
9429
|
});
|
|
9429
9430
|
|
|
9430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9431
9432
|
var messageLink = strictObject({
|
|
9432
9433
|
ref: reference,
|
|
9433
9434
|
url: nullable(text),
|
|
@@ -9444,7 +9445,7 @@ var messageLink = strictObject({
|
|
|
9444
9445
|
})))
|
|
9445
9446
|
});
|
|
9446
9447
|
|
|
9447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9448
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9448
9449
|
var savedMessageFile = strictObject({
|
|
9449
9450
|
kind: text,
|
|
9450
9451
|
path: text,
|
|
@@ -9531,7 +9532,7 @@ var messageSyncAll = strictObject({
|
|
|
9531
9532
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9532
9533
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9533
9534
|
|
|
9534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9535
9536
|
var messageWrite = strictObject({
|
|
9536
9537
|
operation_id: id,
|
|
9537
9538
|
message,
|
|
@@ -9546,7 +9547,7 @@ var draftWrite = strictObject({
|
|
|
9546
9547
|
});
|
|
9547
9548
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9548
9549
|
|
|
9549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9550
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9550
9551
|
var model2 = strictObject({
|
|
9551
9552
|
id,
|
|
9552
9553
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9581,7 +9582,7 @@ var chosenModel = strictObject({
|
|
|
9581
9582
|
estimate_seconds: nullable(count)
|
|
9582
9583
|
});
|
|
9583
9584
|
|
|
9584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9585
9586
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9586
9587
|
var modelKey = strictObject({
|
|
9587
9588
|
provider: text,
|
|
@@ -9591,7 +9592,7 @@ var modelKey = strictObject({
|
|
|
9591
9592
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9592
9593
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9593
9594
|
|
|
9594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9595
9596
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9596
9597
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9597
9598
|
var graph = strictObject({
|
|
@@ -9625,14 +9626,14 @@ var officialStats = strictObject({
|
|
|
9625
9626
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9626
9627
|
});
|
|
9627
9628
|
|
|
9628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9629
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9629
9630
|
var person2 = strictObject({
|
|
9630
9631
|
ref: reference,
|
|
9631
9632
|
name: nullable(text),
|
|
9632
9633
|
identities: optional(array(identity))
|
|
9633
9634
|
});
|
|
9634
9635
|
|
|
9635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9636
9637
|
var poll = strictObject({
|
|
9637
9638
|
chat_id: id,
|
|
9638
9639
|
message_id: id,
|
|
@@ -9648,11 +9649,11 @@ var poll = strictObject({
|
|
|
9648
9649
|
});
|
|
9649
9650
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9650
9651
|
|
|
9651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9652
9653
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9653
9654
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9654
9655
|
|
|
9655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9656
9657
|
var figures = record(string(), number());
|
|
9657
9658
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9658
9659
|
var rankingRow = strictObject({
|
|
@@ -9699,7 +9700,7 @@ var ranking = strictObject({
|
|
|
9699
9700
|
rows: array(rankingRow)
|
|
9700
9701
|
});
|
|
9701
9702
|
|
|
9702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9703
9704
|
var reaction = strictObject({
|
|
9704
9705
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9705
9706
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9707,7 +9708,7 @@ var reaction = strictObject({
|
|
|
9707
9708
|
reacted_at: time
|
|
9708
9709
|
});
|
|
9709
9710
|
|
|
9710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9711
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9711
9712
|
var reactionChange = strictObject({
|
|
9712
9713
|
operation_id: id,
|
|
9713
9714
|
chat_id: id,
|
|
@@ -9715,7 +9716,7 @@ var reactionChange = strictObject({
|
|
|
9715
9716
|
reaction: nullable(text)
|
|
9716
9717
|
});
|
|
9717
9718
|
|
|
9718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9719
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9719
9720
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9720
9721
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9721
9722
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9726,7 +9727,7 @@ var recipientChange = strictObject({
|
|
|
9726
9727
|
...partial(recipientOff).entries
|
|
9727
9728
|
});
|
|
9728
9729
|
|
|
9729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9730
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9730
9731
|
var events = array(record(string(), unknown()));
|
|
9731
9732
|
var recordedRun = strictObject({
|
|
9732
9733
|
run_id: id,
|
|
@@ -9798,7 +9799,7 @@ var runHit = strictObject({
|
|
|
9798
9799
|
});
|
|
9799
9800
|
var runLocation = strictObject({ path: text });
|
|
9800
9801
|
|
|
9801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9802
9803
|
var relationship = strictObject({
|
|
9803
9804
|
id,
|
|
9804
9805
|
from: reference,
|
|
@@ -9825,7 +9826,7 @@ var relationship = strictObject({
|
|
|
9825
9826
|
created_at: time
|
|
9826
9827
|
});
|
|
9827
9828
|
|
|
9828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9829
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9829
9830
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9830
9831
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9831
9832
|
var responseTimes = strictObject({
|
|
@@ -9842,7 +9843,7 @@ var waitingChats = strictObject({
|
|
|
9842
9843
|
by_kind: strictObject({ private: count, group: count })
|
|
9843
9844
|
});
|
|
9844
9845
|
|
|
9845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9846
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9846
9847
|
var retentionCohort = strictObject({
|
|
9847
9848
|
/** The first day of the joining day or week. */
|
|
9848
9849
|
cohort: text,
|
|
@@ -9890,7 +9891,7 @@ var retention = strictObject({
|
|
|
9890
9891
|
rows: array(retentionCohort)
|
|
9891
9892
|
});
|
|
9892
9893
|
|
|
9893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9894
9895
|
var savedSearch = strictObject({
|
|
9895
9896
|
id,
|
|
9896
9897
|
/** `null` for a run in the history. */
|
|
@@ -9907,7 +9908,7 @@ var savedSearch = strictObject({
|
|
|
9907
9908
|
});
|
|
9908
9909
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9909
9910
|
|
|
9910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9911
9912
|
var sendAttempt = strictObject({
|
|
9912
9913
|
at: time,
|
|
9913
9914
|
profile: text,
|
|
@@ -9935,7 +9936,7 @@ var sendAttempt = strictObject({
|
|
|
9935
9936
|
error_code: optional(text)
|
|
9936
9937
|
});
|
|
9937
9938
|
|
|
9938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9939
9940
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9940
9941
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9941
9942
|
var infoSchema = strictObject({
|
|
@@ -10165,7 +10166,7 @@ var storeRepair = union([
|
|
|
10165
10166
|
]);
|
|
10166
10167
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10167
10168
|
|
|
10168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10169
10170
|
var range = strictObject({ from: number(), to: number() });
|
|
10170
10171
|
var storeChatStatus = strictObject({
|
|
10171
10172
|
chat_id: id,
|
|
@@ -10263,7 +10264,7 @@ var storeJobRetry = union([
|
|
|
10263
10264
|
]);
|
|
10264
10265
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10265
10266
|
|
|
10266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10267
10268
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10268
10269
|
var storeTable = strictObject({
|
|
10269
10270
|
name: text,
|
|
@@ -10272,7 +10273,7 @@ var storeTable = strictObject({
|
|
|
10272
10273
|
bytes: optional(nullable(count))
|
|
10273
10274
|
});
|
|
10274
10275
|
|
|
10275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10276
10277
|
var tagTarget = variant("type", [
|
|
10277
10278
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10278
10279
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10303,7 +10304,7 @@ var automaticTags = strictObject({
|
|
|
10303
10304
|
dry_run: boolean()
|
|
10304
10305
|
});
|
|
10305
10306
|
|
|
10306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10307
10308
|
var tagging = strictObject({
|
|
10308
10309
|
tag: text,
|
|
10309
10310
|
type: picklist(TAG_TYPES),
|
|
@@ -10316,7 +10317,7 @@ var tagging = strictObject({
|
|
|
10316
10317
|
created_at: time
|
|
10317
10318
|
});
|
|
10318
10319
|
|
|
10319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10320
10321
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10321
10322
|
var taskPair = strictObject({
|
|
10322
10323
|
task: nullable(side),
|
|
@@ -10339,7 +10340,7 @@ var taskPair = strictObject({
|
|
|
10339
10340
|
created_at: time
|
|
10340
10341
|
});
|
|
10341
10342
|
|
|
10342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10343
10344
|
var nullableTime = nullable(time);
|
|
10344
10345
|
var link = strictObject({
|
|
10345
10346
|
id,
|
|
@@ -10513,7 +10514,7 @@ var taskReview = strictObject({
|
|
|
10513
10514
|
untrusted
|
|
10514
10515
|
});
|
|
10515
10516
|
|
|
10516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10517
10518
|
var template = strictObject({
|
|
10518
10519
|
key: text,
|
|
10519
10520
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10525,7 +10526,7 @@ var template = strictObject({
|
|
|
10525
10526
|
updated_by: nullable(text)
|
|
10526
10527
|
});
|
|
10527
10528
|
|
|
10528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10529
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10529
10530
|
var topic = strictObject({
|
|
10530
10531
|
id,
|
|
10531
10532
|
title: text,
|
|
@@ -10539,7 +10540,7 @@ var topic = strictObject({
|
|
|
10539
10540
|
untrusted
|
|
10540
10541
|
});
|
|
10541
10542
|
|
|
10542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10543
10544
|
var ENTITIES = {
|
|
10544
10545
|
sync_progress: progress,
|
|
10545
10546
|
deal,
|
|
@@ -10834,7 +10835,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10834
10835
|
return [name, definition];
|
|
10835
10836
|
})), "entityDefinitions");
|
|
10836
10837
|
|
|
10837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10838
10839
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10839
10840
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10840
10841
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10868,7 +10869,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10868
10869
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10869
10870
|
}, "answerRow");
|
|
10870
10871
|
|
|
10871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10872
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10872
10873
|
import { join as join6 } from "node:path";
|
|
10873
10874
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10874
10875
|
var IMAGE_MODELS = [
|
|
@@ -10922,7 +10923,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10922
10923
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
10923
10924
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10924
10925
|
|
|
10925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10926
10927
|
var STEPS2 = defineSteps([
|
|
10927
10928
|
...STEPS,
|
|
10928
10929
|
{
|
|
@@ -11212,7 +11213,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11212
11213
|
].join(" ");
|
|
11213
11214
|
}, "stepLine");
|
|
11214
11215
|
|
|
11215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11216
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11216
11217
|
var where = [{ field: "ref" }];
|
|
11217
11218
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11218
11219
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11304,7 +11305,7 @@ var STATUS_ROWS = {
|
|
|
11304
11305
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11305
11306
|
};
|
|
11306
11307
|
|
|
11307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11308
11309
|
var TEXT_CHARS = 400;
|
|
11309
11310
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11310
11311
|
var messageRow = {
|
|
@@ -11672,7 +11673,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11672
11673
|
return lines.concat(footerOf(body)).join("\n");
|
|
11673
11674
|
}, "compactText");
|
|
11674
11675
|
|
|
11675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11676
11677
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11677
11678
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11678
11679
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11730,7 +11731,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11730
11731
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11731
11732
|
}, "largeAnswerSteps");
|
|
11732
11733
|
|
|
11733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11734
11735
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11735
11736
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11736
11737
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11744,7 +11745,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11744
11745
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11745
11746
|
}, "strip");
|
|
11746
11747
|
|
|
11747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11748
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11748
11749
|
var OPEN = "\u27E6";
|
|
11749
11750
|
var CLOSE = "\u27E7";
|
|
11750
11751
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11828,7 +11829,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11828
11829
|
return result;
|
|
11829
11830
|
}, "withFieldsMarked");
|
|
11830
11831
|
|
|
11831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11832
11833
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11833
11834
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11834
11835
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|