@wirecat/cli-memo 0.131.55 → 0.131.57
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/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-PJR2VHDP.js → all-profiles-XWRUFNP2.js} +7 -7
- package/dist/bundle/{anthropic-ZUDIWREK.js → anthropic-266QJJGV.js} +5 -5
- package/dist/bundle/{app-server-EYNQ4L2V.js → app-server-YV3D7PPC.js} +38 -38
- package/dist/bundle/auto-B7SEJAR5.js +86 -0
- package/dist/bundle/{bun-W2ZP6I6Z.js → bun-22MM6T54.js} +2 -2
- package/dist/bundle/{bun-sqlite-T2CTJ6AR.js → bun-sqlite-V73FFF2C.js} +4 -4
- package/dist/bundle/{chunk-MGDBKE7E.js → chunk-2CF2R7SA.js} +7 -7
- package/dist/bundle/{chunk-VQTU4ILC.js → chunk-2LPPNYOZ.js} +1 -1
- package/dist/bundle/{chunk-6NJ5OI2S.js → chunk-3BWYMNWP.js} +1 -1
- package/dist/bundle/{chunk-2NVP4FZH.js → chunk-3N7LEJRT.js} +2 -2
- package/dist/bundle/{chunk-T5WGWLY2.js → chunk-4K2ECEHT.js} +11 -11
- package/dist/bundle/{chunk-4335SGVD.js → chunk-4XKHXETB.js} +7007 -2683
- package/dist/bundle/{chunk-7ZO2LAFF.js → chunk-5FYDQEM7.js} +5 -5
- package/dist/bundle/{chunk-IVDBHH3N.js → chunk-6FABO4WB.js} +1 -1
- package/dist/bundle/{chunk-WYZDNDQ5.js → chunk-6WWF4RST.js} +734 -491
- package/dist/bundle/{chunk-OSPAMIIY.js → chunk-72ZEEKOJ.js} +3 -3
- package/dist/bundle/{chunk-MZMJALJT.js → chunk-ASWLM74P.js} +2 -2
- package/dist/bundle/{chunk-5UM2OEOR.js → chunk-ATEHG5O6.js} +2 -2
- package/dist/bundle/{chunk-JBQP2M7J.js → chunk-BLCYVRW3.js} +8 -8
- package/dist/bundle/{chunk-PSJB456T.js → chunk-CQPMBTB6.js} +1 -1
- package/dist/bundle/{chunk-ZTM4UUCP.js → chunk-D7FZIH5H.js} +10 -10
- package/dist/bundle/{chunk-O7CBAY6J.js → chunk-DQWHLOKG.js} +4 -4
- package/dist/bundle/{chunk-MU4MPJCU.js → chunk-DUBGCFRO.js} +3 -3
- package/dist/bundle/{chunk-WLKDS65F.js → chunk-EMNQPMZO.js} +1 -1
- package/dist/bundle/{chunk-LCE5LBZC.js → chunk-EQQIUVLP.js} +4 -4
- package/dist/bundle/{chunk-4VQ7FPNW.js → chunk-EUE76Q4D.js} +3 -3
- package/dist/bundle/{chunk-JGY2PJ3N.js → chunk-F5DOQOCK.js} +12 -12
- package/dist/bundle/{chunk-OKERVM3M.js → chunk-FG7ZGEZ6.js} +4 -4
- package/dist/bundle/{chunk-26QKDK5P.js → chunk-FU3XDL34.js} +5 -5
- package/dist/bundle/{chunk-3MWNNJII.js → chunk-G3QR3IYN.js} +9 -9
- package/dist/bundle/{chunk-VXZ7FWKU.js → chunk-GBOES7QS.js} +3 -3
- package/dist/bundle/{chunk-KTVYCPJW.js → chunk-HVHUHYNF.js} +1 -1
- package/dist/bundle/{chunk-LWWJW5V7.js → chunk-IRTWA4KO.js} +6 -6
- package/dist/bundle/{chunk-P5UTNYA7.js → chunk-IY7GB2SJ.js} +2 -2
- package/dist/bundle/{chunk-KK2ATSEC.js → chunk-JYUNAC6P.js} +7 -7
- package/dist/bundle/{chunk-IRFHHNSX.js → chunk-KZDKFYIF.js} +320 -182
- package/dist/bundle/{chunk-MFVZXEQN.js → chunk-L3GFAQFP.js} +22 -22
- package/dist/bundle/{chunk-DIFRVXKQ.js → chunk-MV6ZSBA3.js} +1124 -435
- package/dist/bundle/{chunk-MV5W4FLV.js → chunk-N2TGYTKE.js} +1 -1
- package/dist/bundle/{chunk-UBZN4EWJ.js → chunk-NDCURVJS.js} +5 -5
- package/dist/bundle/{chunk-VPCNLTME.js → chunk-NEWKSMXP.js} +2 -2
- package/dist/bundle/{chunk-ACSHPLHQ.js → chunk-NFAF27AD.js} +7 -7
- package/dist/bundle/{chunk-AYY5CYJJ.js → chunk-ONJNZ2RJ.js} +1 -1
- package/dist/bundle/{chunk-RSBROHX4.js → chunk-OROO3KYQ.js} +2 -2
- package/dist/bundle/{chunk-MMWIVZ7F.js → chunk-P7L4FG5S.js} +2 -2
- package/dist/bundle/{chunk-PHP3T567.js → chunk-PBVG3KJR.js} +3 -3
- package/dist/bundle/{chunk-B5VQSSL2.js → chunk-PE7RYCI4.js} +14 -14
- package/dist/bundle/{chunk-YHHR7NQ3.js → chunk-PHWJBFZ6.js} +33 -33
- package/dist/bundle/{chunk-XD52BEML.js → chunk-QHZTKYHC.js} +5 -5
- package/dist/bundle/{chunk-CADGAURO.js → chunk-QLCPRKFK.js} +29 -29
- package/dist/bundle/{chunk-64JCY7XJ.js → chunk-RCGFSWZE.js} +44 -0
- package/dist/bundle/{chunk-BC7N6IQ6.js → chunk-RJWL3NEL.js} +1 -1
- package/dist/bundle/{chunk-GESLAB4N.js → chunk-RTROEIYE.js} +2 -2
- package/dist/bundle/{chunk-JB43Q2QL.js → chunk-RYDNM3K2.js} +1 -1
- package/dist/bundle/{chunk-IR45YH4T.js → chunk-SMLBSPMG.js} +5 -5
- package/dist/bundle/{chunk-AF2ZDP3M.js → chunk-TB4IRRAC.js} +1 -1
- package/dist/bundle/{chunk-SR3ZNX24.js → chunk-V4BKQWDS.js} +132 -114
- package/dist/bundle/{chunk-RX6JTLKD.js → chunk-VEDOHZEU.js} +7 -7
- package/dist/bundle/{chunk-BEO6VJ2E.js → chunk-WKMLLL2F.js} +106 -96
- package/dist/bundle/{chunk-P3MKPY7D.js → chunk-XC6OYACL.js} +74 -15
- package/dist/bundle/{chunk-FUINFNUC.js → chunk-XEQPZBIH.js} +1 -1
- package/dist/bundle/{chunk-643B3X4D.js → chunk-XLYMVYMU.js} +2 -2
- package/dist/bundle/{chunk-DDD3CXHR.js → chunk-XXOWA66S.js} +31 -24
- package/dist/bundle/{chunk-BSA22I76.js → chunk-YC4KNMOZ.js} +5 -5
- package/dist/bundle/{chunk-34GJQ4ZR.js → chunk-YTAQKOAW.js} +1 -1
- package/dist/bundle/{chunk-VBYV6XQI.js → chunk-Z6RSOFHK.js} +2 -2
- package/dist/bundle/{command-contract-EWPKHGAZ.js → command-contract-DKK56GZX.js} +13 -13
- package/dist/bundle/{decode-UWT3Y66W.js → decode-JHVAOF3N.js} +4 -4
- package/dist/bundle/{dispatch-W4ZVXTJT.js → dispatch-CRYB6Q2V.js} +1 -1
- package/dist/bundle/{echarts-7VGTR45R.js → echarts-KCOXA225.js} +2 -2
- package/dist/bundle/{embed-CM2QSTNK.js → embed-4NYYOVNS.js} +5 -5
- package/dist/bundle/{embedder-CDCAMVV7.js → embedder-SHPWEDIQ.js} +8 -8
- package/dist/bundle/{entry-WHEWBNJL.js → entry-VZE4CVPX.js} +6 -6
- package/dist/bundle/failure-CMZXMZO6.js +66 -0
- package/dist/bundle/{failure-GQHAQVGH.js → failure-ZMQJF3RO.js} +1 -1
- package/dist/bundle/{first-run-ZBIQO5RZ.js → first-run-EKXME7UK.js} +8 -8
- package/dist/bundle/first-screen-QS5PVWDZ.js +30 -0
- package/dist/bundle/{instructions-LYKSTUGQ.js → instructions-ER3ONEOR.js} +1 -1
- package/dist/bundle/mcp-3ABYEJI3.js +90 -0
- package/dist/bundle/memo.js +9 -9
- package/dist/bundle/{node-LFRTSZBZ.js → node-DBZKVPDA.js} +2 -2
- package/dist/bundle/{node-sqlite-Y47T5FTT.js → node-sqlite-UZVU7EXS.js} +5 -5
- package/dist/bundle/{oauth-YM5C6VS3.js → oauth-VEFHKRWG.js} +6 -6
- package/dist/bundle/{open-WPA4DW5G.js → open-XNRAMLOK.js} +4 -4
- package/dist/bundle/{openai-RCPT23DA.js → openai-4XIX5RN2.js} +9 -9
- package/dist/bundle/{process-P2X2KFMR.js → process-EIGF77RB.js} +1 -1
- package/dist/bundle/{program-W35YGVVL.js → program-6ZIWHNZV.js} +103 -70
- package/dist/bundle/{prompt-65WPTVYC.js → prompt-V7RFTWTA.js} +4 -4
- package/dist/bundle/{recognize-MEFMK7HT.js → recognize-7PWWI67V.js} +3 -3
- package/dist/bundle/{remote-4XIR3ZYK.js → remote-NOKKQ2U5.js} +6 -6
- package/dist/bundle/{rerank-YRLAXFFL.js → rerank-X7UWX2ZF.js} +6 -6
- package/dist/bundle/{serve-6SPZH6CY.js → serve-Z6YCLXXP.js} +8 -8
- package/dist/bundle/server-AXMJBL6J.js +61 -0
- package/dist/bundle/server-KABSY3RL.js +48 -0
- package/dist/bundle/{server-7VLGYAOI.js → server-LXD7DXU3.js} +53 -53
- package/dist/bundle/{state-G34NVZ7F.js → state-K5D3BMKT.js} +5 -5
- package/dist/bundle/{store-6U4SYK4Q.js → store-6SZBCSUF.js} +21 -11
- package/dist/bundle/store-maintenance-command-GTMZOLMZ.js +48 -0
- package/dist/bundle/update-63B3BTGO.js +69 -0
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +13 -3
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +5 -1
- package/dist/examples.js.map +1 -1
- package/dist/notes/embed.d.ts +5 -3
- package/dist/notes/embed.d.ts.map +1 -1
- package/dist/notes/embed.js +23 -9
- package/dist/notes/embed.js.map +1 -1
- package/dist/search/answers.d.ts.map +1 -1
- package/dist/search/answers.js +8 -0
- package/dist/search/answers.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/auto-K7FXWNR2.js +0 -86
- package/dist/bundle/failure-PFBL75CT.js +0 -66
- package/dist/bundle/first-screen-CUAY5N6E.js +0 -30
- package/dist/bundle/mcp-I72UY3QP.js +0 -90
- package/dist/bundle/server-FB75UHSF.js +0 -48
- package/dist/bundle/server-IELXA6S2.js +0 -61
- package/dist/bundle/store-maintenance-command-ONVPBZLT.js +0 -48
- package/dist/bundle/update-WJ2N47FV.js +0 -69
- /package/dist/bundle/{chunk-2H36DXV7.js → chunk-SO2HNIPX.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
8
|
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
9
|
var TimeLimitReached = class extends Error {
|
|
10
10
|
static {
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OROO3KYQ.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EMNQPMZO.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
singleLine
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FU3XDL34.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-4ZW6ZJ2V.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
14
14
|
import { setTimeout } from "node:timers/promises";
|
|
15
15
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
16
16
|
var OPENAI_MODELS = {
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PHWJBFZ6.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MV6ZSBA3.js";
|
|
9
9
|
import {
|
|
10
10
|
FETCH,
|
|
11
11
|
annotate,
|
|
12
12
|
overrideSharedContract
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KZDKFYIF.js";
|
|
14
14
|
import {
|
|
15
15
|
latestVersion,
|
|
16
16
|
runUpdate,
|
|
17
17
|
updateNotice
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ASWLM74P.js";
|
|
19
19
|
import {
|
|
20
20
|
APP,
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-P7L4FG5S.js";
|
|
23
23
|
import {
|
|
24
24
|
installerOf
|
|
25
25
|
} from "./chunk-IK6KH3RE.js";
|
|
26
26
|
import {
|
|
27
27
|
createRenderer,
|
|
28
28
|
resolvePaths
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-EMNQPMZO.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
// dist/update.js
|
|
35
35
|
import { join } from "node:path";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
38
38
|
import { realpathSync } from "node:fs";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
var QUIET_WORDS = [
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EMNQPMZO.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { userInfo } from "node:os";
|
|
12
12
|
import { isAbsolute, join, relative, resolve } from "node:path";
|
|
13
13
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
defineReasons
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RCGFSWZE.js";
|
|
6
6
|
|
|
7
7
|
// dist/reasons.js
|
|
8
8
|
var REASONS = defineReasons([
|
|
@@ -102,7 +102,7 @@ var REASONS = defineReasons([
|
|
|
102
102
|
]);
|
|
103
103
|
|
|
104
104
|
// dist/version.js
|
|
105
|
-
var VERSION = "0.131.
|
|
105
|
+
var VERSION = "0.131.57";
|
|
106
106
|
|
|
107
107
|
// dist/app.js
|
|
108
108
|
var APP = {
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XC6OYACL.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RTROEIYE.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6WWF4RST.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_OUTPUT_BYTES,
|
|
24
24
|
ENTITIES,
|
|
@@ -42,26 +42,26 @@ import {
|
|
|
42
42
|
sealed,
|
|
43
43
|
startRecording,
|
|
44
44
|
traceOf
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-KZDKFYIF.js";
|
|
46
46
|
import {
|
|
47
47
|
currentCaller,
|
|
48
48
|
keepsSuccess,
|
|
49
49
|
runContextOf,
|
|
50
50
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-2CF2R7SA.js";
|
|
52
52
|
import {
|
|
53
53
|
queryDescription
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-V4BKQWDS.js";
|
|
55
55
|
import {
|
|
56
56
|
storeDamaged
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-IY7GB2SJ.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_BUFFERED_INPUT
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-CQPMBTB6.js";
|
|
61
61
|
import {
|
|
62
62
|
captureStreams,
|
|
63
63
|
traceIdOf
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-EMNQPMZO.js";
|
|
65
65
|
import {
|
|
66
66
|
COMPACT_FLAG,
|
|
67
67
|
SNAKE_CASE,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
unknown,
|
|
101
101
|
word,
|
|
102
102
|
writes
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-RCGFSWZE.js";
|
|
104
104
|
import {
|
|
105
105
|
CliError,
|
|
106
106
|
errorCodes
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
__name
|
|
110
110
|
} from "./chunk-ZVVMGPBJ.js";
|
|
111
111
|
|
|
112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
113
113
|
import { Readable } from "node:stream";
|
|
114
114
|
|
|
115
115
|
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
@@ -3106,7 +3106,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3106
3106
|
]
|
|
3107
3107
|
});
|
|
3108
3108
|
|
|
3109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3110
3110
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3111
3111
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3112
3112
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3329,7 +3329,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3329
3329
|
}
|
|
3330
3330
|
}, "runCommandForAgent");
|
|
3331
3331
|
|
|
3332
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3333
3333
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3334
3334
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3335
3335
|
var message = pipe(
|
|
@@ -3588,7 +3588,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3588
3588
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3589
3589
|
}, "failed");
|
|
3590
3590
|
|
|
3591
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3592
3592
|
import { randomUUID } from "node:crypto";
|
|
3593
3593
|
var MATCHES = 8;
|
|
3594
3594
|
var ANSWER = answerSchema();
|
|
@@ -27,19 +27,19 @@ import {
|
|
|
27
27
|
serverSearchOptions,
|
|
28
28
|
summaryOf,
|
|
29
29
|
unansweredHours
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MV6ZSBA3.js";
|
|
31
31
|
import {
|
|
32
32
|
MAIL_HIT_UNTRUSTED,
|
|
33
33
|
messagesAnswer,
|
|
34
34
|
offsetOf,
|
|
35
35
|
shownOf
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XXOWA66S.js";
|
|
37
37
|
import {
|
|
38
38
|
messageItem
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-WKMLLL2F.js";
|
|
40
40
|
import {
|
|
41
41
|
knownPermissionKeys
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-L3GFAQFP.js";
|
|
43
43
|
import {
|
|
44
44
|
AGENDA_DEFAULTS,
|
|
45
45
|
DEFAULT_BACKEND,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
sourceKey,
|
|
63
63
|
typedQuery,
|
|
64
64
|
withQuery
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-6WWF4RST.js";
|
|
66
66
|
import {
|
|
67
67
|
Command,
|
|
68
68
|
FETCH,
|
|
@@ -94,11 +94,11 @@ import {
|
|
|
94
94
|
snakeKeys,
|
|
95
95
|
withSettingDefaults,
|
|
96
96
|
withoutSetting
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-KZDKFYIF.js";
|
|
98
98
|
import {
|
|
99
99
|
mailHolderVariable,
|
|
100
100
|
readOnlyLockOf
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-3BWYMNWP.js";
|
|
102
102
|
import {
|
|
103
103
|
DEFAULT_DECISION_POLICY,
|
|
104
104
|
MESSAGE_PARSING,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
registrableOf,
|
|
112
112
|
scoreGroup,
|
|
113
113
|
validateFields
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-4XKHXETB.js";
|
|
115
115
|
import {
|
|
116
116
|
count,
|
|
117
117
|
dateRange,
|
|
@@ -122,12 +122,12 @@ import {
|
|
|
122
122
|
time,
|
|
123
123
|
timezoneOf,
|
|
124
124
|
untrusted
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-V4BKQWDS.js";
|
|
126
126
|
import {
|
|
127
127
|
configFilePath,
|
|
128
128
|
resolvePaths,
|
|
129
129
|
saveConfigFile
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-EMNQPMZO.js";
|
|
131
131
|
import {
|
|
132
132
|
MAX_NEXT_STEPS,
|
|
133
133
|
array,
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
string,
|
|
151
151
|
union,
|
|
152
152
|
unknown
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-RCGFSWZE.js";
|
|
154
154
|
import {
|
|
155
155
|
CliError
|
|
156
156
|
} from "./chunk-4ZW6ZJ2V.js";
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
__toESM
|
|
160
160
|
} from "./chunk-ZVVMGPBJ.js";
|
|
161
161
|
|
|
162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
162
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/attachments.js
|
|
163
163
|
var MAX_ATTACHMENT_CHARS = 2e5;
|
|
164
164
|
var DEFAULT_ATTACHMENT_POLICY = { read: true, maxBytes: 10 * 1024 * 1024 };
|
|
165
165
|
var POLICY_SKIPS = ["not-read", "too-large"];
|
|
@@ -198,7 +198,7 @@ var readAttachments = /* @__PURE__ */ __name(async (mail, messageId, { loadEngin
|
|
|
198
198
|
return files;
|
|
199
199
|
}, "readAttachments");
|
|
200
200
|
|
|
201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/read.js
|
|
202
202
|
var lowerSuspicious = /* @__PURE__ */ __name((items, suspicious) => [
|
|
203
203
|
...items.filter((item) => !suspicious(item)),
|
|
204
204
|
...items.filter(suspicious)
|
|
@@ -285,11 +285,11 @@ var attachmentsText = /* @__PURE__ */ __name((hit) => (hit.attachments ?? []).ma
|
|
|
285
285
|
${file.text.replace(/\n/g, "\n ")}`;
|
|
286
286
|
}).join("\n"), "attachmentsText");
|
|
287
287
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/bulk.js
|
|
289
289
|
var BULK = "bulk";
|
|
290
290
|
var bulkBox = { externalId: "memo:bulk", name: "bulk", kind: BULK };
|
|
291
291
|
|
|
292
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/email-input.js
|
|
293
293
|
var sentAtOf = /* @__PURE__ */ __name((date, receivedAt) => {
|
|
294
294
|
const sent = date === null ? Number.NaN : Date.parse(date);
|
|
295
295
|
return Number.isNaN(sent) ? Date.parse(receivedAt) : sent;
|
|
@@ -309,7 +309,7 @@ var parsedEmail = /* @__PURE__ */ __name((mail, item, header, address) => ({
|
|
|
309
309
|
outgoing: mail.from === null ? null : mail.from.email === address
|
|
310
310
|
}), "parsedEmail");
|
|
311
311
|
|
|
312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
312
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/presets.js
|
|
313
313
|
var PRESETS = {
|
|
314
314
|
social: {
|
|
315
315
|
about: "notifications from social networks",
|
|
@@ -401,7 +401,7 @@ var presetMatches = /* @__PURE__ */ __name((name, facts) => {
|
|
|
401
401
|
return false;
|
|
402
402
|
}, "presetMatches");
|
|
403
403
|
|
|
404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/probe.js
|
|
405
405
|
var share = /* @__PURE__ */ __name((part, whole) => Math.round(part / whole * 100) / 100, "share");
|
|
406
406
|
var isSent = /* @__PURE__ */ __name((item) => item.labels?.includes("Sent") || /(^|\/)sent\b/i.test(item.folder ?? ""), "isSent");
|
|
407
407
|
var groupKey = /* @__PURE__ */ __name((headers) => headers.listId === void 0 ? `from:${headers.from}` : `list:${headers.listId}`, "groupKey");
|
|
@@ -469,7 +469,7 @@ var probeMail = /* @__PURE__ */ __name((items, limit, ages = /* @__PURE__ */ new
|
|
|
469
469
|
};
|
|
470
470
|
}, "probeMail");
|
|
471
471
|
|
|
472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/facts.js
|
|
473
473
|
var factsOf = /* @__PURE__ */ __name((listed2, rules, ages = /* @__PURE__ */ new Map()) => {
|
|
474
474
|
const grouped = rules.some(({ match }) => match.score_at_least !== void 0 || match.preset !== void 0);
|
|
475
475
|
if (!grouped)
|
|
@@ -5740,7 +5740,7 @@ var PostalMime = class _PostalMime {
|
|
|
5740
5740
|
}
|
|
5741
5741
|
};
|
|
5742
5742
|
|
|
5743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/headers.js
|
|
5744
5744
|
var unfold = /* @__PURE__ */ __name((text2) => text2.replace(/\r?\n[ \t]+/g, " "), "unfold");
|
|
5745
5745
|
var field = /* @__PURE__ */ __name((unfolded, name) => new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "im").exec(unfolded)?.[1], "field");
|
|
5746
5746
|
var fieldsOf = /* @__PURE__ */ __name((unfolded, name) => [...unfolded.matchAll(new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "gim"))].map(([, value]) => value), "fieldsOf");
|
|
@@ -5787,7 +5787,7 @@ var mailHeadersOf = /* @__PURE__ */ __name((raw) => {
|
|
|
5787
5787
|
};
|
|
5788
5788
|
}, "mailHeadersOf");
|
|
5789
5789
|
|
|
5790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/parse.js
|
|
5791
5791
|
var MAX_BODY_CHARS = 1e6;
|
|
5792
5792
|
var MAX_ATTACHMENTS = 50;
|
|
5793
5793
|
var BRACKETED_ID = /<[^<>\s]+>/g;
|
|
@@ -5852,13 +5852,13 @@ var parseMail = /* @__PURE__ */ __name(async (raw, maxBodyChars = MAX_BODY_CHARS
|
|
|
5852
5852
|
};
|
|
5853
5853
|
}, "parseMail");
|
|
5854
5854
|
|
|
5855
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5855
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/partial.js
|
|
5856
5856
|
var PARTIAL = "partial";
|
|
5857
5857
|
|
|
5858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/account-key.js
|
|
5859
5859
|
var mailAccountKey = /* @__PURE__ */ __name((address) => ({ provider: "email", account: address.toLowerCase() }), "mailAccountKey");
|
|
5860
5860
|
|
|
5861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
|
|
5862
5862
|
var ACTION_OF = { full: "keep", envelope: "envelope", skip: "skip" };
|
|
5863
5863
|
var KINDS = {
|
|
5864
5864
|
from: "string",
|
|
@@ -5927,7 +5927,7 @@ var storedMailRuleSet = /* @__PURE__ */ __name(async (store, account, query) =>
|
|
|
5927
5927
|
}, "storedMailRuleSet");
|
|
5928
5928
|
var storedMailRules = /* @__PURE__ */ __name(async (store, account, query) => (await storedMailRuleSet(store, account, query)).rules, "storedMailRules");
|
|
5929
5929
|
|
|
5930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5930
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/rules.js
|
|
5931
5931
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
5932
5932
|
var domainOf = /* @__PURE__ */ __name((address) => address.slice(address.lastIndexOf("@") + 1), "domainOf");
|
|
5933
5933
|
var domainMatches = /* @__PURE__ */ __name((wanted2, sender) => {
|
|
@@ -5999,7 +5999,7 @@ var tagsOf = /* @__PURE__ */ __name((rules, facts) => {
|
|
|
5999
5999
|
}, "tagsOf");
|
|
6000
6000
|
var conditionKeys = /* @__PURE__ */ __name((match) => Object.keys(match).filter((key) => match[key] !== void 0).sort(), "conditionKeys");
|
|
6001
6001
|
|
|
6002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6002
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
|
|
6003
6003
|
var STORE_ACTION = { keep: "full", envelope: "envelope", skip: "skip" };
|
|
6004
6004
|
var LOWER = ["from", "domain", "list_id", "subject"];
|
|
6005
6005
|
var conditionsOf = /* @__PURE__ */ __name((match) => Object.fromEntries(conditionKeys(match).map((key) => {
|
|
@@ -6029,7 +6029,7 @@ var ruleInput = /* @__PURE__ */ __name((rule, source = rule.source ?? "owner") =
|
|
|
6029
6029
|
decidedAt: decidedAtOf(rule.decided_at)
|
|
6030
6030
|
}), "ruleInput");
|
|
6031
6031
|
|
|
6032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
|
|
6033
6033
|
var reuseOf = /* @__PURE__ */ __name((error) => {
|
|
6034
6034
|
const { details } = error;
|
|
6035
6035
|
return details?.reason === "tag-review.required" ? details.candidates?.[0]?.name : void 0;
|
|
@@ -6090,7 +6090,7 @@ var settleRuleTags = /* @__PURE__ */ __name(async (store, accountId, rules, outc
|
|
|
6090
6090
|
}
|
|
6091
6091
|
}, "settleRuleTags");
|
|
6092
6092
|
|
|
6093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/server-query.js
|
|
6094
6094
|
var DAY = 864e5;
|
|
6095
6095
|
var empty = /* @__PURE__ */ __name(() => ({ words: [], from: [], to: [], cc: [], subject: [], body: [] }), "empty");
|
|
6096
6096
|
var narrows = /* @__PURE__ */ __name((criteria) => criteria.words.length + criteria.from.length + criteria.to.length + criteria.cc.length + criteria.subject.length + criteria.body.length > 0 || criteria.since !== void 0 || criteria.before !== void 0 || criteria.seen !== void 0 || criteria.flagged !== void 0, "narrows");
|
|
@@ -6163,7 +6163,7 @@ var mailCriteriaOf = /* @__PURE__ */ __name((text2, { exact, timezone } = {}) =>
|
|
|
6163
6163
|
};
|
|
6164
6164
|
}, "mailCriteriaOf");
|
|
6165
6165
|
|
|
6166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/server-search.js
|
|
6167
6167
|
var refusal = {
|
|
6168
6168
|
unsupported: "this mailbox's server cannot be searched \u2014 use --backend archive",
|
|
6169
6169
|
offline: "--backend server needs the network \u2014 not with --offline",
|
|
@@ -6378,7 +6378,7 @@ var searchMailServer = /* @__PURE__ */ __name(async (store, mailbox, access, req
|
|
|
6378
6378
|
return { report, sources };
|
|
6379
6379
|
}, "searchMailServer");
|
|
6380
6380
|
|
|
6381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
|
|
6382
6382
|
var iso = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
6383
6383
|
var mailMark = strictObject({
|
|
6384
6384
|
holder: string(),
|
|
@@ -6476,7 +6476,7 @@ var resetMarkCommand = /* @__PURE__ */ __name((mail) => answerEntity(annotate(ne
|
|
|
6476
6476
|
});
|
|
6477
6477
|
}), "resetMarkCommand");
|
|
6478
6478
|
|
|
6479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/review.js
|
|
6480
6480
|
var REVIEW_THREADS = 50;
|
|
6481
6481
|
var REVIEW_PER_THREAD = 50;
|
|
6482
6482
|
var OWED_DAYS = 30;
|
|
@@ -6574,7 +6574,7 @@ var reviewMail = /* @__PURE__ */ __name(async (store, mailbox, options) => {
|
|
|
6574
6574
|
};
|
|
6575
6575
|
}, "reviewMail");
|
|
6576
6576
|
|
|
6577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
|
|
6578
6578
|
var DAY2 = 864e5;
|
|
6579
6579
|
var REVIEW_UNTRUSTED = [...SUMMARY_UNTRUSTED, ...MAIL_HIT_UNTRUSTED];
|
|
6580
6580
|
var MAIL_REVIEW_QUERY = defineQuery({
|
|
@@ -6856,7 +6856,7 @@ an agent over MCP, and each scheduled run.`).action(async function(query) {
|
|
|
6856
6856
|
saved?.save(found.checked ?? {}, found.complete ? { through: found.until } : {});
|
|
6857
6857
|
}), "mailReviewCommand");
|
|
6858
6858
|
|
|
6859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6859
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/cli/bulk-settings.js
|
|
6860
6860
|
var listed = /* @__PURE__ */ __name((words2) => words2.join(", "), "listed");
|
|
6861
6861
|
var MAIL_BULK_SETTINGS = [
|
|
6862
6862
|
{
|
|
@@ -6912,7 +6912,7 @@ var bulkTriageOf = /* @__PURE__ */ __name((config) => {
|
|
|
6912
6912
|
};
|
|
6913
6913
|
}, "bulkTriageOf");
|
|
6914
6914
|
|
|
6915
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
|
|
6916
6916
|
var absentAccount = /* @__PURE__ */ __name((error) => {
|
|
6917
6917
|
if (error instanceof CliError && error.code === "not_found")
|
|
6918
6918
|
return void 0;
|
|
@@ -3,27 +3,27 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answers,
|
|
5
5
|
itemAnswer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IRTWA4KO.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig,
|
|
9
9
|
updateConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PHWJBFZ6.js";
|
|
11
11
|
import {
|
|
12
12
|
failingNotice,
|
|
13
13
|
recordRun
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MV6ZSBA3.js";
|
|
15
15
|
import {
|
|
16
16
|
InvalidArgumentError,
|
|
17
17
|
LOCAL_READ,
|
|
18
18
|
LOCAL_WRITE,
|
|
19
19
|
annotate
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KZDKFYIF.js";
|
|
21
21
|
import {
|
|
22
22
|
installerOf
|
|
23
23
|
} from "./chunk-IK6KH3RE.js";
|
|
24
24
|
import {
|
|
25
25
|
resolvePaths
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-EMNQPMZO.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
29
|
} from "./chunk-4ZW6ZJ2V.js";
|