@goondocks/myco 0.16.1 → 0.16.2
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/{agent-run-LOZGH6P5.js → agent-run-MNU2QWHR.js} +4 -4
- package/dist/{agent-tasks-SNQ55FUN.js → agent-tasks-NCRKUU6E.js} +4 -4
- package/dist/{chunk-VTSNXAW7.js → chunk-2E7YGLLN.js} +2 -2
- package/dist/{chunk-HA7HO2X2.js → chunk-4U6X35TH.js} +2 -2
- package/dist/{chunk-35FAQCKJ.js → chunk-BNAYBGPH.js} +2 -2
- package/dist/{chunk-G42PTGMC.js → chunk-RJRRHTAA.js} +2 -2
- package/dist/{chunk-TPTF3R77.js → chunk-ZMODJWI5.js} +2 -2
- package/dist/{cli-W66XNY2H.js → cli-RYYABF2X.js} +34 -34
- package/dist/{client-IZM3GJMT.js → client-5VXKGNN2.js} +3 -3
- package/dist/{doctor-WLV7QNRP.js → doctor-M4Q7VCDO.js} +4 -4
- package/dist/{executor-PUKL76TU.js → executor-ULRFWJCH.js} +35 -9
- package/dist/executor-ULRFWJCH.js.map +1 -0
- package/dist/{init-5TB6A2RV.js → init-AEHAQFPK.js} +7 -7
- package/dist/{init-wizard-2Y52AX2A.js → init-wizard-SVKDS3LR.js} +2 -2
- package/dist/{main-3ZXFA56L.js → main-GAGOE6XB.js} +9 -9
- package/dist/{open-ZOZLFBEA.js → open-4QMAL32X.js} +4 -4
- package/dist/{post-compact-QSID23PX.js → post-compact-OAWEBEDK.js} +4 -4
- package/dist/{post-tool-use-4MTNNDTO.js → post-tool-use-B3KOEOIM.js} +3 -3
- package/dist/{post-tool-use-failure-WKSMUGJI.js → post-tool-use-failure-2I5ELTTN.js} +4 -4
- package/dist/{pre-compact-HFGKNBYV.js → pre-compact-NOXNJ5EV.js} +4 -4
- package/dist/{remove-S5G6VGVT.js → remove-LX4G6KP7.js} +4 -4
- package/dist/{restart-A7HJTFFM.js → restart-WSNBSALP.js} +5 -5
- package/dist/{search-HKBGO3QV.js → search-Q6N3SHKP.js} +4 -4
- package/dist/{server-UAATWKNX.js → server-OFRKA6N7.js} +3 -3
- package/dist/{session-D2WPQTSR.js → session-SKXJLJYH.js} +4 -4
- package/dist/{session-end-S4RYJG3Y.js → session-end-5EIVRCPS.js} +3 -3
- package/dist/{session-start-4RJ32KS5.js → session-start-OL2ICLED.js} +3 -3
- package/dist/{setup-llm-EZRNEIW2.js → setup-llm-BRNQW7K2.js} +4 -4
- package/dist/src/cli.js +1 -1
- package/dist/src/daemon/main.js +1 -1
- package/dist/src/hooks/post-tool-use.js +1 -1
- package/dist/src/hooks/session-end.js +1 -1
- package/dist/src/hooks/session-start.js +1 -1
- package/dist/src/hooks/stop.js +1 -1
- package/dist/src/hooks/user-prompt-submit.js +1 -1
- package/dist/src/mcp/server.js +1 -1
- package/dist/{stats-PW7OGIBR.js → stats-U5FHDIR7.js} +5 -5
- package/dist/{stop-FVMLTWXU.js → stop-YUZNQBRQ.js} +3 -3
- package/dist/{stop-failure-MD52CGFX.js → stop-failure-6WFAKH2U.js} +4 -4
- package/dist/{subagent-start-ZJZA7EAJ.js → subagent-start-GWJXAAH3.js} +4 -4
- package/dist/{subagent-stop-56H22JSE.js → subagent-stop-B44SMV2R.js} +4 -4
- package/dist/{task-completed-TQ4WW2HW.js → task-completed-GIUFSRTP.js} +4 -4
- package/dist/{team-RXYFXGUT.js → team-3YI3UWB3.js} +2 -2
- package/dist/{update-HIJUK5ZK.js → update-QPRTLGYU.js} +4 -4
- package/dist/{user-prompt-submit-SLQNTQFL.js → user-prompt-submit-FSYEPW7W.js} +3 -3
- package/dist/{version-4YUDRPU4.js → version-VS2EDHBG.js} +2 -2
- package/package.json +1 -1
- package/dist/executor-PUKL76TU.js.map +0 -1
- /package/dist/{agent-run-LOZGH6P5.js.map → agent-run-MNU2QWHR.js.map} +0 -0
- /package/dist/{agent-tasks-SNQ55FUN.js.map → agent-tasks-NCRKUU6E.js.map} +0 -0
- /package/dist/{chunk-VTSNXAW7.js.map → chunk-2E7YGLLN.js.map} +0 -0
- /package/dist/{chunk-HA7HO2X2.js.map → chunk-4U6X35TH.js.map} +0 -0
- /package/dist/{chunk-35FAQCKJ.js.map → chunk-BNAYBGPH.js.map} +0 -0
- /package/dist/{chunk-G42PTGMC.js.map → chunk-RJRRHTAA.js.map} +0 -0
- /package/dist/{chunk-TPTF3R77.js.map → chunk-ZMODJWI5.js.map} +0 -0
- /package/dist/{cli-W66XNY2H.js.map → cli-RYYABF2X.js.map} +0 -0
- /package/dist/{client-IZM3GJMT.js.map → client-5VXKGNN2.js.map} +0 -0
- /package/dist/{doctor-WLV7QNRP.js.map → doctor-M4Q7VCDO.js.map} +0 -0
- /package/dist/{init-5TB6A2RV.js.map → init-AEHAQFPK.js.map} +0 -0
- /package/dist/{init-wizard-2Y52AX2A.js.map → init-wizard-SVKDS3LR.js.map} +0 -0
- /package/dist/{main-3ZXFA56L.js.map → main-GAGOE6XB.js.map} +0 -0
- /package/dist/{open-ZOZLFBEA.js.map → open-4QMAL32X.js.map} +0 -0
- /package/dist/{post-compact-QSID23PX.js.map → post-compact-OAWEBEDK.js.map} +0 -0
- /package/dist/{post-tool-use-4MTNNDTO.js.map → post-tool-use-B3KOEOIM.js.map} +0 -0
- /package/dist/{post-tool-use-failure-WKSMUGJI.js.map → post-tool-use-failure-2I5ELTTN.js.map} +0 -0
- /package/dist/{pre-compact-HFGKNBYV.js.map → pre-compact-NOXNJ5EV.js.map} +0 -0
- /package/dist/{remove-S5G6VGVT.js.map → remove-LX4G6KP7.js.map} +0 -0
- /package/dist/{restart-A7HJTFFM.js.map → restart-WSNBSALP.js.map} +0 -0
- /package/dist/{search-HKBGO3QV.js.map → search-Q6N3SHKP.js.map} +0 -0
- /package/dist/{server-UAATWKNX.js.map → server-OFRKA6N7.js.map} +0 -0
- /package/dist/{session-D2WPQTSR.js.map → session-SKXJLJYH.js.map} +0 -0
- /package/dist/{session-end-S4RYJG3Y.js.map → session-end-5EIVRCPS.js.map} +0 -0
- /package/dist/{session-start-4RJ32KS5.js.map → session-start-OL2ICLED.js.map} +0 -0
- /package/dist/{setup-llm-EZRNEIW2.js.map → setup-llm-BRNQW7K2.js.map} +0 -0
- /package/dist/{stats-PW7OGIBR.js.map → stats-U5FHDIR7.js.map} +0 -0
- /package/dist/{stop-FVMLTWXU.js.map → stop-YUZNQBRQ.js.map} +0 -0
- /package/dist/{stop-failure-MD52CGFX.js.map → stop-failure-6WFAKH2U.js.map} +0 -0
- /package/dist/{subagent-start-ZJZA7EAJ.js.map → subagent-start-GWJXAAH3.js.map} +0 -0
- /package/dist/{subagent-stop-56H22JSE.js.map → subagent-stop-B44SMV2R.js.map} +0 -0
- /package/dist/{task-completed-TQ4WW2HW.js.map → task-completed-GIUFSRTP.js.map} +0 -0
- /package/dist/{team-RXYFXGUT.js.map → team-3YI3UWB3.js.map} +0 -0
- /package/dist/{update-HIJUK5ZK.js.map → update-QPRTLGYU.js.map} +0 -0
- /package/dist/{user-prompt-submit-SLQNTQFL.js.map → user-prompt-submit-FSYEPW7W.js.map} +0 -0
- /package/dist/{version-4YUDRPU4.js.map → version-VS2EDHBG.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
connectToDaemon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BNAYBGPH.js";
|
|
5
5
|
import "./chunk-SAKJMNSR.js";
|
|
6
6
|
import "./chunk-TIAYBVSI.js";
|
|
7
7
|
import "./chunk-VWXDSDJU.js";
|
|
8
8
|
import "./chunk-MYX5NCRH.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-RJRRHTAA.js";
|
|
10
|
+
import "./chunk-2E7YGLLN.js";
|
|
11
11
|
import "./chunk-LPUQPDC2.js";
|
|
12
12
|
import "./chunk-34NHDRWI.js";
|
|
13
13
|
import "./chunk-E7NUADTQ.js";
|
|
@@ -32,4 +32,4 @@ async function run(args, vaultDir) {
|
|
|
32
32
|
export {
|
|
33
33
|
run
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=agent-run-
|
|
35
|
+
//# sourceMappingURL=agent-run-MNU2QWHR.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
connectToDaemon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BNAYBGPH.js";
|
|
5
5
|
import "./chunk-SAKJMNSR.js";
|
|
6
6
|
import "./chunk-TIAYBVSI.js";
|
|
7
7
|
import "./chunk-VWXDSDJU.js";
|
|
8
8
|
import "./chunk-MYX5NCRH.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-RJRRHTAA.js";
|
|
10
|
+
import "./chunk-2E7YGLLN.js";
|
|
11
11
|
import "./chunk-LPUQPDC2.js";
|
|
12
12
|
import "./chunk-34NHDRWI.js";
|
|
13
13
|
import "./chunk-E7NUADTQ.js";
|
|
@@ -178,4 +178,4 @@ async function run(args, vaultDir) {
|
|
|
178
178
|
export {
|
|
179
179
|
run
|
|
180
180
|
};
|
|
181
|
-
//# sourceMappingURL=agent-tasks-
|
|
181
|
+
//# sourceMappingURL=agent-tasks-NCRKUU6E.js.map
|
|
@@ -11,7 +11,7 @@ var cached;
|
|
|
11
11
|
function getPluginVersion() {
|
|
12
12
|
if (cached) return cached;
|
|
13
13
|
if (true) {
|
|
14
|
-
cached = "0.16.
|
|
14
|
+
cached = "0.16.2";
|
|
15
15
|
return cached;
|
|
16
16
|
}
|
|
17
17
|
const root = findPackageRoot(path.dirname(fileURLToPath(import.meta.url)));
|
|
@@ -32,4 +32,4 @@ function getPluginVersion() {
|
|
|
32
32
|
export {
|
|
33
33
|
getPluginVersion
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-2E7YGLLN.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-5ZT2Q6P5.js";
|
|
12
12
|
import {
|
|
13
13
|
DaemonClient
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RJRRHTAA.js";
|
|
15
15
|
|
|
16
16
|
// src/hooks/send-event.ts
|
|
17
17
|
import fs from "fs";
|
|
@@ -39,4 +39,4 @@ async function sendEvent(hookName, buildEvent) {
|
|
|
39
39
|
export {
|
|
40
40
|
sendEvent
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-4U6X35TH.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-MYX5NCRH.js";
|
|
14
14
|
import {
|
|
15
15
|
DaemonClient
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RJRRHTAA.js";
|
|
17
17
|
|
|
18
18
|
// src/cli/shared.ts
|
|
19
19
|
import fs from "fs";
|
|
@@ -109,4 +109,4 @@ export {
|
|
|
109
109
|
VAULT_GITIGNORE,
|
|
110
110
|
registerSymbionts
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-BNAYBGPH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getPluginVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2E7YGLLN.js";
|
|
5
5
|
import {
|
|
6
6
|
DAEMON_CLIENT_TIMEOUT_MS,
|
|
7
7
|
DAEMON_HEALTH_CHECK_TIMEOUT_MS,
|
|
@@ -185,4 +185,4 @@ export {
|
|
|
185
185
|
resolveCliEntryPath,
|
|
186
186
|
DaemonClient
|
|
187
187
|
};
|
|
188
|
-
//# sourceMappingURL=chunk-
|
|
188
|
+
//# sourceMappingURL=chunk-RJRRHTAA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
isProcessAlive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BNAYBGPH.js";
|
|
5
5
|
import {
|
|
6
6
|
loadConfig
|
|
7
7
|
} from "./chunk-XAXQ72L3.js";
|
|
@@ -184,4 +184,4 @@ export {
|
|
|
184
184
|
getEmbeddingQueueDepth,
|
|
185
185
|
gatherStats
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-ZMODJWI5.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadEnv
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BNAYBGPH.js";
|
|
6
6
|
import "./chunk-SAKJMNSR.js";
|
|
7
7
|
import "./chunk-TIAYBVSI.js";
|
|
8
8
|
import "./chunk-VWXDSDJU.js";
|
|
@@ -10,8 +10,8 @@ import "./chunk-MYX5NCRH.js";
|
|
|
10
10
|
import {
|
|
11
11
|
resolveVaultDir
|
|
12
12
|
} from "./chunk-5ZT2Q6P5.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-RJRRHTAA.js";
|
|
14
|
+
import "./chunk-2E7YGLLN.js";
|
|
15
15
|
import "./chunk-LPUQPDC2.js";
|
|
16
16
|
import "./chunk-34NHDRWI.js";
|
|
17
17
|
import "./chunk-E7NUADTQ.js";
|
|
@@ -55,29 +55,29 @@ async function main() {
|
|
|
55
55
|
process.stdout.write(USAGE);
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
|
-
if (cmd === "init") return (await import("./init-
|
|
58
|
+
if (cmd === "init") return (await import("./init-AEHAQFPK.js")).run(args);
|
|
59
59
|
if (cmd === "detect-providers") return (await import("./detect-providers-R7QOB3H6.js")).run(args);
|
|
60
60
|
if (cmd === "version" || cmd === "--version" || cmd === "-v") {
|
|
61
|
-
const { getPluginVersion } = await import("./version-
|
|
61
|
+
const { getPluginVersion } = await import("./version-VS2EDHBG.js");
|
|
62
62
|
console.log(getPluginVersion());
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
|
-
if (cmd === "mcp") return (await import("./server-
|
|
65
|
+
if (cmd === "mcp") return (await import("./server-OFRKA6N7.js")).main();
|
|
66
66
|
if (cmd === "hook") {
|
|
67
67
|
const hookName = args[0];
|
|
68
68
|
const HOOK_DISPATCH = {
|
|
69
|
-
"session-start": () => import("./session-start-
|
|
70
|
-
"session-end": () => import("./session-end-
|
|
71
|
-
"stop": () => import("./stop-
|
|
72
|
-
"user-prompt-submit": () => import("./user-prompt-submit-
|
|
73
|
-
"post-tool-use": () => import("./post-tool-use-
|
|
74
|
-
"post-tool-use-failure": () => import("./post-tool-use-failure-
|
|
75
|
-
"subagent-start": () => import("./subagent-start-
|
|
76
|
-
"subagent-stop": () => import("./subagent-stop-
|
|
77
|
-
"stop-failure": () => import("./stop-failure-
|
|
78
|
-
"task-completed": () => import("./task-completed-
|
|
79
|
-
"pre-compact": () => import("./pre-compact-
|
|
80
|
-
"post-compact": () => import("./post-compact-
|
|
69
|
+
"session-start": () => import("./session-start-OL2ICLED.js"),
|
|
70
|
+
"session-end": () => import("./session-end-5EIVRCPS.js"),
|
|
71
|
+
"stop": () => import("./stop-YUZNQBRQ.js"),
|
|
72
|
+
"user-prompt-submit": () => import("./user-prompt-submit-FSYEPW7W.js"),
|
|
73
|
+
"post-tool-use": () => import("./post-tool-use-B3KOEOIM.js"),
|
|
74
|
+
"post-tool-use-failure": () => import("./post-tool-use-failure-2I5ELTTN.js"),
|
|
75
|
+
"subagent-start": () => import("./subagent-start-GWJXAAH3.js"),
|
|
76
|
+
"subagent-stop": () => import("./subagent-stop-B44SMV2R.js"),
|
|
77
|
+
"stop-failure": () => import("./stop-failure-6WFAKH2U.js"),
|
|
78
|
+
"task-completed": () => import("./task-completed-GIUFSRTP.js"),
|
|
79
|
+
"pre-compact": () => import("./pre-compact-NOXNJ5EV.js"),
|
|
80
|
+
"post-compact": () => import("./post-compact-OAWEBEDK.js")
|
|
81
81
|
};
|
|
82
82
|
const loader = HOOK_DISPATCH[hookName];
|
|
83
83
|
if (!loader) {
|
|
@@ -86,13 +86,13 @@ async function main() {
|
|
|
86
86
|
}
|
|
87
87
|
return (await loader()).main();
|
|
88
88
|
}
|
|
89
|
-
if (cmd === "daemon") return (await import("./main-
|
|
89
|
+
if (cmd === "daemon") return (await import("./main-GAGOE6XB.js")).main();
|
|
90
90
|
if (cmd === "doctor") {
|
|
91
91
|
const vaultDir2 = resolveVaultDir();
|
|
92
|
-
return (await import("./doctor-
|
|
92
|
+
return (await import("./doctor-M4Q7VCDO.js")).run(args, vaultDir2);
|
|
93
93
|
}
|
|
94
|
-
if (cmd === "update") return (await import("./update-
|
|
95
|
-
if (cmd === "remove") return (await import("./remove-
|
|
94
|
+
if (cmd === "update") return (await import("./update-QPRTLGYU.js")).run(args);
|
|
95
|
+
if (cmd === "remove") return (await import("./remove-LX4G6KP7.js")).run(args);
|
|
96
96
|
const vaultDir = resolveVaultDir();
|
|
97
97
|
if (!fs.existsSync(path.join(vaultDir, "myco.yaml"))) {
|
|
98
98
|
console.error(`No myco.yaml found in ${vaultDir}. Run 'myco init' first.`);
|
|
@@ -104,33 +104,33 @@ async function main() {
|
|
|
104
104
|
case "verify":
|
|
105
105
|
return (await import("./verify-ITBMLK67.js")).run(args, vaultDir);
|
|
106
106
|
case "stats":
|
|
107
|
-
return (await import("./stats-
|
|
107
|
+
return (await import("./stats-U5FHDIR7.js")).run(args, vaultDir);
|
|
108
108
|
case "search":
|
|
109
|
-
return (await import("./search-
|
|
109
|
+
return (await import("./search-Q6N3SHKP.js")).run(args, vaultDir);
|
|
110
110
|
case "vectors":
|
|
111
|
-
return (await import("./search-
|
|
111
|
+
return (await import("./search-Q6N3SHKP.js")).runVectors(args, vaultDir);
|
|
112
112
|
case "session":
|
|
113
|
-
return (await import("./session-
|
|
113
|
+
return (await import("./session-SKXJLJYH.js")).run(args, vaultDir);
|
|
114
114
|
case "setup-llm":
|
|
115
|
-
return (await import("./setup-llm-
|
|
115
|
+
return (await import("./setup-llm-BRNQW7K2.js")).run(args, vaultDir);
|
|
116
116
|
case "setup-digest":
|
|
117
117
|
return (await import("./setup-digest-4KDSXAIV.js")).run(args, vaultDir);
|
|
118
118
|
case "agent":
|
|
119
|
-
return (await import("./agent-run-
|
|
119
|
+
return (await import("./agent-run-MNU2QWHR.js")).run(args, vaultDir);
|
|
120
120
|
case "task":
|
|
121
|
-
return (await import("./agent-tasks-
|
|
121
|
+
return (await import("./agent-tasks-NCRKUU6E.js")).run(args, vaultDir);
|
|
122
122
|
case "team": {
|
|
123
123
|
const sub = args[0];
|
|
124
|
-
if (sub === "init") return (await import("./team-
|
|
125
|
-
if (sub === "upgrade") return (await import("./team-
|
|
124
|
+
if (sub === "init") return (await import("./team-3YI3UWB3.js")).teamInit(vaultDir);
|
|
125
|
+
if (sub === "upgrade") return (await import("./team-3YI3UWB3.js")).teamUpgrade(vaultDir);
|
|
126
126
|
console.error("Usage: myco team <init|upgrade>");
|
|
127
127
|
process.exit(1);
|
|
128
128
|
break;
|
|
129
129
|
}
|
|
130
130
|
case "open":
|
|
131
|
-
return (await import("./open-
|
|
131
|
+
return (await import("./open-4QMAL32X.js")).run(args, vaultDir);
|
|
132
132
|
case "restart":
|
|
133
|
-
return (await import("./restart-
|
|
133
|
+
return (await import("./restart-WSNBSALP.js")).run(args, vaultDir);
|
|
134
134
|
case "logs":
|
|
135
135
|
return (await import("./logs-TMKNLSJY.js")).run(args, vaultDir);
|
|
136
136
|
default:
|
|
@@ -143,4 +143,4 @@ main().catch((err) => {
|
|
|
143
143
|
console.error(`myco: ${err.message}`);
|
|
144
144
|
process.exit(1);
|
|
145
145
|
});
|
|
146
|
-
//# sourceMappingURL=cli-
|
|
146
|
+
//# sourceMappingURL=cli-RYYABF2X.js.map
|
|
@@ -2,8 +2,8 @@ import { createRequire as __cr } from 'node:module'; const require = __cr(import
|
|
|
2
2
|
import {
|
|
3
3
|
DaemonClient,
|
|
4
4
|
resolveCliEntryPath
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-RJRRHTAA.js";
|
|
6
|
+
import "./chunk-2E7YGLLN.js";
|
|
7
7
|
import "./chunk-LPUQPDC2.js";
|
|
8
8
|
import "./chunk-34NHDRWI.js";
|
|
9
9
|
import "./chunk-E7NUADTQ.js";
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
DaemonClient,
|
|
13
13
|
resolveCliEntryPath
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=client-
|
|
15
|
+
//# sourceMappingURL=client-5VXKGNN2.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
isProcessAlive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BNAYBGPH.js";
|
|
5
5
|
import "./chunk-SAKJMNSR.js";
|
|
6
6
|
import {
|
|
7
7
|
MYCO_MCP_SERVER_NAME
|
|
8
8
|
} from "./chunk-TIAYBVSI.js";
|
|
9
9
|
import "./chunk-VWXDSDJU.js";
|
|
10
10
|
import "./chunk-MYX5NCRH.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-RJRRHTAA.js";
|
|
12
|
+
import "./chunk-2E7YGLLN.js";
|
|
13
13
|
import "./chunk-LPUQPDC2.js";
|
|
14
14
|
import "./chunk-34NHDRWI.js";
|
|
15
15
|
import "./chunk-E7NUADTQ.js";
|
|
@@ -270,4 +270,4 @@ export {
|
|
|
270
270
|
run,
|
|
271
271
|
runChecks
|
|
272
272
|
};
|
|
273
|
-
//# sourceMappingURL=doctor-
|
|
273
|
+
//# sourceMappingURL=doctor-M4Q7VCDO.js.map
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
} from "./chunk-MYX5NCRH.js";
|
|
88
88
|
import {
|
|
89
89
|
getPluginVersion
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-2E7YGLLN.js";
|
|
91
91
|
import {
|
|
92
92
|
findPackageRoot
|
|
93
93
|
} from "./chunk-LPUQPDC2.js";
|
|
@@ -694,6 +694,14 @@ function parseAllowedTools(rawValue) {
|
|
|
694
694
|
if (parts.some((p) => sentinels.has(p))) return null;
|
|
695
695
|
return parts;
|
|
696
696
|
}
|
|
697
|
+
function stemToken(word) {
|
|
698
|
+
let w = word;
|
|
699
|
+
if (w.length > 5 && w.endsWith("ing")) w = w.slice(0, -3);
|
|
700
|
+
else if (w.length > 5 && w.endsWith("ed")) w = w.slice(0, -2);
|
|
701
|
+
if (w.length > 4 && w.endsWith("s")) w = w.slice(0, -1);
|
|
702
|
+
if (w.length > 4 && w.endsWith("e")) w = w.slice(0, -1);
|
|
703
|
+
return w;
|
|
704
|
+
}
|
|
697
705
|
function tokenSet(text) {
|
|
698
706
|
const stopwords = /* @__PURE__ */ new Set([
|
|
699
707
|
"the",
|
|
@@ -753,21 +761,34 @@ function tokenSet(text) {
|
|
|
753
761
|
"makes"
|
|
754
762
|
]);
|
|
755
763
|
return new Set(
|
|
756
|
-
text.toLowerCase().replace(/[^a-z0-9_\s]/g, " ").split(/\s+/).filter((w) => w.length >= 4 && !stopwords.has(w))
|
|
764
|
+
text.toLowerCase().replace(/[^a-z0-9_\s]/g, " ").split(/\s+/).filter((w) => w.length >= 4 && !stopwords.has(w)).map(stemToken)
|
|
757
765
|
);
|
|
758
766
|
}
|
|
767
|
+
function intersectionSize(a, b) {
|
|
768
|
+
let count = 0;
|
|
769
|
+
for (const token of a) {
|
|
770
|
+
if (b.has(token)) count++;
|
|
771
|
+
}
|
|
772
|
+
return count;
|
|
773
|
+
}
|
|
759
774
|
function descriptionSimilarity(a, b) {
|
|
760
775
|
const aTokens = tokenSet(a);
|
|
761
776
|
const bTokens = tokenSet(b);
|
|
762
777
|
if (aTokens.size === 0 || bTokens.size === 0) return 0;
|
|
763
|
-
|
|
764
|
-
for (const token of aTokens) {
|
|
765
|
-
if (bTokens.has(token)) intersection++;
|
|
766
|
-
}
|
|
778
|
+
const intersection = intersectionSize(aTokens, bTokens);
|
|
767
779
|
const union = aTokens.size + bTokens.size - intersection;
|
|
768
780
|
return union === 0 ? 0 : intersection / union;
|
|
769
781
|
}
|
|
782
|
+
function topicOverlapSimilarity(a, b, minTokens = 3) {
|
|
783
|
+
const aTokens = tokenSet(a);
|
|
784
|
+
const bTokens = tokenSet(b);
|
|
785
|
+
if (aTokens.size < minTokens || bTokens.size < minTokens) return 0;
|
|
786
|
+
const intersection = intersectionSize(aTokens, bTokens);
|
|
787
|
+
const smaller = Math.min(aTokens.size, bTokens.size);
|
|
788
|
+
return smaller === 0 ? 0 : intersection / smaller;
|
|
789
|
+
}
|
|
770
790
|
var DESCRIPTION_DUPLICATE_THRESHOLD = 0.4;
|
|
791
|
+
var TOPIC_OVERLAP_THRESHOLD = 0.6;
|
|
771
792
|
function checkFrontmatterPreservation(existing, incoming) {
|
|
772
793
|
const violations = [];
|
|
773
794
|
for (const field of PROTECTED_FRONTMATTER_FIELDS) {
|
|
@@ -849,8 +870,13 @@ function createSkillTools(deps) {
|
|
|
849
870
|
function findOverlappingCandidate(newTopic, existing) {
|
|
850
871
|
let best = null;
|
|
851
872
|
for (const candidate of existing) {
|
|
852
|
-
const
|
|
853
|
-
|
|
873
|
+
const jaccard = descriptionSimilarity(newTopic, candidate.topic);
|
|
874
|
+
const overlap = topicOverlapSimilarity(newTopic, candidate.topic);
|
|
875
|
+
const hitsJaccard = jaccard >= DESCRIPTION_DUPLICATE_THRESHOLD;
|
|
876
|
+
const hitsOverlap = overlap >= TOPIC_OVERLAP_THRESHOLD;
|
|
877
|
+
if (!hitsJaccard && !hitsOverlap) continue;
|
|
878
|
+
const score = Math.max(jaccard, overlap);
|
|
879
|
+
if (!best || score > best.score) {
|
|
854
880
|
best = { candidate, score };
|
|
855
881
|
}
|
|
856
882
|
}
|
|
@@ -2650,4 +2676,4 @@ export {
|
|
|
2650
2676
|
computeWaves,
|
|
2651
2677
|
runAgent
|
|
2652
2678
|
};
|
|
2653
|
-
//# sourceMappingURL=executor-
|
|
2679
|
+
//# sourceMappingURL=executor-ULRFWJCH.js.map
|