agent-enderun 0.8.8 → 0.9.0

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.
Files changed (103) hide show
  1. package/.enderun/BRAIN_DASHBOARD.md +4 -4
  2. package/{ENDERUN.md → .enderun/ENDERUN.md} +4 -2
  3. package/.enderun/PROJECT_MEMORY.md +12 -45
  4. package/.enderun/STATUS.md +9 -8
  5. package/.enderun/agents/agent_army_schema.json +29 -7
  6. package/.enderun/agents/analyst.md +3 -5
  7. package/.enderun/agents/backend.md +11 -31
  8. package/.enderun/agents/devops.md +2 -3
  9. package/.enderun/agents/explorer.md +4 -4
  10. package/.enderun/agents/frontend.md +76 -69
  11. package/.enderun/agents/git.md +3 -3
  12. package/.enderun/agents/manager.md +30 -42
  13. package/.enderun/agents/mobile.md +3 -3
  14. package/.enderun/agents/native.md +106 -0
  15. package/.enderun/agents/orchestrator.md +2 -2
  16. package/.enderun/agents/qa.md +7 -10
  17. package/.enderun/agents/schema/agent-lifecycle-schema.json +29 -8
  18. package/.enderun/agents/security.md +2 -2
  19. package/.enderun/cli-commands.json +4 -0
  20. package/.enderun/config.json +2 -2
  21. package/.enderun/knowledge/SHIM_TEMPLATE.md +25 -0
  22. package/.enderun/knowledge/eslint-standards.md +63 -0
  23. package/.enderun/knowledge/hermes_protocol.md +1 -1
  24. package/.enderun/knowledge/manager_authority_audit_enforcement.md +2 -2
  25. package/.enderun/mcp_config.json +9 -0
  26. package/.enderun/memory-graph/agent-contexts/analyst.json +1 -1
  27. package/.enderun/memory-graph/agent-contexts/backend.json +1 -1
  28. package/.enderun/memory-graph/agent-contexts/devops.json +1 -1
  29. package/.enderun/memory-graph/agent-contexts/explorer.json +1 -1
  30. package/.enderun/memory-graph/agent-contexts/frontend.json +1 -1
  31. package/.enderun/memory-graph/agent-contexts/git.json +1 -1
  32. package/.enderun/memory-graph/agent-contexts/manager.json +1 -1
  33. package/.enderun/memory-graph/agent-contexts/mobile.json +1 -1
  34. package/.enderun/memory-graph/agent-contexts/native.json +1 -0
  35. package/.enderun/memory-graph/agent-contexts/orchestrator.json +1 -1
  36. package/.enderun/memory-graph/agent-contexts/qa.json +1 -1
  37. package/.enderun/memory-graph/agent-contexts/security.json +1 -1
  38. package/.enderun/memory-graph/graph.json +123 -15
  39. package/.enderun/memory-graph/shared-facts.json +26 -31
  40. package/README.md +89 -413
  41. package/agent.md +25 -0
  42. package/bin/cli.js +9 -9
  43. package/bin/update-contract.js +34 -37
  44. package/bin/validate-agent-army.js +38 -13
  45. package/claude.md +14 -8
  46. package/docs/README.md +35 -16
  47. package/docs/tech-stack.md +30 -0
  48. package/eslint.config.js +68 -0
  49. package/framework-mcp/dist/index.js +184 -24
  50. package/framework-mcp/package.json +6 -33
  51. package/framework-mcp/tsconfig.json +3 -6
  52. package/gemini.md +12 -6
  53. package/grok.md +25 -0
  54. package/package.json +12 -6
  55. package/panda.config.ts +86 -86
  56. package/tsconfig.json +9 -0
  57. package/.enderun/logs/analyst.json +0 -1
  58. package/.enderun/logs/backend.json +0 -1
  59. package/.enderun/logs/devops.json +0 -1
  60. package/.enderun/logs/explorer.json +0 -1
  61. package/.enderun/logs/frontend.json +0 -1
  62. package/.enderun/logs/git.json +0 -1
  63. package/.enderun/logs/manager.json +0 -1
  64. package/.enderun/logs/mobile.json +0 -1
  65. package/.enderun/logs/native.json +0 -1
  66. package/.enderun/logs/orchestrator.json +0 -1
  67. package/.enderun/logs/qa.json +0 -1
  68. package/.enderun/logs/security.json +0 -1
  69. package/.env.example +0 -10
  70. package/cursor.md +0 -19
  71. package/framework-mcp/README.md +0 -55
  72. package/framework-mcp/dist/schemas.js +0 -84
  73. package/framework-mcp/dist/tools/codebase.js +0 -294
  74. package/framework-mcp/dist/tools/contract.js +0 -197
  75. package/framework-mcp/dist/tools/framework.js +0 -225
  76. package/framework-mcp/dist/tools/git.js +0 -51
  77. package/framework-mcp/dist/tools/governance.js +0 -696
  78. package/framework-mcp/dist/tools/index.js +0 -47
  79. package/framework-mcp/dist/tools/knowledge.js +0 -133
  80. package/framework-mcp/dist/tools/memory.js +0 -217
  81. package/framework-mcp/dist/tools/messages.js +0 -193
  82. package/framework-mcp/dist/tools/monitoring.js +0 -294
  83. package/framework-mcp/dist/tools/orchestration.js +0 -369
  84. package/framework-mcp/dist/tools/pipeline.js +0 -267
  85. package/framework-mcp/dist/tools/security.js +0 -137
  86. package/framework-mcp/dist/utils.js +0 -121
  87. package/framework-mcp/src/index.ts +0 -49
  88. package/framework-mcp/src/schemas.ts +0 -106
  89. package/framework-mcp/src/tools/codebase.ts +0 -284
  90. package/framework-mcp/src/tools/contract.ts +0 -221
  91. package/framework-mcp/src/tools/framework.ts +0 -223
  92. package/framework-mcp/src/tools/git.ts +0 -42
  93. package/framework-mcp/src/tools/governance.ts +0 -891
  94. package/framework-mcp/src/tools/index.ts +0 -50
  95. package/framework-mcp/src/tools/knowledge.ts +0 -141
  96. package/framework-mcp/src/tools/memory.ts +0 -207
  97. package/framework-mcp/src/tools/messages.ts +0 -213
  98. package/framework-mcp/src/tools/monitoring.ts +0 -351
  99. package/framework-mcp/src/tools/orchestration.ts +0 -440
  100. package/framework-mcp/src/tools/pipeline.ts +0 -353
  101. package/framework-mcp/src/tools/security.ts +0 -143
  102. package/framework-mcp/src/utils.ts +0 -130
  103. package/src/cli/index.ts +0 -2188
@@ -1,46 +1,19 @@
1
1
  {
2
- "name": "ai-enderun-mcp",
3
- "version": "0.8.8",
4
- "description": "Enterprise-grade MCP Server for AI Agent Framework",
5
- "author": "Yusuf BEKAR",
6
- "license": "MIT",
7
- "readme": "README.md",
2
+ "name": "@agent-enderun/mcp",
3
+ "version": "0.9.0",
4
+ "description": "Agent Enderun Model Context Protocol (MCP) Server",
8
5
  "type": "module",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/ysf-bkr/Agent-Enderun.git"
12
- },
13
- "bugs": {
14
- "url": "https://github.com/ysf-bkr/Agent-Enderun/issues"
15
- },
16
- "homepage": "https://github.com/ysf-bkr/Agent-Enderun#readme",
17
- "main": "dist/index.js",
18
- "module": "dist/index.js",
19
- "types": "dist/index.js",
20
- "bin": {
21
- "framework-mcp": "dist/index.js"
22
- },
23
- "files": [
24
- "src",
25
- "dist",
26
- "README.md"
27
- ],
28
- "publishConfig": {
29
- "access": "public"
30
- },
31
6
  "scripts": {
32
- "build": "tsc -p tsconfig.json",
7
+ "build": "npx tsc",
33
8
  "start": "node dist/index.js",
34
9
  "dev": "tsx src/index.ts"
35
10
  },
36
11
  "dependencies": {
37
- "@modelcontextprotocol/sdk": "^1.29.0",
38
- "ts-morph": "^28.0.0",
12
+ "@modelcontextprotocol/sdk": "^1.26.0",
39
13
  "zod": "^3.24.2"
40
14
  },
41
15
  "devDependencies": {
42
- "@types/node": "^25.9.1",
43
- "tsx": "^4.19.4",
16
+ "@types/node": "^22.19.19",
44
17
  "typescript": "^5.9.3"
45
18
  }
46
19
  }
@@ -4,13 +4,10 @@
4
4
  "module": "NodeNext",
5
5
  "moduleResolution": "NodeNext",
6
6
  "outDir": "./dist",
7
+ "rootDir": "./src",
7
8
  "strict": true,
8
- "esModuleInterop": true,
9
9
  "skipLibCheck": true,
10
- "forceConsistentCasingInFileNames": true,
11
- "allowJs": true,
12
- "types": ["node"]
10
+ "esModuleInterop": true
13
11
  },
14
- "include": ["src/**/*"],
15
- "exclude": ["node_modules", "dist"]
12
+ "include": ["src/**/*.ts"]
16
13
  }
package/gemini.md CHANGED
@@ -1,19 +1,25 @@
1
1
  # Agent Enderun — Gemini CLI Adapter
2
2
 
3
- This file is the entry point when using Agent Enderun with Gemini CLI.
3
+ This is the primary entry point when using Agent Enderun within the Gemini CLI ecosystem.
4
4
 
5
- The framework installs into the `.enderun/` folder for Gemini users.
5
+ The framework operates under a unified governance structure located in the `.enderun/` directory.
6
6
 
7
7
  ### Primary Constitution
8
8
  All governance rules, agent checklists, and project memory live here:
9
9
 
10
10
  👉 **[.enderun/ENDERUN.md](.enderun/ENDERUN.md)**
11
11
 
12
- ### 🤖 Agent Directive (Gemini CLI users)
12
+ ### 🤖 Agent Directive
13
13
  You are operating under the Agent Enderun governance framework.
14
14
 
15
15
  At the **start of every session**, before any work:
16
- 1. Read `.enderun/PROJECT_MEMORY.md` to restore state, active Trace ID, and history.
17
- 2. Read the relevant agent definition under `.enderun/agents/{agent}.md` (especially `@manager`).
16
+ 1. **Restore Memory:** Read `.enderun/PROJECT_MEMORY.md` to restore state, active Trace ID, and history.
17
+ 2. **Load Identity:** Read the relevant agent definition under `.enderun/agents/{agent}.md` (default to `@manager`).
18
+ 3. **Internalize Knowledge:** Reference the `.enderun/knowledge/` base for architectural and coding standards.
18
19
 
19
- All paths and references inside `.enderun/` use the Enderun adapter structure. No migration to other CLIs is required.
20
+ ### 🛡️ Core Mandates
21
+ - **Surgical Edits:** Use `replace_text` or `patch_file` via MCP for precise changes.
22
+ - **Traceability:** Every action must inherit the active Trace ID from memory.
23
+ - **Contract First:** No implementation without verified types.
24
+
25
+ All paths and references inside the project must comply with the Supreme Constitution located at `.enderun/ENDERUN.md`.
package/grok.md ADDED
@@ -0,0 +1,25 @@
1
+ # Agent Enderun — Grok / X.ai Adapter
2
+
3
+ This is the primary entry point when using Agent Enderun within the Grok / X.ai ecosystem.
4
+
5
+ The framework operates under a unified governance structure located in the `.enderun/` directory.
6
+
7
+ ### Primary Constitution
8
+ All governance rules, agent checklists, and project memory live here:
9
+
10
+ 👉 **[.enderun/ENDERUN.md](.enderun/ENDERUN.md)**
11
+
12
+ ### 🤖 Agent Directive
13
+ You are operating under the Agent Enderun governance framework.
14
+
15
+ At the **start of every session**, before any work:
16
+ 1. **Restore Memory:** Read `.enderun/PROJECT_MEMORY.md` to restore state, active Trace ID, and history.
17
+ 2. **Load Identity:** Read the relevant agent definition under `.enderun/agents/{agent}.md` (default to `@manager`).
18
+ 3. **Internalize Knowledge:** Reference the `.enderun/knowledge/` base for architectural and coding standards.
19
+
20
+ ### 🛡️ Core Mandates
21
+ - **Surgical Edits:** Use `replace_text` or `patch_file` via MCP for precise changes.
22
+ - **Traceability:** Every action must inherit the active Trace ID from memory.
23
+ - **Contract First:** No implementation without verified types.
24
+
25
+ All paths and references inside the project must comply with the Supreme Constitution located at `.enderun/ENDERUN.md`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-enderun",
3
- "version": "0.8.8",
3
+ "version": "0.9.0",
4
4
  "description": "The Supreme AI Governance & Orchestration Framework for Enterprise Development",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",
@@ -32,21 +32,21 @@
32
32
  },
33
33
  "files": [
34
34
  "bin",
35
- "src",
35
+ "dist",
36
36
  "framework-mcp/dist",
37
- "framework-mcp/src",
38
37
  "framework-mcp/package.json",
39
38
  ".enderun",
40
39
  "ENDERUN.md",
41
40
  "README.md",
42
41
  "LICENSE",
43
42
  "mcp.json",
44
- ".env.example",
45
43
  "tsconfig.json",
44
+ "eslint.config.js",
46
45
  "panda.config.ts",
47
46
  "gemini.md",
48
47
  "claude.md",
49
- "cursor.md",
48
+ "grok.md",
49
+ "agent.md",
50
50
  "docs"
51
51
  ],
52
52
  "scripts": {
@@ -57,8 +57,9 @@
57
57
  "enderun:trace": "agent-enderun trace:new",
58
58
  "enderun:verify": "agent-enderun verify-contract",
59
59
  "enderun:check": "agent-enderun check",
60
+ "enderun:lint": "eslint .",
60
61
  "lint": "eslint .",
61
- "clean": "rm -rf node_modules packages/*/node_modules apps/*/node_modules packages/*/dist apps/*/dist"
62
+ "clean": "rm -rf node_modules apps/*/node_modules framework-mcp/node_modules apps/*/dist framework-mcp/dist"
62
63
  },
63
64
  "publishConfig": {
64
65
  "access": "public"
@@ -70,11 +71,16 @@
70
71
  "@types/node": "^25.9.1",
71
72
  "concurrently": "^9.2.1",
72
73
  "eslint": "^10.4.0",
74
+ "globals": "^17.6.0",
73
75
  "ts-morph": "^28.0.0",
74
76
  "tsx": "^4.22.3",
75
77
  "typescript": "^6.0.3",
76
78
  "typescript-eslint": "^8.60.0",
77
79
  "vitest": "^4.1.7",
78
80
  "zod": "^3.24.2"
81
+ },
82
+ "enderun": {
83
+ "version": "0.9.0",
84
+ "initializedAt": "2026-05-29T13:21:18.516Z"
79
85
  }
80
86
  }
package/panda.config.ts CHANGED
@@ -1,100 +1,100 @@
1
1
  import { defineConfig } from "@pandacss/dev";
2
2
 
3
3
  export default defineConfig({
4
- // Whether to use css reset
5
- preflight: true,
4
+ // Whether to use css reset
5
+ preflight: true,
6
6
 
7
- // Where to look for your css declarations
8
- include: [
9
- "./src/**/*.{js,jsx,ts,tsx}",
10
- "./pages/**/*.{js,jsx,ts,tsx}",
11
- "./apps/**/*.{js,jsx,ts,tsx}",
12
- // Project-internal UI components only (no packages/ui by default)
13
- "./apps/**/src/components/**/*.{ts,tsx}",
14
- "./apps/**/src/ui/**/*.{ts,tsx}",
15
- ],
7
+ // Where to look for your css declarations
8
+ include: [
9
+ "./src/**/*.{js,jsx,ts,tsx}",
10
+ "./pages/**/*.{js,jsx,ts,tsx}",
11
+ "./apps/**/*.{js,jsx,ts,tsx}",
12
+ // Project-internal UI components only (no packages/ui by default)
13
+ "./apps/**/src/components/**/*.{ts,tsx}",
14
+ "./apps/**/src/ui/**/*.{ts,tsx}",
15
+ ],
16
16
 
17
- // Files to exclude
18
- exclude: [],
17
+ // Files to exclude
18
+ exclude: [],
19
19
 
20
- // Conditions for Dark Mode and other states
21
- conditions: {
22
- extend: {
23
- dark: ".dark &, [data-theme='dark'] &",
24
- light: ".light &, [data-theme='light'] &",
20
+ // Conditions for Dark Mode and other states
21
+ conditions: {
22
+ extend: {
23
+ dark: ".dark &, [data-theme='dark'] &",
24
+ light: ".light &, [data-theme='light'] &",
25
+ },
25
26
  },
26
- },
27
27
 
28
- // Theme Customization
29
- theme: {
30
- extend: {
31
- // Base Tokens (Absolute Values)
32
- tokens: {
33
- colors: {
34
- brand: {
35
- 50: { value: "#eef2ff" },
36
- 100: { value: "#e0e7ff" },
37
- 200: { value: "#c7d2fe" },
38
- 300: { value: "#a5b4fc" },
39
- 400: { value: "#818cf8" },
40
- 500: { value: "#6366f1" },
41
- 600: { value: "#4f46e5" },
42
- 700: { value: "#4338ca" },
43
- 800: { value: "#3730a3" },
44
- 900: { value: "#312e81" },
45
- 950: { value: "#1e1b4b" },
46
- },
47
- },
48
- spacing: {
49
- container: { value: "1200px" },
50
- },
51
- },
52
- // Semantic Tokens (Theme Aware)
53
- semanticTokens: {
54
- colors: {
55
- bg: {
56
- canvas: {
57
- value: { base: "{colors.white}", _dark: "{colors.brand.950}" },
58
- },
59
- surface: {
60
- value: { base: "{colors.gray.50}", _dark: "{colors.brand.900}" },
61
- },
62
- muted: {
63
- value: { base: "{colors.gray.100}", _dark: "{colors.brand.800}" },
64
- },
65
- },
66
- text: {
67
- default: {
68
- value: { base: "{colors.gray.900}", _dark: "{colors.white}" },
69
- },
70
- muted: {
71
- value: { base: "{colors.gray.500}", _dark: "{colors.gray.400}" },
72
- },
73
- brand: {
74
- value: { base: "{colors.brand.600}", _dark: "{colors.brand.400}" },
75
- },
76
- },
77
- accent: {
78
- default: {
79
- value: { base: "{colors.brand.500}", _dark: "{colors.brand.500}" },
80
- },
81
- emphasis: {
82
- value: { base: "{colors.brand.600}", _dark: "{colors.brand.400}" },
83
- },
84
- fg: {
85
- value: { base: "{colors.white}", _dark: "{colors.white}" },
28
+ // Theme Customization
29
+ theme: {
30
+ extend: {
31
+ // Base Tokens (Absolute Values)
32
+ tokens: {
33
+ colors: {
34
+ brand: {
35
+ 50: { value: "#eef2ff" },
36
+ 100: { value: "#e0e7ff" },
37
+ 200: { value: "#c7d2fe" },
38
+ 300: { value: "#a5b4fc" },
39
+ 400: { value: "#818cf8" },
40
+ 500: { value: "#6366f1" },
41
+ 600: { value: "#4f46e5" },
42
+ 700: { value: "#4338ca" },
43
+ 800: { value: "#3730a3" },
44
+ 900: { value: "#312e81" },
45
+ 950: { value: "#1e1b4b" },
46
+ },
47
+ },
48
+ spacing: {
49
+ container: { value: "1200px" },
50
+ },
86
51
  },
87
- },
88
- border: {
89
- default: {
90
- value: { base: "{colors.gray.200}", _dark: "{colors.brand.800}" },
52
+ // Semantic Tokens (Theme Aware)
53
+ semanticTokens: {
54
+ colors: {
55
+ bg: {
56
+ canvas: {
57
+ value: { base: "{colors.white}", _dark: "{colors.brand.950}" },
58
+ },
59
+ surface: {
60
+ value: { base: "{colors.gray.50}", _dark: "{colors.brand.900}" },
61
+ },
62
+ muted: {
63
+ value: { base: "{colors.gray.100}", _dark: "{colors.brand.800}" },
64
+ },
65
+ },
66
+ text: {
67
+ default: {
68
+ value: { base: "{colors.gray.900}", _dark: "{colors.white}" },
69
+ },
70
+ muted: {
71
+ value: { base: "{colors.gray.500}", _dark: "{colors.gray.400}" },
72
+ },
73
+ brand: {
74
+ value: { base: "{colors.brand.600}", _dark: "{colors.brand.400}" },
75
+ },
76
+ },
77
+ accent: {
78
+ default: {
79
+ value: { base: "{colors.brand.500}", _dark: "{colors.brand.500}" },
80
+ },
81
+ emphasis: {
82
+ value: { base: "{colors.brand.600}", _dark: "{colors.brand.400}" },
83
+ },
84
+ fg: {
85
+ value: { base: "{colors.white}", _dark: "{colors.white}" },
86
+ },
87
+ },
88
+ border: {
89
+ default: {
90
+ value: { base: "{colors.gray.200}", _dark: "{colors.brand.800}" },
91
+ },
92
+ },
93
+ },
91
94
  },
92
- },
93
95
  },
94
- },
95
96
  },
96
- },
97
97
 
98
- // The output directory for your css system
99
- outdir: "styled-system",
98
+ // The output directory for your css system
99
+ outdir: "styled-system",
100
100
  });
package/tsconfig.json CHANGED
@@ -12,5 +12,14 @@
12
12
  "forceConsistentCasingInFileNames": true,
13
13
  "outDir": "dist"
14
14
  },
15
+ "include": [
16
+ "src/**/*.ts",
17
+ "tests/**/*.ts",
18
+ "apps/**/*.ts",
19
+ "apps/**/*.tsx",
20
+ "framework-mcp/src/**/*.ts",
21
+ "vitest.config.ts",
22
+ "eslint.config.js"
23
+ ],
15
24
  "exclude": ["node_modules", "dist"]
16
25
  }
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
@@ -1 +0,0 @@
1
- {"runs":[]}
package/.env.example DELETED
@@ -1,10 +0,0 @@
1
- # Agent Enderun Configuration
2
- AGENT_ENDERUN_PACKAGE_MANAGER=npm
3
-
4
- # AI API Keys
5
- GEMINI_API_KEY=
6
- ANTHROPIC_API_KEY=
7
- OPENAI_API_KEY=
8
-
9
- # MCP Configuration
10
- MCP_SERVER_PORT=3000
package/cursor.md DELETED
@@ -1,19 +0,0 @@
1
- # Agent Enderun — Cursor / Codex Adapter
2
-
3
- This file is the entry point when using Agent Enderun with Cursor Composer / Codex CLI.
4
-
5
- The framework installs into the `.cursor/` folder for Cursor users.
6
-
7
- ### Primary Constitution
8
- All governance rules, agent checklists, and project memory live here:
9
-
10
- 👉 **[.cursor/ENDERUN.md](.cursor/ENDERUN.md)**
11
-
12
- ### 🤖 Agent Directive (Cursor users)
13
- You are operating under the Agent Enderun governance framework.
14
-
15
- At the **start of every session**, before any work:
16
- 1. Read `.cursor/PROJECT_MEMORY.md` to restore state, active Trace ID, and history.
17
- 2. Read the relevant agent definition under `.cursor/agents/{agent}.md` (especially `@manager`).
18
-
19
- All paths and references inside `.cursor/` use the Cursor adapter structure. No migration to other CLIs is required.
@@ -1,55 +0,0 @@
1
- # AI-Enderun MCP Server (v0.8.3)
2
-
3
- English | [Türkçe](#türkçe)
4
-
5
- The `ai-enderun-mcp` package is the core intelligence engine of the Agent Enderun framework, implementing the Model Context Protocol (MCP).
6
-
7
- ## English
8
-
9
- ### 🛠️ Categorized Tools
10
-
11
- #### 🛡️ Security & Compliance
12
- - `security_audit_scan`: Scans for secrets, raw SQL, and unsafe patterns using AST.
13
- - `analyze_constitution_compliance`: Verifies adherence to `ENDERUN.md` rules.
14
-
15
- #### 🧠 Framework & Memory
16
- - `get_framework_status`: Retrieves active phase and status.
17
- - `update_project_memory`: Atomic updates to project brain sections.
18
- - `bootstrap_legacy_memory`: Auto-generates memory for existing projects.
19
- - `read_project_memory`: Safe read access to the project brain.
20
-
21
- #### 🔍 Codebase Intelligence
22
- - `search_codebase`: Regex-powered semantic search.
23
- - `analyze_dependencies`: Deep import tracking and dependency mapping.
24
- - `analyze_codebase_intelligence`: Detects complexity spikes and dead code.
25
- - `generate_dependency_graph`: Creates Mermaid architecture maps.
26
-
27
- #### 📜 Contract Management
28
- - `verify_api_contract`: Checks shared-types integrity via hashing.
29
- - `update_contract_hash`: Synchronizes the contract versioning.
30
- - `verify_contract_integrity`: Ensures API docs and types are in sync.
31
-
32
- #### 🎓 Academy & Orchestration
33
- - `log_agent_action`: Records traceable agent activities.
34
- - `send_agent_message`: Facilitates inter-agent collaboration.
35
- - `read_agent_messages`: Inbox management for specialized agents.
36
-
37
- #### 📦 Repository & Git
38
- - `generate_semantic_commit_message`: Automated commit messages based on diffs.
39
-
40
- ---
41
-
42
- ## Türkçe
43
-
44
- ### 🛠️ Kategorize Edilmiş Araçlar
45
-
46
- - **Güvenlik:** `security_audit_scan`, `analyze_constitution_compliance`.
47
- - **Hafıza:** `get_framework_status`, `update_project_memory`, `bootstrap_legacy_memory`.
48
- - **Zeka:** `search_codebase`, `analyze_dependencies`, `generate_dependency_graph`.
49
- - **Kontrat:** `verify_api_contract`, `update_contract_hash`, `verify_contract_integrity`.
50
- - **Orkestrasyon:** `send_agent_message`, `log_agent_action`.
51
- - **Repo:** `generate_semantic_commit_message`.
52
-
53
- ## License
54
-
55
- MIT
@@ -1,84 +0,0 @@
1
- import { z } from "zod";
2
- export const SECURITY_AUDIT_ARGS_SCHEMA = z.object({
3
- path: z.string().default("."),
4
- });
5
- export const SEARCH_CODEBASE_ARGS_SCHEMA = z.object({
6
- query: z.string().min(1).max(300),
7
- extension: z
8
- .string()
9
- .default("ts")
10
- .refine((s) => /^[a-z0-9]+$/i.test(s), { message: "extension must be alphanumeric" }),
11
- });
12
- export const UPDATE_MEMORY_ARGS_SCHEMA = z.object({
13
- section: z.enum(["CURRENT STATUS", "HISTORY", "ACTIVE TASKS"]),
14
- content: z.string().min(1),
15
- });
16
- export const ANALYZE_DEPENDENCIES_ARGS_SCHEMA = z.object({
17
- path: z.string().min(1),
18
- });
19
- export const LOG_AGENT_ACTION_ARGS_SCHEMA = z.object({
20
- agent: z.string().min(1),
21
- action: z.string().min(1),
22
- requestId: z.string().min(1),
23
- files: z.array(z.string()).default([]),
24
- status: z.enum(["SUCCESS", "FAILURE"]),
25
- summary: z.string().min(1),
26
- details: z.record(z.string(), z.any()).default({}),
27
- });
28
- export const SEND_AGENT_MESSAGE_ARGS_SCHEMA = z.object({
29
- from: z.string().min(1),
30
- to: z.string().min(1),
31
- message: z.string().min(1),
32
- traceId: z.string().min(1),
33
- category: z.enum(["ACTION", "DELEGATION", "INFO", "ALERT"]).default("INFO"),
34
- priority: z.enum(["LOW", "MEDIUM", "HIGH", "URGENT"]).default("MEDIUM"),
35
- });
36
- export const UPDATE_AGENT_MESSAGE_STATUS_ARGS_SCHEMA = z.object({
37
- agent: z.string().min(1),
38
- traceId: z.string().min(1),
39
- newStatus: z.enum(["ACKNOWLEDGED", "COMPLETED", "REJECTED"]),
40
- });
41
- export const SEARCH_KNOWLEDGE_BASE_ARGS_SCHEMA = z.object({
42
- query: z.string().min(1),
43
- });
44
- export const UPDATE_KNOWLEDGE_BASE_ARGS_SCHEMA = z.object({
45
- topic: z.string().min(1),
46
- content: z.string().min(1),
47
- tags: z.array(z.string().min(1)).default([]),
48
- });
49
- export const ANALYZE_CONSTITUTION_COMPLIANCE_ARGS_SCHEMA = z.object({
50
- path: z.string().min(1),
51
- });
52
- export const GENERATE_DEPENDENCY_GRAPH_ARGS_SCHEMA = z.object({
53
- path: z.string().default("src"),
54
- format: z.enum(["mermaid", "json"]).default("mermaid"),
55
- });
56
- export const READ_AGENT_MESSAGES_ARGS_SCHEMA = z.object({
57
- agent: z.string().min(1),
58
- traceId: z.string().min(1).optional(),
59
- });
60
- export const VERIFY_CONTRACT_INTEGRITY_ARGS_SCHEMA = z.object({
61
- domain: z.string().min(1),
62
- });
63
- export const GENERATE_SEMANTIC_COMMIT_MESSAGE_ARGS_SCHEMA = z.object({
64
- traceId: z.string().min(1),
65
- });
66
- export const ANALYZE_CODEBASE_INTELLIGENCE_ARGS_SCHEMA = z.object({
67
- path: z.string().default("."),
68
- });
69
- export const ANALYZE_PROCEDURAL_CONTINUITY_ARGS_SCHEMA = z.object({
70
- targetPath: z.string().min(1),
71
- referencePath: z.string().min(1),
72
- });
73
- export const GET_AGENT_INBOX_STATS_ARGS_SCHEMA = z.object({
74
- agent: z.string().min(1),
75
- });
76
- export const GET_KNOWLEDGE_GRAPH_ARGS_SCHEMA = z.object({
77
- tag: z.string().optional(),
78
- });
79
- export const SYNC_CONTRACT_HASH_ARGS_SCHEMA = z.object({
80
- force: z.boolean().default(false),
81
- });
82
- export const VERIFY_FRAMEWORK_HEALTH_ARGS_SCHEMA = z.object({
83
- detailed: z.boolean().default(false),
84
- });