agent-enderun 0.2.4 → 0.2.5
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 -0
- package/package.json +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/package.json +1 -1
package/ENDERUN.md
CHANGED
package/README.md
CHANGED
package/bin/cli.js
CHANGED
|
@@ -125,6 +125,20 @@ function mergePackageJson(targetPath, sourcePath) {
|
|
|
125
125
|
return cleaned;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
+
const targetScope = targetPkg.name;
|
|
129
|
+
// Cleanup potential leftovers from previous bugged runs where agent-enderun was renamed to target name
|
|
130
|
+
if (targetScope) {
|
|
131
|
+
const scopeName = targetScope.startsWith("@") ? targetScope.slice(1) : targetScope;
|
|
132
|
+
if (targetPkg.devDependencies) {
|
|
133
|
+
delete targetPkg.devDependencies[scopeName];
|
|
134
|
+
delete targetPkg.devDependencies[targetScope];
|
|
135
|
+
}
|
|
136
|
+
if (targetPkg.dependencies) {
|
|
137
|
+
delete targetPkg.dependencies[scopeName];
|
|
138
|
+
delete targetPkg.dependencies[targetScope];
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
128
142
|
targetPkg.dependencies = sanitizeDeps({
|
|
129
143
|
...targetPkg.dependencies,
|
|
130
144
|
...sourcePkg.dependencies
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import fs from "fs";
|
|
3
3
|
|
|
4
|
-
export const FRAMEWORK_VERSION = "0.2.
|
|
4
|
+
export const FRAMEWORK_VERSION = "0.2.5";
|
|
5
5
|
|
|
6
6
|
export function getFrameworkDir(projectRoot: string): string {
|
|
7
7
|
const adapters = [".gemini", ".claude", ".cursor", ".codex", ".enderun"];
|