kraken-code 1.0.0 → 1.1.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 +378 -121
- package/dist/cli/index.js +2 -18
- package/dist/google-auth.js +15 -0
- package/dist/index.js +18219 -12573
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,207 +1,464 @@
|
|
|
1
|
-
# Kraken Code
|
|
1
|
+
# Kraken Code
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
|
|
5
|
-

|
|
6
|
-

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
**Transform OpenCode into an autonomous, high-density development environment**
|
|
11
|
+
|
|
12
|
+
[Documentation](#documentation) • [Quick Start](#quick-start) • [Examples](#examples) • [Changelog](CHANGELOG.md)
|
|
9
13
|
|
|
10
14
|
</div>
|
|
11
15
|
|
|
12
16
|
---
|
|
13
17
|
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
## 🦑 What is Kraken Code?
|
|
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 |
|
|
51
|
+
|
|
52
|
+
### 🎯 Production Modes
|
|
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
|
+
---
|
|
16
80
|
|
|
17
|
-
## Quick Start
|
|
81
|
+
## 🚀 Quick Start
|
|
82
|
+
|
|
83
|
+
### Installation
|
|
18
84
|
|
|
19
85
|
```bash
|
|
86
|
+
# Using Bun (recommended)
|
|
20
87
|
bun install kraken-code
|
|
88
|
+
|
|
89
|
+
# Using npm
|
|
90
|
+
npm install kraken-code
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Configuration
|
|
94
|
+
|
|
95
|
+
Add to your OpenCode config `~/.config/opencode/opencode.json`:
|
|
96
|
+
|
|
97
|
+
```json
|
|
98
|
+
{
|
|
99
|
+
"plugin": ["kraken-code"]
|
|
100
|
+
}
|
|
21
101
|
```
|
|
22
102
|
|
|
23
|
-
|
|
103
|
+
That's it! Kraken Code auto-configures and integrates seamlessly.
|
|
104
|
+
|
|
105
|
+
### Initialize with Recommended Settings
|
|
24
106
|
|
|
25
107
|
```bash
|
|
26
|
-
|
|
108
|
+
# Full setup (all features)
|
|
109
|
+
kraken-code init --full
|
|
110
|
+
|
|
111
|
+
# Minimal setup (agents only)
|
|
112
|
+
kraken-code init --minimal
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## 🎨 Usage Examples
|
|
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"
|
|
27
133
|
```
|
|
28
134
|
|
|
29
|
-
|
|
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?"
|
|
154
|
+
|
|
155
|
+
# Natural language queries
|
|
156
|
+
opencode run "Ask Kratos: what patterns have we used for error handling?"
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### MCP Integrations
|
|
160
|
+
|
|
161
|
+
```bash
|
|
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
|
+
```
|
|
30
171
|
|
|
31
172
|
---
|
|
32
173
|
|
|
33
|
-
##
|
|
174
|
+
## 🔧 CLI Commands
|
|
34
175
|
|
|
35
|
-
|
|
176
|
+
Kraken Code includes a powerful CLI for project management:
|
|
36
177
|
|
|
37
|
-
|
|
178
|
+
```bash
|
|
179
|
+
# Check installation status
|
|
180
|
+
kraken-code status
|
|
38
181
|
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
- **Building UI?** → Hand to **Coral** for visual precision
|
|
42
|
-
- **Writing docs?** → Let **Siren** craft clear documentation
|
|
43
|
-
- **Complex test failures?** → Consult **Scylla** for test strategy
|
|
44
|
-
- **Infrastructure work?** → **Poseidon** handles data pipelines and CI/CD
|
|
182
|
+
# Run system diagnostics
|
|
183
|
+
kraken-code doctor
|
|
45
184
|
|
|
46
|
-
|
|
185
|
+
# Check specific category
|
|
186
|
+
kraken-code doctor -c agents
|
|
187
|
+
kraken-code doctor -c blitzkrieg
|
|
47
188
|
|
|
48
|
-
|
|
189
|
+
# Verbose diagnostics
|
|
190
|
+
kraken-code doctor --verbose
|
|
49
191
|
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
- **Ultrathink** - Maximum reasoning budget for complex problems
|
|
192
|
+
# JSON output for automation
|
|
193
|
+
kraken-code doctor --json
|
|
194
|
+
```
|
|
54
195
|
|
|
55
|
-
|
|
196
|
+
---
|
|
56
197
|
|
|
57
|
-
|
|
198
|
+
## ⚙️ Configuration
|
|
58
199
|
|
|
59
|
-
###
|
|
200
|
+
### Agent Configuration
|
|
60
201
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
202
|
+
```json
|
|
203
|
+
{
|
|
204
|
+
"kraken_code": {
|
|
205
|
+
"agents": {
|
|
206
|
+
"default": "Kraken",
|
|
207
|
+
"enabled": ["Kraken", "Atlas", "Nautilus", "Abyssal", "Coral", "Siren", "Scylla", "Pearl", "Poseidon", "Leviathan", "Maelstrom"]
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
```
|
|
65
212
|
|
|
66
|
-
###
|
|
213
|
+
### Blitzkrieg Configuration
|
|
67
214
|
|
|
68
|
-
|
|
215
|
+
```json
|
|
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
|
+
```
|
|
69
259
|
|
|
70
260
|
---
|
|
71
261
|
|
|
72
|
-
##
|
|
262
|
+
## 🏗️ Architecture
|
|
73
263
|
|
|
74
|
-
|
|
264
|
+
### Core Components
|
|
75
265
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
| Multi-step tasks → one-shot guessing | Multi-step tasks → Atlas breaks down properly |
|
|
82
|
-
| Change scope → context bloats out | Change scope → Kratos prunes intelligently |
|
|
266
|
+
- **Agent System** - 11 domain-specialized AI agents
|
|
267
|
+
- **Feature System** - Skills, commands, MCP, memory
|
|
268
|
+
- **Hook System** - 30+ hooks for customization
|
|
269
|
+
- **Tool System** - grep, ast-grep, compression, session management
|
|
270
|
+
- **Integrations** - GitHub SDK, Git SDK, LSP tools
|
|
83
271
|
|
|
84
|
-
|
|
272
|
+
### File Structure
|
|
85
273
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
274
|
+
```
|
|
275
|
+
src/
|
|
276
|
+
├── agents/ # Agent definitions and prompts
|
|
277
|
+
├── features/ # Skills, blitzkrieg, kratos, commands
|
|
278
|
+
├── hooks/ # Hook implementations
|
|
279
|
+
├── tools/ # Tool implementations
|
|
280
|
+
├── integrations/ # GitHub, Git, LSP, MCP
|
|
281
|
+
├── config/ # Schema and validation
|
|
282
|
+
└── cli/ # CLI commands
|
|
283
|
+
```
|
|
91
284
|
|
|
92
285
|
---
|
|
93
286
|
|
|
94
|
-
##
|
|
287
|
+
## 📊 Production Readiness
|
|
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
|
|
299
|
+
|
|
300
|
+
- **Context Pruning** - 70% token reduction with DCP engine
|
|
301
|
+
- **Hook Performance** - <50ms execution (p95)
|
|
302
|
+
- **Storage Efficiency** - JSONL for fast appends
|
|
303
|
+
- **LSP Integration** - Native tool support
|
|
95
304
|
|
|
96
|
-
###
|
|
305
|
+
### Reliability
|
|
97
306
|
|
|
98
|
-
|
|
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
|
|
99
311
|
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
## 🧪 Testing & Quality
|
|
315
|
+
|
|
316
|
+
Run tests with:
|
|
317
|
+
|
|
318
|
+
```bash
|
|
319
|
+
bun test
|
|
100
320
|
```
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Siren → Writes clear, structured documentation
|
|
107
|
-
Scylla → Creates comprehensive tests, validates coverage
|
|
108
|
-
Pearl → Refactors for performance, readability
|
|
109
|
-
Maelstrom → First-principles reasoning for hard problems
|
|
110
|
-
Leviathan → Manages large-scale refactors, architecture
|
|
111
|
-
Poseidon → Handles infrastructure, data pipelines
|
|
321
|
+
|
|
322
|
+
Type checking:
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
bun run typecheck
|
|
112
326
|
```
|
|
113
327
|
|
|
114
|
-
|
|
328
|
+
---
|
|
115
329
|
|
|
116
|
-
|
|
330
|
+
## 📚 Documentation
|
|
117
331
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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 |
|
|
122
340
|
|
|
123
|
-
###
|
|
341
|
+
### Architecture Documentation
|
|
124
342
|
|
|
125
|
-
-
|
|
126
|
-
-
|
|
127
|
-
- **JSONL storage** - OpenCode-compatible transcript format
|
|
128
|
-
- **Todo tracking** - Persistent task tracking across sessions
|
|
343
|
+
- [Unified AI Memory Architecture](UNIFIED_AI_MEMORY_ARCHITECTURE.md) - Complete specification (600+ lines)
|
|
344
|
+
- [Implementation Status](IMPLEMENTATION_STATUS.md) - Development progress
|
|
129
345
|
|
|
130
|
-
|
|
346
|
+
---
|
|
347
|
+
|
|
348
|
+
## 🤝 Contributing
|
|
349
|
+
|
|
350
|
+
Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
351
|
+
|
|
352
|
+
### Development Setup
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
# Clone the repo
|
|
356
|
+
git clone https://github.com/leviathofnoesia/kraken-code.git
|
|
357
|
+
cd kraken-code
|
|
358
|
+
|
|
359
|
+
# Install dependencies
|
|
360
|
+
bun install
|
|
361
|
+
|
|
362
|
+
# Build
|
|
363
|
+
bun run build
|
|
364
|
+
|
|
365
|
+
# Run tests
|
|
366
|
+
bun test
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
---
|
|
370
|
+
|
|
371
|
+
## 📈 Roadmap
|
|
372
|
+
|
|
373
|
+
### Upcoming Features
|
|
131
374
|
|
|
132
|
-
|
|
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
|
|
133
381
|
|
|
134
|
-
- **
|
|
135
|
-
- **
|
|
136
|
-
- **
|
|
137
|
-
|
|
382
|
+
- [ ] **Hierarchical State Machines** - Nested FSM support
|
|
383
|
+
- [ ] **Vector Embeddings** - Semantic similarity search
|
|
384
|
+
- [ ] **Advanced RL** - ε-greedy exploration, off-policy evaluation
|
|
385
|
+
|
|
386
|
+
See [IMPLEMENTATION_STATUS.md](IMPLEMENTATION_STATUS.md) for details.
|
|
138
387
|
|
|
139
388
|
---
|
|
140
389
|
|
|
141
|
-
##
|
|
390
|
+
## ❓ FAQ
|
|
391
|
+
|
|
392
|
+
<details>
|
|
393
|
+
<summary><b>How do I enable/disable specific agents?</b></summary>
|
|
142
394
|
|
|
143
|
-
|
|
395
|
+
Edit your OpenCode config:
|
|
144
396
|
|
|
145
397
|
```json
|
|
146
398
|
{
|
|
147
399
|
"kraken_code": {
|
|
148
|
-
"default_agent": "Kraken",
|
|
149
400
|
"agents": {
|
|
150
|
-
"
|
|
151
|
-
},
|
|
152
|
-
"blitzkrieg": { "enabled": true, "enforcement": "strict" },
|
|
153
|
-
"kratos": { "enabled": true, "storage_path": "~/.kratos" },
|
|
154
|
-
"modes": {
|
|
155
|
-
"blitzkrieg": { "enabled": true },
|
|
156
|
-
"ultrathink": { "enabled": true, "max_tokens": 32000 }
|
|
401
|
+
"enabled": ["Atlas", "Nautilus", "Scylla"]
|
|
157
402
|
}
|
|
158
403
|
}
|
|
159
404
|
}
|
|
160
405
|
```
|
|
406
|
+
</details>
|
|
161
407
|
|
|
162
|
-
|
|
408
|
+
<details>
|
|
409
|
+
<summary><b>Can I use Kraken Code with other OpenCode plugins?</b></summary>
|
|
163
410
|
|
|
164
|
-
|
|
411
|
+
Yes! Kraken Code is designed to work alongside other plugins. Configure multiple plugins in your `opencode.json`:
|
|
412
|
+
|
|
413
|
+
```json
|
|
414
|
+
{
|
|
415
|
+
"plugin": ["kraken-code", "other-plugin"]
|
|
416
|
+
}
|
|
417
|
+
```
|
|
418
|
+
</details>
|
|
419
|
+
|
|
420
|
+
<details>
|
|
421
|
+
<summary><b>How do I create custom skills?</b></summary>
|
|
165
422
|
|
|
166
|
-
|
|
423
|
+
Create a directory with a `SKILL.md` file:
|
|
167
424
|
|
|
168
425
|
```bash
|
|
169
|
-
|
|
170
|
-
|
|
426
|
+
mkdir -p ~/.config/opencode/skill/my-workflow
|
|
427
|
+
```
|
|
171
428
|
|
|
172
|
-
|
|
173
|
-
|
|
429
|
+
Create `~/.config/opencode/skill/my-workflow/SKILL.md` with your instructions. Skills are automatically discovered and hot-reloaded.
|
|
430
|
+
</details>
|
|
174
431
|
|
|
175
|
-
|
|
176
|
-
|
|
432
|
+
<details>
|
|
433
|
+
<summary><b>Is the learning system (unified AI memory) available?</b></summary>
|
|
177
434
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
```
|
|
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>
|
|
181
437
|
|
|
182
|
-
|
|
438
|
+
<details>
|
|
439
|
+
<summary><b>How do I troubleshoot issues?</b></summary>
|
|
183
440
|
|
|
184
|
-
|
|
441
|
+
Run diagnostics:
|
|
185
442
|
|
|
443
|
+
```bash
|
|
444
|
+
kraken-code doctor --verbose
|
|
186
445
|
```
|
|
187
|
-
src/
|
|
188
|
-
├── agents/ # 11 sea-themed agents
|
|
189
|
-
├── features/
|
|
190
|
-
│ ├── skills/ # Skills system with discovery & hot-reload
|
|
191
|
-
│ ├── mcp/ # Built-in MCP servers
|
|
192
|
-
│ ├── blitzkrieg/ # TDD enforcement system
|
|
193
|
-
│ └── storage/ # Session & memory management
|
|
194
|
-
├── hooks/ # 31+ hooks for extensibility
|
|
195
|
-
├── tools/ # LSP, session, GitHub, Git integrations
|
|
196
|
-
├── cli/ # Commands & doctor
|
|
197
|
-
└── config/ # Zod schema validation
|
|
198
|
-
```
|
|
199
446
|
|
|
200
|
-
|
|
447
|
+
Check [TROUBLESHOOTING.md](TROUBLESHOOTING.md) for common solutions.
|
|
448
|
+
</details>
|
|
449
|
+
|
|
450
|
+
---
|
|
451
|
+
|
|
452
|
+
## 🔗 Links
|
|
453
|
+
|
|
454
|
+
- **GitHub**: https://github.com/leviathofnoesia/kraken-code
|
|
455
|
+
- **Issues**: https://github.com/leviathofnoesia/kraken-code/issues
|
|
456
|
+
- **OpenCode**: https://opencode.ai
|
|
457
|
+
- **Discord**: https://discord.gg/clawd
|
|
201
458
|
|
|
202
459
|
---
|
|
203
460
|
|
|
204
|
-
## License
|
|
461
|
+
## 📄 License
|
|
205
462
|
|
|
206
463
|
MIT License - see [LICENSE](LICENSE) for details.
|
|
207
464
|
|
|
@@ -209,8 +466,8 @@ MIT License - see [LICENSE](LICENSE) for details.
|
|
|
209
466
|
|
|
210
467
|
<div align="center">
|
|
211
468
|
|
|
212
|
-
**Built
|
|
469
|
+
**Built with 🦑 by [LeviathofNoesia](https://github.com/leviathofnoesia)**
|
|
213
470
|
|
|
214
|
-
|
|
471
|
+
[⬆ Back to top](#kraken-code)
|
|
215
472
|
|
|
216
473
|
</div>
|
package/dist/cli/index.js
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
var __create = Object.create;
|
|
4
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
5
|
-
var __defProp = Object.defineProperty;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __toESM = (mod, isNodeMode, target) => {
|
|
9
|
-
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
10
|
-
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
11
|
-
for (let key of __getOwnPropNames(mod))
|
|
12
|
-
if (!__hasOwnProp.call(to, key))
|
|
13
|
-
__defProp(to, key, {
|
|
14
|
-
get: () => mod[key],
|
|
15
|
-
enumerable: true
|
|
16
|
-
});
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
3
|
var __require = import.meta.require;
|
|
20
4
|
|
|
21
5
|
// src/cli/index.ts
|
|
@@ -1282,7 +1266,7 @@ import { writeFileSync as writeFileSync2, existsSync as existsSync6, mkdirSync }
|
|
|
1282
1266
|
import * as path4 from "path";
|
|
1283
1267
|
import * as os4 from "os";
|
|
1284
1268
|
import color4 from "picocolors";
|
|
1285
|
-
var __dirname = "/home/
|
|
1269
|
+
var __dirname = "/home/ubuntu/clawd/Projects/kraken-code/src/cli";
|
|
1286
1270
|
async function runInit(options) {
|
|
1287
1271
|
console.log(color4.cyan("\uD83D\uDC19 Initializing Kraken Code..."));
|
|
1288
1272
|
const configDir = path4.join(os4.homedir(), ".config", "opencode");
|
|
@@ -1426,7 +1410,7 @@ Skills:`));
|
|
|
1426
1410
|
}
|
|
1427
1411
|
}
|
|
1428
1412
|
// package.json
|
|
1429
|
-
var version2 = "1.
|
|
1413
|
+
var version2 = "1.1.2";
|
|
1430
1414
|
|
|
1431
1415
|
// src/cli/index.ts
|
|
1432
1416
|
var program = new Command;
|
package/dist/google-auth.js
CHANGED
|
@@ -3,6 +3,7 @@ var __create = Object.create;
|
|
|
3
3
|
var __getProtoOf = Object.getPrototypeOf;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __toESM = (mod, isNodeMode, target) => {
|
|
8
9
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
@@ -15,6 +16,20 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
15
16
|
});
|
|
16
17
|
return to;
|
|
17
18
|
};
|
|
19
|
+
var __moduleCache = /* @__PURE__ */ new WeakMap;
|
|
20
|
+
var __toCommonJS = (from) => {
|
|
21
|
+
var entry = __moduleCache.get(from), desc;
|
|
22
|
+
if (entry)
|
|
23
|
+
return entry;
|
|
24
|
+
entry = __defProp({}, "__esModule", { value: true });
|
|
25
|
+
if (from && typeof from === "object" || typeof from === "function")
|
|
26
|
+
__getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
|
|
27
|
+
get: () => from[key],
|
|
28
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
29
|
+
}));
|
|
30
|
+
__moduleCache.set(from, entry);
|
|
31
|
+
return entry;
|
|
32
|
+
};
|
|
18
33
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
19
34
|
var __export = (target, all) => {
|
|
20
35
|
for (var name in all)
|