@wirecat/mail-cli 0.30.0 → 0.31.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 +18 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-523GLORJ.js → all-profiles-XL62TNUO.js} +19 -29
- package/dist/bundle/{anthropic-KKYGROQR.js → anthropic-3MSWVYCE.js} +2 -2
- package/dist/bundle/{app-server-RJR7U5NT.js → app-server-RRNR5XFA.js} +45 -60
- package/dist/bundle/{bun-EBQHHLKR.js → bun-E3F3PEQQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-LTG2RRSL.js → bun-sqlite-UOFN77LO.js} +3 -3
- package/dist/bundle/{chunk-IIV43UIC.js → chunk-3CJ4C6BB.js} +12 -12
- package/dist/bundle/{chunk-ZG2XBWFT.js → chunk-3V6J7VPF.js} +3 -3
- package/dist/bundle/{chunk-U7VYDTXN.js → chunk-4BW5JACS.js} +16 -16
- package/dist/bundle/{chunk-MP572GP7.js → chunk-4ME2NHNJ.js} +2 -2
- package/dist/bundle/{chunk-JKWNPRZD.js → chunk-5YRR52NH.js} +1 -1
- package/dist/bundle/{chunk-QGIQ62KV.js → chunk-6UOUDIXL.js} +382 -366
- package/dist/bundle/{chunk-KE2RQUQO.js → chunk-7E7YXQ52.js} +17 -17
- package/dist/bundle/{chunk-ENKZEQ4Y.js → chunk-BKRIIZPV.js} +2 -2
- package/dist/bundle/{chunk-54JKDFOV.js → chunk-BNP7WLDQ.js} +1 -1
- package/dist/bundle/{chunk-WXQK5RO5.js → chunk-BS6WYCNZ.js} +32 -22
- package/dist/bundle/{chunk-B3NXAN6J.js → chunk-BXMLIKUM.js} +146 -146
- package/dist/bundle/{chunk-NMN7RTX5.js → chunk-D6D6JLXG.js} +16 -16
- package/dist/bundle/{chunk-S2KKQA7O.js → chunk-DCR3IWC7.js} +38 -47
- package/dist/bundle/{chunk-LN2LWPN2.js → chunk-DDCDOBZS.js} +1 -1
- package/dist/bundle/{chunk-XGEPAJBY.js → chunk-DPDS6IZJ.js} +1 -1
- package/dist/bundle/{chunk-Q23EEGPC.js → chunk-DWBY7DMF.js} +1 -1
- package/dist/bundle/{chunk-SNZFQ5SS.js → chunk-DZSS2IUK.js} +14 -2
- package/dist/bundle/{chunk-26H2HVJD.js → chunk-E3IOR37T.js} +2 -2
- package/dist/bundle/{chunk-5X5A3CAX.js → chunk-EMVLCION.js} +1 -1
- package/dist/bundle/{chunk-F22PLRCG.js → chunk-EV5SR3OC.js} +7 -7
- package/dist/bundle/{chunk-SPWKGRTO.js → chunk-FRXDSR45.js} +1 -1
- package/dist/bundle/{chunk-YMJXGIYG.js → chunk-FYP2M6IT.js} +23 -23
- package/dist/bundle/{chunk-FYXGD6R6.js → chunk-GWKGZOSO.js} +2 -2
- package/dist/bundle/{chunk-ONA3UI3R.js → chunk-GXBNTKJW.js} +2 -2
- package/dist/bundle/{chunk-KIZYN3NG.js → chunk-GZLCZU5B.js} +5 -5
- package/dist/bundle/{chunk-MVDP7VL6.js → chunk-H2QTUZ3C.js} +1 -1
- package/dist/bundle/{chunk-4F7WQHDO.js → chunk-HZCINHHS.js} +1 -1
- package/dist/bundle/{chunk-A3YXTDTP.js → chunk-HZL3X4XR.js} +15 -15
- package/dist/bundle/{chunk-D3J4T5OZ.js → chunk-I3BQ2QIY.js} +12 -12
- package/dist/bundle/{chunk-YNI57LTZ.js → chunk-I5Y6Y7Q5.js} +1 -1
- package/dist/bundle/{chunk-FL2TKSZY.js → chunk-ITU6K7LU.js} +1 -1
- package/dist/bundle/{chunk-T7A6HSBF.js → chunk-JLIVJSCF.js} +1 -1
- package/dist/bundle/{chunk-J5PUHGK2.js → chunk-JYGFEMTR.js} +1 -1
- package/dist/bundle/{chunk-2M7PPII5.js → chunk-KPFB2VUY.js} +745 -336
- package/dist/bundle/{chunk-3ECFSRLQ.js → chunk-LGDJDD5J.js} +3 -3
- package/dist/bundle/{chunk-GCSFZTRI.js → chunk-MS5XYEYW.js} +9 -5
- package/dist/bundle/{chunk-3HCEKXXB.js → chunk-NEJU74O4.js} +6 -6
- package/dist/bundle/{chunk-E2SL7HIZ.js → chunk-NUN7DBR4.js} +9 -9
- package/dist/bundle/{chunk-TIMBTN5Z.js → chunk-NV3WPD3B.js} +5 -5
- package/dist/bundle/{chunk-DBI22GQL.js → chunk-NYQPKZWL.js} +500 -322
- package/dist/bundle/{chunk-6C7SA4LD.js → chunk-OP5ZLH53.js} +57 -54
- package/dist/bundle/{chunk-SN5V6CKH.js → chunk-OXHQNEXU.js} +98 -6
- package/dist/bundle/{chunk-HZUUVNWC.js → chunk-P6CYVOL6.js} +1 -1
- package/dist/bundle/{chunk-GDFJKUMK.js → chunk-PIXFZZUZ.js} +6 -6
- package/dist/bundle/{chunk-WHS3CTTM.js → chunk-PZL7DHVJ.js} +7 -7
- package/dist/bundle/{chunk-CWAA73PJ.js → chunk-QANXOKYQ.js} +5 -5
- package/dist/bundle/{chunk-LM4K6K2R.js → chunk-QSXJ2BVQ.js} +4 -4
- package/dist/bundle/{chunk-HVJ2WQI7.js → chunk-QVGCHTTU.js} +10 -10
- package/dist/bundle/{chunk-R3IFRHZ2.js → chunk-S2QO6KUI.js} +2 -2
- package/dist/bundle/{chunk-BOGGQOVO.js → chunk-SQA5JI7Q.js} +1 -1
- package/dist/bundle/{chunk-K5FTIIYR.js → chunk-T72DWT37.js} +4 -4
- package/dist/bundle/{chunk-GXKFRZUP.js → chunk-THZHNCJP.js} +3 -3
- package/dist/bundle/{chunk-RLPWLGP6.js → chunk-TUXNILKR.js} +7 -7
- package/dist/bundle/{chunk-L2D5QYI3.js → chunk-UFMR2TB3.js} +2 -2
- package/dist/bundle/{chunk-NV2REPY6.js → chunk-WZGFC7D5.js} +1 -1
- package/dist/bundle/{command-contract-ETECA2AC.js → command-contract-YRNKDQDL.js} +15 -15
- package/dist/bundle/{command-server-entry-BFXRYTBC.js → command-server-entry-A3FCP24M.js} +21 -21
- package/dist/bundle/{decode-4QRYNPD5.js → decode-FI2ISRNZ.js} +2 -2
- package/dist/bundle/{dist-MHJPECI4.js → dist-NLOOZJ64.js} +15 -11
- package/dist/bundle/{echarts-EJXBKCJT.js → echarts-PMAJUJFE.js} +2 -2
- package/dist/bundle/{embed-46WZZMUQ.js → embed-OIMT6SAX.js} +3 -3
- package/dist/bundle/{embedder-56WHJKJE.js → embedder-Q5IF5WIM.js} +6 -6
- package/dist/bundle/{first-run-CATDBOBV.js → first-run-4L53QWOT.js} +6 -6
- package/dist/bundle/first-screen-ZPQLAAIS.js +34 -0
- package/dist/bundle/{instructions-Z7GVGWXS.js → instructions-ZJGGGXOA.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-L2PVEW3N.js → node-DCSOHRD6.js} +2 -2
- package/dist/bundle/{node-sqlite-RIGII7U7.js → node-sqlite-7F77K5JA.js} +4 -4
- package/dist/bundle/{oauth-OWT6NYRS.js → oauth-LVPMEN6M.js} +4 -4
- package/dist/bundle/{open-D3SPYL7O.js → open-XM5LWEN6.js} +2 -2
- package/dist/bundle/{openai-IPTZDMFD.js → openai-H2LCGK22.js} +12 -12
- package/dist/bundle/{process-MNZTQ2DA.js → process-MFC5VSPT.js} +1 -1
- package/dist/bundle/{program-QCHTCOCR.js → program-ZQ43ZYKZ.js} +485 -438
- package/dist/bundle/{prompt-BN6AKRWN.js → prompt-3LZAZNQ4.js} +2 -2
- package/dist/bundle/{recognize-I5TH7OEW.js → recognize-GYQMHFY2.js} +1 -1
- package/dist/bundle/{remote-R324LAUL.js → remote-P2MD5G64.js} +6 -6
- package/dist/bundle/{rerank-ZMGZCUJV.js → rerank-A5X6THV6.js} +4 -4
- package/dist/bundle/{serve-YUFZSNJC.js → serve-IEC3EUKS.js} +6 -6
- package/dist/bundle/{server-54ULZ3RA.js → server-3REPXFNI.js} +43 -41
- package/dist/bundle/server-E2QTFURI.js +67 -0
- package/dist/bundle/{sqlite-runtime-AYQTUQXM.js → sqlite-runtime-AOLQGC5J.js} +3 -3
- package/dist/bundle/{state-PHEBOYYI.js → state-D3P5IXXA.js} +3 -3
- package/dist/bundle/{store-4PHDSXEV.js → store-DIN6OY3K.js} +13 -13
- package/dist/bundle/{store-NGX3A5XT.js → store-MZCQXBVW.js} +15 -15
- package/dist/bundle/store-maintenance-command-UMVFI6M6.js +58 -0
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +73 -22
- package/dist/commands/rules.js.map +1 -1
- package/dist/mail/rules/apply.d.ts.map +1 -1
- package/dist/mail/rules/apply.js +1 -9
- package/dist/mail/rules/apply.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/chunk-IJONJTST.js +0 -76
- package/dist/bundle/first-screen-WCDR3QUR.js +0 -34
- package/dist/bundle/server-UD75CYDG.js +0 -68
- package/dist/bundle/store-maintenance-command-WHBIV6HC.js +0 -58
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MS5XYEYW.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-TUXNILKR.js";
|
|
27
27
|
import {
|
|
28
28
|
carries
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SQA5JI7Q.js";
|
|
30
30
|
import {
|
|
31
31
|
permissionCeiling
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4ME2NHNJ.js";
|
|
33
33
|
import {
|
|
34
34
|
note
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BKRIIZPV.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-FYP2M6IT.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-KPFB2VUY.js";
|
|
116
116
|
import {
|
|
117
117
|
isCliFailure,
|
|
118
118
|
storeDamaged
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-5YRR52NH.js";
|
|
120
120
|
import {
|
|
121
121
|
endpoint
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-DWBY7DMF.js";
|
|
123
123
|
import {
|
|
124
124
|
readSharedSection,
|
|
125
125
|
repairConfigText,
|
|
126
126
|
sharedConfigPath,
|
|
127
127
|
writeSharedSection
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-GZLCZU5B.js";
|
|
129
129
|
import {
|
|
130
130
|
filesPresent,
|
|
131
131
|
sharedModelsDirectory
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-LGDJDD5J.js";
|
|
133
133
|
import {
|
|
134
134
|
storePath
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-BNP7WLDQ.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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/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" };
|
|
@@ -6373,7 +6373,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6373
6373
|
throw readOnlyRefusal(lock, what);
|
|
6374
6374
|
}, "refuseUnderReadOnly");
|
|
6375
6375
|
|
|
6376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
6377
6377
|
var account = strictObject({
|
|
6378
6378
|
provider: text,
|
|
6379
6379
|
id,
|
|
@@ -6383,7 +6383,7 @@ var account = strictObject({
|
|
|
6383
6383
|
scope: optional(picklist(["personal", "work"]))
|
|
6384
6384
|
});
|
|
6385
6385
|
|
|
6386
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6386
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
6387
6387
|
var accountSession = strictObject({
|
|
6388
6388
|
current: boolean(),
|
|
6389
6389
|
client: nullable(text),
|
|
@@ -6393,7 +6393,7 @@ var accountSession = strictObject({
|
|
|
6393
6393
|
created_at: optional(nullable(time))
|
|
6394
6394
|
});
|
|
6395
6395
|
|
|
6396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
6397
6397
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
6398
6398
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
6399
6399
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -6422,7 +6422,7 @@ var accountRemoval = strictObject({
|
|
|
6422
6422
|
kept: array(strictObject({ kind: removalKind, target: text, reason: text }))
|
|
6423
6423
|
});
|
|
6424
6424
|
|
|
6425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
6426
6426
|
var accountProfile = strictObject({
|
|
6427
6427
|
profile: id,
|
|
6428
6428
|
current: boolean(),
|
|
@@ -6434,7 +6434,7 @@ var accountProfile = strictObject({
|
|
|
6434
6434
|
bot: optional(literal(true))
|
|
6435
6435
|
});
|
|
6436
6436
|
|
|
6437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6437
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
6438
6438
|
var milliseconds = pipe(number(), minValue(0));
|
|
6439
6439
|
var counterReading = strictObject({
|
|
6440
6440
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -6446,7 +6446,7 @@ var counterReading = strictObject({
|
|
|
6446
6446
|
});
|
|
6447
6447
|
var selection = record(string(), unknown());
|
|
6448
6448
|
|
|
6449
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6449
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
6450
6450
|
var adminRow = strictObject({
|
|
6451
6451
|
ref: reference,
|
|
6452
6452
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -6499,7 +6499,7 @@ var adminReport = strictObject({
|
|
|
6499
6499
|
rows: array(adminRow)
|
|
6500
6500
|
});
|
|
6501
6501
|
|
|
6502
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6502
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6503
6503
|
var closeSuggestion = strictObject({
|
|
6504
6504
|
as: picklist(["done", "dismissed"]),
|
|
6505
6505
|
/** The agent's name. */
|
|
@@ -6561,7 +6561,7 @@ var task = strictObject({
|
|
|
6561
6561
|
updated_at: optional(time)
|
|
6562
6562
|
});
|
|
6563
6563
|
|
|
6564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6565
6565
|
var agendaChat = strictObject({
|
|
6566
6566
|
chat: reference,
|
|
6567
6567
|
title: nullable(text),
|
|
@@ -6631,11 +6631,11 @@ var agenda = strictObject({
|
|
|
6631
6631
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6632
6632
|
});
|
|
6633
6633
|
|
|
6634
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
6635
6635
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
6636
6636
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
6637
6637
|
|
|
6638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6639
6639
|
var attachment = strictObject({
|
|
6640
6640
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6641
6641
|
message: optional(reference),
|
|
@@ -6680,7 +6680,7 @@ var hitFile = strictObject({
|
|
|
6680
6680
|
local_path: optional(text)
|
|
6681
6681
|
});
|
|
6682
6682
|
|
|
6683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
6684
6684
|
var actionableError = objectWithRest({
|
|
6685
6685
|
code: text,
|
|
6686
6686
|
message: text,
|
|
@@ -6697,7 +6697,7 @@ var batchResult = strictObject({
|
|
|
6697
6697
|
max_error_percent: count
|
|
6698
6698
|
});
|
|
6699
6699
|
|
|
6700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6700
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
6701
6701
|
var extractionItem = strictObject({
|
|
6702
6702
|
ref: reference,
|
|
6703
6703
|
attachment: count,
|
|
@@ -6730,7 +6730,7 @@ var extractionReport = strictObject({
|
|
|
6730
6730
|
cursor: optional(text)
|
|
6731
6731
|
});
|
|
6732
6732
|
|
|
6733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
6734
6734
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
6735
6735
|
var attachmentBytes = strictObject({
|
|
6736
6736
|
ref: reference,
|
|
@@ -6761,7 +6761,7 @@ var attachmentTextChange = strictObject({
|
|
|
6761
6761
|
text: optional(text)
|
|
6762
6762
|
});
|
|
6763
6763
|
|
|
6764
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6765
6765
|
var WEIGHTS = {
|
|
6766
6766
|
bot: 3,
|
|
6767
6767
|
scam: 3,
|
|
@@ -6786,7 +6786,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6786
6786
|
var DIGITS = /\d{5,}/;
|
|
6787
6787
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6788
6788
|
|
|
6789
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
6790
6790
|
var linkedIdentity = strictObject({
|
|
6791
6791
|
provider: text,
|
|
6792
6792
|
id,
|
|
@@ -6841,7 +6841,7 @@ var contactCheck = strictObject({
|
|
|
6841
6841
|
checked_at: time
|
|
6842
6842
|
});
|
|
6843
6843
|
|
|
6844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
6845
6845
|
var member = strictObject({
|
|
6846
6846
|
id,
|
|
6847
6847
|
name: nullable(text),
|
|
@@ -6864,7 +6864,7 @@ var member = strictObject({
|
|
|
6864
6864
|
check: optional(record(string(), unknown()))
|
|
6865
6865
|
});
|
|
6866
6866
|
|
|
6867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6867
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
6868
6868
|
var setting = optional(nullable(boolean()));
|
|
6869
6869
|
var chat = strictObject({
|
|
6870
6870
|
ref: reference,
|
|
@@ -6905,7 +6905,7 @@ var chat = strictObject({
|
|
|
6905
6905
|
members: optional(array(member))
|
|
6906
6906
|
});
|
|
6907
6907
|
|
|
6908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6908
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
6909
6909
|
var quoted = strictObject({
|
|
6910
6910
|
id,
|
|
6911
6911
|
sender_id: nullable(id),
|
|
@@ -7024,7 +7024,7 @@ var message = strictObject({
|
|
|
7024
7024
|
provider_metadata: providerMetadata
|
|
7025
7025
|
});
|
|
7026
7026
|
|
|
7027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/recorded-meeting.js
|
|
7028
7028
|
var recordedMeeting = strictObject({
|
|
7029
7029
|
ref: reference,
|
|
7030
7030
|
meeting_id: count,
|
|
@@ -7037,7 +7037,7 @@ var recordedMeeting = strictObject({
|
|
|
7037
7037
|
people: array(reference)
|
|
7038
7038
|
});
|
|
7039
7039
|
|
|
7040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
7041
7041
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
7042
7042
|
var contextMessage = strictObject({
|
|
7043
7043
|
locator: reference,
|
|
@@ -7243,7 +7243,7 @@ var contactPreparation = strictObject({
|
|
|
7243
7243
|
})
|
|
7244
7244
|
});
|
|
7245
7245
|
|
|
7246
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7246
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/deal.js
|
|
7247
7247
|
var nullableText = nullable(text);
|
|
7248
7248
|
var party = strictObject({ ref: reference, name: nullableText, owner: boolean() });
|
|
7249
7249
|
var outcome = picklist(["open", "won", "lost"]);
|
|
@@ -7354,7 +7354,7 @@ var stage = strictObject({
|
|
|
7354
7354
|
untrusted
|
|
7355
7355
|
});
|
|
7356
7356
|
|
|
7357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/business-context.js
|
|
7358
7358
|
var nullableText2 = nullable(text);
|
|
7359
7359
|
var day2 = nullable(pipe(string(), regex(/^\d{4}-\d{2}-\d{2}$/)));
|
|
7360
7360
|
var standing = picklist(STANDINGS);
|
|
@@ -7528,7 +7528,7 @@ var dealBrief = strictObject({
|
|
|
7528
7528
|
not_read: coverage2.entries.not_read
|
|
7529
7529
|
});
|
|
7530
7530
|
|
|
7531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7531
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
7532
7532
|
var chart = strictObject({
|
|
7533
7533
|
version: literal(1),
|
|
7534
7534
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -7543,7 +7543,7 @@ var chart = strictObject({
|
|
|
7543
7543
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
7544
7544
|
});
|
|
7545
7545
|
|
|
7546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
7547
7547
|
var named = strictObject({
|
|
7548
7548
|
id,
|
|
7549
7549
|
title: nullable(text),
|
|
@@ -7566,7 +7566,7 @@ var folder = strictObject({
|
|
|
7566
7566
|
excluded_chats: optional(array(named))
|
|
7567
7567
|
});
|
|
7568
7568
|
|
|
7569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7569
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
7570
7570
|
var inviteLink = strictObject({
|
|
7571
7571
|
link: text,
|
|
7572
7572
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -7582,7 +7582,7 @@ var inviteLink = strictObject({
|
|
|
7582
7582
|
joined_count: optional(count)
|
|
7583
7583
|
});
|
|
7584
7584
|
|
|
7585
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7585
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
7586
7586
|
var operated = { operation_id: id, chat_id: id };
|
|
7587
7587
|
var group = strictObject({
|
|
7588
7588
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -7662,7 +7662,7 @@ var chatFolderOrder = strictObject({
|
|
|
7662
7662
|
folders: array(strictObject({ id, title: text }))
|
|
7663
7663
|
});
|
|
7664
7664
|
|
|
7665
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
7666
7666
|
var operated2 = { operation_id: id, chat_id: id };
|
|
7667
7667
|
var chatRemoval = strictObject(operated2);
|
|
7668
7668
|
var chatMuting = strictObject({
|
|
@@ -7673,7 +7673,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
7673
7673
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
7674
7674
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
7675
7675
|
|
|
7676
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
7677
7677
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
7678
7678
|
var chatEvent = strictObject({
|
|
7679
7679
|
chat_id: id,
|
|
@@ -7690,7 +7690,7 @@ var chatEvent = strictObject({
|
|
|
7690
7690
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
7691
7691
|
});
|
|
7692
7692
|
|
|
7693
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7693
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
7694
7694
|
var chatMetadata = strictObject({
|
|
7695
7695
|
chat_id: id,
|
|
7696
7696
|
title: nullable(text),
|
|
@@ -7705,7 +7705,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
7705
7705
|
has_more: boolean()
|
|
7706
7706
|
});
|
|
7707
7707
|
|
|
7708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
7709
7709
|
var action = picklist(["report", "delete", "remove"]);
|
|
7710
7710
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
7711
7711
|
var chatRules = strictObject({
|
|
@@ -7742,7 +7742,7 @@ var chatModeration = strictObject({
|
|
|
7742
7742
|
}))
|
|
7743
7743
|
});
|
|
7744
7744
|
|
|
7745
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7745
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
7746
7746
|
var optionalCount = optional(count);
|
|
7747
7747
|
var minutes = nullable(number());
|
|
7748
7748
|
var chatStats = strictObject({
|
|
@@ -7818,7 +7818,7 @@ var taskStats = strictObject({
|
|
|
7818
7818
|
}))
|
|
7819
7819
|
});
|
|
7820
7820
|
|
|
7821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
7822
7822
|
var memberCount = strictObject({
|
|
7823
7823
|
day: pipe(text, isoDate()),
|
|
7824
7824
|
participants: nullable(count),
|
|
@@ -7841,7 +7841,7 @@ var chatTracking = strictObject({
|
|
|
7841
7841
|
tracked: boolean()
|
|
7842
7842
|
});
|
|
7843
7843
|
|
|
7844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
7845
7845
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7846
7846
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
7847
7847
|
var profileFields = {
|
|
@@ -7879,7 +7879,7 @@ var profileFields = {
|
|
|
7879
7879
|
}))
|
|
7880
7880
|
};
|
|
7881
7881
|
|
|
7882
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7882
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
7883
7883
|
var contact = strictObject({
|
|
7884
7884
|
ref: reference,
|
|
7885
7885
|
id,
|
|
@@ -7910,7 +7910,7 @@ var contact = strictObject({
|
|
|
7910
7910
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
7911
7911
|
});
|
|
7912
7912
|
|
|
7913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
7914
7914
|
var contactNote = strictObject({
|
|
7915
7915
|
id,
|
|
7916
7916
|
/** The contact, as a `contact:` reference. */
|
|
@@ -7922,13 +7922,13 @@ var contactNote = strictObject({
|
|
|
7922
7922
|
updated_at: time
|
|
7923
7923
|
});
|
|
7924
7924
|
|
|
7925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
7926
7926
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
7927
7927
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
7928
7928
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
7929
7929
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
7930
7930
|
|
|
7931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
7932
7932
|
var conversation = strictObject({
|
|
7933
7933
|
id,
|
|
7934
7934
|
chat: reference,
|
|
@@ -7943,7 +7943,7 @@ var conversation = strictObject({
|
|
|
7943
7943
|
rules_version: count
|
|
7944
7944
|
});
|
|
7945
7945
|
|
|
7946
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7946
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
7947
7947
|
var conversationBuild = strictObject({
|
|
7948
7948
|
chat: id,
|
|
7949
7949
|
messages: count,
|
|
@@ -7968,7 +7968,7 @@ var catchUpPreparation = strictObject({
|
|
|
7968
7968
|
prepared: optional(conversationPreparation)
|
|
7969
7969
|
});
|
|
7970
7970
|
|
|
7971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
7972
7972
|
var conversationDetails = union([
|
|
7973
7973
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
7974
7974
|
message
|
|
@@ -8058,7 +8058,7 @@ var conversationHit = strictObject({
|
|
|
8058
8058
|
stale: boolean()
|
|
8059
8059
|
});
|
|
8060
8060
|
|
|
8061
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
8062
8062
|
var counters = strictObject({
|
|
8063
8063
|
cutoff: time,
|
|
8064
8064
|
max_age_ms: milliseconds,
|
|
@@ -8088,7 +8088,7 @@ var counterRefresh = strictObject({
|
|
|
8088
8088
|
complete: optional(boolean())
|
|
8089
8089
|
});
|
|
8090
8090
|
|
|
8091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8091
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
8092
8092
|
var document = strictObject({
|
|
8093
8093
|
ref: reference,
|
|
8094
8094
|
id,
|
|
@@ -8103,7 +8103,7 @@ var document = strictObject({
|
|
|
8103
8103
|
owners: optional(array(text))
|
|
8104
8104
|
});
|
|
8105
8105
|
|
|
8106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
8107
8107
|
var documentLink = strictObject({
|
|
8108
8108
|
ref: reference,
|
|
8109
8109
|
url: text,
|
|
@@ -8114,7 +8114,7 @@ var documentLink = strictObject({
|
|
|
8114
8114
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
8115
8115
|
});
|
|
8116
8116
|
|
|
8117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
8118
8118
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
8119
8119
|
var contribution = strictObject({
|
|
8120
8120
|
message: evidenceMessage,
|
|
@@ -8144,7 +8144,7 @@ var retentionStay = strictObject({
|
|
|
8144
8144
|
});
|
|
8145
8145
|
var evidence = union([contribution, retentionStay]);
|
|
8146
8146
|
|
|
8147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
8148
8148
|
var fact = strictObject({
|
|
8149
8149
|
ref: reference,
|
|
8150
8150
|
id,
|
|
@@ -8175,7 +8175,7 @@ var fact = strictObject({
|
|
|
8175
8175
|
updated_at: time
|
|
8176
8176
|
});
|
|
8177
8177
|
|
|
8178
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8178
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
8179
8179
|
var hit = strictObject({
|
|
8180
8180
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting", "deal", "lead", ...BUSINESS_KINDS]),
|
|
8181
8181
|
ref: reference,
|
|
@@ -8223,7 +8223,7 @@ var hit = strictObject({
|
|
|
8223
8223
|
untrusted
|
|
8224
8224
|
});
|
|
8225
8225
|
|
|
8226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8226
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
8227
8227
|
var identity = strictObject({
|
|
8228
8228
|
ref: reference,
|
|
8229
8229
|
provider: text,
|
|
@@ -8239,7 +8239,7 @@ var identity = strictObject({
|
|
|
8239
8239
|
person: optional(nullable(reference))
|
|
8240
8240
|
});
|
|
8241
8241
|
|
|
8242
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8242
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
8243
8243
|
var imageEmbedding = strictObject({
|
|
8244
8244
|
model: text,
|
|
8245
8245
|
embedded: count,
|
|
@@ -8248,13 +8248,13 @@ var imageEmbedding = strictObject({
|
|
|
8248
8248
|
more: boolean()
|
|
8249
8249
|
});
|
|
8250
8250
|
|
|
8251
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8252
8252
|
import { spawn } from "node:child_process";
|
|
8253
8253
|
import { randomBytes } from "node:crypto";
|
|
8254
8254
|
import { closeSync, existsSync as existsSync6, mkdirSync as mkdirSync2, openSync, readdirSync as readdirSync3, readFileSync as readFileSync5, realpathSync, rmSync as rmSync2 } from "node:fs";
|
|
8255
8255
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
8256
8256
|
|
|
8257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
8258
8258
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
8259
8259
|
const total = input.total ?? null;
|
|
8260
8260
|
const updated = input.updatedAt ?? null;
|
|
@@ -8270,7 +8270,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
8270
8270
|
};
|
|
8271
8271
|
}, "progressOf");
|
|
8272
8272
|
|
|
8273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
8274
8274
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
8275
8275
|
const run = currentRun();
|
|
8276
8276
|
const trace = traceId ?? run.traceId;
|
|
@@ -8284,7 +8284,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
8284
8284
|
}));
|
|
8285
8285
|
}, "recordLogFor");
|
|
8286
8286
|
|
|
8287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
8288
8288
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
8289
8289
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
8290
8290
|
const out = openSync(log, "a", 384);
|
|
@@ -8439,7 +8439,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
8439
8439
|
return { job: id6, pid, chat: input.chat, log };
|
|
8440
8440
|
}, "startArchiveJob");
|
|
8441
8441
|
|
|
8442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
8443
8443
|
var problem = strictObject({ code: text, message: text });
|
|
8444
8444
|
var job = strictObject({
|
|
8445
8445
|
id,
|
|
@@ -8462,7 +8462,7 @@ var job = strictObject({
|
|
|
8462
8462
|
error: optional(problem)
|
|
8463
8463
|
});
|
|
8464
8464
|
|
|
8465
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8465
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
8466
8466
|
var joinRequest = strictObject({
|
|
8467
8467
|
person_id: id,
|
|
8468
8468
|
name: nullable(text),
|
|
@@ -8473,7 +8473,7 @@ var joinRequest = strictObject({
|
|
|
8473
8473
|
about: optional(text)
|
|
8474
8474
|
});
|
|
8475
8475
|
|
|
8476
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8476
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
8477
8477
|
var botProfile = strictObject({
|
|
8478
8478
|
name: text,
|
|
8479
8479
|
token: text,
|
|
@@ -8597,7 +8597,7 @@ var stickerInventory = strictObject({
|
|
|
8597
8597
|
url: optional(nullable(text))
|
|
8598
8598
|
});
|
|
8599
8599
|
|
|
8600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8600
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
8601
8601
|
var pollVote = strictObject({
|
|
8602
8602
|
person_id: id,
|
|
8603
8603
|
name: nullable(text),
|
|
@@ -8607,7 +8607,7 @@ var pollVote = strictObject({
|
|
|
8607
8607
|
voted_at: time
|
|
8608
8608
|
});
|
|
8609
8609
|
|
|
8610
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
8611
8611
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
8612
8612
|
var observation = strictObject({
|
|
8613
8613
|
value: pipe(number(), minValue(0)),
|
|
@@ -8649,7 +8649,7 @@ var serveSummary = strictObject({
|
|
|
8649
8649
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
8650
8650
|
});
|
|
8651
8651
|
|
|
8652
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/mail-counts.js
|
|
8653
8653
|
var mailCounts = strictObject({
|
|
8654
8654
|
by: picklist(["day", "week", "sender"]),
|
|
8655
8655
|
received: count,
|
|
@@ -8664,7 +8664,7 @@ var mailCounts = strictObject({
|
|
|
8664
8664
|
}))
|
|
8665
8665
|
});
|
|
8666
8666
|
|
|
8667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/mail-findings.js
|
|
8668
8668
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
8669
8669
|
var base = { id, evidence: array(evidence2) };
|
|
8670
8670
|
var finding = variant("kind", [
|
|
@@ -8808,7 +8808,7 @@ var mailFindings = strictObject({
|
|
|
8808
8808
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome2) }))
|
|
8809
8809
|
});
|
|
8810
8810
|
|
|
8811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
8812
8812
|
var mediaArchive = strictObject({
|
|
8813
8813
|
directory: text,
|
|
8814
8814
|
chats: count,
|
|
@@ -8840,7 +8840,7 @@ var mediaArchiveTimer = union([
|
|
|
8840
8840
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
8841
8841
|
]);
|
|
8842
8842
|
|
|
8843
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8843
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
8844
8844
|
var preparationId = pipe(string(), minLength(1));
|
|
8845
8845
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
8846
8846
|
var preparationTime = nullable(isoTime);
|
|
@@ -8932,7 +8932,7 @@ var preparationMeeting = strictObject({
|
|
|
8932
8932
|
updated_at: isoTime
|
|
8933
8933
|
});
|
|
8934
8934
|
|
|
8935
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8935
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
8936
8936
|
var meetingEvidence = preparationEvidence;
|
|
8937
8937
|
var meetingPersonContext = strictObject({
|
|
8938
8938
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -8954,7 +8954,7 @@ var meetingPersonContext = strictObject({
|
|
|
8954
8954
|
})
|
|
8955
8955
|
});
|
|
8956
8956
|
|
|
8957
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
8958
8958
|
var evidence3 = strictObject({ reference, fingerprint: text });
|
|
8959
8959
|
var base2 = { id, project: reference, evidence: array(evidence3) };
|
|
8960
8960
|
var finding2 = variant("kind", [
|
|
@@ -8992,7 +8992,7 @@ var meetingFindings = strictObject({
|
|
|
8992
8992
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome3) }))
|
|
8993
8993
|
});
|
|
8994
8994
|
|
|
8995
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8995
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
8996
8996
|
var communicationCoverage = strictObject({
|
|
8997
8997
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
8998
8998
|
query: string(),
|
|
@@ -9037,7 +9037,7 @@ var preparationCommunications = strictObject({
|
|
|
9037
9037
|
}))
|
|
9038
9038
|
});
|
|
9039
9039
|
|
|
9040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
9041
9041
|
var meetingPreparation = strictObject({
|
|
9042
9042
|
communications: optional(preparationCommunications),
|
|
9043
9043
|
schema_version: literal(1),
|
|
@@ -9150,7 +9150,7 @@ var meetingPreparation = strictObject({
|
|
|
9150
9150
|
})
|
|
9151
9151
|
});
|
|
9152
9152
|
|
|
9153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
9154
9154
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
9155
9155
|
var id3 = pipe(string(), minLength(1));
|
|
9156
9156
|
var text3 = string();
|
|
@@ -9214,7 +9214,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
9214
9214
|
})
|
|
9215
9215
|
});
|
|
9216
9216
|
|
|
9217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
9218
9218
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
9219
9219
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
9220
9220
|
var meetingSeriesInventory = strictObject({
|
|
@@ -9244,7 +9244,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
9244
9244
|
})
|
|
9245
9245
|
});
|
|
9246
9246
|
|
|
9247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
9248
9248
|
var text4 = string();
|
|
9249
9249
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
9250
9250
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -9261,7 +9261,7 @@ var meetingTaskProposal = strictObject({
|
|
|
9261
9261
|
persistence: literal("proposal-only")
|
|
9262
9262
|
});
|
|
9263
9263
|
|
|
9264
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9264
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
9265
9265
|
var memory = strictObject({
|
|
9266
9266
|
ref: reference,
|
|
9267
9267
|
id,
|
|
@@ -9289,7 +9289,7 @@ var memory = strictObject({
|
|
|
9289
9289
|
updated_at: time
|
|
9290
9290
|
});
|
|
9291
9291
|
|
|
9292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
9293
9293
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
9294
9294
|
var status = picklist(["found", "linked", "proposed", "dismissed"]);
|
|
9295
9295
|
var mention = strictObject({
|
|
@@ -9333,13 +9333,13 @@ var mentionRebuild = strictObject({
|
|
|
9333
9333
|
mentions: count
|
|
9334
9334
|
});
|
|
9335
9335
|
|
|
9336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
9337
9337
|
var operated3 = { operation_id: id, chat_id: id };
|
|
9338
9338
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
9339
9339
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
9340
9340
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
9341
9341
|
|
|
9342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
9343
9343
|
var messageTranscript = strictObject({
|
|
9344
9344
|
message_id: id,
|
|
9345
9345
|
text,
|
|
@@ -9397,7 +9397,7 @@ var evidencePacket = strictObject({
|
|
|
9397
9397
|
}))
|
|
9398
9398
|
});
|
|
9399
9399
|
|
|
9400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
9401
9401
|
var messageThread = strictObject({
|
|
9402
9402
|
ref: reference,
|
|
9403
9403
|
chat: id,
|
|
@@ -9414,7 +9414,7 @@ var messageThread = strictObject({
|
|
|
9414
9414
|
});
|
|
9415
9415
|
var messageContext = union([message, messageThread]);
|
|
9416
9416
|
|
|
9417
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9417
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
9418
9418
|
var messageCounts = strictObject({
|
|
9419
9419
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
9420
9420
|
total: count,
|
|
@@ -9427,7 +9427,7 @@ var messageCounts = strictObject({
|
|
|
9427
9427
|
}))
|
|
9428
9428
|
});
|
|
9429
9429
|
|
|
9430
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9430
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
9431
9431
|
var messageLink = strictObject({
|
|
9432
9432
|
ref: reference,
|
|
9433
9433
|
url: nullable(text),
|
|
@@ -9444,7 +9444,7 @@ var messageLink = strictObject({
|
|
|
9444
9444
|
})))
|
|
9445
9445
|
});
|
|
9446
9446
|
|
|
9447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9447
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
9448
9448
|
var savedMessageFile = strictObject({
|
|
9449
9449
|
kind: text,
|
|
9450
9450
|
path: text,
|
|
@@ -9531,7 +9531,7 @@ var messageSyncAll = strictObject({
|
|
|
9531
9531
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
9532
9532
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
9533
9533
|
|
|
9534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
9535
9535
|
var messageWrite = strictObject({
|
|
9536
9536
|
operation_id: id,
|
|
9537
9537
|
message,
|
|
@@ -9546,7 +9546,7 @@ var draftWrite = strictObject({
|
|
|
9546
9546
|
});
|
|
9547
9547
|
var messageSend = union([messageWrite, draftWrite]);
|
|
9548
9548
|
|
|
9549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
9550
9550
|
var model2 = strictObject({
|
|
9551
9551
|
id,
|
|
9552
9552
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -9581,7 +9581,7 @@ var chosenModel = strictObject({
|
|
|
9581
9581
|
estimate_seconds: nullable(count)
|
|
9582
9582
|
});
|
|
9583
9583
|
|
|
9584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
9585
9585
|
var source = picklist(["environment", "keyring", "file"]);
|
|
9586
9586
|
var modelKey = strictObject({
|
|
9587
9587
|
provider: text,
|
|
@@ -9591,7 +9591,7 @@ var modelKey = strictObject({
|
|
|
9591
9591
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
9592
9592
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
9593
9593
|
|
|
9594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
9595
9595
|
var versus = strictObject({ current: number(), previous: number() });
|
|
9596
9596
|
var person = { person_ref: reference, name: nullable(text) };
|
|
9597
9597
|
var graph = strictObject({
|
|
@@ -9625,14 +9625,14 @@ var officialStats = strictObject({
|
|
|
9625
9625
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
9626
9626
|
});
|
|
9627
9627
|
|
|
9628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
9629
9629
|
var person2 = strictObject({
|
|
9630
9630
|
ref: reference,
|
|
9631
9631
|
name: nullable(text),
|
|
9632
9632
|
identities: optional(array(identity))
|
|
9633
9633
|
});
|
|
9634
9634
|
|
|
9635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
9636
9636
|
var poll = strictObject({
|
|
9637
9637
|
chat_id: id,
|
|
9638
9638
|
message_id: id,
|
|
@@ -9648,11 +9648,11 @@ var poll = strictObject({
|
|
|
9648
9648
|
});
|
|
9649
9649
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
9650
9650
|
|
|
9651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
9652
9652
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
9653
9653
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
9654
9654
|
|
|
9655
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
9656
9656
|
var figures = record(string(), number());
|
|
9657
9657
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
9658
9658
|
var rankingRow = strictObject({
|
|
@@ -9699,7 +9699,7 @@ var ranking = strictObject({
|
|
|
9699
9699
|
rows: array(rankingRow)
|
|
9700
9700
|
});
|
|
9701
9701
|
|
|
9702
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
9703
9703
|
var reaction = strictObject({
|
|
9704
9704
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
9705
9705
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -9707,7 +9707,7 @@ var reaction = strictObject({
|
|
|
9707
9707
|
reacted_at: time
|
|
9708
9708
|
});
|
|
9709
9709
|
|
|
9710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
9711
9711
|
var reactionChange = strictObject({
|
|
9712
9712
|
operation_id: id,
|
|
9713
9713
|
chat_id: id,
|
|
@@ -9715,7 +9715,7 @@ var reactionChange = strictObject({
|
|
|
9715
9715
|
reaction: nullable(text)
|
|
9716
9716
|
});
|
|
9717
9717
|
|
|
9718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
9719
9719
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
9720
9720
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
9721
9721
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -9726,7 +9726,7 @@ var recipientChange = strictObject({
|
|
|
9726
9726
|
...partial(recipientOff).entries
|
|
9727
9727
|
});
|
|
9728
9728
|
|
|
9729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9729
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
9730
9730
|
var events = array(record(string(), unknown()));
|
|
9731
9731
|
var recordedRun = strictObject({
|
|
9732
9732
|
run_id: id,
|
|
@@ -9798,7 +9798,7 @@ var runHit = strictObject({
|
|
|
9798
9798
|
});
|
|
9799
9799
|
var runLocation = strictObject({ path: text });
|
|
9800
9800
|
|
|
9801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
9802
9802
|
var relationship = strictObject({
|
|
9803
9803
|
id,
|
|
9804
9804
|
from: reference,
|
|
@@ -9825,7 +9825,7 @@ var relationship = strictObject({
|
|
|
9825
9825
|
created_at: time
|
|
9826
9826
|
});
|
|
9827
9827
|
|
|
9828
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/reply-stats.js
|
|
9829
9829
|
var milliseconds2 = nullable(pipe(number(), minValue(0)));
|
|
9830
9830
|
var figures2 = { replies: count, median_ms: milliseconds2, p90_ms: milliseconds2, mean_ms: milliseconds2 };
|
|
9831
9831
|
var responseTimes = strictObject({
|
|
@@ -9842,7 +9842,7 @@ var waitingChats = strictObject({
|
|
|
9842
9842
|
by_kind: strictObject({ private: count, group: count })
|
|
9843
9843
|
});
|
|
9844
9844
|
|
|
9845
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
9846
9846
|
var retentionCohort = strictObject({
|
|
9847
9847
|
/** The first day of the joining day or week. */
|
|
9848
9848
|
cohort: text,
|
|
@@ -9890,7 +9890,7 @@ var retention = strictObject({
|
|
|
9890
9890
|
rows: array(retentionCohort)
|
|
9891
9891
|
});
|
|
9892
9892
|
|
|
9893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
9894
9894
|
var savedSearch = strictObject({
|
|
9895
9895
|
id,
|
|
9896
9896
|
/** `null` for a run in the history. */
|
|
@@ -9907,7 +9907,7 @@ var savedSearch = strictObject({
|
|
|
9907
9907
|
});
|
|
9908
9908
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
9909
9909
|
|
|
9910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
9911
9911
|
var sendAttempt = strictObject({
|
|
9912
9912
|
at: time,
|
|
9913
9913
|
profile: text,
|
|
@@ -9935,7 +9935,7 @@ var sendAttempt = strictObject({
|
|
|
9935
9935
|
error_code: optional(text)
|
|
9936
9936
|
});
|
|
9937
9937
|
|
|
9938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
9939
9939
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
9940
9940
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
9941
9941
|
var infoSchema = strictObject({
|
|
@@ -10165,7 +10165,7 @@ var storeRepair = union([
|
|
|
10165
10165
|
]);
|
|
10166
10166
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
10167
10167
|
|
|
10168
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10168
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
10169
10169
|
var range = strictObject({ from: number(), to: number() });
|
|
10170
10170
|
var storeChatStatus = strictObject({
|
|
10171
10171
|
chat_id: id,
|
|
@@ -10263,7 +10263,7 @@ var storeJobRetry = union([
|
|
|
10263
10263
|
]);
|
|
10264
10264
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
10265
10265
|
|
|
10266
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
10267
10267
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
10268
10268
|
var storeTable = strictObject({
|
|
10269
10269
|
name: text,
|
|
@@ -10272,7 +10272,7 @@ var storeTable = strictObject({
|
|
|
10272
10272
|
bytes: optional(nullable(count))
|
|
10273
10273
|
});
|
|
10274
10274
|
|
|
10275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
10276
10276
|
var tagTarget = variant("type", [
|
|
10277
10277
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
10278
10278
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -10303,7 +10303,7 @@ var automaticTags = strictObject({
|
|
|
10303
10303
|
dry_run: boolean()
|
|
10304
10304
|
});
|
|
10305
10305
|
|
|
10306
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
10307
10307
|
var tagging = strictObject({
|
|
10308
10308
|
tag: text,
|
|
10309
10309
|
type: picklist(TAG_TYPES),
|
|
@@ -10316,7 +10316,7 @@ var tagging = strictObject({
|
|
|
10316
10316
|
created_at: time
|
|
10317
10317
|
});
|
|
10318
10318
|
|
|
10319
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10319
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
10320
10320
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
10321
10321
|
var taskPair = strictObject({
|
|
10322
10322
|
task: nullable(side),
|
|
@@ -10339,7 +10339,7 @@ var taskPair = strictObject({
|
|
|
10339
10339
|
created_at: time
|
|
10340
10340
|
});
|
|
10341
10341
|
|
|
10342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
10343
10343
|
var nullableTime = nullable(time);
|
|
10344
10344
|
var link = strictObject({
|
|
10345
10345
|
id,
|
|
@@ -10513,7 +10513,7 @@ var taskReview = strictObject({
|
|
|
10513
10513
|
untrusted
|
|
10514
10514
|
});
|
|
10515
10515
|
|
|
10516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/template.js
|
|
10517
10517
|
var template = strictObject({
|
|
10518
10518
|
key: text,
|
|
10519
10519
|
channel: picklist(["telegram", "email", "text"]),
|
|
@@ -10525,7 +10525,7 @@ var template = strictObject({
|
|
|
10525
10525
|
updated_by: nullable(text)
|
|
10526
10526
|
});
|
|
10527
10527
|
|
|
10528
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10528
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
10529
10529
|
var topic = strictObject({
|
|
10530
10530
|
id,
|
|
10531
10531
|
title: text,
|
|
@@ -10539,7 +10539,7 @@ var topic = strictObject({
|
|
|
10539
10539
|
untrusted
|
|
10540
10540
|
});
|
|
10541
10541
|
|
|
10542
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
10543
10543
|
var ENTITIES = {
|
|
10544
10544
|
sync_progress: progress,
|
|
10545
10545
|
deal,
|
|
@@ -10834,7 +10834,7 @@ var entityDefinitions = /* @__PURE__ */ __name(() => Object.fromEntries(Object.e
|
|
|
10834
10834
|
return [name, definition];
|
|
10835
10835
|
})), "entityDefinitions");
|
|
10836
10836
|
|
|
10837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10837
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
|
|
10838
10838
|
var schemas = /* @__PURE__ */ new WeakMap();
|
|
10839
10839
|
var answerEntity = /* @__PURE__ */ __name((command, name, schema2, options = {}) => {
|
|
10840
10840
|
if (Object.hasOwn(ENTITIES, name))
|
|
@@ -10868,7 +10868,7 @@ var answerRow = /* @__PURE__ */ __name((command) => {
|
|
|
10868
10868
|
return own && metaOf(command).output?.entity === own.name ? own.row : void 0;
|
|
10869
10869
|
}, "answerRow");
|
|
10870
10870
|
|
|
10871
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10871
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
10872
10872
|
import { join as join6 } from "node:path";
|
|
10873
10873
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
10874
10874
|
var IMAGE_MODELS = [
|
|
@@ -10922,7 +10922,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
10922
10922
|
var placedImage = /* @__PURE__ */ __name((model3, directory) => model3.files.map((file) => [file, join6(directory, model3.id, file.name)]), "placedImage");
|
|
10923
10923
|
var isImageModelInstalled = /* @__PURE__ */ __name((model3, directory) => filesPresent(placedImage(model3, directory)), "isImageModelInstalled");
|
|
10924
10924
|
|
|
10925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
10926
10926
|
var STEPS2 = defineSteps([
|
|
10927
10927
|
...STEPS,
|
|
10928
10928
|
{
|
|
@@ -11212,7 +11212,7 @@ var stepLine = /* @__PURE__ */ __name((root, step2) => {
|
|
|
11212
11212
|
].join(" ");
|
|
11213
11213
|
}, "stepLine");
|
|
11214
11214
|
|
|
11215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/project-status-rows.js
|
|
11216
11216
|
var where = [{ field: "ref" }];
|
|
11217
11217
|
var who2 = { field: ["who.owner", "who.name"], tag: "you" };
|
|
11218
11218
|
var ON_CHAT_ROW = /* @__PURE__ */ new Set(["reply-next", "coverage"]);
|
|
@@ -11304,7 +11304,7 @@ var STATUS_ROWS = {
|
|
|
11304
11304
|
"status.failed": { columns: [{ field: "signal" }], text: ["why"] }
|
|
11305
11305
|
};
|
|
11306
11306
|
|
|
11307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/compact.js
|
|
11308
11308
|
var TEXT_CHARS = 400;
|
|
11309
11309
|
var sender = { field: ["sender_is_me", "sender_name"], tag: "me" };
|
|
11310
11310
|
var messageRow = {
|
|
@@ -11672,7 +11672,7 @@ var compactText = /* @__PURE__ */ __name((body, shape, options, rowsOf = rowsOfE
|
|
|
11672
11672
|
return lines.concat(footerOf(body)).join("\n");
|
|
11673
11673
|
}, "compactText");
|
|
11674
11674
|
|
|
11675
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11675
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/output-budget.js
|
|
11676
11676
|
var SOFT_OUTPUT_BYTES = 256 * 1024;
|
|
11677
11677
|
var CARRIED = ["json", "compact", "offline", "timeout", "full", "brief", "maxOutputBytes"];
|
|
11678
11678
|
var NOT_WITH_COMPACT = /* @__PURE__ */ new Set(["json", "brief"]);
|
|
@@ -11730,7 +11730,7 @@ var largeAnswerSteps = /* @__PURE__ */ __name((command) => {
|
|
|
11730
11730
|
return args ? compactStep(command, args, "the answer is large as JSON; one line per item keeps every ref") : [];
|
|
11731
11731
|
}, "largeAnswerSteps");
|
|
11732
11732
|
|
|
11733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11733
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
11734
11734
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
11735
11735
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
11736
11736
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -11744,7 +11744,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
11744
11744
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
11745
11745
|
}, "strip");
|
|
11746
11746
|
|
|
11747
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/untrusted-marks.js
|
|
11748
11748
|
var OPEN = "\u27E6";
|
|
11749
11749
|
var CLOSE = "\u27E7";
|
|
11750
11750
|
var untrustedMarkOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -11828,7 +11828,7 @@ var withFieldsMarked = /* @__PURE__ */ __name((value, fields, mark, id6) => {
|
|
|
11828
11828
|
return result;
|
|
11829
11829
|
}, "withFieldsMarked");
|
|
11830
11830
|
|
|
11831
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.661.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_df14b19e105bc4fb805918d3d486e7fb/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
11832
11832
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
11833
11833
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
11834
11834
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|