opencodekit 0.16.15 → 0.16.18
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 +77 -242
- package/dist/index.js +19 -6
- package/dist/template/.opencode/AGENTS.md +72 -236
- package/dist/template/.opencode/README.md +49 -482
- package/dist/template/.opencode/agent/build.md +71 -345
- package/dist/template/.opencode/agent/explore.md +47 -139
- package/dist/template/.opencode/agent/general.md +61 -172
- package/dist/template/.opencode/agent/looker.md +65 -161
- package/dist/template/.opencode/agent/painter.md +46 -200
- package/dist/template/.opencode/agent/plan.md +37 -220
- package/dist/template/.opencode/agent/review.md +72 -153
- package/dist/template/.opencode/agent/scout.md +44 -486
- package/dist/template/.opencode/agent/vision.md +63 -178
- package/dist/template/.opencode/command/create.md +75 -307
- package/dist/template/.opencode/command/design.md +53 -589
- package/dist/template/.opencode/command/handoff.md +76 -180
- package/dist/template/.opencode/command/init.md +45 -211
- package/dist/template/.opencode/command/plan.md +62 -514
- package/dist/template/.opencode/command/pr.md +56 -226
- package/dist/template/.opencode/command/research.md +55 -266
- package/dist/template/.opencode/command/resume.md +33 -138
- package/dist/template/.opencode/command/review-codebase.md +54 -202
- package/dist/template/.opencode/command/ship.md +78 -127
- package/dist/template/.opencode/command/start.md +47 -577
- package/dist/template/.opencode/command/status.md +60 -353
- package/dist/template/.opencode/command/ui-review.md +52 -298
- package/dist/template/.opencode/command/verify.md +36 -250
- package/dist/template/.opencode/memory.db-shm +0 -0
- package/dist/template/.opencode/memory.db-wal +0 -0
- package/dist/template/.opencode/opencode.json +133 -35
- package/dist/template/.opencode/plugin/README.md +40 -166
- package/dist/template/.opencode/plugin/compaction.ts +162 -131
- package/dist/template/.opencode/plugin/lib/memory-db.ts +112 -0
- package/dist/template/.opencode/plugin/swarm-enforcer.ts +182 -27
- package/dist/template/.opencode/skill/augment-context-engine/SKILL.md +112 -0
- package/dist/template/.opencode/skill/augment-context-engine/mcp.json +6 -0
- package/dist/template/.opencode/skill/core-data-expert/SKILL.md +82 -0
- package/dist/template/.opencode/skill/core-data-expert/references/batch-operations.md +543 -0
- package/dist/template/.opencode/skill/core-data-expert/references/cloudkit-integration.md +259 -0
- package/dist/template/.opencode/skill/core-data-expert/references/concurrency.md +522 -0
- package/dist/template/.opencode/skill/core-data-expert/references/fetch-requests.md +643 -0
- package/dist/template/.opencode/skill/core-data-expert/references/glossary.md +233 -0
- package/dist/template/.opencode/skill/core-data-expert/references/migration.md +393 -0
- package/dist/template/.opencode/skill/core-data-expert/references/model-configuration.md +597 -0
- package/dist/template/.opencode/skill/core-data-expert/references/performance.md +300 -0
- package/dist/template/.opencode/skill/core-data-expert/references/persistent-history.md +553 -0
- package/dist/template/.opencode/skill/core-data-expert/references/project-audit.md +60 -0
- package/dist/template/.opencode/skill/core-data-expert/references/saving.md +574 -0
- package/dist/template/.opencode/skill/core-data-expert/references/stack-setup.md +625 -0
- package/dist/template/.opencode/skill/core-data-expert/references/testing.md +300 -0
- package/dist/template/.opencode/skill/core-data-expert/references/threading.md +589 -0
- package/dist/template/.opencode/skill/swift-concurrency/SKILL.md +246 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/actors.md +640 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/async-algorithms.md +822 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/async-await-basics.md +249 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/async-sequences.md +670 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/core-data.md +533 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/glossary.md +128 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/linting.md +142 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/memory-management.md +542 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/migration.md +1076 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/performance.md +574 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/sendable.md +578 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/tasks.md +604 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/testing.md +565 -0
- package/dist/template/.opencode/skill/swift-concurrency/references/threading.md +452 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/SKILL.md +290 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/animation-advanced.md +351 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/animation-basics.md +284 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/animation-transitions.md +326 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/image-optimization.md +286 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/layout-best-practices.md +312 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/liquid-glass.md +377 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/list-patterns.md +153 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/modern-apis.md +400 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/performance-patterns.md +377 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/scroll-patterns.md +305 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/sheet-navigation-patterns.md +292 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/state-management.md +447 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/text-formatting.md +285 -0
- package/dist/template/.opencode/skill/swiftui-expert-skill/references/view-structure.md +276 -0
- package/dist/template/.opencode/tool/action-queue.ts +308 -0
- package/dist/template/.opencode/tool/swarm.ts +65 -40
- package/package.json +16 -3
- package/dist/template/.opencode/.agents/skills/context7/SKILL.md +0 -88
package/README.md
CHANGED
|
@@ -1,260 +1,95 @@
|
|
|
1
|
-
# OpenCodeKit
|
|
1
|
+
# OpenCodeKit
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
**Inspiration**: [disler/opencode-hooks-multi-agent-observability](https://github.com/disler/opencode-hooks-multi-agent-observability)
|
|
3
|
+
OpenCodeKit is a Bun + TypeScript CLI and template for running OpenCode with an opinionated multi-agent workflow.
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
## What This Template Includes
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
- Beads-first lifecycle: `/create` -> `/start` -> `/ship`
|
|
8
|
+
- Custom agents in `.opencode/agent/` (9 in this template)
|
|
9
|
+
- Slash commands in `.opencode/command/` (14 workflows)
|
|
10
|
+
- Skills in `.opencode/skill/` (large curated library)
|
|
11
|
+
- Custom tools in `.opencode/tool/` (memory tools, `observation`, `swarm`, `context7`, `grepsearch`, etc.)
|
|
12
|
+
- Plugins in `.opencode/plugin/` for memory, session continuity, swarm workflow enforcement, and skill MCP
|
|
9
13
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
- **10 core agents** with clear delegation
|
|
13
|
-
- **24 skills** (domain expertise loaded via commands)
|
|
14
|
-
- **45+ workflow commands** (including `/handoff`)
|
|
15
|
-
- **Multi-agent observability** (all work visible in build session)
|
|
16
|
-
- **Manual handoffs** for clean phase transitions
|
|
17
|
-
|
|
18
|
-
**For**: Solo developers who want low maintenance + high productivity
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## 🚀 Quick Start (5 minutes)
|
|
23
|
-
|
|
24
|
-
### Option 1: Using CLI (Recommended)
|
|
25
|
-
|
|
26
|
-
```bash
|
|
27
|
-
# 1. Create new project with npx
|
|
28
|
-
npx opencodekit init my-project
|
|
29
|
-
cd my-project
|
|
30
|
-
|
|
31
|
-
# 2. Or install globally
|
|
32
|
-
npm install -g opencodekit
|
|
33
|
-
ock init my-project
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
**See [CLI.md](./CLI.md) for complete CLI documentation**
|
|
37
|
-
|
|
38
|
-
### Option 2: Manual Setup
|
|
14
|
+
## Quick Start
|
|
39
15
|
|
|
40
16
|
```bash
|
|
41
|
-
#
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
# 2. Start OpenCode
|
|
45
|
-
opencode
|
|
46
|
-
|
|
47
|
-
# 3. Try simple task (build handles)
|
|
48
|
-
create test.txt with "Hello OpenCodeKit"
|
|
49
|
-
|
|
50
|
-
# 4. Try command
|
|
51
|
-
/commit
|
|
17
|
+
# Scaffold or initialize
|
|
18
|
+
npx opencodekit init
|
|
52
19
|
|
|
53
|
-
#
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
# 6. Try handoff workflow
|
|
57
|
-
/handoff "implement phase 1 of the plan"
|
|
58
|
-
# Creates portable handoff bundle in .opencode/memory/handoffs/
|
|
20
|
+
# Or in this repository during development
|
|
21
|
+
bun install
|
|
22
|
+
bun run src/index.ts --help
|
|
59
23
|
```
|
|
60
24
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
25
|
+
## Core Slash Command Workflow
|
|
26
|
+
|
|
27
|
+
Use these inside OpenCode:
|
|
28
|
+
|
|
29
|
+
1. `/create <description>` - create bead and PRD
|
|
30
|
+
2. `/start <bead-id>` - claim bead and prepare branch/workspace
|
|
31
|
+
3. `/ship <bead-id>` - implement, verify, review, close
|
|
32
|
+
|
|
33
|
+
## Available Slash Commands (Template)
|
|
34
|
+
|
|
35
|
+
- `/create`
|
|
36
|
+
- `/start`
|
|
37
|
+
- `/ship`
|
|
38
|
+
- `/plan`
|
|
39
|
+
- `/status`
|
|
40
|
+
- `/pr`
|
|
41
|
+
- `/resume`
|
|
42
|
+
- `/handoff`
|
|
43
|
+
- `/research`
|
|
44
|
+
- `/review-codebase`
|
|
45
|
+
- `/verify`
|
|
46
|
+
- `/design`
|
|
47
|
+
- `/ui-review`
|
|
48
|
+
- `/init`
|
|
49
|
+
|
|
50
|
+
## CLI Command Surface (`ock`)
|
|
51
|
+
|
|
52
|
+
The packaged CLI commands are:
|
|
53
|
+
|
|
54
|
+
- `ock init`
|
|
55
|
+
- `ock agent <list|create|view|remove>`
|
|
56
|
+
- `ock command <list|create|show|delete>`
|
|
57
|
+
- `ock config [action]`
|
|
58
|
+
- `ock doctor`
|
|
59
|
+
- `ock status`
|
|
60
|
+
- `ock upgrade`
|
|
61
|
+
- `ock completion [shell]`
|
|
62
|
+
- `ock tui`
|
|
63
|
+
|
|
64
|
+
See `CLI.md` for command usage details.
|
|
65
|
+
|
|
66
|
+
## Repository Layout
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
src/ # CLI implementation
|
|
70
|
+
.opencode/ # Agents, commands, skills, tools, plugins
|
|
71
|
+
.beads/ # Task tracking database and artifacts
|
|
72
|
+
build.ts # Build pipeline (bundles .opencode template)
|
|
73
|
+
dist/ # Build output (generated)
|
|
65
74
|
```
|
|
66
|
-
build (Primary Orchestrator - 70% of work)
|
|
67
|
-
├→ @rush (Fast agent for simple tasks)
|
|
68
|
-
├→ @plan (Complex planning ≥3 phases)
|
|
69
|
-
├→ @review (Code review + security + debugging)
|
|
70
|
-
├→ @scout (External research, library docs, GitHub patterns)
|
|
71
|
-
├→ @explore (Fast codebase search)
|
|
72
|
-
├→ @vision (UI/UX, mockups, visual analysis)
|
|
73
|
-
└→ @general (Fallback)
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
• enforcer (TODO completion enforcement)
|
|
77
|
-
• compactor (Context usage warnings at 70/85/95%)
|
|
78
|
-
• truncator (Dynamic output truncation)
|
|
79
|
-
|
|
80
|
-
Supporting:
|
|
81
|
-
• 30+ Skills (domain expertise loaded on-demand)
|
|
82
|
-
• 26+ Commands (workflow shortcuts)
|
|
83
|
-
• 3 MCP Services (context7, exa) + grepsearch tool + skill-embedded MCPs
|
|
84
|
-
• Custom Tools (memory-*, observation, grepsearch, lsp-*)
|
|
85
|
-
• Beads task tracking (`bd` CLI for multi-session workflows)
|
|
86
|
-
• Manual Handoffs (clean phase transitions)
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Manual Handoffs (Recommended)
|
|
90
|
-
|
|
91
|
-
**We use manual `/handoff` command for clean phase transitions** - no automatic session plugin needed.
|
|
92
|
-
|
|
93
|
-
### Custom `/handoff` Command
|
|
94
|
-
|
|
95
|
-
Creates portable handoff bundles for phase transitions:
|
|
76
|
+
## Development
|
|
96
77
|
|
|
97
78
|
```bash
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
# Contains: summary, @file-mentions, key decisions, next-phase prompt
|
|
79
|
+
npm run typecheck
|
|
80
|
+
npm run lint
|
|
81
|
+
npm run test
|
|
82
|
+
npm run build
|
|
103
83
|
```
|
|
104
84
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
# Option 1: Manual reference
|
|
109
|
-
@.opencode/memory/handoffs/2025-11-18-planning.md
|
|
110
|
-
|
|
111
|
-
# Option 2: With sessions plugin
|
|
112
|
-
session({
|
|
113
|
-
mode: "new",
|
|
114
|
-
agent: "plan",
|
|
115
|
-
text: "@.opencode/memory/handoffs/2025-11-18-planning.md"
|
|
116
|
-
})
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
**Complete Workflow Example:**
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
# Phase 1: Research
|
|
123
|
-
/research "API rate limiting patterns"
|
|
124
|
-
# ... research happens ...
|
|
125
|
-
|
|
126
|
-
# Create handoff → Planning
|
|
127
|
-
/handoff "design system based on research"
|
|
128
|
-
# Creates: .opencode/memory/handoffs/2025-11-20-planning.md
|
|
129
|
-
|
|
130
|
-
# Phase 2: Planning (new thread with @plan)
|
|
131
|
-
@plan @.opencode/memory/handoffs/2025-11-20-planning.md
|
|
132
|
-
# ... planning happens ...
|
|
133
|
-
|
|
134
|
-
# Create handoff → Implementation
|
|
135
|
-
/handoff "implement phase 1 of the plan"
|
|
136
|
-
# Creates: .opencode/memory/handoffs/2025-11-20-implementation.md
|
|
137
|
-
|
|
138
|
-
# Phase 3: Implementation (new thread)
|
|
139
|
-
@.opencode/memory/handoffs/2025-11-20-implementation.md
|
|
140
|
-
# ... implementation happens ...
|
|
141
|
-
|
|
142
|
-
# Create handoff → Review
|
|
143
|
-
/handoff "review the completed feature for security"
|
|
144
|
-
# Creates: .opencode/memory/handoffs/2025-11-20-review.md
|
|
145
|
-
|
|
146
|
-
# Phase 4: Review (new thread with @code-auditor)
|
|
147
|
-
@code-auditor @.opencode/memory/handoffs/2025-11-20-review.md
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
**Key Benefits:**
|
|
151
|
-
|
|
152
|
-
- ✅ Clean context per phase (no conversation pollution)
|
|
153
|
-
- ✅ Portable bundles (share across workspaces)
|
|
154
|
-
- ✅ Git-tracked handoffs (audit trail)
|
|
155
|
-
- ✅ Simple workflow (just /handoff + new thread)
|
|
156
|
-
|
|
157
|
-
---
|
|
158
|
-
|
|
159
|
-
## 🎓 Learning Path
|
|
160
|
-
|
|
161
|
-
**Week 1**: Use daily, document patterns
|
|
162
|
-
**Week 2**: Refine, create custom commands if needed
|
|
163
|
-
|
|
164
|
-
---
|
|
165
|
-
|
|
166
|
-
## 🔍 Decision Tree
|
|
167
|
-
|
|
168
|
-
**"Which agent should I use?"**
|
|
169
|
-
|
|
170
|
-
```
|
|
171
|
-
Is it a simple task?
|
|
172
|
-
✓ → Use build directly (70% of work)
|
|
173
|
-
|
|
174
|
-
Need speed over depth?
|
|
175
|
-
✓ → @rush (fast agent, same capabilities)
|
|
176
|
-
|
|
177
|
-
Complex task (≥3 phases)?
|
|
178
|
-
✓ → @plan (creates implementation plan)
|
|
179
|
-
|
|
180
|
-
Need research?
|
|
181
|
-
✓ → @scout (library docs + GitHub patterns)
|
|
182
|
-
✓ → @explore (codebase search)
|
|
183
|
-
|
|
184
|
-
Quality gate before deployment?
|
|
185
|
-
✓ → @review (security + code review + debugging)
|
|
186
|
-
|
|
187
|
-
UI/UX work?
|
|
188
|
-
✓ → @vision (mockups, visual analysis, accessibility)
|
|
189
|
-
|
|
190
|
-
Everything else?
|
|
191
|
-
✓ → @general (fallback)
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
---
|
|
195
|
-
|
|
196
|
-
## 🛠️ Troubleshooting
|
|
197
|
-
|
|
198
|
-
**"Skills not loading"**
|
|
199
|
-
→ Skills load via commands, NOT file types
|
|
200
|
-
→ Use `/design/good` to load frontend-design skill
|
|
201
|
-
→ Use `/fix/hard` to load debugging skills
|
|
202
|
-
→ Check: `ls .opencode/skills/` for all available skills
|
|
203
|
-
|
|
204
|
-
**"/handoff command not available"**
|
|
205
|
-
→ Verify: `ls .opencode/command/handoff.md`
|
|
206
|
-
→ Check frontmatter has: `description`, `agent: build`
|
|
207
|
-
→ Restart OpenCode if just added
|
|
208
|
-
|
|
209
|
-
**"MCP services not working"**
|
|
210
|
-
→ Check `.opencode/.env` for API keys (CONTEXT7_API_KEY, EXA_API_KEY)
|
|
211
|
-
→ Verify enabled in `.opencode/opencode.json`
|
|
212
|
-
→ See `.opencode/README.md` for complete setup guide
|
|
213
|
-
|
|
214
|
-
---
|
|
215
|
-
|
|
216
|
-
## 🎉 Success Criteria
|
|
217
|
-
|
|
218
|
-
You've successfully set up OpenCodeKit when:
|
|
219
|
-
|
|
220
|
-
- ✅ Agent files in place (.opencode/agent/\*.md)
|
|
221
|
-
- ✅ Build handles 70%+ directly
|
|
222
|
-
- ✅ Commands work (/commit, /pr, /design, /fix, /implement)
|
|
223
|
-
- ✅ Skills load on-demand (30+ skills)
|
|
224
|
-
- ✅ Delegation is clear (build → specialized subagents)
|
|
225
|
-
- ✅ `/handoff` creates portable bundles (.opencode/memory/handoffs/)
|
|
226
|
-
- ✅ Tools configured (context7, grepsearch + skill-embedded MCP)
|
|
227
|
-
- ✅ Background plugins active (enforcer, compactor, truncator)
|
|
228
|
-
- ✅ Custom tools available (memory-_, observation, grepsearch, lsp-_)
|
|
229
|
-
- ✅ Environment variables set (.opencode/.env with API keys)
|
|
230
|
-
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
## 🔗 Resources
|
|
234
|
-
|
|
235
|
-
- [OpenCode Docs](https://opencode.ai/docs/)
|
|
236
|
-
- [Multi-Agent Pattern](https://github.com/disler/opencode-hooks-multi-agent-observability)
|
|
237
|
-
- [Handoff Workflow Guide](.opencode/command/handoff.md)
|
|
238
|
-
- [MCP Services Setup](.opencode/README.md)
|
|
239
|
-
|
|
240
|
-
## 📚 Documentation
|
|
241
|
-
|
|
242
|
-
- **CLI Tool**: [CLI.md](./CLI.md) - `ock` command reference (init, setup, agent, skill)
|
|
243
|
-
- **Architecture Guide**: `.opencode/AGENTS.md` - Global rules and tool priority
|
|
244
|
-
- **MCP Services Setup**: `.opencode/README.md` - Complete environment setup
|
|
245
|
-
- **Handoff Bundles**: `.opencode/command/handoff.md` - Clean phase transitions
|
|
246
|
-
- **Custom Commands**: `.opencode/command/` - All 45+ workflow commands
|
|
247
|
-
- **Skills System**: `.opencode/skills/` - 24 skills (8 core, 7 stack, 9 specialized)
|
|
248
|
-
- **Memory System**: `.opencode/memory/` - Persistent cross-session knowledge
|
|
249
|
-
- **Templates**: `.opencode/memory/_templates/` - PRD, observation, and session-summary templates
|
|
250
|
-
- **Memory Tools**: `.opencode/tool/` - memory-read, memory-update, memory-search, observation
|
|
85
|
+
## Documentation
|
|
251
86
|
|
|
252
|
-
|
|
87
|
+
- `CLI.md` - `ock` command reference
|
|
88
|
+
- `.opencode/README.md` - project OpenCode configuration guide
|
|
89
|
+
- `.opencode/AGENTS.md` - global agent rules and operating constraints
|
|
90
|
+
- `.opencode/plugin/README.md` - plugin architecture and tooling
|
|
253
91
|
|
|
254
|
-
|
|
255
|
-
**Architecture**: Two-layer (Memory + Beads + Git)
|
|
256
|
-
**Package**: `npx opencodekit` to scaffold new projects
|
|
257
|
-
**New in v0.13.2**: Multimodal support for gemini-claude models (image, PDF input)
|
|
258
|
-
**Ready for**: Daily production use
|
|
92
|
+
## Notes
|
|
259
93
|
|
|
260
|
-
|
|
94
|
+
- Do not edit `dist/` directly; it is generated by `npm run build`.
|
|
95
|
+
- This repository targets Bun runtime compatibility (`engines.bun >= 1.3.2`).
|
package/dist/index.js
CHANGED
|
@@ -759,9 +759,16 @@ var cac = (name = "") => new CAC(name);
|
|
|
759
759
|
// package.json
|
|
760
760
|
var package_default = {
|
|
761
761
|
name: "opencodekit",
|
|
762
|
-
version: "0.16.
|
|
762
|
+
version: "0.16.18",
|
|
763
763
|
description: "CLI tool for bootstrapping and managing OpenCodeKit projects",
|
|
764
|
-
keywords: [
|
|
764
|
+
keywords: [
|
|
765
|
+
"agents",
|
|
766
|
+
"cli",
|
|
767
|
+
"mcp",
|
|
768
|
+
"opencode",
|
|
769
|
+
"opencodekit",
|
|
770
|
+
"template"
|
|
771
|
+
],
|
|
765
772
|
license: "MIT",
|
|
766
773
|
author: "OpenCodeKit",
|
|
767
774
|
repository: {
|
|
@@ -771,7 +778,10 @@ var package_default = {
|
|
|
771
778
|
bin: {
|
|
772
779
|
ock: "dist/index.js"
|
|
773
780
|
},
|
|
774
|
-
files: [
|
|
781
|
+
files: [
|
|
782
|
+
"dist",
|
|
783
|
+
"README.md"
|
|
784
|
+
],
|
|
775
785
|
type: "module",
|
|
776
786
|
publishConfig: {
|
|
777
787
|
access: "public",
|
|
@@ -785,6 +795,9 @@ var package_default = {
|
|
|
785
795
|
typecheck: "tsc --noEmit",
|
|
786
796
|
test: "bun test",
|
|
787
797
|
"test:watch": "bun test --watch",
|
|
798
|
+
"validate:command-doc": "bun run src/validation/command-doc.ts --check",
|
|
799
|
+
"validate:docs-drift": "bun run src/validation/docs-drift.ts --check",
|
|
800
|
+
"validate:governance": "npm run validate:command-doc && npm run validate:docs-drift",
|
|
788
801
|
lint: "oxlint .",
|
|
789
802
|
"lint:fix": "oxlint --fix .",
|
|
790
803
|
format: "oxfmt",
|
|
@@ -9258,10 +9271,10 @@ var MODEL_PRESETS = {
|
|
|
9258
9271
|
model: "opencode/kimi-k2.5-free",
|
|
9259
9272
|
agents: {
|
|
9260
9273
|
build: "github-copilot/claude-opus-4.6",
|
|
9261
|
-
plan: "
|
|
9262
|
-
review: "
|
|
9274
|
+
plan: "openai/gpt-5.3-codex",
|
|
9275
|
+
review: "openai/gpt-5.3-codex",
|
|
9263
9276
|
explore: "proxypal/gemini-3-flash-preview",
|
|
9264
|
-
general: "
|
|
9277
|
+
general: "github-copilot/gpt-5.2-codex",
|
|
9265
9278
|
looker: "proxypal/gemini-3-flash-preview",
|
|
9266
9279
|
vision: "proxypal/gemini-3-pro-preview",
|
|
9267
9280
|
scout: "proxypal/gemini-3-flash-preview",
|