@wirecat/cli-memo 0.131.66 → 0.131.68
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-CWV6RUGR.js → all-profiles-6JKSPBBO.js} +6 -6
- package/dist/bundle/{anthropic-OIVOFYZY.js → anthropic-YA2N6EJ4.js} +3 -3
- package/dist/bundle/{app-server-2APNY5WO.js → app-server-PGZD3JUW.js} +37 -37
- package/dist/bundle/auto-OVLXIZRU.js +85 -0
- package/dist/bundle/{bun-7ZKANZII.js → bun-OUFOAYV4.js} +2 -2
- package/dist/bundle/{bun-sqlite-M2EHGYBI.js → bun-sqlite-5RZTFU2Q.js} +3 -3
- package/dist/bundle/{chunk-I4EUGFS7.js → chunk-22CDLXSR.js} +4 -4
- package/dist/bundle/{chunk-2OEQH7HY.js → chunk-267N22E4.js} +1 -1
- package/dist/bundle/{chunk-UCLZMKTT.js → chunk-276KPJI5.js} +2 -2
- package/dist/bundle/{chunk-R4LVHS2N.js → chunk-2C7Z7CKD.js} +1 -1
- package/dist/bundle/{chunk-EI5IEOXD.js → chunk-2DQYP2K3.js} +1 -1
- package/dist/bundle/{chunk-VBXQAIRI.js → chunk-2F35N6BI.js} +1 -1
- package/dist/bundle/{chunk-QWP6RJFR.js → chunk-37H7TTWN.js} +41 -11
- package/dist/bundle/{chunk-KU4TU5XZ.js → chunk-3LGLKLBA.js} +2 -2
- package/dist/bundle/{chunk-HPUTLOQU.js → chunk-4AH6FONF.js} +13 -13
- package/dist/bundle/{chunk-LEL6NYM5.js → chunk-4HSWIXYE.js} +4 -4
- package/dist/bundle/{chunk-IGXIPABG.js → chunk-53EAI4VZ.js} +1 -1
- package/dist/bundle/{chunk-GL74QTTV.js → chunk-5EB34LNI.js} +35 -33
- package/dist/bundle/{chunk-C74WKN57.js → chunk-5EZOMIPL.js} +7 -7
- package/dist/bundle/{chunk-4Y33E3U3.js → chunk-5JPVRS7W.js} +4 -4
- package/dist/bundle/{chunk-XFZESHD3.js → chunk-5OMM4CDT.js} +2 -2
- package/dist/bundle/{chunk-22XVNJQP.js → chunk-5RYMHX2O.js} +9 -9
- package/dist/bundle/{chunk-2QIM6246.js → chunk-67VEVKMJ.js} +1 -1
- package/dist/bundle/{chunk-ZAOFHRBL.js → chunk-6A6HR2CS.js} +22 -22
- package/dist/bundle/{chunk-GO73V5BC.js → chunk-7JFLHRQL.js} +1 -1
- package/dist/bundle/{chunk-M76ZJSPA.js → chunk-7L4PBN5S.js} +3 -3
- package/dist/bundle/{chunk-DAA52TDI.js → chunk-A3WUEOEV.js} +193 -154
- package/dist/bundle/{chunk-DMC3NDG7.js → chunk-AJMAR5DC.js} +8 -8
- package/dist/bundle/{chunk-XZBVXJWY.js → chunk-BGWPKEKK.js} +5 -5
- package/dist/bundle/{chunk-DNXPQGFB.js → chunk-BQYAMBKB.js} +21 -21
- package/dist/bundle/{chunk-DH6PT65U.js → chunk-ECHN36DC.js} +4 -4
- package/dist/bundle/{chunk-7NV2IUIC.js → chunk-EDPA54WQ.js} +3 -3
- package/dist/bundle/{chunk-P2MMAW3A.js → chunk-EEBQN7TK.js} +5 -5
- package/dist/bundle/{chunk-LWX2PCM6.js → chunk-EO4JMJFZ.js} +8 -8
- package/dist/bundle/{chunk-2LAJDBWZ.js → chunk-EOJPZ3LX.js} +1615 -605
- package/dist/bundle/{chunk-DVVS2API.js → chunk-FOF7KGG3.js} +430 -91
- package/dist/bundle/{chunk-LW5G7PAR.js → chunk-FSDAEZFS.js} +5 -5
- package/dist/bundle/{chunk-CRRBBPJK.js → chunk-FYWGFRR2.js} +1767 -1315
- package/dist/bundle/{chunk-JSFC6TRN.js → chunk-FZHYGJQ2.js} +5 -5
- package/dist/bundle/{chunk-OO6SA2FM.js → chunk-IHHXGTMX.js} +1 -1
- package/dist/bundle/{chunk-BF4SX6DP.js → chunk-JQREFZWM.js} +91 -62
- package/dist/bundle/{chunk-2SIOUXJ7.js → chunk-KX7CVSAY.js} +5 -5
- package/dist/bundle/{chunk-4U2IONIS.js → chunk-LJCT7YG6.js} +1 -1
- package/dist/bundle/{chunk-WCRWS2W7.js → chunk-MK6SQ32Q.js} +12 -12
- package/dist/bundle/{chunk-RKLCY7YU.js → chunk-MWQI6FSU.js} +3 -3
- package/dist/bundle/{chunk-HHDZIBBO.js → chunk-N73YBQ42.js} +7 -7
- package/dist/bundle/{chunk-WDVYPHNV.js → chunk-OBQ7TSUB.js} +1 -1
- package/dist/bundle/{chunk-MEPRCROV.js → chunk-PHSYMVYX.js} +2 -2
- package/dist/bundle/{chunk-637JEJOC.js → chunk-PSYQPO6D.js} +2 -2
- package/dist/bundle/{chunk-M643YQVP.js → chunk-PUACXS7G.js} +2 -2
- package/dist/bundle/{chunk-LDPNN4ED.js → chunk-QHUPSOQT.js} +11 -11
- package/dist/bundle/{chunk-LRQD4RJN.js → chunk-QZU5IM5E.js} +2 -2
- package/dist/bundle/{chunk-XAEDDKM4.js → chunk-RG4GW7EY.js} +28 -28
- package/dist/bundle/{chunk-KV35JTWA.js → chunk-RHW3DDWI.js} +1 -1
- package/dist/bundle/{chunk-IDBN5CTG.js → chunk-TV75OHKJ.js} +7 -7
- package/dist/bundle/{chunk-KOJN4WTN.js → chunk-TXOXPQN2.js} +2 -2
- package/dist/bundle/{chunk-OZBL624P.js → chunk-UUBV5ATQ.js} +2 -0
- package/dist/bundle/{chunk-XMGUKW6Y.js → chunk-V2YS63Z5.js} +2 -2
- package/dist/bundle/{chunk-B3ZXE2IH.js → chunk-V6QYWGO4.js} +10892 -10869
- package/dist/bundle/{chunk-75MWX5PK.js → chunk-VPKJZKXV.js} +1 -1
- package/dist/bundle/{chunk-HUJ666OW.js → chunk-WLD5XU3T.js} +7 -6
- package/dist/bundle/{chunk-CUC7KGX4.js → chunk-WNA2WNDK.js} +3 -3
- package/dist/bundle/{chunk-ADDDSIRN.js → chunk-YTJWIJIG.js} +5 -5
- package/dist/bundle/{chunk-HB7WN6MX.js → chunk-YVVRV3PQ.js} +25 -1
- package/dist/bundle/{command-contract-N554VPBZ.js → command-contract-RX6RWHCT.js} +12 -12
- package/dist/bundle/{decode-ZCMHC5JI.js → decode-IJMDTGTW.js} +3 -3
- package/dist/bundle/{echarts-SJNM7DNA.js → echarts-EHYUXOKP.js} +2 -2
- package/dist/bundle/{embed-JO3CVYBK.js → embed-RUY3UIVC.js} +4 -4
- package/dist/bundle/{embedder-QAEGU7TZ.js → embedder-P6WBMEGP.js} +7 -7
- package/dist/bundle/{entry-KMFOJYWF.js → entry-XHWG43NW.js} +5 -5
- package/dist/bundle/failure-Z7WOYPMA.js +65 -0
- package/dist/bundle/{first-run-5X2NRJL2.js → first-run-FQ2BAEYK.js} +7 -7
- package/dist/bundle/{first-screen-2LMAVNBU.js → first-screen-GP2QGKUA.js} +13 -13
- package/dist/bundle/{instructions-GLZE4RPY.js → instructions-ZMG4FLGO.js} +1 -1
- package/dist/bundle/mcp-USR3ZFQU.js +90 -0
- package/dist/bundle/memo.js +7 -7
- package/dist/bundle/{node-BNMBIM5C.js → node-QYL4B7JS.js} +2 -2
- package/dist/bundle/{node-sqlite-BSRYEMOR.js → node-sqlite-ESTT2OCF.js} +4 -4
- package/dist/bundle/{oauth-HYAEWGBV.js → oauth-CFQFSIRQ.js} +5 -5
- package/dist/bundle/{open-X7J4Q3I6.js → open-3XO2HMIT.js} +3 -3
- package/dist/bundle/{openai-ZACXNPZS.js → openai-STUNDBD6.js} +8 -8
- package/dist/bundle/{process-5I6233QY.js → process-P4UAJCZX.js} +1 -1
- package/dist/bundle/{program-RQIADAES.js → program-FVSSLRBJ.js} +7015 -5809
- package/dist/bundle/{prompt-DVKTWZHJ.js → prompt-ZCYMFMIG.js} +3 -3
- package/dist/bundle/{recognize-VXK4L74H.js → recognize-V3BY33FK.js} +2 -2
- package/dist/bundle/{remote-IJLJQRQN.js → remote-IP4QR7SP.js} +5 -5
- package/dist/bundle/{rerank-553ZMBYJ.js → rerank-VKUSF3DM.js} +5 -5
- package/dist/bundle/{serve-76AFHLTI.js → serve-VBIUARHJ.js} +7 -7
- package/dist/bundle/{server-B3F54YWL.js → server-3FW2MQRQ.js} +94 -61
- package/dist/bundle/server-SWSWXNDP.js +48 -0
- package/dist/bundle/server-YRZDZ2PZ.js +61 -0
- package/dist/bundle/{state-WYFGGGAG.js → state-UBAIZ2WP.js} +4 -4
- package/dist/bundle/{store-S6QR47NT.js → store-PIQ4TF4O.js} +16 -10
- package/dist/bundle/store-maintenance-command-EWEXJ253.js +47 -0
- package/dist/bundle/update-6QYRXRVJ.js +68 -0
- package/dist/digest/backfill.d.ts +9 -0
- package/dist/digest/backfill.d.ts.map +1 -0
- package/dist/digest/backfill.js +142 -0
- package/dist/digest/backfill.js.map +1 -0
- package/dist/digest/command.d.ts +2 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +20 -2
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest.d.ts +8 -3
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +60 -15
- package/dist/digest/digest.js.map +1 -1
- package/dist/digest/sync-health.d.ts +1 -2
- package/dist/digest/sync-health.d.ts.map +1 -1
- package/dist/digest/tasks.d.ts +14 -1
- package/dist/digest/tasks.d.ts.map +1 -1
- package/dist/digest/tasks.js +31 -4
- package/dist/digest/tasks.js.map +1 -1
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +4 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +33 -0
- package/dist/examples.js.map +1 -1
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +7 -4
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -0
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +1 -0
- package/dist/facts/fact.js.map +1 -1
- package/dist/knowledge/project-context.d.ts +1 -0
- package/dist/knowledge/project-context.d.ts.map +1 -1
- package/dist/knowledge/relationships.d.ts +2 -0
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +47 -13
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +9 -5
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memories.d.ts +6 -3
- package/dist/memories/memories.d.ts.map +1 -1
- package/dist/memories/memories.js +15 -20
- package/dist/memories/memories.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -0
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +1 -0
- package/dist/memories/memory.js.map +1 -1
- package/dist/memories/sources.d.ts +27 -0
- package/dist/memories/sources.d.ts.map +1 -0
- package/dist/memories/sources.js +111 -0
- package/dist/memories/sources.js.map +1 -0
- package/dist/notes/embed.d.ts +2 -0
- package/dist/notes/embed.d.ts.map +1 -1
- package/dist/notes/embed.js +13 -0
- package/dist/notes/embed.js.map +1 -1
- package/dist/notes/files.d.ts.map +1 -1
- package/dist/notes/files.js +2 -0
- package/dist/notes/files.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +46 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +24 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/command.d.ts +2 -0
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +18 -3
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +2 -1
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.d.ts +64 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +45 -0
- package/dist/review/review.js.map +1 -1
- package/dist/run/import.d.ts +9 -0
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +20 -0
- package/dist/run/import.js.map +1 -1
- package/dist/schedule/command.d.ts +2 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +6 -2
- package/dist/schedule/command.js.map +1 -1
- package/dist/sources/command.d.ts +7 -0
- package/dist/sources/command.d.ts.map +1 -0
- package/dist/sources/command.js +246 -0
- package/dist/sources/command.js.map +1 -0
- package/dist/sources/copy.d.ts +13 -0
- package/dist/sources/copy.d.ts.map +1 -0
- package/dist/sources/copy.js +32 -0
- package/dist/sources/copy.js.map +1 -0
- package/dist/sources/mentions.d.ts +21 -0
- package/dist/sources/mentions.d.ts.map +1 -0
- package/dist/sources/mentions.js +78 -0
- package/dist/sources/mentions.js.map +1 -0
- package/dist/sources/read.d.ts +30 -0
- package/dist/sources/read.d.ts.map +1 -0
- package/dist/sources/read.js +181 -0
- package/dist/sources/read.js.map +1 -0
- package/dist/templates/command.d.ts +5 -0
- package/dist/templates/command.d.ts.map +1 -0
- package/dist/templates/command.js +18 -0
- package/dist/templates/command.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/cli-memo/SKILL.md +9 -0
- package/skills/cli-memo/topics/proposals.md +13 -2
- package/skills/cli-memo/topics/search.md +7 -0
- package/skills/mail-triage/SKILL.md +25 -19
- package/skills/morning-digest/SKILL.md +15 -1
- package/dist/bundle/auto-HRPCC4FE.js +0 -85
- package/dist/bundle/failure-2FQL5SHA.js +0 -65
- package/dist/bundle/mcp-QXTOJORS.js +0 -90
- package/dist/bundle/server-PSEKWXKK.js +0 -48
- package/dist/bundle/server-QDPYZZT5.js +0 -61
- package/dist/bundle/store-maintenance-command-O4TXIWSL.js +0 -47
- package/dist/bundle/update-Z4LDMYC5.js +0 -68
- /package/dist/bundle/{chunk-IJPRQERM.js → chunk-AWVQHWIS.js} +0 -0
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-37H7TTWN.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PSYQPO6D.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-V6QYWGO4.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-A3WUEOEV.js";
|
|
46
46
|
import {
|
|
47
47
|
currentCaller,
|
|
48
48
|
keepsSuccess,
|
|
49
49
|
runContextOf,
|
|
50
50
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-N73YBQ42.js";
|
|
52
52
|
import {
|
|
53
53
|
queryDescription
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-JQREFZWM.js";
|
|
55
55
|
import {
|
|
56
56
|
storeDamaged
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-3LGLKLBA.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_BUFFERED_INPUT
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2C7Z7CKD.js";
|
|
61
61
|
import {
|
|
62
62
|
captureStreams,
|
|
63
63
|
traceIdOf
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-UUBV5ATQ.js";
|
|
65
65
|
import {
|
|
66
66
|
COMPACT_FLAG,
|
|
67
67
|
SNAKE_CASE,
|
|
@@ -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.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/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.91.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
|
|
@@ -3199,7 +3199,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3199
3199
|
]
|
|
3200
3200
|
});
|
|
3201
3201
|
|
|
3202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3203
3203
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3204
3204
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3205
3205
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3422,7 +3422,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3422
3422
|
}
|
|
3423
3423
|
}, "runCommandForAgent");
|
|
3424
3424
|
|
|
3425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3426
3426
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3427
3427
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3428
3428
|
var message = pipe(
|
|
@@ -3681,7 +3681,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3681
3681
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3682
3682
|
}, "failed");
|
|
3683
3683
|
|
|
3684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3685
3685
|
import { randomUUID } from "node:crypto";
|
|
3686
3686
|
var MATCHES = 8;
|
|
3687
3687
|
var ANSWER = answerSchema();
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RHW3DDWI.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-276KPJI5.js";
|
|
9
9
|
import {
|
|
10
10
|
WebStandardStreamableHTTPServerTransport,
|
|
11
11
|
createMcpHandler,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
calledTools,
|
|
23
23
|
httpActivityFile,
|
|
24
24
|
httpLock
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-22CDLXSR.js";
|
|
26
26
|
import {
|
|
27
27
|
CliError
|
|
28
28
|
} from "./chunk-ZTONSM5X.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
__name
|
|
31
31
|
} from "./chunk-ZVVMGPBJ.js";
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
34
34
|
import { randomUUID } from "node:crypto";
|
|
35
35
|
var MCP_PATH = "/mcp";
|
|
36
36
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|
|
@@ -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.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -27,19 +27,19 @@ import {
|
|
|
27
27
|
serverSearchOptions,
|
|
28
28
|
summaryOf,
|
|
29
29
|
unansweredHours
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EOJPZ3LX.js";
|
|
31
31
|
import {
|
|
32
32
|
MAIL_HIT_UNTRUSTED,
|
|
33
33
|
messagesAnswer,
|
|
34
34
|
offsetOf,
|
|
35
35
|
shownOf
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BQYAMBKB.js";
|
|
37
37
|
import {
|
|
38
38
|
messageItem
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FOF7KGG3.js";
|
|
40
40
|
import {
|
|
41
41
|
knownPermissionKeys
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-6A6HR2CS.js";
|
|
43
43
|
import {
|
|
44
44
|
AGENDA_DEFAULTS,
|
|
45
45
|
DEFAULT_BACKEND,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
sourceKey,
|
|
64
64
|
typedQuery,
|
|
65
65
|
withQuery
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-V6QYWGO4.js";
|
|
67
67
|
import {
|
|
68
68
|
Command,
|
|
69
69
|
FETCH,
|
|
@@ -96,11 +96,11 @@ import {
|
|
|
96
96
|
snakeKeys,
|
|
97
97
|
withSettingDefaults,
|
|
98
98
|
withoutSetting
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-A3WUEOEV.js";
|
|
100
100
|
import {
|
|
101
101
|
mailHolderVariable,
|
|
102
102
|
readOnlyLockOf
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-2DQYP2K3.js";
|
|
104
104
|
import {
|
|
105
105
|
DEFAULT_DECISION_POLICY,
|
|
106
106
|
MESSAGE_PARSING,
|
|
@@ -113,7 +113,7 @@ import {
|
|
|
113
113
|
registrableOf,
|
|
114
114
|
scoreGroup,
|
|
115
115
|
validateFields
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-FYWGFRR2.js";
|
|
117
117
|
import {
|
|
118
118
|
DEAL_KINDS,
|
|
119
119
|
count,
|
|
@@ -125,12 +125,12 @@ import {
|
|
|
125
125
|
time,
|
|
126
126
|
timezoneOf,
|
|
127
127
|
untrusted
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-JQREFZWM.js";
|
|
129
129
|
import {
|
|
130
130
|
configFilePath,
|
|
131
131
|
resolvePaths,
|
|
132
132
|
saveConfigFile
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-UUBV5ATQ.js";
|
|
134
134
|
import {
|
|
135
135
|
MAX_NEXT_STEPS,
|
|
136
136
|
array,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
__toESM
|
|
163
163
|
} from "./chunk-ZVVMGPBJ.js";
|
|
164
164
|
|
|
165
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
165
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/attachments.js
|
|
166
166
|
var MAX_ATTACHMENT_CHARS = 2e5;
|
|
167
167
|
var DEFAULT_ATTACHMENT_POLICY = { read: true, maxBytes: 10 * 1024 * 1024 };
|
|
168
168
|
var POLICY_SKIPS = ["not-read", "too-large"];
|
|
@@ -201,7 +201,7 @@ var readAttachments = /* @__PURE__ */ __name(async (mail, messageId, { loadEngin
|
|
|
201
201
|
return files;
|
|
202
202
|
}, "readAttachments");
|
|
203
203
|
|
|
204
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/read.js
|
|
205
205
|
var lowerSuspicious = /* @__PURE__ */ __name((items, suspicious) => [
|
|
206
206
|
...items.filter((item) => !suspicious(item)),
|
|
207
207
|
...items.filter(suspicious)
|
|
@@ -288,11 +288,11 @@ var attachmentsText = /* @__PURE__ */ __name((hit) => (hit.attachments ?? []).ma
|
|
|
288
288
|
${file.text.replace(/\n/g, "\n ")}`;
|
|
289
289
|
}).join("\n"), "attachmentsText");
|
|
290
290
|
|
|
291
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/bulk.js
|
|
292
292
|
var BULK = "bulk";
|
|
293
293
|
var bulkBox = { externalId: "memo:bulk", name: "bulk", kind: BULK };
|
|
294
294
|
|
|
295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
295
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/email-input.js
|
|
296
296
|
var sentAtOf = /* @__PURE__ */ __name((date, receivedAt) => {
|
|
297
297
|
const sent = date === null ? Number.NaN : Date.parse(date);
|
|
298
298
|
return Number.isNaN(sent) ? Date.parse(receivedAt) : sent;
|
|
@@ -312,7 +312,7 @@ var parsedEmail = /* @__PURE__ */ __name((mail, item, header, address) => ({
|
|
|
312
312
|
outgoing: mail.from === null ? null : mail.from.email === address
|
|
313
313
|
}), "parsedEmail");
|
|
314
314
|
|
|
315
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
315
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/presets.js
|
|
316
316
|
var PRESETS = {
|
|
317
317
|
social: {
|
|
318
318
|
about: "notifications from social networks",
|
|
@@ -404,7 +404,7 @@ var presetMatches = /* @__PURE__ */ __name((name, facts) => {
|
|
|
404
404
|
return false;
|
|
405
405
|
}, "presetMatches");
|
|
406
406
|
|
|
407
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
407
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/probe.js
|
|
408
408
|
var share = /* @__PURE__ */ __name((part, whole) => Math.round(part / whole * 100) / 100, "share");
|
|
409
409
|
var isSent = /* @__PURE__ */ __name((item) => item.labels?.includes("Sent") || /(^|\/)sent\b/i.test(item.folder ?? ""), "isSent");
|
|
410
410
|
var groupKey = /* @__PURE__ */ __name((headers) => headers.listId === void 0 ? `from:${headers.from}` : `list:${headers.listId}`, "groupKey");
|
|
@@ -472,7 +472,7 @@ var probeMail = /* @__PURE__ */ __name((items, limit, ages = /* @__PURE__ */ new
|
|
|
472
472
|
};
|
|
473
473
|
}, "probeMail");
|
|
474
474
|
|
|
475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/facts.js
|
|
476
476
|
var factsOf = /* @__PURE__ */ __name((listed2, rules, ages = /* @__PURE__ */ new Map()) => {
|
|
477
477
|
const grouped = rules.some(({ match }) => match.score_at_least !== void 0 || match.preset !== void 0);
|
|
478
478
|
if (!grouped)
|
|
@@ -5743,7 +5743,7 @@ var PostalMime = class _PostalMime {
|
|
|
5743
5743
|
}
|
|
5744
5744
|
};
|
|
5745
5745
|
|
|
5746
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5746
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/headers.js
|
|
5747
5747
|
var unfold = /* @__PURE__ */ __name((text2) => text2.replace(/\r?\n[ \t]+/g, " "), "unfold");
|
|
5748
5748
|
var field = /* @__PURE__ */ __name((unfolded, name) => new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "im").exec(unfolded)?.[1], "field");
|
|
5749
5749
|
var fieldsOf = /* @__PURE__ */ __name((unfolded, name) => [...unfolded.matchAll(new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "gim"))].map(([, value]) => value), "fieldsOf");
|
|
@@ -5790,7 +5790,7 @@ var mailHeadersOf = /* @__PURE__ */ __name((raw) => {
|
|
|
5790
5790
|
};
|
|
5791
5791
|
}, "mailHeadersOf");
|
|
5792
5792
|
|
|
5793
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/parse.js
|
|
5794
5794
|
var MAX_BODY_CHARS = 1e6;
|
|
5795
5795
|
var MAX_ATTACHMENTS = 50;
|
|
5796
5796
|
var BRACKETED_ID = /<[^<>\s]+>/g;
|
|
@@ -5855,13 +5855,13 @@ var parseMail = /* @__PURE__ */ __name(async (raw, maxBodyChars = MAX_BODY_CHARS
|
|
|
5855
5855
|
};
|
|
5856
5856
|
}, "parseMail");
|
|
5857
5857
|
|
|
5858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5858
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/partial.js
|
|
5859
5859
|
var PARTIAL = "partial";
|
|
5860
5860
|
|
|
5861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/account-key.js
|
|
5862
5862
|
var mailAccountKey = /* @__PURE__ */ __name((address) => ({ provider: "email", account: address.toLowerCase() }), "mailAccountKey");
|
|
5863
5863
|
|
|
5864
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
|
|
5865
5865
|
var ACTION_OF = { full: "keep", envelope: "envelope", skip: "skip" };
|
|
5866
5866
|
var KINDS = {
|
|
5867
5867
|
from: "string",
|
|
@@ -5930,7 +5930,7 @@ var storedMailRuleSet = /* @__PURE__ */ __name(async (store, account, query) =>
|
|
|
5930
5930
|
}, "storedMailRuleSet");
|
|
5931
5931
|
var storedMailRules = /* @__PURE__ */ __name(async (store, account, query) => (await storedMailRuleSet(store, account, query)).rules, "storedMailRules");
|
|
5932
5932
|
|
|
5933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/rules.js
|
|
5934
5934
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
5935
5935
|
var domainOf = /* @__PURE__ */ __name((address) => address.slice(address.lastIndexOf("@") + 1), "domainOf");
|
|
5936
5936
|
var domainMatches = /* @__PURE__ */ __name((wanted2, sender) => {
|
|
@@ -6002,7 +6002,7 @@ var tagsOf = /* @__PURE__ */ __name((rules, facts) => {
|
|
|
6002
6002
|
}, "tagsOf");
|
|
6003
6003
|
var conditionKeys = /* @__PURE__ */ __name((match) => Object.keys(match).filter((key) => match[key] !== void 0).sort(), "conditionKeys");
|
|
6004
6004
|
|
|
6005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
|
|
6006
6006
|
var STORE_ACTION = { keep: "full", envelope: "envelope", skip: "skip" };
|
|
6007
6007
|
var LOWER = ["from", "domain", "list_id", "subject"];
|
|
6008
6008
|
var conditionsOf = /* @__PURE__ */ __name((match) => Object.fromEntries(conditionKeys(match).map((key) => {
|
|
@@ -6032,7 +6032,7 @@ var ruleInput = /* @__PURE__ */ __name((rule, source = rule.source ?? "owner") =
|
|
|
6032
6032
|
decidedAt: decidedAtOf(rule.decided_at)
|
|
6033
6033
|
}), "ruleInput");
|
|
6034
6034
|
|
|
6035
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
|
|
6036
6036
|
var reuseOf = /* @__PURE__ */ __name((error) => {
|
|
6037
6037
|
const { details } = error;
|
|
6038
6038
|
return details?.reason === "tag-review.required" ? details.candidates?.[0]?.name : void 0;
|
|
@@ -6093,7 +6093,7 @@ var settleRuleTags = /* @__PURE__ */ __name(async (store, accountId, rules, outc
|
|
|
6093
6093
|
}
|
|
6094
6094
|
}, "settleRuleTags");
|
|
6095
6095
|
|
|
6096
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6096
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/server-query.js
|
|
6097
6097
|
var DAY = 864e5;
|
|
6098
6098
|
var empty = /* @__PURE__ */ __name(() => ({ words: [], from: [], to: [], cc: [], subject: [], body: [] }), "empty");
|
|
6099
6099
|
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");
|
|
@@ -6166,7 +6166,7 @@ var mailCriteriaOf = /* @__PURE__ */ __name((text2, { exact, timezone } = {}) =>
|
|
|
6166
6166
|
};
|
|
6167
6167
|
}, "mailCriteriaOf");
|
|
6168
6168
|
|
|
6169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/server-search.js
|
|
6170
6170
|
var refusal = {
|
|
6171
6171
|
unsupported: "this mailbox's server cannot be searched \u2014 use --backend archive",
|
|
6172
6172
|
offline: "--backend server needs the network \u2014 not with --offline",
|
|
@@ -6381,7 +6381,7 @@ var searchMailServer = /* @__PURE__ */ __name(async (store, mailbox, access, req
|
|
|
6381
6381
|
return { report, sources };
|
|
6382
6382
|
}, "searchMailServer");
|
|
6383
6383
|
|
|
6384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
|
|
6385
6385
|
var iso = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
6386
6386
|
var mailMark = strictObject({
|
|
6387
6387
|
holder: string(),
|
|
@@ -6479,7 +6479,7 @@ var resetMarkCommand = /* @__PURE__ */ __name((mail) => answerEntity(annotate(ne
|
|
|
6479
6479
|
});
|
|
6480
6480
|
}), "resetMarkCommand");
|
|
6481
6481
|
|
|
6482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/review.js
|
|
6483
6483
|
var REVIEW_THREADS = 50;
|
|
6484
6484
|
var REVIEW_PER_THREAD = 50;
|
|
6485
6485
|
var OWED_DAYS = 30;
|
|
@@ -6577,7 +6577,7 @@ var reviewMail = /* @__PURE__ */ __name(async (store, mailbox, options) => {
|
|
|
6577
6577
|
};
|
|
6578
6578
|
}, "reviewMail");
|
|
6579
6579
|
|
|
6580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6580
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
|
|
6581
6581
|
var DAY2 = 864e5;
|
|
6582
6582
|
var REVIEW_UNTRUSTED = [...SUMMARY_UNTRUSTED, ...MAIL_HIT_UNTRUSTED];
|
|
6583
6583
|
var MAIL_REVIEW_QUERY = defineQuery({
|
|
@@ -6859,7 +6859,7 @@ an agent over MCP, and each scheduled run.`).action(async function(query) {
|
|
|
6859
6859
|
saved?.save(found.checked ?? {}, found.complete ? { through: found.until } : {});
|
|
6860
6860
|
}), "mailReviewCommand");
|
|
6861
6861
|
|
|
6862
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6862
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/cli/bulk-settings.js
|
|
6863
6863
|
var listed = /* @__PURE__ */ __name((words2) => words2.join(", "), "listed");
|
|
6864
6864
|
var MAIL_BULK_SETTINGS = [
|
|
6865
6865
|
{
|
|
@@ -6915,7 +6915,7 @@ var bulkTriageOf = /* @__PURE__ */ __name((config) => {
|
|
|
6915
6915
|
};
|
|
6916
6916
|
}, "bulkTriageOf");
|
|
6917
6917
|
|
|
6918
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
|
|
6919
6919
|
var absentAccount = /* @__PURE__ */ __name((error) => {
|
|
6920
6920
|
if (error instanceof CliError && error.code === "not_found")
|
|
6921
6921
|
return void 0;
|
|
@@ -8926,7 +8926,9 @@ var NOTE_EXTENSIONS = [
|
|
|
8926
8926
|
".pptx",
|
|
8927
8927
|
".epub",
|
|
8928
8928
|
".doc",
|
|
8929
|
-
".xls"
|
|
8929
|
+
".xls",
|
|
8930
|
+
".html",
|
|
8931
|
+
".htm"
|
|
8930
8932
|
];
|
|
8931
8933
|
var MEMO_ID = /^---\r?\n(?:[^\n]*\n)*?memo-id:[ \t]*["']?([^"'\s]+)/;
|
|
8932
8934
|
var HEAD = 1024;
|
|
@@ -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-5EB34LNI.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EOJPZ3LX.js";
|
|
9
9
|
import {
|
|
10
10
|
FETCH,
|
|
11
11
|
annotate,
|
|
12
12
|
overrideSharedContract
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A3WUEOEV.js";
|
|
14
14
|
import {
|
|
15
15
|
latestVersion,
|
|
16
16
|
runUpdate,
|
|
17
17
|
updateNotice
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LJCT7YG6.js";
|
|
19
19
|
import {
|
|
20
20
|
APP,
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YVVRV3PQ.js";
|
|
23
23
|
import {
|
|
24
24
|
installerOf
|
|
25
25
|
} from "./chunk-DSU6UR2X.js";
|
|
26
26
|
import {
|
|
27
27
|
createRenderer,
|
|
28
28
|
resolvePaths
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UUBV5ATQ.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.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/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 = [
|
|
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
agentResult,
|
|
5
5
|
failureContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-37H7TTWN.js";
|
|
7
7
|
import {
|
|
8
8
|
CommanderError,
|
|
9
9
|
judgedEffects,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-A3WUEOEV.js";
|
|
12
12
|
import {
|
|
13
13
|
storeDamaged
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3LGLKLBA.js";
|
|
15
15
|
import {
|
|
16
16
|
interactiveOf,
|
|
17
17
|
optionsOf
|
|
18
18
|
} from "./chunk-BPGYTJNB.js";
|
|
19
19
|
import {
|
|
20
20
|
APP
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YVVRV3PQ.js";
|
|
22
22
|
import {
|
|
23
23
|
ValiError,
|
|
24
24
|
errorObjectOf,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
|
27
27
|
}, "checkedOptions");
|
|
28
28
|
var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
31
31
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
32
32
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
33
33
|
if (images === void 0)
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
envName,
|
|
5
5
|
readOnlyLockOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2DQYP2K3.js";
|
|
7
7
|
import {
|
|
8
8
|
CAPABILITY_STATEMENTS,
|
|
9
9
|
storeCapable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YTJWIJIG.js";
|
|
11
11
|
import {
|
|
12
12
|
catchCrashes
|
|
13
13
|
} from "./chunk-HE2F4JII.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
25
25
|
import { spawn as spawn2 } from "node:child_process";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
28
28
|
import { spawn, spawnSync } from "node:child_process";
|
|
29
29
|
import { readFileSync } from "node:fs";
|
|
30
30
|
import { dirname } from "node:path";
|
|
@@ -112,14 +112,14 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
|
|
|
112
112
|
});
|
|
113
113
|
}), "relay");
|
|
114
114
|
|
|
115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
116
116
|
import { appendFileSync } from "node:fs";
|
|
117
117
|
var logVersion = /* @__PURE__ */ __name((file) => {
|
|
118
118
|
appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
|
|
119
119
|
`);
|
|
120
120
|
}, "logVersion");
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
123
123
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
124
124
|
argv: process.argv,
|
|
125
125
|
env: process.env,
|
|
@@ -173,8 +173,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
173
173
|
if (command.optsWithGlobals().dryRun === true)
|
|
174
174
|
return;
|
|
175
175
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
176
|
-
import("./first-run-
|
|
177
|
-
import("./command-contract-
|
|
176
|
+
import("./first-run-FQ2BAEYK.js"),
|
|
177
|
+
import("./command-contract-RX6RWHCT.js")
|
|
178
178
|
]);
|
|
179
179
|
await setupAtStart({
|
|
180
180
|
command: entry.app.command,
|
|
@@ -189,7 +189,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
189
189
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
190
190
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
191
191
|
return false;
|
|
192
|
-
const { readSecret } = await import("./prompt-
|
|
192
|
+
const { readSecret } = await import("./prompt-ZCYMFMIG.js");
|
|
193
193
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
194
194
|
input: io.stdin,
|
|
195
195
|
output: io.stderr,
|
|
@@ -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.618.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_a1c6dd927639f1a41fe5f9c53e24865e/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 {
|