ebade 0.3.0 → 0.4.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/ARCHITECTURE.md +109 -0
- package/CHANGELOG.md +8 -1
- package/README.md +64 -202
- package/ROADMAP.md +17 -12
- package/cli/scaffold.js +465 -192
- package/cli/simulate.js +102 -0
- package/cli/templates/feature-grid.tsx +80 -0
- package/cli/templates/footer.tsx +121 -0
- package/cli/templates/hero-section.tsx +34 -0
- package/cli/templates/login-form.tsx +124 -0
- package/cli/templates/navbar.tsx +53 -0
- package/cli/templates/pricing-table.tsx +140 -0
- package/cli/templates/signup-form.tsx +111 -0
- package/demo.tape +2 -2
- package/examples/saas-dashboard.ebade.yaml +2 -0
- package/netlify.toml +7 -0
- package/package.json +1 -1
- package/packages/mcp-server/README.md +3 -3
- package/packages/mcp-server/package.json +2 -2
- package/packages/mcp-server/src/index.ts +12 -16
- package/packages/mcp-server/src/tools/scaffold.ts +153 -404
- package/packages/vscode-extension/README.md +11 -8
- package/packages/vscode-extension/ebade-0.3.0.vsix +0 -0
- package/packages/vscode-extension/ebade-0.3.1.vsix +0 -0
- package/packages/vscode-extension/ebade-0.3.2.vsix +0 -0
- package/packages/vscode-extension/images/icon.png +0 -0
- package/packages/vscode-extension/package.json +2 -1
- package/packages/vscode-extension/snippets/ebade.json +86 -0
- package/www/README.md +36 -0
- package/www/app/favicon.ico +0 -0
- package/{landing/style.css → www/app/globals.css} +691 -57
- package/www/app/layout.tsx +66 -0
- package/www/app/page.tsx +406 -0
- package/www/app/playground/page.tsx +610 -0
- package/www/components/Navbar.tsx +67 -0
- package/www/components/ThreeCanvas.tsx +156 -0
- package/www/next.config.ts +19 -0
- package/www/package-lock.json +1779 -0
- package/www/package.json +27 -0
- package/www/postcss.config.mjs +7 -0
- package/www/public/assets/demo.mp4 +0 -0
- package/www/public/logo.png +0 -0
- package/www/tsconfig.json +42 -0
- package/landing/index.html +0 -268
- package/landing/main.js +0 -147
- package/packages/vscode-extension/images/icon.svg +0 -6
- /package/{demo.gif → assets/demo.gif} +0 -0
- /package/{demo.mp4 → assets/demo.mp4} +0 -0
- /package/{landing → www/public}/_headers +0 -0
- /package/{landing → www/public}/favicon.svg +0 -0
- /package/{landing → www/public}/og-image.png +0 -0
- /package/{landing → www/public}/og-readme.png +0 -0
package/ARCHITECTURE.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# ebade Architecture 🏗️
|
|
2
|
+
|
|
3
|
+
> **The System of Intent.**
|
|
4
|
+
|
|
5
|
+
ebade is not just a framework; it's a **compilation pipeline** designed for an era where AI agents are the primary authors of software. This document explains the technical underpinnings of how ebade transforms abstract niyet (intent) into production-ready code.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🏁 The Core Pipeline
|
|
10
|
+
|
|
11
|
+
The ebade transformation follows a strictly deterministic flow:
|
|
12
|
+
|
|
13
|
+
```mermaid
|
|
14
|
+
graph LR
|
|
15
|
+
A[Intent File .ebade.yaml] --> B[ebade CLI/MCP]
|
|
16
|
+
B --> C[Intent AST Parser]
|
|
17
|
+
C --> D[Target Adapter Next.js/etc]
|
|
18
|
+
D --> E[AI-Enhanced Scaffolder]
|
|
19
|
+
E --> F[Production Codebase]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### 1. Intent Definition (`.ebade.yaml`)
|
|
23
|
+
|
|
24
|
+
The source of truth. It defines **WHAT** the application should be, sans implementation details. It uses a high-density decorator syntax that is optimized for LLM token efficiency.
|
|
25
|
+
|
|
26
|
+
### 2. AST Parsing
|
|
27
|
+
|
|
28
|
+
The ebade CLI parses the YAML/TypeScript intent into a **Standardized Intent Tree (SIT)**. This tree represents the semantic meaning of the application (pages, components, data flows, auth rules).
|
|
29
|
+
|
|
30
|
+
### 3. Target Adapters
|
|
31
|
+
|
|
32
|
+
ebade is target-agnostic. While it currently ships with a high-end **Next.js + Tailwind + Shadcn** adapter, the architecture allows for:
|
|
33
|
+
|
|
34
|
+
- **Web:** Next.js, Nuxt, SvelteKit.
|
|
35
|
+
- **Mobile:** Flutter, SwiftUI, React Native.
|
|
36
|
+
- **Backend:** Fastify, Go/Gin, NestJS.
|
|
37
|
+
|
|
38
|
+
### 4. Auto-Verification Protocol (The Guardrail)
|
|
39
|
+
|
|
40
|
+
Immediately after scaffolding, ebade runs a series of integrity checks:
|
|
41
|
+
|
|
42
|
+
- **Structural Integrity:** Ensures all core Next.js and Tailwind files are present.
|
|
43
|
+
- **Intent-Code Mapping:** Verifies that exported component names and routes match the original intent.
|
|
44
|
+
- **Test Coverage:** Confirms that matching unit tests (Vitest) have been generated for every new component.
|
|
45
|
+
|
|
46
|
+
### 5. AI-Enhanced Scaffolding (The "Online Compiler")
|
|
47
|
+
|
|
48
|
+
This is where the magic happens. ebade uses AI not as a "free-text generator," but as a **Deterministic Compiler Component**.
|
|
49
|
+
|
|
50
|
+
- **Templates:** ebade provides a library of high-quality, pre-tested component templates.
|
|
51
|
+
- **Mapping:** The AI maps the specific fields and logic from the `@intent` into these templates.
|
|
52
|
+
- **Validation:** Every generated file is validated against the intent AST to ensure zero hallucinations.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## 🟢 Green AI: Token Density Architecture
|
|
57
|
+
|
|
58
|
+
Traditional AI coding (e.g., "Write me a dashboard") is **High Entropy**:
|
|
59
|
+
|
|
60
|
+
- User sends 50 tokens.
|
|
61
|
+
- AI returns 2,000 tokens of boilerplate.
|
|
62
|
+
- High cost, high noise, high probability of error.
|
|
63
|
+
|
|
64
|
+
ebade is **Low Entropy**:
|
|
65
|
+
|
|
66
|
+
- Intent is defined in ~50-100 tokens.
|
|
67
|
+
- ebade handles the structure, imports, and layout (0 tokens).
|
|
68
|
+
- AI only fills in the specific business logic snippets.
|
|
69
|
+
- **Result:** ~70% fewer tokens, 100% more reliable.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 🛠️ Internal Structure
|
|
74
|
+
|
|
75
|
+
### Intent Model
|
|
76
|
+
|
|
77
|
+
The `Intent` model is the central class that holds the parsed state.
|
|
78
|
+
|
|
79
|
+
```typescript
|
|
80
|
+
class IntentProject {
|
|
81
|
+
name: string;
|
|
82
|
+
type: ProjectType;
|
|
83
|
+
pages: PageIntent[];
|
|
84
|
+
components: ComponentIntent[];
|
|
85
|
+
data: DataIntent[];
|
|
86
|
+
auth: AuthConfig;
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### The Scaffold Engine
|
|
91
|
+
|
|
92
|
+
The engine responsible for directory creation and file writing. It uses a "Clean Architecture" approach, ensuring that:
|
|
93
|
+
|
|
94
|
+
1. Components stay in `@/components`.
|
|
95
|
+
2. Logic stays in `@/lib`.
|
|
96
|
+
3. UI stays in `@/app`.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## 🧬 Principles of ebade Engineering
|
|
101
|
+
|
|
102
|
+
1. **Delete the How:** If a machine can infer the implementation, it shouldn't be in the source file.
|
|
103
|
+
2. **Deterministic Outputs:** Same input must yield the same structure.
|
|
104
|
+
3. **Agent-First DX:** The developer experience (DX) is optimized for the agent's context window.
|
|
105
|
+
4. **Production-Ready by Default:** No "TODOs" in the output. Real types, real error handling, real responsive design.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
_ebade: Compiling Intent into Reality._ 🌱🚀
|
package/CHANGELOG.md
CHANGED
|
@@ -5,10 +5,17 @@ All notable changes to **ebade** will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [0.4.1] - 2025-01-10
|
|
9
9
|
|
|
10
10
|
### Added
|
|
11
11
|
|
|
12
|
+
- **Auto-Verification Layer** - CLI now performs structural, syntax, and semantic integrity checks after scaffolding.
|
|
13
|
+
- **Playground UI** - Interactive "Battle Mode" simulation comparing Legacy AI vs ebade-powered Agent.
|
|
14
|
+
- **Shadcn/UI Integration** - All component templates now use Shadcn design patterns.
|
|
15
|
+
- **20+ Component Templates** - navbar, footer, pricing-table, login-form, signup-form, and more.
|
|
16
|
+
- **File-based Template System** - Dynamic template loading from `cli/templates/`.
|
|
17
|
+
- **Real-time Token Savings** - CLI now displays actual token savings during scaffold.
|
|
18
|
+
- **Agent-Native Stack Vision** - Identity (agents.md) + Capability (MCP) + Intent (ebade).
|
|
12
19
|
- MCP Server branding update to **ebade**.
|
|
13
20
|
- Green AI Metrics and Carbon Impact calculations.
|
|
14
21
|
- Turkish identity integration (Badik mascot 🐣 and "The Essence of Code" vision).
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# ebade
|
|
1
|
+
# ebade: The Agent-First Protocol 🧠🌱
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
@@ -6,254 +6,116 @@
|
|
|
6
6
|
[](https://ebade.dev)
|
|
7
7
|
[](https://opensource.org/licenses/MIT)
|
|
8
8
|
[](./packages/mcp-server)
|
|
9
|
-
[](./ROADMAP.md)
|
|
10
9
|
[](./docs/GREEN-AI.md)
|
|
11
|
-
[](https://github.com/sponsors/hasankemaldemirci)
|
|
10
|
+
[](./ARCHITECTURE.md)
|
|
13
11
|
|
|
14
|
-
> **
|
|
15
|
-
>
|
|
16
|
-
> `Code = f(ebade)`
|
|
17
|
-
>
|
|
18
|
-
> *Capture the essence of code. Less tokens. Less carbon. Same result.* 🌱
|
|
12
|
+
> **"Code is a legacy byproduct. Intent is the source of truth."**
|
|
19
13
|
|
|
20
|
-
|
|
14
|
+
**ebade** is not just another framework. It is a **compilation protocol** designed for an era where AI Agents are the primary developers. It shifts the paradigm from "Human-Centric Coding" to "Agentic Intent Modeling."
|
|
21
15
|
|
|
22
|
-
|
|
16
|
+
---
|
|
23
17
|
|
|
24
|
-
|
|
18
|
+
## 🎬 The Power of Intent
|
|
25
19
|
|
|
26
|
-
|
|
27
|
-
export default function CheckoutPage() {
|
|
28
|
-
const [cart, setCart] = useState([]);
|
|
29
|
-
const [loading, setLoading] = useState(false);
|
|
30
|
-
const [error, setError] = useState(null);
|
|
31
|
-
useEffect(() => { /* fetch data */ }, []);
|
|
32
|
-
// ... 100 more lines of HOW
|
|
33
|
-
}
|
|
20
|
+
Watch how **ebade** transforms 20 lines of YAML into a production-ready, full-stack Next.js application.
|
|
34
21
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
### ⚔️ The Battle of Entropy
|
|
25
|
+
|
|
26
|
+
| Legacy Coding (High Entropy) | ebade Protocol (Low Entropy) |
|
|
27
|
+
| :--- | :--- |
|
|
28
|
+
| **"Write me a dashboard..."** | **"@intent('saas-dashboard')"** |
|
|
29
|
+
| AI guesses folders, imports, and state. | ebade enforces architecture. |
|
|
30
|
+
| 1,500+ tokens burned (Noise). | **<250 tokens** used (Pure Signal). |
|
|
31
|
+
| Hallucinations likely. | **Deterministic** output. |
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 🛠️ The Syntax (Cheat Sheet)
|
|
36
|
+
|
|
37
|
+
ebade uses a high-density decorator syntax designed to fit within an Agent's context window.
|
|
38
|
+
|
|
39
|
+
| Decorator | Purpose | Example |
|
|
40
|
+
| :--- | :--- | :--- |
|
|
41
|
+
| `@page` | Defines routes & paths | `@page('/dashboard')` |
|
|
42
|
+
| `@intent` | The "What" of the logic | `@intent('user-auth')` |
|
|
43
|
+
| `@requires` | Data & Auth dependencies | `@requires(['user', 'db'])` |
|
|
44
|
+
| `@compose` | Intent orchestration | `@compose(['header', 'list'])` |
|
|
45
|
+
| `@outcomes` | Result handlers & UI | `@outcomes({ success: '/dashboard' })` |
|
|
46
|
+
| `@expects` | **Tests as Specification** | `@expects([{ scenario: 'happy-path' }])` |
|
|
47
|
+
|
|
48
|
+
📖 [Full Syntax Specification](./SYNTAX.md)
|
|
44
49
|
|
|
45
50
|
---
|
|
46
51
|
|
|
47
52
|
## 🚀 Quick Start
|
|
48
53
|
|
|
49
|
-
### For
|
|
54
|
+
### 1. For Agents (MCP)
|
|
50
55
|
|
|
51
|
-
|
|
56
|
+
Add `ebade` to your AI agent (Claude, Cursor, Windsurf) via the Model Context Protocol:
|
|
52
57
|
|
|
53
58
|
```json
|
|
54
59
|
{
|
|
55
60
|
"mcpServers": {
|
|
56
61
|
"ebade": {
|
|
57
|
-
"command": "
|
|
58
|
-
"args": ["
|
|
62
|
+
"command": "npx",
|
|
63
|
+
"args": ["-y", "@ebade/mcp-server"]
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
```
|
|
63
68
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
- `ebade_scaffold` - Create full projects from intent
|
|
67
|
-
- `ebade_compile` - Compile single intents to code
|
|
68
|
-
- `ebade_validate` - Validate intent files
|
|
69
|
-
- `ebade_generate` - Generate from natural language
|
|
70
|
-
|
|
71
|
-
### For Humans (CLI)
|
|
69
|
+
### 2. For Humans (CLI)
|
|
72
70
|
|
|
73
71
|
```bash
|
|
74
|
-
# Scaffold a
|
|
72
|
+
# Scaffold a full project from an intent file
|
|
75
73
|
npx ebade scaffold examples/saas-dashboard.ebade.yaml ./my-app
|
|
76
|
-
|
|
77
|
-
# See all commands
|
|
78
|
-
npx ebade --help
|
|
79
74
|
```
|
|
80
75
|
|
|
81
76
|
---
|
|
82
77
|
|
|
83
|
-
##
|
|
78
|
+
## 🏗️ Architecture: First Principles
|
|
84
79
|
|
|
85
|
-
|
|
80
|
+
ebade operates on the principle of **The Online Compiler**. It treats AI as a deterministic component of the toolchain, not a creative oracle.
|
|
86
81
|
|
|
87
|
-
- **
|
|
88
|
-
- **
|
|
89
|
-
- **
|
|
82
|
+
- **Standardized Intent Tree (SIT):** Parses YAML/TS into a logical graph.
|
|
83
|
+
- **Target Adapters:** Compiles intent into Next.js, Flutter, or Svelte (0-token boilerplate).
|
|
84
|
+
- **AgentRules:** Automatically generates `.cursorrules` and `.clauderules` to keep your agent aligned.
|
|
90
85
|
|
|
91
|
-
|
|
86
|
+
🏗️ [Explore the Architecture](./ARCHITECTURE.md)
|
|
92
87
|
|
|
93
88
|
---
|
|
94
89
|
|
|
95
|
-
## 📊 Benchmark: ~70% Fewer Tokens
|
|
90
|
+
## 📊 Benchmark: ~70% Fewer Tokens
|
|
96
91
|
|
|
97
|
-
|
|
92
|
+
| Task | Legacy (Next.js) | ebade (Protocol) | Savings |
|
|
93
|
+
| :--- | :--- | :--- | :--- |
|
|
94
|
+
| **SaaS Dashboard** ⭐ | 1,850 tokens | **245 tokens** | **86.8%** |
|
|
95
|
+
| Checkout Flow | 258 tokens | **66 tokens** | **74.4%** |
|
|
96
|
+
| Product Grid | 133 tokens | **63 tokens** | **52.6%** |
|
|
98
97
|
|
|
99
|
-
|
|
100
|
-
| :--- | :--- | :--- | :--- | :--- |
|
|
101
|
-
| Checkout Page | 258 tokens | 66 tokens | **74.4%** | 3.9x |
|
|
102
|
-
| Product Listing | 133 tokens | 63 tokens | **52.6%** | 2.1x |
|
|
103
|
-
| User Auth | 148 tokens | 56 tokens | **62.2%** | 2.6x |
|
|
104
|
-
| SaaS Dashboard ⭐ | 1,850 tokens | 245 tokens | **86.8%** | 7.6x |
|
|
105
|
-
| **Average** | | | **68.8%** | **4.1x** |
|
|
106
|
-
|
|
107
|
-
> *For full project scaffolding, savings can reach 75-92%.*
|
|
108
|
-
|
|
109
|
-
### 💰 Cost Impact
|
|
110
|
-
|
|
111
|
-
At scale (1M AI coding sessions):
|
|
112
|
-
|
|
113
|
-
| Framework | Token Cost | Savings |
|
|
114
|
-
| :--- | :--- | :--- |
|
|
115
|
-
| Next.js | $5,390 | - |
|
|
116
|
-
| **ebade** | **$1,850** | **$3,540** |
|
|
117
|
-
|
|
118
|
-
> *The greenest code is the code you don't generate.*
|
|
119
|
-
|
|
120
|
-
📄 [Full Benchmark Results](./benchmarks/RESULTS.md) | 🌱 [Green AI Manifesto](./docs/GREEN-AI.md)
|
|
98
|
+
> "The greenest code is the code you don't generate." 🌱
|
|
121
99
|
|
|
122
100
|
---
|
|
123
101
|
|
|
124
|
-
##
|
|
125
|
-
|
|
126
|
-
AI agents (Cursor, Copilot, Claude) write code for **human-designed frameworks**:
|
|
102
|
+
## 📦 Project Structure
|
|
127
103
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
AI: "useState or useReducer?"
|
|
133
|
-
AI: "Where does this file go?"
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
Every decision is **ambiguous**. AI guesses. Sometimes wrong.
|
|
137
|
-
|
|
138
|
-
## ✨ The Solution
|
|
139
|
-
|
|
140
|
-
**ebade** - A framework where AI expresses **intent**, not implementation.
|
|
141
|
-
|
|
142
|
-
```text
|
|
143
|
-
Human describes → AI writes intent → ebade compiles → Working code
|
|
144
|
-
↑
|
|
145
|
-
No ambiguity here
|
|
146
|
-
```
|
|
104
|
+
- **`www/`**: The [ebade.dev](https://ebade.dev) landing page & playground.
|
|
105
|
+
- **`packages/mcp-server/`**: The bridge for AI agents.
|
|
106
|
+
- **`cli/`**: The core scaffolding engine.
|
|
107
|
+
- **`examples/`**: Real-world intent templates.
|
|
147
108
|
|
|
148
109
|
---
|
|
149
110
|
|
|
150
|
-
##
|
|
111
|
+
## 🤝 Join the Revolution
|
|
151
112
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
| **`ebade`** | Core Framework & CLI | ✅ Alpha |
|
|
155
|
-
| [@ebade/mcp-server](./packages/mcp-server) | MCP Server for AI agents | ✅ Alpha |
|
|
156
|
-
| `@ebade/compiler` | Advanced Intent Compiler | 🚧 Planning |
|
|
157
|
-
| `@ebade/vscode` | VS Code extension | 📋 Planned |
|
|
158
|
-
|
|
159
|
-
---
|
|
160
|
-
|
|
161
|
-
## 🎯 Core Concepts
|
|
162
|
-
|
|
163
|
-
### Intent-First
|
|
164
|
-
|
|
165
|
-
```typescript
|
|
166
|
-
@intent('user-authentication')
|
|
167
|
-
@inputs(['email', 'password'])
|
|
168
|
-
@outcomes({ success: '/dashboard', failure: 'show-error' })
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
You say **WHAT**, not **HOW**.
|
|
172
|
-
|
|
173
|
-
### Deterministic
|
|
174
|
-
|
|
175
|
-
Same intent = Same output. Every time. No guessing.
|
|
176
|
-
|
|
177
|
-
### Composable
|
|
178
|
-
|
|
179
|
-
```typescript
|
|
180
|
-
@compose(['header', 'sidebar', 'content', 'footer'])
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
Small intents build big applications.
|
|
184
|
-
|
|
185
|
-
### Target-Agnostic
|
|
186
|
-
|
|
187
|
-
```typescript
|
|
188
|
-
@compile('nextjs') // → Next.js App Router
|
|
189
|
-
@compile('vue') // → Vue + Nuxt (coming)
|
|
190
|
-
@compile('svelte') // → SvelteKit (coming)
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
One intent, many outputs.
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
|
-
## 📋 Example
|
|
198
|
-
|
|
199
|
-
```yaml
|
|
200
|
-
# project.intent.yaml
|
|
201
|
-
|
|
202
|
-
name: my-store
|
|
203
|
-
type: e-commerce
|
|
204
|
-
features:
|
|
205
|
-
- product-catalog
|
|
206
|
-
- shopping-cart
|
|
207
|
-
- checkout
|
|
208
|
-
- user-auth
|
|
209
|
-
|
|
210
|
-
pages:
|
|
211
|
-
- path: /
|
|
212
|
-
intent: landing-page
|
|
213
|
-
components:
|
|
214
|
-
- hero-section
|
|
215
|
-
- featured-products
|
|
216
|
-
- testimonials
|
|
217
|
-
|
|
218
|
-
- path: /products
|
|
219
|
-
intent: product-listing
|
|
220
|
-
components:
|
|
221
|
-
- search-bar
|
|
222
|
-
- product-grid
|
|
223
|
-
- pagination
|
|
224
|
-
|
|
225
|
-
- path: /checkout
|
|
226
|
-
|
|
227
|
-
intent: checkout-flow
|
|
228
|
-
auth: required
|
|
229
|
-
components:
|
|
230
|
-
- cart-summary
|
|
231
|
-
- payment-form
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
**Output:** Full Next.js project with 20+ files, ready to run.
|
|
113
|
+
1. **Star the repo** to show your support ⭐
|
|
114
|
+
2. **Become a Sponsor** to help us build a Green AI future 💖
|
|
235
115
|
|
|
236
116
|
---
|
|
237
117
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
| Era | Paradigm | Core Question |
|
|
241
|
-
| :--- | :--- | :--- |
|
|
242
|
-
| 2000s | jQuery | "How do I manipulate DOM?" |
|
|
243
|
-
| 2013 | React | "What if UI = f(state)?" |
|
|
244
|
-
| 2024 | AI Coding | "AI writes code, but for humans" |
|
|
245
|
-
| **2026** | **ebade** | **"What if Code = f(intent)?"** |
|
|
246
|
-
|
|
247
|
-
---
|
|
248
|
-
|
|
249
|
-
## 📚 Documentation
|
|
250
|
-
|
|
251
|
-
- 📜 [Manifesto](./MANIFESTO.md) — Philosophy & Vision
|
|
252
|
-
- 📖 [Syntax Spec](./SYNTAX.md) — Complete Decorator Reference
|
|
253
|
-
- 🗺️ [Roadmap](./ROADMAP.md) — Development Plan
|
|
254
|
-
- 📁 [Examples](./examples/) — Real-world Intent Files
|
|
255
|
-
- 📊 [Benchmarks](./benchmarks/) — Token & Cost Analysis
|
|
256
|
-
- 🌱 [Green AI](./docs/GREEN-AI.md) — Environmental Impact
|
|
118
|
+
MIT © ebade Contributors — Made with ❤️ in Türkiye 🇹🇷
|
|
257
119
|
|
|
258
120
|
---
|
|
259
121
|
|
|
@@ -288,5 +150,5 @@ MIT © ebade Contributors — Made with ❤️ in Türkiye 🇹🇷
|
|
|
288
150
|
|
|
289
151
|
**Built for AI. Readable by humans. Revolutionary by design.**
|
|
290
152
|
|
|
291
|
-
|
|
292
|
-
|
|
153
|
+
_TypeScript made JavaScript better for humans._
|
|
154
|
+
_ebade makes frameworks better for AI._
|
package/ROADMAP.md
CHANGED
|
@@ -14,12 +14,12 @@ It's more efficient, deterministic, and KIND TO EARTH. 🌱
|
|
|
14
14
|
|
|
15
15
|
## Phase 1: Foundation (Week 1-2) ✅ COMPLETE
|
|
16
16
|
|
|
17
|
-
### 1.1 MCP Server ✅
|
|
17
|
+
### 1.1 MCP Server ✅ (v0.3.1 Synced)
|
|
18
18
|
|
|
19
|
-
Make ebade usable by AI agents RIGHT NOW.
|
|
19
|
+
Make ebade usable by AI agents RIGHT NOW. Direct integration with Claude Desktop & Cursor.
|
|
20
20
|
|
|
21
21
|
- [x] Create MCP server package
|
|
22
|
-
- [x] `ebade_scaffold` tool -
|
|
22
|
+
- [x] `ebade_scaffold` tool - Updated to v0.3.1 templates (SaaS, E-commerce, Landing)
|
|
23
23
|
- [x] `ebade_validate` tool - validate ebade file
|
|
24
24
|
- [x] `ebade_compile` tool - compile single ebade to code
|
|
25
25
|
- [x] `ebade_generate` tool - infer ebade from natural language
|
|
@@ -44,25 +44,30 @@ Replace string templates with actual AST-based compilation.
|
|
|
44
44
|
- [ ] Code generator (AST → React/Next.js)
|
|
45
45
|
- [ ] Support for multiple framework targets
|
|
46
46
|
|
|
47
|
-
### 1.5 CLI
|
|
47
|
+
### 1.5 CLI & Developer Experience ✅ (v0.3.1)
|
|
48
48
|
|
|
49
49
|
- [x] `ebade init` - interactive project setup
|
|
50
50
|
- [x] `ebade dev` - watch mode with local agent sync
|
|
51
|
+
- [x] Agent Synergy - Auto-gen rules for Cursor/Claude/Copilot
|
|
52
|
+
- [x] **TDD by Default** - Automatic Vitest config & .test.tsx generation 🧪
|
|
53
|
+
- [x] **Tailwind CSS Native** - Built-in styling engine integration
|
|
51
54
|
|
|
52
55
|
---
|
|
53
56
|
|
|
54
|
-
## Phase 2: Developer Experience (
|
|
57
|
+
## Phase 2: Developer Experience ✅ (v0.3.1 Core / v0.3.2 Extension)
|
|
55
58
|
|
|
56
|
-
### 2.1 VS Code Extension
|
|
59
|
+
### 2.1 VS Code Extension ✅
|
|
57
60
|
|
|
58
|
-
- [
|
|
59
|
-
- [
|
|
61
|
+
- [x] Syntax highlighting for ebade decorators
|
|
62
|
+
- [x] Snippets for project/page/api/data
|
|
60
63
|
- [ ] Inline token usage counter (Carbon counter! 🌱)
|
|
61
64
|
|
|
62
65
|
### 2.2 Playground Website
|
|
63
66
|
|
|
67
|
+
- [x] **Battle Mode Simulation** - Legacy AI vs ebade comparison
|
|
68
|
+
- [x] Real-time token counter and speed metrics
|
|
69
|
+
- [x] Output comparison (code quality)
|
|
64
70
|
- [ ] Live editor (Monaco)
|
|
65
|
-
- [ ] Real-time compilation preview
|
|
66
71
|
- [ ] Share ebade via URL
|
|
67
72
|
|
|
68
73
|
### 2.3 Documentation Site
|
|
@@ -122,10 +127,10 @@ Replace string templates with actual AST-based compilation.
|
|
|
122
127
|
|
|
123
128
|
## Current Status
|
|
124
129
|
|
|
125
|
-
### Phase 1 - Foundation (
|
|
130
|
+
### Phase 1 - Foundation ✅ (v0.3.1 - The Testing Era)
|
|
126
131
|
|
|
127
|
-
The MCP server is live. CLI has premium UX
|
|
132
|
+
The MCP server is live and fully synced. CLI has premium UX and now generates **production-ready code** with Tailwind CSS and automatic Unit Testing (Vitest). AI agents can now use ebade to scaffold full Next.js apps with **~80% fewer tokens** while maintaining high code quality through TDD.
|
|
128
133
|
|
|
129
134
|
---
|
|
130
135
|
|
|
131
|
-
|
|
136
|
+
Last updated: 2026-01-09 (Playground & Shadcn Update)
|