agent-enderun 0.5.1 → 0.5.3
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/BRAIN_DASHBOARD.md +0 -0
- package/.enderun/PROJECT_MEMORY.md +27 -2
- package/.enderun/STATUS.md +2 -0
- package/.enderun/agents/analyst.md +8 -8
- package/.enderun/agents/backend.md +11 -11
- package/.enderun/agents/explorer.md +4 -4
- package/.enderun/agents/frontend.md +7 -7
- package/.enderun/agents/git.md +5 -5
- package/.enderun/agents/manager.md +12 -12
- package/.enderun/agents/mobile.md +5 -5
- package/.enderun/agents/native.md +5 -5
- package/.enderun/benchmarks/.gitkeep +0 -0
- package/.enderun/cli-commands.json +0 -0
- package/.enderun/config.json +0 -0
- package/.enderun/docs/api/README.md +0 -0
- package/.enderun/docs/api/auth.md +0 -0
- package/.enderun/docs/api/errors.md +0 -0
- package/.enderun/docs/error-handling.md +0 -0
- package/.enderun/docs/privacy.md +0 -0
- package/.enderun/docs/project-docs.md +0 -0
- package/.enderun/docs/security.md +0 -0
- package/.enderun/docs/tech-stack.md +1 -1
- package/.enderun/docs/troubleshooting.md +0 -0
- package/.enderun/knowledge/api_design_rules.md +0 -0
- package/.enderun/knowledge/async_error_handling.md +0 -0
- package/.enderun/knowledge/branded_types_pattern.md +0 -0
- package/.enderun/knowledge/code_review_checklist.md +0 -0
- package/.enderun/knowledge/contract_versioning.md +0 -0
- package/.enderun/knowledge/database_migration.md +0 -0
- package/.enderun/knowledge/deployment_checklist.md +0 -0
- package/.enderun/knowledge/git_commit_strategy.md +0 -0
- package/.enderun/knowledge/hermes_protocol.md +0 -0
- package/.enderun/knowledge/legacy_onboarding.md +0 -0
- package/.enderun/knowledge/monitoring_setup.md +0 -0
- package/.enderun/knowledge/performance_guidelines.md +0 -0
- package/.enderun/knowledge/repository_patterns.md +0 -0
- package/.enderun/knowledge/responsive_design_standards.md +0 -0
- package/.enderun/knowledge/security_scanning.md +0 -0
- package/.enderun/knowledge/testing_standards.md +1 -1
- package/.enderun/knowledge/troubleshooting_guide.md +0 -0
- package/.enderun/knowledge/zero_ui_library_policy.md +0 -0
- package/.enderun/logs/.gitkeep +0 -0
- package/.enderun/messages/.gitkeep +0 -0
- package/.enderun/monitoring/.gitkeep +0 -0
- package/.env.example +0 -0
- package/ENDERUN.md +3 -3
- package/LICENSE +0 -0
- package/README.md +70 -33
- package/bin/cli.js +627 -3
- package/bin/update-contract.js +21 -2
- package/claude.md +1 -1
- package/codex.md +1 -1
- package/cursor.md +1 -1
- package/docs/README.md +23 -0
- package/gemini-extension.json +8 -2
- package/gemini.md +1 -1
- package/mcp.json +0 -0
- package/package.json +4 -3
- package/packages/framework-mcp/dist/index.js +0 -0
- package/packages/framework-mcp/dist/schemas.js +2 -0
- package/packages/framework-mcp/dist/tools/contract.js +13 -7
- package/packages/framework-mcp/dist/tools/knowledge.js +1 -1
- package/packages/framework-mcp/dist/tools/messages.js +15 -6
- package/packages/framework-mcp/dist/tools/repository.js +24 -3
- package/packages/framework-mcp/dist/utils.js +2 -2
- package/packages/framework-mcp/package.json +2 -2
- package/packages/framework-mcp/src/schemas.ts +2 -0
- package/packages/framework-mcp/src/tools/contract.ts +14 -7
- package/packages/framework-mcp/src/tools/knowledge.ts +1 -1
- package/packages/framework-mcp/src/tools/messages.ts +17 -8
- package/packages/framework-mcp/src/tools/repository.ts +24 -3
- package/packages/framework-mcp/src/utils.ts +2 -2
- package/packages/shared-types/README.md +0 -0
- package/packages/shared-types/contract.version.json +3 -3
- package/packages/shared-types/package.json +4 -4
- package/packages/shared-types/src/index.ts +0 -0
- package/packages/shared-types/tsconfig.json +0 -0
- package/panda.config.ts +5 -1
- package/tsconfig.json +0 -0
- package/packages/framework-mcp/dist/index.d.ts +0 -1
- package/packages/shared-types/dist/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 🏛️ Agent Enderun (v0.5.
|
|
1
|
+
# 🏛️ Agent Enderun (v0.5.3) — The Supreme AI Governance Framework
|
|
2
2
|
|
|
3
3
|
**The Supreme AI Governance & Orchestration Framework for Enterprise Development**
|
|
4
4
|
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
Agent Enderun, yazılım ekipleri için tasarlanmış, **Anayasal Yönetişim (Constitutional Governance)** ve **Çoklu Ajan Orkestrasyonu (Multi-Agent Orchestration)** sağlayan kurumsal düzeyde bir framework'tür.
|
|
14
14
|
|
|
15
|
+
### 🚀 v0.5.3: Zero-Config & Auto-Wiring
|
|
16
|
+
- **Auto-Wiring:** CLI automatically configures `gemini-extension.json` for MCP.
|
|
17
|
+
- **Automated Build:** Framework now compiles itself during initialization.
|
|
18
|
+
- **Smart Directory Logic:** Enhanced separation between framework and project docs.
|
|
19
|
+
|
|
15
20
|
### 🚀 v0.5.1: The Academy & Hermes Upgrade
|
|
16
21
|
|
|
17
22
|
Bu sürümle birlikte Agent Enderun, basit bir yönetişim aracından otonom bir **Ajan Akademisi**'ne dönüşmüştür:
|
|
@@ -48,7 +53,7 @@ git clone https://github.com/ybekar/agent-enderun.git
|
|
|
48
53
|
cd agent-enderun
|
|
49
54
|
|
|
50
55
|
# Option B: Or use as npm package (when published)
|
|
51
|
-
npx agent
|
|
56
|
+
npx agent-enderun init gemini
|
|
52
57
|
```
|
|
53
58
|
|
|
54
59
|
#### Step 2: Install Dependencies
|
|
@@ -63,12 +68,12 @@ npm run enderun:build
|
|
|
63
68
|
|
|
64
69
|
#### Step 4: Verify Setup
|
|
65
70
|
```bash
|
|
66
|
-
agent
|
|
71
|
+
agent-enderun check
|
|
67
72
|
```
|
|
68
73
|
|
|
69
74
|
Expected output:
|
|
70
75
|
```
|
|
71
|
-
✅ Framework active (v0.
|
|
76
|
+
✅ Framework active (v0.5.3)
|
|
72
77
|
✅ MCP Server ready
|
|
73
78
|
✅ Shared types compiled
|
|
74
79
|
✅ Agent logs initialized
|
|
@@ -77,42 +82,58 @@ Expected output:
|
|
|
77
82
|
|
|
78
83
|
---
|
|
79
84
|
|
|
85
|
+
## 🤖 Adapter Automation Levels
|
|
86
|
+
|
|
87
|
+
Choose your AI adapter when running `init`. Each has a different automation level:
|
|
88
|
+
|
|
89
|
+
| Adapter | Command | Automation | Notes |
|
|
90
|
+
| :--- | :--- | :---: | :--- |
|
|
91
|
+
| **Gemini** | `init gemini` | ✅ Full | MCP auto-wired into `gemini-extension.json`. One command, done. |
|
|
92
|
+
| **Cursor** | `init cursor` | ✅ Full | `cursor.md` auto-synced to `.cursorrules`. One command, done. |
|
|
93
|
+
| **Codex** | `init codex` | ✅ Full | Framework files placed in `.enderun/`. One command, done. |
|
|
94
|
+
| **Claude** | `init claude` | ⚠️ Semi | After init, run one extra command shown in the terminal to register MCP tools. |
|
|
95
|
+
|
|
96
|
+
> **Claude Note:** Claude Code requires explicit user approval for MCP tools due to its security model.
|
|
97
|
+
> After `init claude`, copy and run the `claude config add ...` command shown in the terminal output.
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
80
101
|
## 🎯 What You Can Do Right Now
|
|
81
102
|
|
|
82
103
|
### Initialize Your Project
|
|
83
104
|
```bash
|
|
84
105
|
# Creates {{FRAMEWORK_DIR}}/ directory with governance files
|
|
85
|
-
npx agent
|
|
106
|
+
npx agent-enderun init gemini
|
|
86
107
|
```
|
|
87
108
|
|
|
88
109
|
### Check Project Health
|
|
89
110
|
```bash
|
|
90
111
|
# Runs security audit, compliance check, and dependency analysis
|
|
91
|
-
agent
|
|
112
|
+
agent-enderun check
|
|
92
113
|
|
|
93
114
|
# Just security
|
|
94
|
-
agent
|
|
115
|
+
agent-enderun check:security
|
|
95
116
|
|
|
96
117
|
# Just compliance
|
|
97
|
-
agent
|
|
118
|
+
agent-enderun check:compliance
|
|
98
119
|
```
|
|
99
120
|
|
|
100
121
|
### View Project Status
|
|
101
122
|
```bash
|
|
102
123
|
# Shows current phase, active agents, and blockers
|
|
103
|
-
agent
|
|
124
|
+
agent-enderun status
|
|
104
125
|
```
|
|
105
126
|
|
|
106
127
|
### Create a New Task
|
|
107
128
|
```bash
|
|
108
129
|
# Creates a ULID-based trace for a new feature
|
|
109
|
-
agent
|
|
130
|
+
agent-enderun trace:new "Implement User Authentication" backend P1
|
|
110
131
|
```
|
|
111
132
|
|
|
112
133
|
### Verify API Contracts
|
|
113
134
|
```bash
|
|
114
135
|
# Ensures shared-types and API docs are synchronized
|
|
115
|
-
agent
|
|
136
|
+
agent-enderun verify-contract
|
|
116
137
|
```
|
|
117
138
|
|
|
118
139
|
---
|
|
@@ -248,8 +269,8 @@ Agents use the `search_knowledge_base` tool to find answers to common questions.
|
|
|
248
269
|
- [ ] **npm 9+** installed (`npm --version`)
|
|
249
270
|
- [ ] **Git** initialized (`git init`)
|
|
250
271
|
- [ ] **Framework installed** (`npm install && npm run enderun:build`)
|
|
251
|
-
- [ ] **Health check passed** (`agent
|
|
252
|
-
- [ ] **First task created** (`agent
|
|
272
|
+
- [ ] **Health check passed** (`agent-enderun check` shows ✅)
|
|
273
|
+
- [ ] **First task created** (`agent-enderun trace:new "Your task" backend P1`)
|
|
253
274
|
- [ ] **Docs created** (add files to `docs/` for agents to read)
|
|
254
275
|
- [ ] **MCP connected** (agents can now use tools)
|
|
255
276
|
|
|
@@ -270,7 +291,7 @@ Implement JWT-based authentication with refresh tokens.
|
|
|
270
291
|
" > docs/requirements.md
|
|
271
292
|
|
|
272
293
|
# Step 2: Create a task
|
|
273
|
-
agent
|
|
294
|
+
agent-enderun trace:new "Implement Auth Module" backend P1
|
|
274
295
|
|
|
275
296
|
# Step 3: Agents read requirements and build
|
|
276
297
|
# (They will automatically read docs/requirements.md)
|
|
@@ -281,7 +302,7 @@ agent{{FRAMEWORK_DIR}} trace:new "Implement Auth Module" backend P1
|
|
|
281
302
|
## 📁 Project Structure
|
|
282
303
|
|
|
283
304
|
```
|
|
284
|
-
agent
|
|
305
|
+
agent-enderun/
|
|
285
306
|
├── README.md ← This file
|
|
286
307
|
├── package.json ← Root npm config
|
|
287
308
|
├── bin/
|
|
@@ -439,7 +460,7 @@ git clone https://github.com/ybekar/agent-enderun.git
|
|
|
439
460
|
cd agent-enderun
|
|
440
461
|
|
|
441
462
|
# Seçenek B: veya npm paketi olarak kullan
|
|
442
|
-
npx agent
|
|
463
|
+
npx agent-enderun init gemini
|
|
443
464
|
```
|
|
444
465
|
|
|
445
466
|
#### Adım 2: Bağımlılıkları Yükle
|
|
@@ -454,12 +475,12 @@ npm run enderun:build
|
|
|
454
475
|
|
|
455
476
|
#### Adım 4: Kurulumu Doğrula
|
|
456
477
|
```bash
|
|
457
|
-
agent
|
|
478
|
+
agent-enderun check
|
|
458
479
|
```
|
|
459
480
|
|
|
460
481
|
Beklenen çıktı:
|
|
461
482
|
```
|
|
462
|
-
✅ Framework aktif (v0.
|
|
483
|
+
✅ Framework aktif (v0.5.3)
|
|
463
484
|
✅ MCP Sunucu hazır
|
|
464
485
|
✅ Paylaşılan türler derlenmiş
|
|
465
486
|
✅ Agent logları başlatılmış
|
|
@@ -472,33 +493,49 @@ Beklenen çıktı:
|
|
|
472
493
|
|
|
473
494
|
### Projeyi Başlat
|
|
474
495
|
```bash
|
|
475
|
-
npx agent
|
|
496
|
+
npx agent-enderun init gemini
|
|
476
497
|
```
|
|
477
498
|
|
|
478
499
|
### Sağlık Durumunu Kontrol Et
|
|
479
500
|
```bash
|
|
480
|
-
agent
|
|
481
|
-
agent
|
|
482
|
-
agent
|
|
501
|
+
agent-enderun check # Tam kontrol
|
|
502
|
+
agent-enderun check:security # Sadece güvenlik
|
|
503
|
+
agent-enderun check:compliance # Sadece uyum
|
|
483
504
|
```
|
|
484
505
|
|
|
485
506
|
### Proje Durumunu Görüntüle
|
|
486
507
|
```bash
|
|
487
|
-
agent
|
|
508
|
+
agent-enderun status
|
|
488
509
|
```
|
|
489
510
|
|
|
490
511
|
### Yeni Görev Oluştur
|
|
491
512
|
```bash
|
|
492
|
-
agent
|
|
513
|
+
agent-enderun trace:new "Kullanıcı Doğrulama Uygulaması" backend P1
|
|
493
514
|
```
|
|
494
515
|
|
|
495
516
|
### API Kontratlarını Doğrula
|
|
496
517
|
```bash
|
|
497
|
-
agent
|
|
518
|
+
agent-enderun verify-contract
|
|
498
519
|
```
|
|
499
520
|
|
|
500
521
|
---
|
|
501
522
|
|
|
523
|
+
## 🤖 Adaptör Otomasyon Seviyeleri
|
|
524
|
+
|
|
525
|
+
`init` komutunu çalıştırırken adaptörünüzü seçin. Her adaptörün otomasyon seviyesi farklıdır:
|
|
526
|
+
|
|
527
|
+
| Adaptör | Komut | Otomasyon | Not |
|
|
528
|
+
| :--- | :--- | :---: | :--- |
|
|
529
|
+
| **Gemini** | `init gemini` | ✅ Tam | MCP `gemini-extension.json`'a otomatik yazılır. Tek komut, bitti. |
|
|
530
|
+
| **Cursor** | `init cursor` | ✅ Tam | `cursor.md` otomatik olarak `.cursorrules`'a kopyalanır. Tek komut, bitti. |
|
|
531
|
+
| **Codex** | `init codex` | ✅ Tam | Framework dosyaları `.enderun/` dizinine yerleştirilir. Tek komut, bitti. |
|
|
532
|
+
| **Claude** | `init claude` | ⚠️ Yarı | Init sonrası terminalde gösterilen `claude config add ...` komutunu çalıştırmanız gerekir. |
|
|
533
|
+
|
|
534
|
+
> **Claude Notu:** Claude Code, güvenlik modeli gereği MCP araçlarının kullanıcı tarafından açıkça onaylanmasını zorunlu kılar.
|
|
535
|
+
> `init claude` sonrası terminal çıktısındaki `claude config add ...` komutunu kopyalayıp çalıştırın.
|
|
536
|
+
|
|
537
|
+
---
|
|
538
|
+
|
|
502
539
|
## 🏗️ Temel Mimari
|
|
503
540
|
|
|
504
541
|
Agent Enderun **4 entegre katmandan** oluşur:
|
|
@@ -548,8 +585,8 @@ Agent Enderun **4 entegre katmandan** oluşur:
|
|
|
548
585
|
- [ ] **npm 9+** yüklü (`npm --version`)
|
|
549
586
|
- [ ] **Git** başlatılmış (`git init`)
|
|
550
587
|
- [ ] **Framework yüklü** (`npm install && npm run enderun:build`)
|
|
551
|
-
- [ ] **Sağlık kontrolü geçti** (`agent
|
|
552
|
-
- [ ] **İlk görev oluşturuldu** (`agent
|
|
588
|
+
- [ ] **Sağlık kontrolü geçti** (`agent-enderun check` ✅ gösteriyor)
|
|
589
|
+
- [ ] **İlk görev oluşturuldu** (`agent-enderun trace:new "Görev" backend P1`)
|
|
553
590
|
- [ ] **Doklar oluşturuldu** (`docs/` klasörüne dosya ekledim)
|
|
554
591
|
- [ ] **MCP bağlandı** (ajanlar araçları kullanabiliyor)
|
|
555
592
|
|
|
@@ -570,7 +607,7 @@ JWT tabanlı kimlik doğrulama sistemi kurun.
|
|
|
570
607
|
" > docs/requirements.md
|
|
571
608
|
|
|
572
609
|
# Adım 2: Görev oluşturun
|
|
573
|
-
agent
|
|
610
|
+
agent-enderun trace:new "Auth Modülü Uygula" backend P1
|
|
574
611
|
|
|
575
612
|
# Adım 3: Ajanlar sizin için çalışır
|
|
576
613
|
# (Otomatik olarak docs/requirements.md okurlar)
|
|
@@ -581,7 +618,7 @@ agent{{FRAMEWORK_DIR}} trace:new "Auth Modülü Uygula" backend P1
|
|
|
581
618
|
## 📁 Proje Yapısı
|
|
582
619
|
|
|
583
620
|
```
|
|
584
|
-
agent
|
|
621
|
+
agent-enderun/
|
|
585
622
|
├── docs/ ← Ajanların okuyacağı dokümantasyon
|
|
586
623
|
├── packages/
|
|
587
624
|
│ ├── shared-types/ ← Paylaşılan türler (sözleşme)
|
|
@@ -650,19 +687,19 @@ Net adımlarla ve versiyon numarası ile sorun bildir.
|
|
|
650
687
|
### Lisans
|
|
651
688
|
MIT © 2026 Yusuf BEKAR
|
|
652
689
|
```bash
|
|
653
|
-
agent
|
|
690
|
+
agent-enderun status
|
|
654
691
|
```
|
|
655
692
|
|
|
656
693
|
### 4. Advanced Intelligence Commands
|
|
657
694
|
```bash
|
|
658
695
|
# Run Security Audit
|
|
659
|
-
agent
|
|
696
|
+
agent-enderun check:security
|
|
660
697
|
|
|
661
698
|
# Generate Dependency Graph
|
|
662
|
-
agent
|
|
699
|
+
agent-enderun explorer:graph
|
|
663
700
|
|
|
664
701
|
# Get Commit Suggestion
|
|
665
|
-
agent
|
|
702
|
+
agent-enderun git:commit [TRACE-ID]
|
|
666
703
|
```
|
|
667
704
|
|
|
668
705
|
---
|