kanbaii 0.1.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Martin Saavedra
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,287 @@
1
+ <p align="center">
2
+ <img src="https://img.shields.io/badge/kanbaii-v0.1.0-6366f1?style=for-the-badge&labelColor=0a0a0b" alt="Version" />
3
+ <img src="https://img.shields.io/badge/node-%3E%3D18-22c55e?style=for-the-badge&labelColor=0a0a0b" alt="Node" />
4
+ <img src="https://img.shields.io/badge/license-MIT-71717a?style=for-the-badge&labelColor=0a0a0b" alt="License" />
5
+ <img src="https://img.shields.io/badge/AI-Claude-f59e0b?style=for-the-badge&labelColor=0a0a0b" alt="Claude AI" />
6
+ </p>
7
+
8
+ <h1 align="center">
9
+ <br />
10
+ ◈ KANBAII
11
+ <br />
12
+ </h1>
13
+
14
+ <p align="center">
15
+ <strong>AI-native project management for developers who ship.</strong>
16
+ <br />
17
+ <sub>Hierarchical kanban · Claude AI integration · Zero config · Runs locally</sub>
18
+ </p>
19
+
20
+ <p align="center">
21
+ <a href="#quick-start">Quick Start</a> ·
22
+ <a href="#features">Features</a> ·
23
+ <a href="#how-it-works">How It Works</a> ·
24
+ <a href="#wizard">Wizard</a> ·
25
+ <a href="#ralph--teams">Ralph & Teams</a> ·
26
+ <a href="#roadmap">Roadmap</a>
27
+ </p>
28
+
29
+ ---
30
+
31
+ ## The Problem
32
+
33
+ You have a feature to build. You open your project management tool. You create 15 flat tasks. By day 3, they're a mess — bugs mixed with features, no hierarchy, no context, no plan. Your AI assistant reads 50K chars of instructions just to know where things stand.
34
+
35
+ **Software isn't flat. Your kanban shouldn't be either.**
36
+
37
+ ## The Solution
38
+
39
+ KANBAII organizes work the way developers actually think:
40
+
41
+ ```
42
+ Project
43
+ └── Work Items (Features, Bugs, Refactors)
44
+ ├── Plan (generated or manual)
45
+ └── Tasks (5-column kanban per work item)
46
+ ```
47
+
48
+ Each work item gets its own board. Each board has its own context. Your AI agents execute with precision because they only see what matters.
49
+
50
+ ---
51
+
52
+ ## Quick Start
53
+
54
+ ```bash
55
+ npx kanbaii
56
+ ```
57
+
58
+ That's it. Opens in your browser. No Docker. No database. No config files. Just JSON on disk.
59
+
60
+ ```bash
61
+ # Or install globally
62
+ npm install -g kanbaii
63
+ kanbaii start
64
+ ```
65
+
66
+ ---
67
+
68
+ ## Features
69
+
70
+ ### ◈ Hierarchical Kanban
71
+
72
+ Two levels of kanban boards:
73
+
74
+ - **Level 1** — Work Items Board: drag Features, Bugs, and Refactors across `Planning → Active → Review → Done`
75
+ - **Level 2** — Task Board: each work item has its own `Backlog → Todo → In Progress → Review → Done`
76
+
77
+ ### ✦ Three Work Item Types
78
+
79
+ | Type | Purpose | Color |
80
+ |------|---------|-------|
81
+ | **Feature** | New functionality | Indigo |
82
+ | **Bug** | Fix a defect | Red |
83
+ | **Refactor** | Improve existing code | Amber |
84
+
85
+ Bugs and Refactors can link to a Feature for shared context.
86
+
87
+ ### ⚡ AI Wizard
88
+
89
+ Create a work item in seconds:
90
+
91
+ 1. Pick a category (Feature / Bug / Refactor)
92
+ 2. Link to an existing feature (optional)
93
+ 3. Describe what you need in plain English
94
+ 4. Claude generates a plan → you approve
95
+ 5. Claude generates tasks from the plan → you approve
96
+ 6. Done. Your kanban is populated and ready to execute.
97
+
98
+ Skip any step. Create everything manually if you prefer. The wizard accelerates — it never blocks.
99
+
100
+ ### 🤖 Ralph — AI Executor
101
+
102
+ Select a work item. Ralph executes every task in order, respecting dependencies and parallelizing where possible.
103
+
104
+ ```
105
+ Ralph picks work item "Auth System"
106
+ → Reads plan for context
107
+ → Resolves task dependencies
108
+ → Executes tasks (parallel where safe)
109
+ → Moves completed tasks to Review
110
+ → Reports back with summaries
111
+ ```
112
+
113
+ ### 👥 Teams — Multi-Agent Execution
114
+
115
+ Select multiple work items. The coordinator assigns each to a worker. Workers execute in parallel — one work item per worker.
116
+
117
+ ### 🎯 Zero-Friction UX
118
+
119
+ - Dark theme, minimalist design, fluid animations
120
+ - Drag & drop at both levels
121
+ - Progress bars on every work item card
122
+ - Click to drill in, breadcrumb to navigate back
123
+ - Keyboard shortcuts for power users
124
+ - Real-time updates via WebSocket
125
+
126
+ ### 📁 JSON Persistence
127
+
128
+ No database. No markdown parsing. Clean JSON files on disk, git-friendly:
129
+
130
+ ```
131
+ data/projects/my-project/
132
+ project.json
133
+ work-items/
134
+ feat-auth-system.json
135
+ bug-login-crash.json
136
+ ```
137
+
138
+ ---
139
+
140
+ ## How It Works
141
+
142
+ ```
143
+ ┌─────────────────────────────────────────────────────────┐
144
+ │ KANBAII │
145
+ │ │
146
+ │ ┌──────────┐ ┌────────────────────────────────────┐ │
147
+ │ │ Sidebar │ │ Work Items Board │ │
148
+ │ │ │ │ │ │
149
+ │ │ Projects │ │ PLANNING ACTIVE REVIEW DONE │ │
150
+ │ │ ● Auth │ │ ┌──────┐ ┌──────┐ │ │
151
+ │ │ ○ API │ │ │ feat │ │ feat │ │ │
152
+ │ │ ○ UI │ │ └──────┘ ├──────┤ │ │
153
+ │ │ │ │ │ bug │ │ │
154
+ │ │ │ │ └──────┘ │ │
155
+ │ └──────────┘ └────────────────────────────────────┘ │
156
+ │ │
157
+ │ Click a work item → enters its Task Board: │
158
+ │ │
159
+ │ ┌──────────────────────────────────────────────────┐ │
160
+ │ │ ← Back ✦ Auth System ████░░ 5/8 │ │
161
+ │ │ │ │
162
+ │ │ BACKLOG TODO IN PROGRESS REVIEW DONE │ │
163
+ │ │ ┌──────┐ ┌────┐ ┌──────────┐ ┌──────┐ ┌─────┐ │ │
164
+ │ │ │ task │ │task│ │ task │ │ task │ │task │ │ │
165
+ │ │ └──────┘ │ │ └──────────┘ └──────┘ └─────┘ │ │
166
+ │ │ └────┘ │ │
167
+ │ └──────────────────────────────────────────────────┘ │
168
+ └─────────────────────────────────────────────────────────┘
169
+ ```
170
+
171
+ ---
172
+
173
+ ## Architecture
174
+
175
+ ```
176
+ Express + Socket.IO ──── Single port (default: 5555)
177
+
178
+ ├── /api/* REST endpoints
179
+ ├── /socket.io Real-time events
180
+ └── /* Static frontend (Next.js export)
181
+ ```
182
+
183
+ | Component | Technology |
184
+ |-----------|-----------|
185
+ | Backend | Express 4 + Socket.IO 4 |
186
+ | Frontend | Next.js 14 (static export) |
187
+ | State | Zustand |
188
+ | Drag & Drop | @atlaskit/pragmatic-drag-and-drop |
189
+ | Animations | Framer Motion |
190
+ | AI Engine | Claude CLI |
191
+ | CLI | Commander.js |
192
+ | Validation | Zod |
193
+ | Testing | Vitest |
194
+
195
+ **No Docker. No database. No external services.**
196
+
197
+ Everything runs locally. Your data stays on your machine.
198
+
199
+ ---
200
+
201
+ ## Configuration
202
+
203
+ ```bash
204
+ # Initialize with custom settings
205
+ kanbaii init --port 8080 --data ~/my-projects
206
+
207
+ # Or just run — defaults work great
208
+ kanbaii start
209
+ ```
210
+
211
+ | Setting | Default | Description |
212
+ |---------|---------|-------------|
213
+ | `port` | `5555` | Server port |
214
+ | `dataDir` | `~/.kanbaii/data` | Where project JSON lives |
215
+ | `openBrowser` | `true` | Auto-open on start |
216
+
217
+ ---
218
+
219
+ ## CLI
220
+
221
+ ```bash
222
+ kanbaii start # Start the server
223
+ kanbaii stop # Graceful shutdown
224
+ kanbaii status # Health check
225
+ kanbaii init # Initialize data directory
226
+ ```
227
+
228
+ ---
229
+
230
+ ## Roadmap
231
+
232
+ - [x] Project scaffold & architecture
233
+ - [x] Design system & wireframes
234
+ - [ ] Data layer (JSON stores, Zod validation)
235
+ - [ ] REST API + Socket.IO server
236
+ - [ ] Frontend shell (sidebar, routing, design system)
237
+ - [ ] Work Items Board (4-column kanban)
238
+ - [ ] Task Board (5-column kanban per work item)
239
+ - [ ] AI Wizard (prompt → plan → tasks)
240
+ - [ ] Ralph (single work item executor)
241
+ - [ ] Teams (multi work item coordinator)
242
+ - [ ] Terminal integration
243
+ - [ ] Scheduler
244
+ - [ ] NPM package release
245
+
246
+ ---
247
+
248
+ ## Development
249
+
250
+ ```bash
251
+ # Clone
252
+ git clone https://github.com/martinmsaavedra/kanbaii.git
253
+ cd kanbaii
254
+
255
+ # Install
256
+ npm install
257
+ cd frontend && npm install && cd ..
258
+
259
+ # Dev mode (backend + frontend)
260
+ npm run dev
261
+
262
+ # Test
263
+ npm test
264
+
265
+ # Build
266
+ npm run build
267
+ ```
268
+
269
+ ---
270
+
271
+ ## Philosophy
272
+
273
+ > Ship fast. Stay organized. Let AI handle the grunt work.
274
+
275
+ KANBAII is built for developers who:
276
+ - Want structure without ceremony
277
+ - Prefer local tools over SaaS subscriptions
278
+ - Trust AI to execute but want to stay in control
279
+ - Value clean UX as much as clean code
280
+
281
+ ---
282
+
283
+ <p align="center">
284
+ <sub>Built by <a href="https://github.com/martinmsaavedra">Martín Saavedra</a></sub>
285
+ <br />
286
+ <sub>Powered by <a href="https://anthropic.com">Claude</a> · Licensed under MIT</sub>
287
+ </p>
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html><head><title>kanbaii</title></head><body><p>Coming soon.</p></body></html>
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ console.log('kanbaii v0.1.0 — coming soon. https://github.com/martinmsaavedra/kanbaii');
@@ -0,0 +1 @@
1
+ console.log('kanbaii server v0.1.0 — coming soon.');
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "kanbaii",
3
+ "version": "0.1.0",
4
+ "description": "AI-native kanban board for software development. Hierarchical project management with Claude AI integration.",
5
+ "keywords": ["kanban", "claude", "ai", "task-management", "project-management", "cli", "dashboard", "automation", "agent", "anthropic"],
6
+ "license": "MIT",
7
+ "author": "Martin Saavedra",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/martinmsaavedra/kanbaii.git"
11
+ },
12
+ "homepage": "https://github.com/martinmsaavedra/kanbaii#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/martinmsaavedra/kanbaii/issues"
15
+ },
16
+ "bin": {
17
+ "kanbaii": "./dist/cli/index.js"
18
+ },
19
+ "main": "./dist/server/index.js",
20
+ "files": [
21
+ "dist/",
22
+ "dashboard/"
23
+ ],
24
+ "engines": {
25
+ "node": ">=18.0.0"
26
+ },
27
+ "scripts": {
28
+ "dev:server": "tsx watch src/server/index.ts",
29
+ "dev:frontend": "cd frontend && npm run dev",
30
+ "dev": "concurrently \"npm run dev:server\" \"npm run dev:frontend\"",
31
+ "build:server": "tsc -p tsconfig.server.json",
32
+ "build:cli": "tsc -p tsconfig.cli.json",
33
+ "build:frontend": "cd frontend && npm ci && npm run build && node -e \"const fs=require('fs');fs.rmSync('../dashboard',{recursive:true,force:true});fs.cpSync('out','../dashboard',{recursive:true});\"",
34
+ "build": "npm run build:server && npm run build:cli && npm run build:frontend",
35
+ "start": "node dist/server/index.js",
36
+ "test": "vitest run",
37
+ "test:watch": "vitest"
38
+ },
39
+ "dependencies": {
40
+ "chalk": "^4.1.2",
41
+ "chokidar": "^3.6.0",
42
+ "commander": "^12.1.0",
43
+ "cors": "^2.8.5",
44
+ "express": "^4.21.0",
45
+ "socket.io": "^4.7.5",
46
+ "zod": "^3.25.76"
47
+ },
48
+ "devDependencies": {
49
+ "@types/cors": "^2.8.17",
50
+ "@types/express": "^4.17.21",
51
+ "@types/node": "^20.19.33",
52
+ "concurrently": "^8.2.2",
53
+ "tsx": "^4.19.0",
54
+ "typescript": "^5.9.3",
55
+ "vitest": "^1.6.0"
56
+ }
57
+ }