agent-enderun 0.2.5 → 0.3.0
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/ENDERUN.md +1 -1
- package/README.md +1 -1
- package/bin/cli.js +14 -11
- package/package.json +1 -1
- package/packages/framework-mcp/dist/index.js +1 -1
- package/packages/framework-mcp/dist/utils.js +1 -1
- package/packages/framework-mcp/package.json +1 -1
- package/packages/framework-mcp/src/index.ts +1 -1
- package/packages/framework-mcp/src/utils.ts +1 -1
- package/packages/shared-types/dist/index.d.ts +0 -1
- package/packages/shared-types/package.json +1 -1
package/ENDERUN.md
CHANGED
package/README.md
CHANGED
package/bin/cli.js
CHANGED
|
@@ -125,18 +125,21 @@ function mergePackageJson(targetPath, sourcePath) {
|
|
|
125
125
|
return cleaned;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
const
|
|
128
|
+
const actualTargetScope = targetPkg.name && targetPkg.name.startsWith("@")
|
|
129
|
+
? targetPkg.name.split("/")[0]
|
|
130
|
+
: (targetPkg.name ? `@${targetPkg.name}` : "");
|
|
131
|
+
|
|
129
132
|
// Cleanup potential leftovers from previous bugged runs where agent-enderun was renamed to target name
|
|
130
|
-
if (
|
|
131
|
-
const scopeName =
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
delete
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
133
|
+
if (actualTargetScope) {
|
|
134
|
+
const scopeName = actualTargetScope.startsWith("@") ? actualTargetScope.slice(1) : actualTargetScope;
|
|
135
|
+
const cleanup = (obj) => {
|
|
136
|
+
if (!obj) return;
|
|
137
|
+
delete obj[scopeName];
|
|
138
|
+
delete obj[actualTargetScope];
|
|
139
|
+
delete obj["agent-enderun"]; // Will be re-added correctly
|
|
140
|
+
};
|
|
141
|
+
cleanup(targetPkg.devDependencies);
|
|
142
|
+
cleanup(targetPkg.dependencies);
|
|
140
143
|
}
|
|
141
144
|
|
|
142
145
|
targetPkg.dependencies = sanitizeDeps({
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import { CallToolRequestSchema, ListToolsRequestSchema } from "@modelcontextprot
|
|
|
4
4
|
import { allTools, allHandlers } from "./tools/index.js";
|
|
5
5
|
const server = new Server({
|
|
6
6
|
name: "ai-enderun-mcp",
|
|
7
|
-
version: "0.
|
|
7
|
+
version: "0.3.0",
|
|
8
8
|
}, {
|
|
9
9
|
capabilities: {
|
|
10
10
|
tools: {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import fs from "fs";
|
|
3
|
-
export const FRAMEWORK_VERSION = "0.
|
|
3
|
+
export const FRAMEWORK_VERSION = "0.3.0";
|
|
4
4
|
export function getFrameworkDir(projectRoot) {
|
|
5
5
|
const adapters = [".gemini", ".claude", ".cursor", ".codex", ".enderun"];
|
|
6
6
|
for (const adp of adapters) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import fs from "fs";
|
|
3
3
|
|
|
4
|
-
export const FRAMEWORK_VERSION = "0.
|
|
4
|
+
export const FRAMEWORK_VERSION = "0.3.0";
|
|
5
5
|
|
|
6
6
|
export function getFrameworkDir(projectRoot: string): string {
|
|
7
7
|
const adapters = [".gemini", ".claude", ".cursor", ".codex", ".enderun"];
|