agent-enderun 0.2.5 → 0.3.1

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.5)
1
+ # Agent Enderun (v0.3.1)
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.5
1
+ # 🏛️ Agent Enderun — v0.3.1
2
2
 
3
3
  **The Supreme AI Governance & Orchestration Framework for Enterprise Development**
4
4
 
package/bin/cli.js CHANGED
@@ -125,18 +125,21 @@ function mergePackageJson(targetPath, sourcePath) {
125
125
  return cleaned;
126
126
  };
127
127
 
128
- const targetScope = targetPkg.name;
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 (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
- }
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-enderun",
3
- "version": "0.2.5",
3
+ "version": "0.3.1",
4
4
  "description": "The Supreme AI Governance & Orchestration Framework for Enterprise Development",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",
@@ -47,7 +47,9 @@
47
47
  "README.md",
48
48
  "LICENSE",
49
49
  "mcp.json",
50
- ".env.example"
50
+ ".env.example",
51
+ "tsconfig.json",
52
+ "panda.config.ts"
51
53
  ],
52
54
  "scripts": {
53
55
  "enderun:build": "npm run build --workspaces --if-present",
@@ -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.2.2",
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.2.2";
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,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-enderun-mcp",
3
- "version": "0.2.5",
3
+ "version": "0.3.1",
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.5",
8
+ version: "0.3.1",
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.5";
4
+ export const FRAMEWORK_VERSION = "0.3.1";
5
5
 
6
6
  export function getFrameworkDir(projectRoot: string): string {
7
7
  const adapters = [".gemini", ".claude", ".cursor", ".codex", ".enderun"];
@@ -90,4 +90,3 @@ export interface ApiError {
90
90
  details?: unknown;
91
91
  };
92
92
  }
93
- //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-enderun/shared-types",
3
- "version": "0.2.5",
3
+ "version": "0.3.1",
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",
@@ -0,0 +1,20 @@
1
+ import { defineConfig } from "@pandacss/dev"
2
+
3
+ export default defineConfig({
4
+ // Whether to use css reset
5
+ preflight: true,
6
+
7
+ // Where to look for your css declarations
8
+ include: ["./src/**/*.{js,jsx,ts,tsx}", "./pages/**/*.{js,jsx,ts,tsx}"],
9
+
10
+ // Files to exclude
11
+ exclude: [],
12
+
13
+ // Useful for theme customization
14
+ theme: {
15
+ extend: {}
16
+ },
17
+
18
+ // The output directory for your css system
19
+ outdir: "styled-system",
20
+ })
package/tsconfig.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "NodeNext",
5
+ "moduleResolution": "NodeNext",
6
+ "lib": ["ESNext"],
7
+ "strict": true,
8
+ "declaration": true,
9
+ "sourceMap": true,
10
+ "esModuleInterop": true,
11
+ "skipLibCheck": true,
12
+ "forceConsistentCasingInFileNames": true,
13
+ "outDir": "dist"
14
+ },
15
+ "exclude": ["node_modules", "dist"]
16
+ }