@runeya/runeya 2.0.2 → 2.0.4
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/agent/index.js +5 -1
- package/agent/index.js.map +1 -1
- package/agent-manager-UP3PJ35X-LO6B3XKF.js +8 -0
- package/{chunk-PVUDD5DD.js → chunk-BSPKMRKW.js} +5 -2
- package/{chunk-PVUDD5DD.js.map → chunk-BSPKMRKW.js.map} +1 -1
- package/{dist-AOEI4AFR.js → dist-6LF3EWHR.js} +6 -6
- package/{dist-AOEI4AFR.js.map → dist-6LF3EWHR.js.map} +1 -1
- package/index.js +1 -1
- package/mcp-server/index.d.ts +1 -0
- package/mcp-server/index.js +64 -0
- package/mcp-server/index.js.map +1 -0
- package/package.json +1 -1
- package/agent-manager-RDBYJ3IY-G7IRVN2S.js +0 -8
- /package/{agent-manager-RDBYJ3IY-G7IRVN2S.js.map → agent-manager-UP3PJ35X-LO6B3XKF.js.map} +0 -0
package/agent/index.js
CHANGED
|
@@ -4470,10 +4470,14 @@ var gitRouter = router({
|
|
|
4470
4470
|
const gitWatcher = fsWatch(absGitDir, { recursive: true }, (event, filename) => {
|
|
4471
4471
|
onFsChange();
|
|
4472
4472
|
});
|
|
4473
|
+
gitWatcher.on("error", () => {
|
|
4474
|
+
});
|
|
4473
4475
|
const cwdWatcher = fsWatch(cwd, { recursive: true }, (event, filename) => {
|
|
4474
4476
|
if (filename && filename.startsWith(".git")) return;
|
|
4475
4477
|
onFsChange();
|
|
4476
4478
|
});
|
|
4479
|
+
cwdWatcher.on("error", () => {
|
|
4480
|
+
});
|
|
4477
4481
|
yield await getGitStatus(cwd);
|
|
4478
4482
|
try {
|
|
4479
4483
|
while (true) {
|
|
@@ -4732,7 +4736,7 @@ var AiSpawnManager = class {
|
|
|
4732
4736
|
const args = [...opts.args];
|
|
4733
4737
|
if (opts.enableMcp && opts.cli === "claude") {
|
|
4734
4738
|
try {
|
|
4735
|
-
const mcpServerPath = fileURLToPath(
|
|
4739
|
+
const mcpServerPath = fileURLToPath(new URL("../mcp-server/index.js", import.meta.url));
|
|
4736
4740
|
const mcpConfig = JSON.stringify({
|
|
4737
4741
|
mcpServers: {
|
|
4738
4742
|
runeya: {
|