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 CHANGED
@@ -1,207 +1,464 @@
1
- # Kraken Code v1.0
1
+ # Kraken Code
2
2
 
3
3
  <div align="center">
4
4
 
5
- ![Version](https://img.shields.io/badge/v1.0-brightgreen?labelColor=0e8fd0&style=flat-square)
6
- ![License](https://img.shields.io/badge/license-MIT?labelColor=black&style=flat-square)
7
- ![Bun](https://img.shields.io/badge/bun-1.2%2B-white?labelColor=%231F27&style=flat-square)
8
- ![OpenCode](https://img.shields.io/badge/compatibility-green?label=OpenCode&style=flat-square)
5
+ ![Version](https://img.shields.io/badge/v1.1.0-brightgreen?labelColor=0e8fd0&style=flat-square)
6
+ ![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)
7
+ ![Runtime](https://img.shields.io/badge/runtime-Bun%20%7C%20Node.js-darkgreen?style=flat-square)
8
+ ![Platform](https://img.shields.io/badge/platform-OpenCode-informational?style=flat-square)
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
- > **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.
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
- Or if you don't have Bun:
103
+ That's it! Kraken Code auto-configures and integrates seamlessly.
104
+
105
+ ### Initialize with Recommended Settings
24
106
 
25
107
  ```bash
26
- npm install kraken-code
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
- That's it. Kraken Code auto-configures and integrates seamlessly.
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
- ## What Kraken Does for You
174
+ ## 🔧 CLI Commands
34
175
 
35
- ### 🧠 **Intelligent Delegation**
176
+ Kraken Code includes a powerful CLI for project management:
36
177
 
37
- Don't do everything yourself. Kraken routes work to the right specialist automatically:
178
+ ```bash
179
+ # Check installation status
180
+ kraken-code status
38
181
 
39
- - **Architecture decisions?** → Ask **Atlas** (merged Maelstrom + Leviathan expertise)
40
- - **Deep analysis needed?** → Deploy **Abyssal** for external research
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
- ### **Production Modes**
185
+ # Check specific category
186
+ kraken-code doctor -c agents
187
+ kraken-code doctor -c blitzkrieg
47
188
 
48
- Four expert modes that reconfigure the entire system:
189
+ # Verbose diagnostics
190
+ kraken-code doctor --verbose
49
191
 
50
- - **Blitzkrieg** - TDD enforcement, rapid iteration with guardrails
51
- - **Search** - Multi-angle codebase exploration with Nautilus auto-firing
52
- - **Analyze** - Deep debugging with 100+ language keyword detection
53
- - **Ultrathink** - Maximum reasoning budget for complex problems
192
+ # JSON output for automation
193
+ kraken-code doctor --json
194
+ ```
54
195
 
55
- ### 🧠 **Persistent Memory**
196
+ ---
56
197
 
57
- Kratos remembers everything across sessions—conversations, decisions, code patterns. No more repeating yourself or asking the same questions.
198
+ ## ⚙️ Configuration
58
199
 
59
- ### 🛠 **Smart Tooling**
200
+ ### Agent Configuration
60
201
 
61
- - **GitHub integration** - PR/issue management, code search across repos
62
- - **Git integration** - Diff management, blame, commit optimization
63
- - **LSP superpowers** - Enhanced hover, code actions, refactoring
64
- - **Session search** - Find that solution from 3 sessions ago in seconds
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
- ### 📋 **Built-in Commands & Skills**
213
+ ### Blitzkrieg Configuration
67
214
 
68
- 10+ commands (`kraken-code --help`) and dynamic skill loading from `~/.config/opencode/skill/`. Write a skill once, use it everywhere.
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
- ## Why Kraken?
262
+ ## 🏗️ Architecture
73
263
 
74
- **OpenCode is powerful. Kraken makes it unstoppable.**
264
+ ### Core Components
75
265
 
76
- | OpenCode Alone | With Kraken |
77
- |---------------|--------------|
78
- | Ask a question forgets context | Ask a question → Kratos remembers |
79
- | Do work guess what's next | Do work → Blitzkrieg enforces quality |
80
- | Explore manual grep searches | Explore → Nautilus auto-fires on patterns |
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
- **The Value Proposition:**
272
+ ### File Structure
85
273
 
86
- 1. **You work faster** - Agents handle specialized tasks while you focus on the big picture
87
- 2. **Your code is better** - Blitzkrieg enforces TDD, Scylla validates tests
88
- 3. **You stop repeating work** - Kratos remembers solutions, patterns, decisions
89
- 4. **You navigate larger codebases** - Nautilus finds patterns you'd miss
90
- 5. **You get unstuck faster** - Atlas breaks down complex problems before you start
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
- ## Core Capabilities
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
- ### 🌊 **11 Sea-Themed Agents**
305
+ ### Reliability
97
306
 
98
- Each agent has a personality, a specialty, and knows when to step in:
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
- Kraken → Orchestrates everything, keeps you on track
102
- Atlas → Breaks down complex tasks systematically
103
- Nautilus → Explores codebases, finds patterns automatically
104
- Abyssal → Researches external docs, libraries, APIs
105
- Coral → Builds UI with design sensibility
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
- ### 🏎️ **Blitzkrieg System**
328
+ ---
115
329
 
116
- Production-ready TDD workflow:
330
+ ## 📚 Documentation
117
331
 
118
- - **Test Plan Enforcer** - No implementation without test plans
119
- - **TDD Workflow** - Write tests first, verify, then implement
120
- - **Evidence Verifier** - Requires passing tests before completion
121
- - **Planner Constraints** - Limits step complexity, prevents analysis paralysis
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
- ### 💾 **Session & Memory Management**
341
+ ### Architecture Documentation
124
342
 
125
- - **Session tools** - List, read, search sessions
126
- - **Kratos memory** - Save, search, query memories naturally
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
- ### 🔌 **MCP Integration**
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
- Built-in MCP servers:
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
- - **Kratos** - Ultra-lean memory system
135
- - **Websearch** - Exa AI web search
136
- - **Context7** - Official documentation lookup
137
- - **Grep App** - GitHub code search
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
- ## Configuration
390
+ ## ❓ FAQ
391
+
392
+ <details>
393
+ <summary><b>How do I enable/disable specific agents?</b></summary>
142
394
 
143
- All configuration lives in `~/.config/opencode/opencode.json`:
395
+ Edit your OpenCode config:
144
396
 
145
397
  ```json
146
398
  {
147
399
  "kraken_code": {
148
- "default_agent": "Kraken",
149
400
  "agents": {
150
- "Kraken": { "enabled": true, "model": "..." }
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
- Run `kraken-code init --full` for recommended defaults.
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
- ## CLI Commands
423
+ Create a directory with a `SKILL.md` file:
167
424
 
168
425
  ```bash
169
- # Install Kraken Code
170
- kraken-code install
426
+ mkdir -p ~/.config/opencode/skill/my-workflow
427
+ ```
171
428
 
172
- # Initialize with full setup
173
- kraken-code init --full
429
+ Create `~/.config/opencode/skill/my-workflow/SKILL.md` with your instructions. Skills are automatically discovered and hot-reloaded.
430
+ </details>
174
431
 
175
- # Check system health
176
- kraken-code doctor
432
+ <details>
433
+ <summary><b>Is the learning system (unified AI memory) available?</b></summary>
177
434
 
178
- # Show configuration
179
- kraken-code status
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
- ## Architecture
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
- Each feature module can be enabled/disabled independently.
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 for developers who want more than just an AI assistant.**
469
+ **Built with 🦑 by [LeviathofNoesia](https://github.com/leviathofnoesia)**
213
470
 
214
- **Built for autonomous development.**
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/runner/work/kraken-code/kraken-code/src/cli";
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.0.0";
1413
+ var version2 = "1.1.2";
1430
1414
 
1431
1415
  // src/cli/index.ts
1432
1416
  var program = new Command;
@@ -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)