agent-enderun 0.1.4 → 0.1.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/config.json
CHANGED
package/bin/cli.js
CHANGED
|
@@ -366,15 +366,23 @@ async function initCommand(selectedAdapter) {
|
|
|
366
366
|
Object.values(ADAPTERS).forEach(list => filesToProcess.push(...list));
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
+
// Detect target project scope
|
|
370
|
+
let targetPkg = {};
|
|
371
|
+
try {
|
|
372
|
+
const targetPkgPath = path.join(targetDir, "package.json");
|
|
373
|
+
if (fs.existsSync(targetPkgPath)) {
|
|
374
|
+
targetPkg = JSON.parse(fs.readFileSync(targetPkgPath, "utf8"));
|
|
375
|
+
}
|
|
376
|
+
} catch (e) {}
|
|
377
|
+
|
|
378
|
+
let targetScope = "";
|
|
379
|
+
if (targetPkg.name && targetPkg.name.startsWith("@")) {
|
|
380
|
+
targetScope = targetPkg.name.split("/")[0];
|
|
381
|
+
}
|
|
382
|
+
|
|
369
383
|
for (const item of filesToProcess) {
|
|
370
384
|
const src = path.join(sourceDir, item);
|
|
371
385
|
let dest = path.join(targetDir, item);
|
|
372
|
-
|
|
373
|
-
// Detect target project scope
|
|
374
|
-
let targetScope = "";
|
|
375
|
-
if (targetPkg.name && targetPkg.name.startsWith("@")) {
|
|
376
|
-
targetScope = targetPkg.name.split("/")[0];
|
|
377
|
-
}
|
|
378
386
|
|
|
379
387
|
// FORCED CLEANUP: Delete existing framework directories in target before copying
|
|
380
388
|
if (["packages/framework-mcp", "packages/shared-types", ".enderun", ".gemini", ".claude"].includes(item)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-enderun",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"packages/*"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dependencies": {},
|
|
18
18
|
"devDependencies": {},
|
|
19
19
|
"enderun": {
|
|
20
|
-
"version": "0.1.
|
|
20
|
+
"version": "0.1.5",
|
|
21
21
|
"initializedAt": "2026-05-09T13:24:27.472Z"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.5",
|
|
3
3
|
"last_updated": "2026-05-09T13:04:00Z",
|
|
4
4
|
"contract_hash": "daf1d688875061ef66697f39ac2449a34631e9b93926ed3e694b4e4ac7423d98",
|
|
5
5
|
"breaking_changes": [
|
|
6
|
-
{ "version": "0.1.
|
|
6
|
+
{ "version": "0.1.5", "description": "Initial framework setup" }
|
|
7
7
|
],
|
|
8
8
|
"deprecated_versions": []
|
|
9
9
|
}
|