agent-enderun 0.2.4 → 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 +17 -0
- 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,6 +125,23 @@ function mergePackageJson(targetPath, sourcePath) {
|
|
|
125
125
|
return cleaned;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
+
const actualTargetScope = targetPkg.name && targetPkg.name.startsWith("@")
|
|
129
|
+
? targetPkg.name.split("/")[0]
|
|
130
|
+
: (targetPkg.name ? `@${targetPkg.name}` : "");
|
|
131
|
+
|
|
132
|
+
// Cleanup potential leftovers from previous bugged runs where agent-enderun was renamed to target name
|
|
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);
|
|
143
|
+
}
|
|
144
|
+
|
|
128
145
|
targetPkg.dependencies = sanitizeDeps({
|
|
129
146
|
...targetPkg.dependencies,
|
|
130
147
|
...sourcePkg.dependencies
|
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"];
|