kraken-code 1.1.2 → 1.1.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/README.md +130 -377
- package/dist/cli/index.js +130 -63
- package/dist/google-auth.js +3 -15
- package/dist/index.js +16208 -13696
- package/dist/kraken-code.schema.json +1865 -0
- package/package.json +16 -5
package/README.md
CHANGED
|
@@ -1,464 +1,217 @@
|
|
|
1
|
-
# Kraken Code
|
|
1
|
+
# Kraken Code v1.0
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-
 • [Quick Start](#quick-start) • [Examples](#examples) • [Changelog](CHANGELOG.md)
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+

|
|
13
9
|
|
|
14
10
|
</div>
|
|
15
11
|
|
|
16
12
|
---
|
|
17
13
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Kraken Code is a comprehensive plugin that supercharges [OpenCode](https://opencode.ai) with:
|
|
21
|
-
|
|
22
|
-
- **11 specialized AI agents** for every development phase
|
|
23
|
-
- **TDD enforcement** via Blitzkrieg mode
|
|
24
|
-
- **Persistent memory** across sessions with Kratos
|
|
25
|
-
- **Dynamic skills** for custom workflows
|
|
26
|
-
- **30+ hooks** for deep customization
|
|
27
|
-
- **MCP integrations** for web search, documentation, and GitHub
|
|
28
|
-
- **LSP tools** for code intelligence
|
|
29
|
-
- **CLI utilities** for project management
|
|
30
|
-
|
|
31
|
-
Think of it as giving OpenCode a second brain—one that remembers context, delegates intelligently, and enforces best practices automatically.
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
## ✨ Key Features
|
|
36
|
-
|
|
37
|
-
### 🧠 Specialized Agents
|
|
38
|
-
| Agent | Specialty |
|
|
39
|
-
|-------|-----------|
|
|
40
|
-
| **Kraken** | Architecture & orchestration |
|
|
41
|
-
| **Atlas** | Planning & task breakdown |
|
|
42
|
-
| **Nautilus** | Code exploration & search |
|
|
43
|
-
| **Abyssal** | Deep analysis & debugging |
|
|
44
|
-
| **Coral** | Building & construction |
|
|
45
|
-
| **Siren** | Documentation & communication |
|
|
46
|
-
| **Scylla** | Testing & validation |
|
|
47
|
-
| **Pearl** | Refactoring & optimization |
|
|
48
|
-
| **Poseidon** | Data & infrastructure |
|
|
49
|
-
| **Leviathan** | Large-scale refactoring |
|
|
50
|
-
| **Maelstrom** | First-principles reasoning |
|
|
14
|
+
> **Kraken Code transforms OpenCode into an autonomous, high-density development environment.**
|
|
15
|
+
> Think of it as giving OpenCode a second brain—one that remembers context, delegates intelligently, and enforces best practices automatically.
|
|
51
16
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
- **Blitzkrieg** - Strict TDD enforcement with guardrails
|
|
55
|
-
- **Ultrawork** - Parallel agent execution for speed
|
|
56
|
-
- **Ultrathink** - Maximum reasoning with expanded context
|
|
57
|
-
|
|
58
|
-
### 💾 Persistent Memory
|
|
59
|
-
|
|
60
|
-
- **Kratos MCP** - Ultra-lean memory system
|
|
61
|
-
- Save decisions, patterns, and lessons
|
|
62
|
-
- Natural language queries
|
|
63
|
-
- Cross-session retention
|
|
64
|
-
|
|
65
|
-
### 🪝 Extensibility
|
|
66
|
-
|
|
67
|
-
- **Skills System** - Hot-reloadable workflow templates
|
|
68
|
-
- **30+ Hooks** - Context, coordination, error recovery
|
|
69
|
-
- **Commands** - Built-in and custom commands
|
|
70
|
-
- **MCP Protocol** - Extensible server integrations
|
|
71
|
-
|
|
72
|
-
### 🔍 Code Intelligence
|
|
73
|
-
|
|
74
|
-
- **12 LSP tools** for code analysis
|
|
75
|
-
- **16 language servers** supported
|
|
76
|
-
- AST-based search with ast-grep
|
|
77
|
-
- Context compression (70% token reduction)
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
81
|
-
## 🚀 Quick Start
|
|
82
|
-
|
|
83
|
-
### Installation
|
|
17
|
+
## Quick Start
|
|
84
18
|
|
|
85
19
|
```bash
|
|
86
|
-
#
|
|
20
|
+
# Install Kraken Code
|
|
87
21
|
bun install kraken-code
|
|
88
22
|
|
|
89
|
-
#
|
|
23
|
+
# Or with npm
|
|
90
24
|
npm install kraken-code
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
### Configuration
|
|
94
|
-
|
|
95
|
-
Add to your OpenCode config `~/.config/opencode/opencode.json`:
|
|
96
25
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"plugin": ["kraken-code"]
|
|
100
|
-
}
|
|
101
|
-
```
|
|
26
|
+
# Or with curl (for non-package-manager users)
|
|
27
|
+
bash scripts/install-curl.sh
|
|
102
28
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
### Initialize with Recommended Settings
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
# Full setup (all features)
|
|
109
|
-
kraken-code init --full
|
|
110
|
-
|
|
111
|
-
# Minimal setup (agents only)
|
|
29
|
+
# Initialize with minimal setup (agents only)
|
|
112
30
|
kraken-code init --minimal
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
---
|
|
116
31
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
### Using Specific Agents
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
# Planning
|
|
123
|
-
opencode run --agent Atlas "Plan a REST API for a todo app"
|
|
124
|
-
|
|
125
|
-
# Exploration
|
|
126
|
-
opencode run --agent Nautilus "Find all async functions without error handling"
|
|
127
|
-
|
|
128
|
-
# Debugging
|
|
129
|
-
opencode run --agent Abyssal "Investigate why memory usage increases over time"
|
|
130
|
-
|
|
131
|
-
# Testing
|
|
132
|
-
opencode run --agent Scylla "Write tests for the authentication module"
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### Blitzkrieg TDD Mode
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
# Enable Blitzkrieg for strict test-driven development
|
|
139
|
-
opencode run "Enable Blitzkrieg mode"
|
|
140
|
-
|
|
141
|
-
# Now all tasks enforce TDD
|
|
142
|
-
opencode run "Implement user registration"
|
|
143
|
-
# → Blitzkrieg: "Please provide a test plan first..."
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Memory with Kratos
|
|
147
|
-
|
|
148
|
-
```bash
|
|
149
|
-
# Save a decision
|
|
150
|
-
opencode run "Save to Kratos: Decided to use PostgreSQL for better JSON support"
|
|
151
|
-
|
|
152
|
-
# Search past decisions
|
|
153
|
-
opencode run "Search Kratos for: what database did we choose and why?"
|
|
32
|
+
# Or initialize with full setup (all features)
|
|
33
|
+
kraken-code init --full
|
|
154
34
|
|
|
155
|
-
#
|
|
156
|
-
opencode
|
|
35
|
+
# Run OpenCode
|
|
36
|
+
opencode
|
|
157
37
|
```
|
|
158
38
|
|
|
159
|
-
|
|
39
|
+
**Important:** After installation, you must run `kraken-code init` to create the proper configuration. The CLI command adds the plugin to your `~/.config/opencode/opencode.json` file and sets up all Kraken Code features.
|
|
160
40
|
|
|
161
|
-
|
|
162
|
-
# Web search
|
|
163
|
-
opencode run "Use websearch to find best practices for React state management"
|
|
164
|
-
|
|
165
|
-
# Official docs
|
|
166
|
-
opencode run "Use Context7 to find TypeScript utility types"
|
|
167
|
-
|
|
168
|
-
# GitHub code search
|
|
169
|
-
opencode run "Use grep-app to find Express middleware examples"
|
|
170
|
-
```
|
|
41
|
+
For detailed installation options, run: `kraken-code --help`
|
|
171
42
|
|
|
172
43
|
---
|
|
173
44
|
|
|
174
|
-
##
|
|
45
|
+
## What Kraken Does for You
|
|
175
46
|
|
|
176
|
-
|
|
47
|
+
### 🧠 **Intelligent Delegation**
|
|
177
48
|
|
|
178
|
-
|
|
179
|
-
# Check installation status
|
|
180
|
-
kraken-code status
|
|
49
|
+
Don't do everything yourself. Kraken routes work to the right specialist automatically:
|
|
181
50
|
|
|
182
|
-
|
|
183
|
-
|
|
51
|
+
- **Architecture decisions?** → Ask **Atlas** (merged Maelstrom + Leviathan expertise)
|
|
52
|
+
- **Deep analysis needed?** → Deploy **Abyssal** for external research
|
|
53
|
+
- **Building UI?** → Hand to **Coral** for visual precision
|
|
54
|
+
- **Writing docs?** → Let **Siren** craft clear documentation
|
|
55
|
+
- **Complex test failures?** → Consult **Scylla** for test strategy
|
|
56
|
+
- **Infrastructure work?** → **Poseidon** handles data pipelines and CI/CD
|
|
184
57
|
|
|
185
|
-
|
|
186
|
-
kraken-code doctor -c agents
|
|
187
|
-
kraken-code doctor -c blitzkrieg
|
|
58
|
+
### ⚡ **Production Modes**
|
|
188
59
|
|
|
189
|
-
|
|
190
|
-
kraken-code doctor --verbose
|
|
60
|
+
Four expert modes that reconfigure the entire system:
|
|
191
61
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
62
|
+
- **Blitzkrieg** - TDD enforcement, rapid iteration with guardrails
|
|
63
|
+
- **Search** - Multi-angle codebase exploration with Nautilus auto-firing
|
|
64
|
+
- **Analyze** - Deep debugging with 100+ language keyword detection
|
|
65
|
+
- **Ultrathink** - Maximum reasoning budget for complex problems
|
|
195
66
|
|
|
196
|
-
|
|
67
|
+
### 🧠 **Persistent Memory**
|
|
197
68
|
|
|
198
|
-
|
|
69
|
+
Kratos remembers everything across sessions—conversations, decisions, code patterns. No more repeating yourself or asking the same questions.
|
|
199
70
|
|
|
200
|
-
###
|
|
71
|
+
### 🛠 **Smart Tooling**
|
|
201
72
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
"default": "Kraken",
|
|
207
|
-
"enabled": ["Kraken", "Atlas", "Nautilus", "Abyssal", "Coral", "Siren", "Scylla", "Pearl", "Poseidon", "Leviathan", "Maelstrom"]
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
```
|
|
73
|
+
- **GitHub integration** - PR/issue management, code search across repos
|
|
74
|
+
- **Git integration** - Diff management, blame, commit optimization
|
|
75
|
+
- **LSP superpowers** - Enhanced hover, code actions, refactoring
|
|
76
|
+
- **Session search** - Find that solution from 3 sessions ago in seconds
|
|
212
77
|
|
|
213
|
-
###
|
|
78
|
+
### 📋 **Built-in Commands & Skills**
|
|
214
79
|
|
|
215
|
-
|
|
216
|
-
{
|
|
217
|
-
"kraken_code": {
|
|
218
|
-
"blitzkrieg": {
|
|
219
|
-
"enabled": true,
|
|
220
|
-
"testPlanEnforcer": {
|
|
221
|
-
"enabled": true,
|
|
222
|
-
"requireTestPlan": true
|
|
223
|
-
},
|
|
224
|
-
"tddWorkflow": {
|
|
225
|
-
"enabled": true,
|
|
226
|
-
"enforceTestFirst": true
|
|
227
|
-
},
|
|
228
|
-
"evidenceVerifier": {
|
|
229
|
-
"enabled": true,
|
|
230
|
-
"requireTestResults": true
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
### Kratos Memory Configuration
|
|
238
|
-
|
|
239
|
-
```json
|
|
240
|
-
{
|
|
241
|
-
"kraken_code": {
|
|
242
|
-
"kratos": {
|
|
243
|
-
"enabled": true,
|
|
244
|
-
"storagePath": "~/.kratos"
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
### Schema Autocomplete
|
|
251
|
-
|
|
252
|
-
Add to your config for IDE autocomplete:
|
|
253
|
-
|
|
254
|
-
```json
|
|
255
|
-
{
|
|
256
|
-
"$schema": "https://raw.githubusercontent.com/leviathofnoesia/kraken-code/main/assets/kraken-code.schema.json"
|
|
257
|
-
}
|
|
258
|
-
```
|
|
80
|
+
10+ commands (`kraken-code --help`) and dynamic skill loading from `~/.config/opencode/skill/`. Write a skill once, use it everywhere.
|
|
259
81
|
|
|
260
82
|
---
|
|
261
83
|
|
|
262
|
-
##
|
|
84
|
+
## Why Kraken?
|
|
263
85
|
|
|
264
|
-
|
|
86
|
+
**OpenCode is powerful. Kraken makes it unstoppable.**
|
|
265
87
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
88
|
+
| OpenCode Alone | With Kraken |
|
|
89
|
+
|---------------|--------------|
|
|
90
|
+
| Ask a question → forgets context | Ask a question → Kratos remembers |
|
|
91
|
+
| Do work → guess what's next | Do work → Blitzkrieg enforces quality |
|
|
92
|
+
| Explore → manual grep searches | Explore → Nautilus auto-fires on patterns |
|
|
93
|
+
| Multi-step tasks → one-shot guessing | Multi-step tasks → Atlas breaks down properly |
|
|
94
|
+
| Change scope → context bloats out | Change scope → Kratos prunes intelligently |
|
|
271
95
|
|
|
272
|
-
|
|
96
|
+
**The Value Proposition:**
|
|
273
97
|
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
├── tools/ # Tool implementations
|
|
280
|
-
├── integrations/ # GitHub, Git, LSP, MCP
|
|
281
|
-
├── config/ # Schema and validation
|
|
282
|
-
└── cli/ # CLI commands
|
|
283
|
-
```
|
|
98
|
+
1. **You work faster** - Agents handle specialized tasks while you focus on the big picture
|
|
99
|
+
2. **Your code is better** - Blitzkrieg enforces TDD, Scylla validates tests
|
|
100
|
+
3. **You stop repeating work** - Kratos remembers solutions, patterns, decisions
|
|
101
|
+
4. **You navigate larger codebases** - Nautilus finds patterns you'd miss
|
|
102
|
+
5. **You get unstuck faster** - Atlas breaks down complex problems before you start
|
|
284
103
|
|
|
285
104
|
---
|
|
286
105
|
|
|
287
|
-
##
|
|
288
|
-
|
|
289
|
-
### Enterprise Features
|
|
290
|
-
|
|
291
|
-
- ✅ **TDD Enforcement** - Blitzkrieg ensures code quality
|
|
292
|
-
- ✅ **Persistent Memory** - Decisions survive across sessions
|
|
293
|
-
- ✅ **Audit Trail** - Session history and tracking
|
|
294
|
-
- ✅ **Customizable** - Skills, hooks, and configuration
|
|
295
|
-
- ✅ **Diagnostics** - Built-in health checks
|
|
296
|
-
- ✅ **Documentation** - Comprehensive guides and examples
|
|
297
|
-
|
|
298
|
-
### Performance
|
|
106
|
+
## Core Capabilities
|
|
299
107
|
|
|
300
|
-
|
|
301
|
-
- **Hook Performance** - <50ms execution (p95)
|
|
302
|
-
- **Storage Efficiency** - JSONL for fast appends
|
|
303
|
-
- **LSP Integration** - Native tool support
|
|
304
|
-
|
|
305
|
-
### Reliability
|
|
306
|
-
|
|
307
|
-
- **Zod Validation** - Type-safe configuration
|
|
308
|
-
- **Error Recovery** - Multiple error recovery hooks
|
|
309
|
-
- **Session Persistence** - Continue where you left off
|
|
310
|
-
- **Auto-Update Checking** - Stay current with latest features
|
|
311
|
-
|
|
312
|
-
---
|
|
108
|
+
### 🌊 **11 Sea-Themed Agents**
|
|
313
109
|
|
|
314
|
-
|
|
110
|
+
Each agent has a personality, a specialty, and knows when to step in:
|
|
315
111
|
|
|
316
|
-
Run tests with:
|
|
317
|
-
|
|
318
|
-
```bash
|
|
319
|
-
bun test
|
|
320
112
|
```
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
113
|
+
Kraken → Orchestrates everything, keeps you on track
|
|
114
|
+
Atlas → Breaks down complex tasks systematically
|
|
115
|
+
Nautilus → Explores codebases, finds patterns automatically
|
|
116
|
+
Abyssal → Researches external docs, libraries, APIs
|
|
117
|
+
Coral → Builds UI with design sensibility
|
|
118
|
+
Siren → Writes clear, structured documentation
|
|
119
|
+
Scylla → Creates comprehensive tests, validates coverage
|
|
120
|
+
Pearl → Refactors for performance, readability
|
|
121
|
+
Maelstrom → First-principles reasoning for hard problems
|
|
122
|
+
Leviathan → Manages large-scale refactors, architecture
|
|
123
|
+
Poseidon → Handles infrastructure, data pipelines
|
|
326
124
|
```
|
|
327
125
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
## 📚 Documentation
|
|
331
|
-
|
|
332
|
-
| Document | Description |
|
|
333
|
-
|----------|-------------|
|
|
334
|
-
| [FEATURES.md](FEATURES.md) | Complete feature overview |
|
|
335
|
-
| [EXAMPLES.md](EXAMPLES.md) | Practical usage examples |
|
|
336
|
-
| [FAQ.md](FAQ.md) | Common questions |
|
|
337
|
-
| [TROUBLESHOOTING.md](TROUBLESHOOTING.md) | Common issues and solutions |
|
|
338
|
-
| [CONTRIBUTING.md](CONTRIBUTING.md) | Contribution guidelines |
|
|
339
|
-
| [CHANGELOG.md](CHANGELOG.md) | Version history |
|
|
126
|
+
### 🏎️ **Blitzkrieg System**
|
|
340
127
|
|
|
341
|
-
|
|
128
|
+
Production-ready TDD workflow:
|
|
342
129
|
|
|
343
|
-
-
|
|
344
|
-
-
|
|
130
|
+
- **Test Plan Enforcer** - No implementation without test plans
|
|
131
|
+
- **TDD Workflow** - Write tests first, verify, then implement
|
|
132
|
+
- **Evidence Verifier** - Requires passing tests before completion
|
|
133
|
+
- **Planner Constraints** - Limits step complexity, prevents analysis paralysis
|
|
345
134
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
## 🤝 Contributing
|
|
135
|
+
### 💾 **Session & Memory Management**
|
|
349
136
|
|
|
350
|
-
|
|
137
|
+
- **Session tools** - List, read, search sessions
|
|
138
|
+
- **Kratos memory** - Save, search, query memories naturally
|
|
139
|
+
- **JSONL storage** - OpenCode-compatible transcript format
|
|
140
|
+
- **Todo tracking** - Persistent task tracking across sessions
|
|
351
141
|
|
|
352
|
-
###
|
|
142
|
+
### 🔌 **MCP Integration**
|
|
353
143
|
|
|
354
|
-
|
|
355
|
-
# Clone the repo
|
|
356
|
-
git clone https://github.com/leviathofnoesia/kraken-code.git
|
|
357
|
-
cd kraken-code
|
|
144
|
+
Built-in MCP servers:
|
|
358
145
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
bun run build
|
|
364
|
-
|
|
365
|
-
# Run tests
|
|
366
|
-
bun test
|
|
367
|
-
```
|
|
146
|
+
- **Kratos** - Ultra-lean memory system
|
|
147
|
+
- **Websearch** - Exa AI web search
|
|
148
|
+
- **Context7** - Official documentation lookup
|
|
149
|
+
- **Grep App** - GitHub code search
|
|
368
150
|
|
|
369
151
|
---
|
|
370
152
|
|
|
371
|
-
##
|
|
372
|
-
|
|
373
|
-
### Upcoming Features
|
|
374
|
-
|
|
375
|
-
- [ ] **Unified AI Memory** - Full integration of 4-layer learning system (in progress)
|
|
376
|
-
- Experience store with reinforcement learning
|
|
377
|
-
- Knowledge graph for entity relationships
|
|
378
|
-
- Pattern detection for wins/losses
|
|
379
|
-
- State machine for behavioral control
|
|
380
|
-
- FSRS scheduling for optimal review
|
|
381
|
-
|
|
382
|
-
- [ ] **Hierarchical State Machines** - Nested FSM support
|
|
383
|
-
- [ ] **Vector Embeddings** - Semantic similarity search
|
|
384
|
-
- [ ] **Advanced RL** - ε-greedy exploration, off-policy evaluation
|
|
153
|
+
## Configuration
|
|
385
154
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
---
|
|
389
|
-
|
|
390
|
-
## ❓ FAQ
|
|
391
|
-
|
|
392
|
-
<details>
|
|
393
|
-
<summary><b>How do I enable/disable specific agents?</b></summary>
|
|
394
|
-
|
|
395
|
-
Edit your OpenCode config:
|
|
155
|
+
All configuration lives in `~/.config/opencode/opencode.json`:
|
|
396
156
|
|
|
397
157
|
```json
|
|
398
158
|
{
|
|
399
|
-
"
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
159
|
+
"default_agent": "Kraken",
|
|
160
|
+
"agents": {
|
|
161
|
+
"Kraken": { "enabled": true, "model": "..." }
|
|
162
|
+
},
|
|
163
|
+
"blitzkrieg": { "enabled": true, "enforcement": "strict" },
|
|
164
|
+
"kratos": { "enabled": true, "storagePath": "~/.kratos" },
|
|
165
|
+
"modes": {
|
|
166
|
+
"blitzkrieg": { "enabled": true },
|
|
167
|
+
"ultrathink": { "enabled": true, "thinkingBudget": 32000 }
|
|
403
168
|
}
|
|
404
169
|
}
|
|
405
170
|
```
|
|
406
|
-
</details>
|
|
407
|
-
|
|
408
|
-
<details>
|
|
409
|
-
<summary><b>Can I use Kraken Code with other OpenCode plugins?</b></summary>
|
|
410
171
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
```json
|
|
414
|
-
{
|
|
415
|
-
"plugin": ["kraken-code", "other-plugin"]
|
|
416
|
-
}
|
|
417
|
-
```
|
|
418
|
-
</details>
|
|
172
|
+
Run `kraken-code init --full` for recommended defaults.
|
|
419
173
|
|
|
420
|
-
|
|
421
|
-
<summary><b>How do I create custom skills?</b></summary>
|
|
174
|
+
---
|
|
422
175
|
|
|
423
|
-
|
|
176
|
+
## CLI Commands
|
|
424
177
|
|
|
425
178
|
```bash
|
|
426
|
-
|
|
427
|
-
|
|
179
|
+
# Install Kraken Code
|
|
180
|
+
kraken-code install
|
|
428
181
|
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
<details>
|
|
433
|
-
<summary><b>Is the learning system (unified AI memory) available?</b></summary>
|
|
434
|
-
|
|
435
|
-
The unified AI memory system architecture is complete but **not yet integrated**. Core implementation exists (3,400+ lines) but requires hook integration and tool registration. See [IMPLEMENTATION_STATUS.md](IMPLEMENTATION_STATUS.md) for progress.
|
|
436
|
-
</details>
|
|
437
|
-
|
|
438
|
-
<details>
|
|
439
|
-
<summary><b>How do I troubleshoot issues?</b></summary>
|
|
182
|
+
# Initialize with full setup
|
|
183
|
+
kraken-code init --full
|
|
440
184
|
|
|
441
|
-
|
|
185
|
+
# Check system health
|
|
186
|
+
kraken-code doctor
|
|
442
187
|
|
|
443
|
-
|
|
444
|
-
kraken-code
|
|
188
|
+
# Show configuration
|
|
189
|
+
kraken-code status
|
|
445
190
|
```
|
|
446
191
|
|
|
447
|
-
Check [TROUBLESHOOTING.md](TROUBLESHOOTING.md) for common solutions.
|
|
448
|
-
</details>
|
|
449
|
-
|
|
450
192
|
---
|
|
451
193
|
|
|
452
|
-
##
|
|
194
|
+
## Architecture
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
src/
|
|
198
|
+
├── agents/ # 11 sea-themed agents
|
|
199
|
+
├── features/
|
|
200
|
+
│ ├── skills/ # Skills system with discovery & hot-reload
|
|
201
|
+
│ ├── mcp/ # Built-in MCP servers
|
|
202
|
+
│ ├── blitzkrieg/ # TDD enforcement system
|
|
203
|
+
│ └── storage/ # Session & memory management
|
|
204
|
+
├── hooks/ # 31+ hooks for extensibility
|
|
205
|
+
├── tools/ # LSP, session, GitHub, Git integrations
|
|
206
|
+
├── cli/ # Commands & doctor
|
|
207
|
+
└── config/ # Zod schema validation
|
|
208
|
+
```
|
|
453
209
|
|
|
454
|
-
|
|
455
|
-
- **Issues**: https://github.com/leviathofnoesia/kraken-code/issues
|
|
456
|
-
- **OpenCode**: https://opencode.ai
|
|
457
|
-
- **Discord**: https://discord.gg/clawd
|
|
210
|
+
Each feature module can be enabled/disabled independently.
|
|
458
211
|
|
|
459
212
|
---
|
|
460
213
|
|
|
461
|
-
##
|
|
214
|
+
## License
|
|
462
215
|
|
|
463
216
|
MIT License - see [LICENSE](LICENSE) for details.
|
|
464
217
|
|
|
@@ -466,8 +219,8 @@ MIT License - see [LICENSE](LICENSE) for details.
|
|
|
466
219
|
|
|
467
220
|
<div align="center">
|
|
468
221
|
|
|
469
|
-
**Built
|
|
222
|
+
**Built for developers who want more than just an AI assistant.**
|
|
470
223
|
|
|
471
|
-
|
|
224
|
+
**Built for autonomous development.**
|
|
472
225
|
|
|
473
226
|
</div>
|