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 +1 -1
- package/README.md +1 -1
- package/bin/cli.js +14 -11
- package/package.json +4 -2
- 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/panda.config.ts +20 -0
- package/tsconfig.json +16 -0
package/ENDERUN.md
CHANGED
package/README.md
CHANGED
package/bin/cli.js
CHANGED
|
@@ -125,18 +125,21 @@ function mergePackageJson(targetPath, sourcePath) {
|
|
|
125
125
|
return cleaned;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
const
|
|
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 (
|
|
131
|
-
const scopeName =
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
delete
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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.
|
|
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.
|
|
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.1";
|
|
5
5
|
|
|
6
6
|
export function getFrameworkDir(projectRoot: string): string {
|
|
7
7
|
const adapters = [".gemini", ".claude", ".cursor", ".codex", ".enderun"];
|
package/panda.config.ts
ADDED
|
@@ -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
|
+
}
|