opencodekit 0.16.0 → 0.16.1
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/dist/index.js +1 -1
- package/dist/template/.opencode/AGENTS.md +64 -3
- package/dist/template/.opencode/command/create.md +34 -0
- package/dist/template/.opencode/command/design.md +35 -0
- package/dist/template/.opencode/command/handoff.md +15 -0
- package/dist/template/.opencode/command/init.md +40 -47
- package/dist/template/.opencode/command/plan.md +1 -0
- package/dist/template/.opencode/command/pr.md +15 -0
- package/dist/template/.opencode/command/research.md +3 -0
- package/dist/template/.opencode/command/resume.md +1 -0
- package/dist/template/.opencode/command/review-codebase.md +30 -0
- package/dist/template/.opencode/command/ship.md +43 -0
- package/dist/template/.opencode/command/start.md +1 -0
- package/dist/template/.opencode/command/status.md +24 -1
- package/dist/template/.opencode/command/ui-review.md +31 -0
- package/dist/template/.opencode/command/verify.md +35 -7
- package/dist/template/.opencode/memory/project/tech-stack.md +25 -22
- package/dist/template/.opencode/memory.db +0 -0
- package/dist/template/.opencode/memory.db-shm +0 -0
- package/dist/template/.opencode/memory.db-wal +0 -0
- package/dist/template/.opencode/opencode.json +817 -916
- package/dist/template/.opencode/package.json +1 -0
- package/dist/template/.opencode/plans/1770006237537-mighty-otter.md +418 -0
- package/dist/template/.opencode/plans/1770006913647-glowing-forest.md +170 -0
- package/dist/template/.opencode/plans/1770013678126-witty-planet.md +278 -0
- package/dist/template/.opencode/plugin/lib/memory-db.ts +828 -0
- package/dist/template/.opencode/plugin/memory.ts +38 -1
- package/dist/template/.opencode/skill/index-knowledge/SKILL.md +76 -31
- package/dist/template/.opencode/skill/memory-system/SKILL.md +110 -55
- package/dist/template/.opencode/tool/memory-get.ts +143 -0
- package/dist/template/.opencode/tool/memory-maintain.ts +167 -0
- package/dist/template/.opencode/tool/memory-migrate.ts +319 -0
- package/dist/template/.opencode/tool/memory-read.ts +17 -46
- package/dist/template/.opencode/tool/memory-search.ts +131 -28
- package/dist/template/.opencode/tool/memory-timeline.ts +105 -0
- package/dist/template/.opencode/tool/memory-update.ts +21 -26
- package/dist/template/.opencode/tool/observation.ts +112 -100
- package/dist/template/.opencode/tsconfig.json +19 -19
- package/package.json +1 -1
- package/dist/template/.opencode/memory/_templates/README.md +0 -73
- package/dist/template/.opencode/memory/_templates/observation.md +0 -39
- package/dist/template/.opencode/memory/_templates/prompt-engineering.md +0 -333
- package/dist/template/.opencode/memory/observations/2026-01-22-decision-agents-md-prompt-engineering-improvement.md +0 -29
- package/dist/template/.opencode/memory/observations/2026-01-25-decision-agent-roles-build-orchestrates-general-e.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-01-25-decision-simplified-swarm-helper-tool-to-fix-type.md +0 -20
- package/dist/template/.opencode/memory/observations/2026-01-25-decision-use-beads-as-swarm-board-source-of-truth.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-01-25-learning-user-wants-real-swarm-coordination-guida.md +0 -15
- package/dist/template/.opencode/memory/observations/2026-01-28-decision-created-deep-research-skill-for-thorough.md +0 -29
- package/dist/template/.opencode/memory/observations/2026-01-28-decision-gh-grep-mcp-wrapper-vs-native-grep-searc.md +0 -21
- package/dist/template/.opencode/memory/observations/2026-01-28-decision-oracle-tool-optimal-usage-patterns.md +0 -32
- package/dist/template/.opencode/memory/observations/2026-01-28-learning-ampcode-deep-mode-research-integration-w.md +0 -42
- package/dist/template/.opencode/memory/observations/2026-01-28-pattern-research-delegation-pattern-explore-for-.md +0 -32
- package/dist/template/.opencode/memory/observations/2026-01-29-decision-copilot-auth-plugin-rate-limit-handling.md +0 -27
- package/dist/template/.opencode/memory/observations/2026-01-29-decision-spec-driven-approach-for-opencodekit.md +0 -21
- package/dist/template/.opencode/memory/observations/2026-01-29-learning-karpathy-llm-coding-insights-dec-2025.md +0 -44
- package/dist/template/.opencode/memory/observations/2026-01-30-decision-github-copilot-claude-routing-keep-disab.md +0 -32
- package/dist/template/.opencode/memory/observations/2026-01-30-discovery-context-management-research-critical-gap.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-01-30-discovery-kimi-k2-5-agent-swarm-architecture-patte.md +0 -45
- package/dist/template/.opencode/memory/observations/2026-01-30-pattern-swarm-tools-architecture.md +0 -28
- package/dist/template/.opencode/memory/observations/2026-01-31-decision-copilot-auth-plugin-updated-with-baseurl.md +0 -63
- package/dist/template/.opencode/memory/observations/2026-01-31-decision-created-dedicated-worker-agent-for-swarm.md +0 -20
- package/dist/template/.opencode/memory/observations/2026-01-31-decision-rollback-to-v1-1-47-for-copilot-claude-r.md +0 -21
- package/dist/template/.opencode/memory/observations/2026-01-31-decision-simplified-swarm-to-task-tool-pattern.md +0 -44
- package/dist/template/.opencode/memory/observations/2026-01-31-decision-swarm-architecture-task-tool-over-tmux.md +0 -33
- package/dist/template/.opencode/memory/observations/2026-01-31-decision-worker-skills-defined-for-swarm-delegati.md +0 -30
- package/dist/template/.opencode/memory/observations/2026-01-31-learning-gpt-reasoning-config-for-github-copilot.md +0 -51
- package/dist/template/.opencode/memory/observations/2026-01-31-learning-opencode-copilot-auth-comparison-finding.md +0 -61
- package/dist/template/.opencode/memory/observations/2026-01-31-learning-opencode-copilot-reasoning-architecture-.md +0 -66
- package/dist/template/.opencode/memory/observations/2026-01-31-learning-opencode-custom-tools-api.md +0 -48
- package/dist/template/.opencode/memory/observations/2026-01-31-learning-opencode-v1-1-48-skills-as-slash-command.md +0 -21
- package/dist/template/.opencode/memory/observations/2026-01-31-learning-swarm-system-simplified-removed-mailbox-.md +0 -30
- package/dist/template/.opencode/memory/observations/2026-01-31-learning-v1-1-48-native-copilot-reasoning-via-pr-.md +0 -45
- package/dist/template/.opencode/memory/observations/2026-01-31-warning-cannot-add-custom-config-to-opencode-jso.md +0 -18
- package/dist/template/.opencode/memory/observations/2026-01-31-warning-copilot-claude-v1-endpoint-returns-404-c.md +0 -48
- package/dist/template/.opencode/memory/observations/2026-01-31-warning-opencode-v1-1-48-claude-thinking-block-s.md +0 -51
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-add-skills-vs-commands-to-global-agents-.md +0 -15
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-build-agent-auto-loads-skills-contextual.md +0 -31
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-fixed-agent-configuration-for-opencodeki.md +0 -25
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-focused-agents-md-upgrade-for-opencode-k.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-implement-tier-1-permission-upgrades.md +0 -15
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-instructions-config-explicit-paths-not-w.md +0 -40
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-merged-context-into-memory-project-singl.md +0 -42
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-oracle-tool-should-use-review-agent-not-.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-plan-agent-auto-loads-skills-contextuall.md +0 -31
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-plan-phased-oracle-command-merge-into-ne.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-prd-workflow-uses-prd-and-prd-task-skill.md +0 -23
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-prefer-review-agent-via-opencode-cli-ove.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-remove-oracle-tool-add-ship-command-with.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-remove-oracle-tool-and-add-ship-command-.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-remove-oracle-tool-and-add-ship-command.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-remove-skills-vs-commands-section-from-a.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-replace-oracle-tool-with-ship-command-fl.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-replace-oracle-with-ship-command-workflo.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-replace-proxypal-oracle-with-cli-review-.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-simplified-dist-template-only-tech-stack.md +0 -50
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-simplified-templates-only-tech-stack-md.md +0 -26
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-subagents-load-minimal-skills-stay-lean.md +0 -29
- package/dist/template/.opencode/memory/observations/2026-02-01-decision-user-approved-permission-upgrades-in-ope.md +0 -15
- package/dist/template/.opencode/memory/observations/2026-02-01-discovery-verify-command-already-implemented.md +0 -28
- package/dist/template/.opencode/memory/observations/2026-02-01-feature-openspec-phase-b-complete-template-upgra.md +0 -43
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-build-agent-should-use-dynamic-lsp-not-f.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-kimi-k2-5-model-requires-temperature-1-0.md +0 -22
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-opencode-context-injection-already-imple.md +0 -27
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-opencode-context-injection-uses-instruct.md +0 -35
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-update-build-agent-prompt-to-use-context.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-upgrade-agents-md-using-opencode-expert-.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-upgrade-agents-md-with-opencode-expert-g.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-upgrade-agents-md-with-opencode-expert-r.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-user-prefers-copilot-gpt-5-2-codex-mediu.md +0 -14
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-user-wants-general-agent-prompt-contextu.md +0 -15
- package/dist/template/.opencode/memory/observations/2026-02-01-learning-user-wants-general-agent-prompt-reviewed.md +0 -15
- package/dist/template/.opencode/memory/project/architecture.md +0 -60
- package/dist/template/.opencode/memory/project/command-rules.md +0 -122
- package/dist/template/.opencode/memory/project/commands.md +0 -72
- package/dist/template/.opencode/memory/project/conventions.md +0 -68
- package/dist/template/.opencode/memory/project/gotchas.md +0 -41
- /package/dist/template/.opencode/memory/_templates/{project/tech-stack.md → tech-stack.md} +0 -0
- /package/dist/template/.opencode/memory/{user.example.md → _templates/user.md} +0 -0
- /package/dist/template/.opencode/memory/{user.md → project/user.md} +0 -0
|
@@ -15,6 +15,7 @@ Three-dimensional verification before claiming work complete. Inspired by OpenSp
|
|
|
15
15
|
skill({ name: "beads" });
|
|
16
16
|
skill({ name: "verification-before-completion" });
|
|
17
17
|
skill({ name: "systematic-debugging" });
|
|
18
|
+
skill({ name: "memory-system" });
|
|
18
19
|
```
|
|
19
20
|
|
|
20
21
|
## Parse Arguments
|
|
@@ -27,7 +28,17 @@ skill({ name: "systematic-debugging" });
|
|
|
27
28
|
|
|
28
29
|
---
|
|
29
30
|
|
|
30
|
-
## Phase 1:
|
|
31
|
+
## Phase 1: Check Memory for Context
|
|
32
|
+
|
|
33
|
+
Search for relevant verification patterns and past issues:
|
|
34
|
+
|
|
35
|
+
```typescript
|
|
36
|
+
memory_search({ query: "$ARGUMENTS verification issues patterns", limit: 3 });
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Phase 2: Gather Artifacts
|
|
31
42
|
|
|
32
43
|
```bash
|
|
33
44
|
bd show $ARGUMENTS
|
|
@@ -45,7 +56,7 @@ cat .beads/artifacts/$ARGUMENTS/design.md 2>/dev/null
|
|
|
45
56
|
|
|
46
57
|
---
|
|
47
58
|
|
|
48
|
-
## Phase
|
|
59
|
+
## Phase 3: Completeness Check
|
|
49
60
|
|
|
50
61
|
**Are all required artifacts present?**
|
|
51
62
|
|
|
@@ -75,7 +86,7 @@ Extract tasks/criteria from spec.md and verify each is implemented:
|
|
|
75
86
|
|
|
76
87
|
---
|
|
77
88
|
|
|
78
|
-
## Phase
|
|
89
|
+
## Phase 4: Correctness Check
|
|
79
90
|
|
|
80
91
|
**Do the automated gates pass?**
|
|
81
92
|
|
|
@@ -132,7 +143,7 @@ golangci-lint run 2>&1 | tail -10
|
|
|
132
143
|
|
|
133
144
|
---
|
|
134
145
|
|
|
135
|
-
## Phase
|
|
146
|
+
## Phase 5: Coherence Check (skip with --quick)
|
|
136
147
|
|
|
137
148
|
**Do artifacts agree with each other?**
|
|
138
149
|
|
|
@@ -168,7 +179,7 @@ Contradictions found: 1
|
|
|
168
179
|
|
|
169
180
|
---
|
|
170
181
|
|
|
171
|
-
## Phase
|
|
182
|
+
## Phase 6: Verification Summary
|
|
172
183
|
|
|
173
184
|
```
|
|
174
185
|
Verification: $ARGUMENTS
|
|
@@ -200,7 +211,7 @@ Recommendations:
|
|
|
200
211
|
|
|
201
212
|
---
|
|
202
213
|
|
|
203
|
-
## Phase
|
|
214
|
+
## Phase 7: Auto-Fix (if --fix)
|
|
204
215
|
|
|
205
216
|
For fixable issues, attempt automatic resolution:
|
|
206
217
|
|
|
@@ -218,7 +229,7 @@ if (missingTests) {
|
|
|
218
229
|
|
|
219
230
|
---
|
|
220
231
|
|
|
221
|
-
## Phase
|
|
232
|
+
## Phase 8: Update Bead Notes
|
|
222
233
|
|
|
223
234
|
Record verification results in bead:
|
|
224
235
|
|
|
@@ -228,6 +239,23 @@ bd note $ARGUMENTS "Verification: [PASS|PARTIAL|FAIL] - [summary]"
|
|
|
228
239
|
|
|
229
240
|
---
|
|
230
241
|
|
|
242
|
+
## Phase 9: Record Findings
|
|
243
|
+
|
|
244
|
+
If significant issues or patterns discovered:
|
|
245
|
+
|
|
246
|
+
```typescript
|
|
247
|
+
observation({
|
|
248
|
+
type: "discovery",
|
|
249
|
+
title: "Verification findings for $ARGUMENTS",
|
|
250
|
+
narrative: "[Summary of issues found, patterns discovered, or lessons learned]",
|
|
251
|
+
concepts: "verification, testing, quality",
|
|
252
|
+
bead_id: "$ARGUMENTS",
|
|
253
|
+
confidence: "high",
|
|
254
|
+
});
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
|
|
231
259
|
## Output
|
|
232
260
|
|
|
233
261
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
purpose: Tech stack, constraints, and integrations for AI context injection
|
|
3
|
-
updated: 2026-02-
|
|
3
|
+
updated: 2026-02-02
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Tech Stack
|
|
@@ -9,40 +9,43 @@ This file is automatically injected into ALL AI prompts via `opencode.json` inst
|
|
|
9
9
|
|
|
10
10
|
## Framework & Language
|
|
11
11
|
|
|
12
|
-
- **Framework:**
|
|
13
|
-
- **Language:** TypeScript (strict mode)
|
|
14
|
-
- **Runtime:**
|
|
12
|
+
- **Framework:** CLI tool (cac for argument parsing)
|
|
13
|
+
- **Language:** TypeScript (ESNext, strict mode, bundler moduleResolution)
|
|
14
|
+
- **Runtime:** Bun >= 1.3.2
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Key Dependencies
|
|
17
17
|
|
|
18
|
-
- **
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
18
|
+
- **CLI Framework:** cac (^6.7.14) - Command-line argument parsing
|
|
19
|
+
- **UI Prompts:** @clack/prompts (^0.7.0) - Interactive CLI prompts
|
|
20
|
+
- **TUI Framework:** @opentui/core (^0.1.72) + @opentui/solid (^0.1.72) - Terminal UI
|
|
21
|
+
- **Validation:** zod (^3.25.76) - Schema validation
|
|
22
|
+
- **Task Tracking:** beads-village (^1.3.3) - Git-backed task management
|
|
23
|
+
- **AI SDK:** @ai-sdk/provider (^3.0.6) - AI provider integration
|
|
21
24
|
|
|
22
|
-
##
|
|
25
|
+
## Build & Tools
|
|
23
26
|
|
|
24
|
-
- **
|
|
25
|
-
- **
|
|
26
|
-
- **
|
|
27
|
-
- **
|
|
27
|
+
- **Build:** `bun run build.ts` + rsync for template bundling
|
|
28
|
+
- **Lint:** oxlint (^1.38.0) - Fast JavaScript/TypeScript linter
|
|
29
|
+
- **Format:** oxfmt (^0.23.0) - Code formatter
|
|
30
|
+
- **TypeCheck:** TypeScript 5.9.3
|
|
28
31
|
|
|
29
32
|
## Testing
|
|
30
33
|
|
|
31
|
-
- **Unit Tests:**
|
|
32
|
-
- **
|
|
33
|
-
- **
|
|
34
|
+
- **Unit Tests:** bun test (native Bun test runner)
|
|
35
|
+
- **Test Location:** src/\*_/_.test.ts (colocated)
|
|
36
|
+
- **Run Single:** bun test src/commands/init.test.ts
|
|
34
37
|
|
|
35
38
|
## Key Constraints
|
|
36
39
|
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
+
- Must maintain Bun compatibility (engines.bun >= 1.3.2)
|
|
41
|
+
- Node.js not officially supported
|
|
42
|
+
- Build copies .opencode/ to dist/template/ - don't edit dist/ directly
|
|
43
|
+
- Keep .opencode/ structure minimal and focused
|
|
40
44
|
|
|
41
45
|
## Active Integrations
|
|
42
46
|
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
- [Service 3: e.g., Sentry for error tracking]
|
|
47
|
+
- **OpenCode AI:** @opencode-ai/plugin (^1.1.12) - OpenCode integration
|
|
48
|
+
- **Beads CLI:** @beads/bd (^0.29.0) - Task tracking CLI
|
|
46
49
|
|
|
47
50
|
---
|
|
48
51
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|