agent-enderun 0.2.3 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- # Agent Enderun (v0.2.3)
1
+ # Agent Enderun (v0.2.5)
2
2
  # Place in project root. This file is the single source of truth for Base Project AI Extensions.
3
3
 
4
4
  ## 🎖️ AGENT CHECKLIST (MANDATORY BEFORE RESPONSE)
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # 🏛️ Agent Enderun — v0.2.3
1
+ # 🏛️ Agent Enderun — v0.2.5
2
2
 
3
3
  **The Supreme AI Governance & Orchestration Framework for Enterprise Development**
4
4
 
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
@@ -657,13 +671,13 @@ function sanitizeJson(obj, targetScope = "") {
657
671
  finalValue = value.replace("ai-enderun-", `${scopeName}-`);
658
672
  }
659
673
 
660
- // Handle agent-enderun -> target
661
- if (typeof key === "string" && key === "agent-enderun") {
662
- finalKey = scopeName;
663
- }
664
- if (typeof value === "string" && value === "agent-enderun") {
674
+ // Handle agent-enderun -> target (ONLY for the package name)
675
+ if (key === "name" && value === "agent-enderun") {
665
676
  finalValue = scopeName;
666
677
  }
678
+
679
+ // Preserve agent-enderun in dependencies and bin
680
+ // (No action needed as finalKey/finalValue default to original)
667
681
 
668
682
  if (typeof value === "string" && value.startsWith("workspace:")) {
669
683
  finalValue = "*";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-enderun",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "The Supreme AI Governance & Orchestration Framework for Enterprise Development",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-enderun-mcp",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Enterprise-grade MCP Server for AI Agent Framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -5,7 +5,7 @@ import { allTools, allHandlers } from "./tools/index.js";
5
5
 
6
6
  const server = new Server({
7
7
  name: "ai-enderun-mcp",
8
- version: "0.2.3",
8
+ version: "0.2.5",
9
9
  }, {
10
10
  capabilities: {
11
11
  tools: {},
@@ -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.3";
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"];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-enderun/shared-types",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Shared TypeScript types for AI-Enderun Framework. Ensures Contract-First synchronization between agents.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",