@wirecat/cli-memo 0.131.33 → 0.131.34
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-I67AQBML.js → all-profiles-GPFKMOBB.js} +5 -5
- package/dist/bundle/{anthropic-TAN7BXEI.js → anthropic-ASHT7U76.js} +3 -3
- package/dist/bundle/{app-server-BB6D3T5A.js → app-server-D3IL4M6V.js} +35 -35
- package/dist/bundle/auto-BL5FF576.js +86 -0
- package/dist/bundle/{bun-UQEFISW2.js → bun-EIOFQKTA.js} +2 -2
- package/dist/bundle/{bun-sqlite-2QF3TO47.js → bun-sqlite-YIX2BVSZ.js} +2 -2
- package/dist/bundle/{chunk-MI6OKBKQ.js → chunk-26I6JRFH.js} +4 -4
- package/dist/bundle/{chunk-NOBWIWEE.js → chunk-2RDJLWOY.js} +2 -2
- package/dist/bundle/{chunk-NAKJLG6G.js → chunk-3W4HD6ZQ.js} +5 -5
- package/dist/bundle/{chunk-SN3VTCKM.js → chunk-47KEZ3AX.js} +12 -12
- package/dist/bundle/{chunk-3DDGDOTM.js → chunk-4VJJEIVC.js} +5 -5
- package/dist/bundle/{chunk-KBSN3KOJ.js → chunk-5HVQTBDA.js} +20 -20
- package/dist/bundle/{chunk-3CVPUL6V.js → chunk-5OCV4UG5.js} +2 -2
- package/dist/bundle/{chunk-BFLYYQZ7.js → chunk-6PTJTITL.js} +3 -3
- package/dist/bundle/{chunk-BT6ZZUXC.js → chunk-7PQZBIBH.js} +54 -54
- package/dist/bundle/{chunk-WSSMVWI6.js → chunk-7YECAMPV.js} +43 -43
- package/dist/bundle/{chunk-DUQGOBGY.js → chunk-AQQSOZ57.js} +9 -9
- package/dist/bundle/{chunk-5DEHFWR4.js → chunk-BN5H2M75.js} +1 -1
- package/dist/bundle/{chunk-4BDZUM4Z.js → chunk-BRG5MJLL.js} +1 -1
- package/dist/bundle/{chunk-YGKZOBRU.js → chunk-BWVE7V4A.js} +10 -10
- package/dist/bundle/{chunk-OGOMIZVL.js → chunk-C7AXGHGM.js} +1 -1
- package/dist/bundle/{chunk-LJZAVL4S.js → chunk-CL6MHRXX.js} +2 -2
- package/dist/bundle/{chunk-PVKETTTH.js → chunk-D22HTXOR.js} +7 -7
- package/dist/bundle/{chunk-R37MXUSP.js → chunk-D5LDALYF.js} +11 -11
- package/dist/bundle/{chunk-FZXOHGOA.js → chunk-DOXKMSML.js} +3 -3
- package/dist/bundle/{chunk-LUX5CPKS.js → chunk-DU6LCIHP.js} +1 -1
- package/dist/bundle/{chunk-BUYST3RY.js → chunk-E7NEGYRF.js} +1 -1
- package/dist/bundle/{chunk-KTGIARY4.js → chunk-EGB2R53R.js} +1 -1
- package/dist/bundle/{chunk-AP3AG2BB.js → chunk-EQR2QVP3.js} +4 -4
- package/dist/bundle/{chunk-ABORNS53.js → chunk-EVD3X6HS.js} +7 -7
- package/dist/bundle/{chunk-5JAYP233.js → chunk-G7TQ5W5Z.js} +7 -7
- package/dist/bundle/{chunk-JCFO4LQL.js → chunk-GWMA7EU5.js} +1 -1
- package/dist/bundle/{chunk-MF2IXW4D.js → chunk-GY27B6XK.js} +1 -1
- package/dist/bundle/{chunk-7OSMWDV3.js → chunk-H7N5JMQN.js} +2 -2
- package/dist/bundle/{chunk-2Y2UWMJX.js → chunk-I4SJXEDS.js} +5 -5
- package/dist/bundle/{chunk-PI5XHH3B.js → chunk-IAFUPD2G.js} +5 -5
- package/dist/bundle/{chunk-L5XW7SRP.js → chunk-JD4EEKNA.js} +1 -1
- package/dist/bundle/{chunk-P7AWDFQW.js → chunk-KG7APWFM.js} +1 -1
- package/dist/bundle/{chunk-YBSILL43.js → chunk-L43BXXBS.js} +4 -4
- package/dist/bundle/{chunk-LDEPGWLS.js → chunk-LC5SAWVM.js} +27 -27
- package/dist/bundle/{chunk-6MDFXQ3P.js → chunk-MQ7IHK4Z.js} +257 -280
- package/dist/bundle/{chunk-536BN5HJ.js → chunk-NDEA2YAQ.js} +1 -1
- package/dist/bundle/{chunk-MZMKZ3FS.js → chunk-NECGI52P.js} +8 -8
- package/dist/bundle/{chunk-IT5OORGL.js → chunk-NPLZ67KU.js} +1 -1
- package/dist/bundle/{chunk-RRLIMG4U.js → chunk-ONEW2BND.js} +32 -32
- package/dist/bundle/{chunk-QMK5MB3I.js → chunk-RQVC4ETN.js} +2 -2
- package/dist/bundle/{chunk-2S5YZCD4.js → chunk-RTPTCTH6.js} +2 -2
- package/dist/bundle/{chunk-62H5HS77.js → chunk-S62WXHPD.js} +6 -6
- package/dist/bundle/{chunk-N75EWKKC.js → chunk-SMAODNHO.js} +1 -1
- package/dist/bundle/{chunk-BSPNSDJR.js → chunk-TVHCOWJD.js} +4 -4
- package/dist/bundle/{chunk-3TEBUFO4.js → chunk-UBUKFDMN.js} +1 -1
- package/dist/bundle/{chunk-EN3D3M3X.js → chunk-UW2FRDLZ.js} +2 -2
- package/dist/bundle/{chunk-UMWPJXNA.js → chunk-VE2NDXFO.js} +3 -3
- package/dist/bundle/{chunk-SLY3522P.js → chunk-WROCO6RJ.js} +4 -4
- package/dist/bundle/{chunk-KJBKP66D.js → chunk-XV4E2XGC.js} +3 -3
- package/dist/bundle/{chunk-JOUN3RQQ.js → chunk-XZ3XUN4R.js} +162 -178
- package/dist/bundle/{chunk-S6HHL43A.js → chunk-Y3NJODLW.js} +1 -1
- package/dist/bundle/{chunk-GUCICZ5E.js → chunk-Y3XTA24Z.js} +4 -4
- package/dist/bundle/{chunk-AFCZMG3T.js → chunk-YJMQBJWU.js} +20 -20
- package/dist/bundle/{chunk-FQ23ENBP.js → chunk-YZU5HNYY.js} +275 -275
- package/dist/bundle/{chunk-X5WJDJ7B.js → chunk-ZE5HUZJV.js} +9 -9
- package/dist/bundle/{chunk-HU2UNNN5.js → chunk-ZV2K5I2G.js} +1 -1
- package/dist/bundle/{chunk-5M4CW3PM.js → chunk-ZWBLSTFE.js} +365 -314
- package/dist/bundle/{command-contract-LRGVHRDS.js → command-contract-X3I3J4AF.js} +11 -11
- package/dist/bundle/{decode-AC2QFP22.js → decode-BF5RUGSR.js} +2 -2
- package/dist/bundle/{echarts-2LGYCSJM.js → echarts-ADL7T3Q3.js} +2 -2
- package/dist/bundle/{embed-5G5NJRTM.js → embed-DOTUACTV.js} +3 -3
- package/dist/bundle/{embedder-AWGIIEIK.js → embedder-TMR4UP7L.js} +6 -6
- package/dist/bundle/{entry-J2G7NST5.js → entry-RPG5J5UQ.js} +4 -4
- package/dist/bundle/failure-4CTYFX6P.js +66 -0
- package/dist/bundle/{first-run-CIE4REGV.js → first-run-ONCIVD42.js} +5 -5
- package/dist/bundle/{first-screen-PLNL6V5J.js → first-screen-4LRYED7X.js} +12 -12
- package/dist/bundle/{instructions-5236MVDG.js → instructions-QVBHRTPG.js} +1 -1
- package/dist/bundle/{mcp-IRYWZZMF.js → mcp-4AFVFHYE.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-7746MVI2.js → node-6OXRSWHH.js} +2 -2
- package/dist/bundle/{node-sqlite-2JD5RF5A.js → node-sqlite-TG4H4T3L.js} +3 -3
- package/dist/bundle/{oauth-BUMW77DB.js → oauth-OXKNZOKZ.js} +4 -4
- package/dist/bundle/{open-CXUGW7QC.js → open-WW3W42QS.js} +2 -2
- package/dist/bundle/{openai-ORFEPFYD.js → openai-MNHTZHBT.js} +7 -7
- package/dist/bundle/{process-JXXYNYHP.js → process-TCXURVHD.js} +1 -1
- package/dist/bundle/{program-4RYVZYD2.js → program-GYW7IHWQ.js} +64 -73
- package/dist/bundle/{prompt-EHLY4L77.js → prompt-TGGJDYAS.js} +2 -2
- package/dist/bundle/{recognize-ES7MH57V.js → recognize-WV4MK35T.js} +1 -1
- package/dist/bundle/{remote-EZ76X2VI.js → remote-RQVV5MFO.js} +4 -4
- package/dist/bundle/{rerank-CDIZ6AA6.js → rerank-OJPVJGX5.js} +4 -4
- package/dist/bundle/{serve-YRSGBTJY.js → serve-KG7HPG5B.js} +6 -6
- package/dist/bundle/{server-MW5247KA.js → server-ESYNVVQC.js} +50 -50
- package/dist/bundle/server-TQVOXRHP.js +48 -0
- package/dist/bundle/server-YKMBFXQ4.js +61 -0
- package/dist/bundle/{state-S6A5VAWR.js → state-G7KN3S6X.js} +3 -3
- package/dist/bundle/{store-O5CDNS3U.js → store-GI2FLGUI.js} +9 -9
- package/dist/bundle/store-maintenance-command-CQ3KI7LW.js +48 -0
- package/dist/bundle/update-NP3I4GCG.js +69 -0
- package/dist/knowledge/project-status-command.d.ts.map +1 -1
- package/dist/knowledge/project-status-command.js +12 -19
- package/dist/knowledge/project-status-command.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-6555QOPH.js +0 -86
- package/dist/bundle/failure-7SDDOWOC.js +0 -66
- package/dist/bundle/server-EUYRPM4X.js +0 -48
- package/dist/bundle/server-OHIH2CMF.js +0 -61
- package/dist/bundle/store-maintenance-command-3OFVJT4R.js +0 -48
- package/dist/bundle/update-RC5CLYFY.js +0 -69
- /package/dist/bundle/{chunk-JB5P5WSQ.js → chunk-3RFXKBZA.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
botInstructions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KG7APWFM.js";
|
|
6
6
|
import {
|
|
7
7
|
answered,
|
|
8
8
|
normal,
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-D5LDALYF.js";
|
|
13
13
|
import {
|
|
14
14
|
agentJson,
|
|
15
15
|
skillResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZE5HUZJV.js";
|
|
17
17
|
import {
|
|
18
18
|
callerOf
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CL6MHRXX.js";
|
|
20
20
|
import {
|
|
21
21
|
serveStdio
|
|
22
22
|
} from "./chunk-MM5NVP7F.js";
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
} from "./chunk-H3ZN4YLB.js";
|
|
26
26
|
import {
|
|
27
27
|
wholeList
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MQ7IHK4Z.js";
|
|
29
29
|
import {
|
|
30
30
|
changesMessenger,
|
|
31
31
|
flatten,
|
|
32
32
|
itemOf
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XZ3XUN4R.js";
|
|
34
34
|
import {
|
|
35
35
|
MESSENGER_CHANGE_REFUSAL,
|
|
36
36
|
readOnlyLockOf,
|
|
37
37
|
readOnlyRefusal
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-E7NEGYRF.js";
|
|
39
39
|
import {
|
|
40
40
|
mcpErrorResult,
|
|
41
41
|
object
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
48
48
|
import { randomUUID } from "node:crypto";
|
|
49
49
|
var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
|
|
50
50
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
@@ -7,7 +7,7 @@ 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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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");
|
|
@@ -24,19 +24,19 @@ import {
|
|
|
24
24
|
serverSearchOptions,
|
|
25
25
|
summaryOf,
|
|
26
26
|
unansweredHours
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZWBLSTFE.js";
|
|
28
28
|
import {
|
|
29
29
|
MAIL_HIT_UNTRUSTED,
|
|
30
30
|
messagesAnswer,
|
|
31
31
|
offsetOf,
|
|
32
32
|
shownOf
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YJMQBJWU.js";
|
|
34
34
|
import {
|
|
35
35
|
messageItem
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-7YECAMPV.js";
|
|
37
37
|
import {
|
|
38
38
|
knownPermissionKeys
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5HVQTBDA.js";
|
|
40
40
|
import {
|
|
41
41
|
AGENDA_DEFAULTS,
|
|
42
42
|
DEFAULT_BACKEND,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
sourceKey,
|
|
60
60
|
typedQuery,
|
|
61
61
|
withQuery
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-MQ7IHK4Z.js";
|
|
63
63
|
import {
|
|
64
64
|
Command,
|
|
65
65
|
FETCH,
|
|
@@ -95,11 +95,11 @@ import {
|
|
|
95
95
|
untrusted,
|
|
96
96
|
withSettingDefaults,
|
|
97
97
|
withoutSetting
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-XZ3XUN4R.js";
|
|
99
99
|
import {
|
|
100
100
|
mailHolderVariable,
|
|
101
101
|
readOnlyLockOf
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-E7NEGYRF.js";
|
|
103
103
|
import {
|
|
104
104
|
DEFAULT_DECISION_POLICY,
|
|
105
105
|
MESSAGE_PARSING,
|
|
@@ -110,14 +110,14 @@ import {
|
|
|
110
110
|
parseReference,
|
|
111
111
|
queryFilter,
|
|
112
112
|
validateFields
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-YZU5HNYY.js";
|
|
114
114
|
import {
|
|
115
115
|
dateRange,
|
|
116
116
|
defineQuery,
|
|
117
117
|
parseLucene,
|
|
118
118
|
queryFieldsOf,
|
|
119
119
|
timezoneOf
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-7PQZBIBH.js";
|
|
121
121
|
import {
|
|
122
122
|
configFilePath,
|
|
123
123
|
resolvePaths,
|
|
@@ -9891,7 +9891,7 @@ var require_cjs = __commonJS({
|
|
|
9891
9891
|
}
|
|
9892
9892
|
});
|
|
9893
9893
|
|
|
9894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/attachments.js
|
|
9895
9895
|
var MAX_ATTACHMENT_CHARS = 2e5;
|
|
9896
9896
|
var DEFAULT_ATTACHMENT_POLICY = { read: true, maxBytes: 10 * 1024 * 1024 };
|
|
9897
9897
|
var POLICY_SKIPS = ["not-read", "too-large"];
|
|
@@ -9930,7 +9930,7 @@ var readAttachments = /* @__PURE__ */ __name(async (mail, messageId, { loadEngin
|
|
|
9930
9930
|
return files;
|
|
9931
9931
|
}, "readAttachments");
|
|
9932
9932
|
|
|
9933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
9933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/read.js
|
|
9934
9934
|
var lowerSuspicious = /* @__PURE__ */ __name((items, suspicious) => [
|
|
9935
9935
|
...items.filter((item) => !suspicious(item)),
|
|
9936
9936
|
...items.filter(suspicious)
|
|
@@ -10017,11 +10017,11 @@ var attachmentsText = /* @__PURE__ */ __name((hit) => (hit.attachments ?? []).ma
|
|
|
10017
10017
|
${file.text.replace(/\n/g, "\n ")}`;
|
|
10018
10018
|
}).join("\n"), "attachmentsText");
|
|
10019
10019
|
|
|
10020
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10020
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/bulk.js
|
|
10021
10021
|
var BULK = "bulk";
|
|
10022
10022
|
var bulkBox = { externalId: "memo:bulk", name: "bulk", kind: BULK };
|
|
10023
10023
|
|
|
10024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/email-input.js
|
|
10025
10025
|
var sentAtOf = /* @__PURE__ */ __name((date, receivedAt) => {
|
|
10026
10026
|
const sent = date === null ? Number.NaN : Date.parse(date);
|
|
10027
10027
|
return Number.isNaN(sent) ? Date.parse(receivedAt) : sent;
|
|
@@ -10041,7 +10041,7 @@ var parsedEmail = /* @__PURE__ */ __name((mail, item, header, address) => ({
|
|
|
10041
10041
|
outgoing: mail.from === null ? null : mail.from.email === address
|
|
10042
10042
|
}), "parsedEmail");
|
|
10043
10043
|
|
|
10044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/score.js
|
|
10045
10045
|
var import_disposable_email_domains_js = __toESM(require_dist2(), 1);
|
|
10046
10046
|
var import_tldts = __toESM(require_cjs(), 1);
|
|
10047
10047
|
var WEIGHTS = {
|
|
@@ -10149,7 +10149,7 @@ var scoreGroup = /* @__PURE__ */ __name((items, context) => {
|
|
|
10149
10149
|
return { score: kept.reduce((sum, signal) => sum + WEIGHTS[signal], 0), signals: kept };
|
|
10150
10150
|
}, "scoreGroup");
|
|
10151
10151
|
|
|
10152
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/presets.js
|
|
10153
10153
|
var PRESETS = {
|
|
10154
10154
|
social: {
|
|
10155
10155
|
about: "notifications from social networks",
|
|
@@ -10241,7 +10241,7 @@ var presetMatches = /* @__PURE__ */ __name((name, facts) => {
|
|
|
10241
10241
|
return false;
|
|
10242
10242
|
}, "presetMatches");
|
|
10243
10243
|
|
|
10244
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10244
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/probe.js
|
|
10245
10245
|
var share = /* @__PURE__ */ __name((part, whole) => Math.round(part / whole * 100) / 100, "share");
|
|
10246
10246
|
var isSent = /* @__PURE__ */ __name((item) => item.labels?.includes("Sent") || /(^|\/)sent\b/i.test(item.folder ?? ""), "isSent");
|
|
10247
10247
|
var groupKey = /* @__PURE__ */ __name((headers) => headers.listId === void 0 ? `from:${headers.from}` : `list:${headers.listId}`, "groupKey");
|
|
@@ -10309,7 +10309,7 @@ var probeMail = /* @__PURE__ */ __name((items, limit, ages = /* @__PURE__ */ new
|
|
|
10309
10309
|
};
|
|
10310
10310
|
}, "probeMail");
|
|
10311
10311
|
|
|
10312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10312
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/facts.js
|
|
10313
10313
|
var factsOf = /* @__PURE__ */ __name((listed2, rules, ages = /* @__PURE__ */ new Map()) => {
|
|
10314
10314
|
const grouped = rules.some(({ match }) => match.score_at_least !== void 0 || match.preset !== void 0);
|
|
10315
10315
|
if (!grouped)
|
|
@@ -15580,7 +15580,7 @@ var PostalMime = class _PostalMime {
|
|
|
15580
15580
|
}
|
|
15581
15581
|
};
|
|
15582
15582
|
|
|
15583
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/headers.js
|
|
15584
15584
|
var unfold = /* @__PURE__ */ __name((text2) => text2.replace(/\r?\n[ \t]+/g, " "), "unfold");
|
|
15585
15585
|
var field = /* @__PURE__ */ __name((unfolded, name) => new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "im").exec(unfolded)?.[1], "field");
|
|
15586
15586
|
var fieldsOf = /* @__PURE__ */ __name((unfolded, name) => [...unfolded.matchAll(new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "gim"))].map(([, value]) => value), "fieldsOf");
|
|
@@ -15627,7 +15627,7 @@ var mailHeadersOf = /* @__PURE__ */ __name((raw) => {
|
|
|
15627
15627
|
};
|
|
15628
15628
|
}, "mailHeadersOf");
|
|
15629
15629
|
|
|
15630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15630
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/parse.js
|
|
15631
15631
|
var MAX_BODY_CHARS = 1e6;
|
|
15632
15632
|
var MAX_ATTACHMENTS = 50;
|
|
15633
15633
|
var BRACKETED_ID = /<[^<>\s]+>/g;
|
|
@@ -15692,13 +15692,13 @@ var parseMail = /* @__PURE__ */ __name(async (raw, maxBodyChars = MAX_BODY_CHARS
|
|
|
15692
15692
|
};
|
|
15693
15693
|
}, "parseMail");
|
|
15694
15694
|
|
|
15695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15695
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/partial.js
|
|
15696
15696
|
var PARTIAL = "partial";
|
|
15697
15697
|
|
|
15698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/account-key.js
|
|
15699
15699
|
var mailAccountKey = /* @__PURE__ */ __name((address) => ({ provider: "email", account: address.toLowerCase() }), "mailAccountKey");
|
|
15700
15700
|
|
|
15701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
|
|
15702
15702
|
var ACTION_OF = { full: "keep", envelope: "envelope", skip: "skip" };
|
|
15703
15703
|
var KINDS = {
|
|
15704
15704
|
from: "string",
|
|
@@ -15767,7 +15767,7 @@ var storedMailRuleSet = /* @__PURE__ */ __name(async (store, account, query) =>
|
|
|
15767
15767
|
}, "storedMailRuleSet");
|
|
15768
15768
|
var storedMailRules = /* @__PURE__ */ __name(async (store, account, query) => (await storedMailRuleSet(store, account, query)).rules, "storedMailRules");
|
|
15769
15769
|
|
|
15770
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15770
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/rules.js
|
|
15771
15771
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
15772
15772
|
var domainOf = /* @__PURE__ */ __name((address) => address.slice(address.lastIndexOf("@") + 1), "domainOf");
|
|
15773
15773
|
var domainMatches = /* @__PURE__ */ __name((wanted2, sender) => {
|
|
@@ -15839,7 +15839,7 @@ var tagsOf = /* @__PURE__ */ __name((rules, facts) => {
|
|
|
15839
15839
|
}, "tagsOf");
|
|
15840
15840
|
var conditionKeys = /* @__PURE__ */ __name((match) => Object.keys(match).filter((key) => match[key] !== void 0).sort(), "conditionKeys");
|
|
15841
15841
|
|
|
15842
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15842
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
|
|
15843
15843
|
var STORE_ACTION = { keep: "full", envelope: "envelope", skip: "skip" };
|
|
15844
15844
|
var LOWER = ["from", "domain", "list_id", "subject"];
|
|
15845
15845
|
var conditionsOf = /* @__PURE__ */ __name((match) => Object.fromEntries(conditionKeys(match).map((key) => {
|
|
@@ -15869,7 +15869,7 @@ var ruleInput = /* @__PURE__ */ __name((rule, source = rule.source ?? "owner") =
|
|
|
15869
15869
|
decidedAt: decidedAtOf(rule.decided_at)
|
|
15870
15870
|
}), "ruleInput");
|
|
15871
15871
|
|
|
15872
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15872
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
|
|
15873
15873
|
var reuseOf = /* @__PURE__ */ __name((error) => {
|
|
15874
15874
|
const { details } = error;
|
|
15875
15875
|
return details?.reason === "tag-review.required" ? details.candidates?.[0]?.name : void 0;
|
|
@@ -15930,7 +15930,7 @@ var settleRuleTags = /* @__PURE__ */ __name(async (store, accountId, rules, outc
|
|
|
15930
15930
|
}
|
|
15931
15931
|
}, "settleRuleTags");
|
|
15932
15932
|
|
|
15933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/server-query.js
|
|
15934
15934
|
var DAY = 864e5;
|
|
15935
15935
|
var empty = /* @__PURE__ */ __name(() => ({ words: [], from: [], to: [], cc: [], subject: [], body: [] }), "empty");
|
|
15936
15936
|
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");
|
|
@@ -16003,7 +16003,7 @@ var mailCriteriaOf = /* @__PURE__ */ __name((text2, { exact, timezone } = {}) =>
|
|
|
16003
16003
|
};
|
|
16004
16004
|
}, "mailCriteriaOf");
|
|
16005
16005
|
|
|
16006
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/server-search.js
|
|
16007
16007
|
var refusal = {
|
|
16008
16008
|
unsupported: "this mailbox's server cannot be searched \u2014 use --backend archive",
|
|
16009
16009
|
offline: "--backend server needs the network \u2014 not with --offline",
|
|
@@ -16218,7 +16218,7 @@ var searchMailServer = /* @__PURE__ */ __name(async (store, mailbox, access, req
|
|
|
16218
16218
|
return { report, sources };
|
|
16219
16219
|
}, "searchMailServer");
|
|
16220
16220
|
|
|
16221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
|
|
16222
16222
|
var iso = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
16223
16223
|
var mailMark = strictObject({
|
|
16224
16224
|
holder: string(),
|
|
@@ -16313,7 +16313,7 @@ var resetMarkCommand = /* @__PURE__ */ __name((mail) => answerEntity(annotate(ne
|
|
|
16313
16313
|
});
|
|
16314
16314
|
}), "resetMarkCommand");
|
|
16315
16315
|
|
|
16316
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16316
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/review.js
|
|
16317
16317
|
var REVIEW_THREADS = 50;
|
|
16318
16318
|
var REVIEW_PER_THREAD = 50;
|
|
16319
16319
|
var OWED_DAYS = 30;
|
|
@@ -16411,7 +16411,7 @@ var reviewMail = /* @__PURE__ */ __name(async (store, mailbox, options) => {
|
|
|
16411
16411
|
};
|
|
16412
16412
|
}, "reviewMail");
|
|
16413
16413
|
|
|
16414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16414
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
|
|
16415
16415
|
var DAY2 = 864e5;
|
|
16416
16416
|
var REVIEW_UNTRUSTED = [...SUMMARY_UNTRUSTED, ...MAIL_HIT_UNTRUSTED];
|
|
16417
16417
|
var MAIL_REVIEW_QUERY = defineQuery({
|
|
@@ -16659,7 +16659,7 @@ an agent over MCP, and each scheduled run.`).action(async function(query) {
|
|
|
16659
16659
|
saved?.save(found.checked ?? {}, found.complete ? { through: found.until } : {});
|
|
16660
16660
|
}), "mailReviewCommand");
|
|
16661
16661
|
|
|
16662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/cli/bulk-settings.js
|
|
16663
16663
|
var listed = /* @__PURE__ */ __name((words2) => words2.join(", "), "listed");
|
|
16664
16664
|
var MAIL_BULK_SETTINGS = [
|
|
16665
16665
|
{
|
|
@@ -16715,7 +16715,7 @@ var bulkTriageOf = /* @__PURE__ */ __name((config) => {
|
|
|
16715
16715
|
};
|
|
16716
16716
|
}, "bulkTriageOf");
|
|
16717
16717
|
|
|
16718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16718
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
|
|
16719
16719
|
var absentAccount = /* @__PURE__ */ __name((error) => {
|
|
16720
16720
|
if (error instanceof CliError && error.code === "not_found")
|
|
16721
16721
|
return void 0;
|
|
@@ -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-3W4HD6ZQ.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-EB2IULWB.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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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 = {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XZ3XUN4R.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
13
|
} from "./chunk-G2BB5WY5.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RTPTCTH6.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XZ3XUN4R.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
24
|
} from "./chunk-G2BB5WY5.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
|
|
|
94
94
|
upgrade: "setup"
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
98
98
|
var DESCRIPTION = 90;
|
|
99
99
|
var COLUMN = 52;
|
|
100
100
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
133
133
|
`;
|
|
134
134
|
}, "commandsText");
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
137
137
|
var ARGUMENT_KINDS = {
|
|
138
138
|
chat: "chat",
|
|
139
139
|
chats: "chat",
|
|
@@ -325,7 +325,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
325
325
|
command.addHelpText("after", () => commandHelpText(command));
|
|
326
326
|
}, "installCommandHelp");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
329
329
|
var WIRECAT_TOOLS = [
|
|
330
330
|
{
|
|
331
331
|
command: "tg",
|
|
@@ -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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
decisionPolicy
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ONEW2BND.js";
|
|
6
6
|
import {
|
|
7
7
|
compactText,
|
|
8
8
|
currentRun,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
rowsOfEntity,
|
|
16
16
|
sealed,
|
|
17
17
|
snakeKeysKeeping
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XZ3XUN4R.js";
|
|
19
19
|
import {
|
|
20
20
|
openStore
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YZU5HNYY.js";
|
|
22
22
|
import {
|
|
23
23
|
STORE_CLIENT
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BRG5MJLL.js";
|
|
25
25
|
import {
|
|
26
26
|
createRenderer
|
|
27
27
|
} from "./chunk-TZ7WDQPD.js";
|
|
@@ -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.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/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");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y3NJODLW.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-EB2IULWB.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -3,19 +3,19 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
agentResult,
|
|
5
5
|
failureContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZE5HUZJV.js";
|
|
7
7
|
import {
|
|
8
8
|
CommanderError,
|
|
9
9
|
judgedEffects,
|
|
10
10
|
metaOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XZ3XUN4R.js";
|
|
12
12
|
import {
|
|
13
13
|
interactiveOf,
|
|
14
14
|
optionsOf
|
|
15
15
|
} from "./chunk-BPGYTJNB.js";
|
|
16
16
|
import {
|
|
17
17
|
APP
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BRG5MJLL.js";
|
|
19
19
|
import {
|
|
20
20
|
ValiError,
|
|
21
21
|
errorObjectOf,
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C7AXGHGM.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
callerOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CL6MHRXX.js";
|
|
11
11
|
import {
|
|
12
12
|
StdioServerTransport,
|
|
13
13
|
serveStdio
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
var PROTOCOL = "2025-06-18";
|
|
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
253
253
|
}, "serveAllProfilesOverStdio");
|
|
254
254
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
255
255
|
const { build, close } = allProfilesServer(options);
|
|
256
|
-
const { serveOverHttp } = await import("./serve-
|
|
256
|
+
const { serveOverHttp } = await import("./serve-KG7HPG5B.js");
|
|
257
257
|
const listening = await serveOverHttp(build, {
|
|
258
258
|
...http,
|
|
259
259
|
appName: options.command,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L43BXXBS.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NPLZ67KU.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
13
|
} from "./chunk-EB2IULWB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.578.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_ccec64c78902f08ceaf95c4854473d3e/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|