agent-enderun 0.7.0 → 0.7.2

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/README.md CHANGED
@@ -20,7 +20,7 @@ Most AI coding tools optimize for speed and generation volume. Agent Enderun opt
20
20
 
21
21
  > [!NOTE]
22
22
  > **v0.7.0 Strategic Consolidation:**
23
- > This release completely standardizes the workspace on the `.antigravitycli/` folder as the active framework engine. All specialist agent configurations are migrated into a futuristic, strongly-typed JSON structure (`agent.json`) under `.agents/agents/{agent_name}/agent.json` (or `.antigravitycli/agents/` during framework staging) for absolute machine-readability. Duplicate structures (like `.enderun/` or `.antigravitycli/docs/`) have been completely retired.
23
+ > The active runtime folder in user projects is `.agents/`. The framework ships its templates from `.enderun/`. All specialist agent configurations are migrated into a futuristic, strongly-typed JSON structure (`agent.json`) under `.agents/agents/{agent_name}/agent.json` (or `.antigravitycli/agents/` during framework staging) for absolute machine-readability. Duplicate structures (like `.enderun/` or `.antigravitycli/docs/`) have been completely retired.
24
24
 
25
25
  ---
26
26
 
@@ -69,7 +69,7 @@ agent-enderun/
69
69
  │ ├── analyst/agent.json
70
70
  │ ├── backend/agent.json
71
71
  │ └── ... (others)
72
- ├── .antigravitycli/ <-- Unified Framework Engines & Memories
72
+ ├── .agents/ <-- Active runtime folder created in user projects (agents, memory, knowledge copies)
73
73
  │ ├── assets/
74
74
  │ │ └── manager.png <-- Majestic Headmaster Avatar
75
75
  │ ├── cli-commands.json
@@ -97,7 +97,7 @@ agent-enderun/
97
97
  Install the package globally or initialize it inside your project folder:
98
98
 
99
99
  ```bash
100
- # 1. Initialize the framework (creates .antigravitycli/ and .agents/ structures)
100
+ # 1. Initialize the framework (creates .agents/ structure + antigravity.md)
101
101
  npx agent-enderun init
102
102
 
103
103
  # 2. Install dependencies
@@ -112,7 +112,7 @@ npx agent-enderun check
112
112
 
113
113
  ### 2. Startup Step (Mandatory for Agents)
114
114
  At the start of every session, the active agent must:
115
- 1. **Read `.antigravitycli/PROJECT_MEMORY.md`** immediately to restore project context, trace ID, and active tasks.
115
+ 1. **Read `.agents/PROJECT_MEMORY.md`** immediately to restore project context, trace ID, and active tasks.
116
116
  2. **Read `.agents/agents/manager/agent.json`** to load specialist behavioral rules and checklists.
117
117
 
118
118
  ---
@@ -141,7 +141,7 @@ At the start of every session, the active agent must:
141
141
 
142
142
  > [!NOTE]
143
143
  > **v0.7.0 Stratejik Konsolidasyon:**
144
- > Bu sürüm, çalışma alanını tamamen `.antigravitycli/` klasörü üzerinde standartlaştırır. Tüm uzman ajan yapılandırmaları, mutlak makine okunabilirliği için fütüristik, güçlü tipli bir JSON yapısına (`agent.json`) dönüştürülmüş ve `.agents/agents/{agent_name}/agent.json` altına taşınmıştır. Eski veya mükerrer yapılar (örneğin `.enderun/` veya `.antigravitycli/docs/`) tamamen kaldırılmıştır.
144
+ > Çalışma zamanı klasörü kullanıcı projelerinde `.agents/` olarak oluşturulur. Ajan yapılandırmaları `.agents/agents/{agent_name}/agent.json` altında yer alır. Eski veya mükerrer yapılar (örneğin `.enderun/` veya `.antigravitycli/docs/`) tamamen kaldırılmıştır.
145
145
 
146
146
  ---
147
147
 
@@ -185,7 +185,7 @@ Enderun Ordusu'ndaki her ajan, kendilerine ait kuralları, izin verilen dizinler
185
185
  Framework'ü projenizde başlatmak için aşağıdaki adımları takip edin:
186
186
 
187
187
  ```bash
188
- # 1. Framework'ü başlatın (.antigravitycli ve .agents yapılarını kurar)
188
+ # 1. Framework'ü başlatın (.agents yapısını kurar)
189
189
  npx agent-enderun init
190
190
 
191
191
  # 2. Bağımlılıkları yükleyin
@@ -200,7 +200,7 @@ npx agent-enderun check
200
200
 
201
201
  ### 2. Ajanlar İçin Başlangıç Adımı (Zorunlu)
202
202
  Her oturumun başında, aktif ajan mutlaka:
203
- 1. Proje bağlamını, izleme kimliğini (trace ID) ve aktif görevleri geri yüklemek için **derhal `.antigravitycli/PROJECT_MEMORY.md`** dosyasını okumalıdır.
203
+ 1. Proje bağlamını, izleme kimliğini (trace ID) ve aktif görevleri geri yüklemek için **derhal `.agents/PROJECT_MEMORY.md`** dosyasını okumalıdır.
204
204
  2. Rolüne özgü davranış kurallarını ve kontrol listelerini yüklemek için **derhal `.agents/agents/manager/agent.json`** dosyasını okumalıdır.
205
205
 
206
206
  ---
package/antigravity.md CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  This file is the entry point for Antigravity CLI. The project's "Supreme Law" and all instructions are located in the following file:
4
4
 
5
- 👉 **[.antigravitycli/ENDERUN.md](.antigravitycli/ENDERUN.md)**
5
+ 👉 **[.agents/ENDERUN.md](.agents/ENDERUN.md)**
6
6
 
7
7
  ### 🤖 AGENT DIRECTIVE
8
8
  You are ALWAYS operating as `@manager` (Team-Lead) by default — on every message, every turn. The user does NOT need to type `@manager`. Typing a specific agent (e.g. `@backend`) explicitly will override this and activate that specialist role directly. You are responsible for analysis and delegation.
9
9
 
10
10
  ⚠️ **CRITICAL STARTUP REQUIREMENT:**
11
11
  At the start of every new session/conversation or first turn, before you perform any task or respond to the user:
12
- 1. You **MUST** read `.antigravitycli/PROJECT_MEMORY.md` immediately (using the `read_project_memory` tool or the most specific file viewing tool) to restore the project's state, active phase, Trace ID, and recent history.
13
- 2. You **MUST** read `.antigravitycli/agents/manager/agent.json` (or the specialist's JSON file in `.antigravitycli/agents/{agent_name}/agent.json` if explicitly overridden) to load your role-specific rules, workflows, and checklists.
12
+ 1. You **MUST** read `.agents/PROJECT_MEMORY.md` immediately (using the `read_project_memory` tool or the most specific file viewing tool) to restore the project's state, active phase, Trace ID, and recent history.
13
+ 2. You **MUST** read `.agents/agents/manager/agent.json` (or the specialist's JSON file in `.agents/agents/{agent_name}/agent.json` if explicitly overridden) to load your role-specific rules, workflows, and checklists.
14
14
 
15
15
  Please read the Supreme Law thoroughly before taking any action.
package/bin/cli.js CHANGED
@@ -22,7 +22,7 @@ function getPackageVersion() {
22
22
  }
23
23
 
24
24
  function getFrameworkDir() {
25
- return ".antigravitycli";
25
+ return ".agents";
26
26
  }
27
27
 
28
28
  function getMemoryPath() {
@@ -188,7 +188,7 @@ function mergePackageJson(targetPath, sourcePath) {
188
188
  console.log("✅ package.json updated with Enderun scripts and dependencies.");
189
189
  }
190
190
 
191
- function updateGitIgnore(targetPath, frameworkDir = ".antigravitycli") {
191
+ function updateGitIgnore(targetPath, frameworkDir = ".agents") {
192
192
  const IGNORE_LINES = [
193
193
  "# AI-Enderun",
194
194
  `${frameworkDir}/logs/*.json`,
@@ -368,11 +368,11 @@ async function initCommand(selectedAdapter = "antigravity") {
368
368
  antigravity: ["antigravity.md"],
369
369
  };
370
370
 
371
- const targetBase = ".antigravitycli";
371
+ const targetBase = ".agents";
372
372
  const targetFrameworkDir = path.join(targetDir, targetBase);
373
373
 
374
374
  const CORE_FILES = [
375
- ".antigravitycli",
375
+ ".antigravitycli", // source template folder (will be remapped to .agents)
376
376
 
377
377
  "mcp.json",
378
378
  ".env.example",
@@ -483,7 +483,7 @@ async function initCommand(selectedAdapter = "antigravity") {
483
483
  if (fs.existsSync(src)) {
484
484
  if (fs.lstatSync(src).isDirectory()) {
485
485
  const skipFiles = (item === ".antigravitycli") ? ["logs", "PROJECT_MEMORY.md", "PROJECT_MEMORY.lock"] : [];
486
- const nonDestructive = ["docs", ".antigravitycli"].includes(item);
486
+ const nonDestructive = ["docs", ".antigravitycli"].includes(item); // source name during copy
487
487
  copyDir(src, dest, new Set(skipFiles), nonDestructive, targetBase, targetScope);
488
488
  } else {
489
489
  if (item === "package.json") continue; // We merge it later
@@ -779,7 +779,7 @@ function sanitizeJson(obj, targetScope = "") {
779
779
  return cleaned;
780
780
  }
781
781
 
782
- function copyDir(src, dest, skipSet = new Set(), nonDestructive = false, frameworkDir = ".antigravitycli", targetScope = "") {
782
+ function copyDir(src, dest, skipSet = new Set(), nonDestructive = false, frameworkDir = ".agents", targetScope = "") {
783
783
  const DEFAULT_SKIP = new Set(["node_modules", ".git", ".DS_Store", "package-lock.json"]);
784
784
  const actualSkip = new Set([...DEFAULT_SKIP, ...skipSet]);
785
785
 
@@ -8,7 +8,7 @@ const getPackageVersion = () => {
8
8
  const pkgPath = path.join(__dirname, "../package.json");
9
9
  if (fs.existsSync(pkgPath)) {
10
10
  const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf-8"));
11
- return pkg.version || "0.6.6";
11
+ return pkg.version || "0.7.1";
12
12
  }
13
13
  }
14
14
  catch {
@@ -18,7 +18,7 @@ const getPackageVersion = () => {
18
18
  };
19
19
  export const FRAMEWORK_VERSION = getPackageVersion();
20
20
  export function getFrameworkDir(_projectRoot) {
21
- return ".antigravitycli";
21
+ return ".agents"; // Antigravity-only runtime folder
22
22
  }
23
23
  export function resolveSafePath(projectRoot, targetPath) {
24
24
  const resolved = path.resolve(projectRoot, targetPath);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-enderun-mcp",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "Enterprise-grade MCP Server for AI Agent Framework",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@ const getPackageVersion = (): string => {
10
10
  const pkgPath = path.join(__dirname, "../package.json");
11
11
  if (fs.existsSync(pkgPath)) {
12
12
  const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf-8"));
13
- return pkg.version || "0.6.6";
13
+ return pkg.version || "0.7.1";
14
14
  }
15
15
  } catch {
16
16
  // fallback
@@ -21,7 +21,7 @@ const getPackageVersion = (): string => {
21
21
  export const FRAMEWORK_VERSION = getPackageVersion();
22
22
 
23
23
  export function getFrameworkDir(_projectRoot: string): string {
24
- return ".antigravitycli";
24
+ return ".agents"; // Antigravity-only runtime folder
25
25
  }
26
26
 
27
27
  export function resolveSafePath(projectRoot: string, targetPath: string): string {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-enderun",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "description": "The Supreme AI Governance & Orchestration Framework for Enterprise Development",
5
5
  "author": "Yusuf BEKAR",
6
6
  "license": "MIT",
@@ -80,4 +80,4 @@
80
80
  "initializedAt": "2026-05-24T12:00:52.687Z"
81
81
  },
82
82
  "dependencies": {}
83
- }
83
+ }