opencodekit 0.21.10 → 0.23.0
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 +1 -1
- package/dist/index.js +4 -25
- package/dist/template/.opencode/.template-manifest.json +115 -188
- package/dist/template/.opencode/AGENTS.md +127 -484
- package/dist/template/.opencode/README.md +2 -2
- package/dist/template/.opencode/agent/build.md +158 -356
- package/dist/template/.opencode/agent/explore.md +0 -1
- package/dist/template/.opencode/agent/plan.md +7 -16
- package/dist/template/.opencode/agent/review.md +0 -1
- package/dist/template/.opencode/agent/scout.md +2 -3
- package/dist/template/.opencode/agent/vision.md +0 -1
- package/dist/template/.opencode/artifacts/.active +1 -0
- package/dist/template/.opencode/artifacts/example/plan.md +12 -0
- package/dist/template/.opencode/artifacts/example/progress.md +4 -0
- package/dist/template/.opencode/artifacts/example/research.md +4 -0
- package/dist/template/.opencode/artifacts/example/spec.md +16 -0
- package/dist/template/.opencode/artifacts/todo.md +5 -0
- package/dist/template/.opencode/artifacts/verify.log +4 -0
- package/dist/template/.opencode/command/clarify.md +46 -0
- package/dist/template/.opencode/command/commit.md +53 -0
- package/dist/template/.opencode/command/create.md +29 -71
- package/dist/template/.opencode/command/design.md +1 -2
- package/dist/template/.opencode/command/explore.md +3 -4
- package/dist/template/.opencode/command/fix.md +55 -0
- package/dist/template/.opencode/command/improve-architecture.md +55 -0
- package/dist/template/.opencode/command/init.md +86 -69
- package/dist/template/.opencode/command/plan.md +30 -60
- package/dist/template/.opencode/command/pr.md +10 -28
- package/dist/template/.opencode/command/refactor.md +65 -0
- package/dist/template/.opencode/command/research.md +7 -29
- package/dist/template/.opencode/command/review-codebase.md +6 -13
- package/dist/template/.opencode/command/ship.md +136 -78
- package/dist/template/.opencode/command/test.md +66 -0
- package/dist/template/.opencode/command/ui-review.md +2 -4
- package/dist/template/.opencode/command/verify.md +15 -23
- package/dist/template/.opencode/dcp.jsonc +96 -85
- package/dist/template/.opencode/memory/README.md +4 -6
- package/dist/template/.opencode/memory/_templates/adr.md +45 -0
- package/dist/template/.opencode/memory/_templates/prd.md +1 -1
- package/dist/template/.opencode/memory/_templates/roadmap.md +1 -1
- package/dist/template/.opencode/memory/_templates/state.md +1 -1
- package/dist/template/.opencode/memory/project/gotchas.md +4 -4
- package/dist/template/.opencode/memory/project/project.md +2 -2
- package/dist/template/.opencode/memory/project/roadmap.md +1 -1
- package/dist/template/.opencode/memory/project/state.md +2 -2
- package/dist/template/.opencode/memory/project/tech-stack.md +2 -2
- package/dist/template/.opencode/memory/session-context.md +1 -1
- package/dist/template/.opencode/opencode.json +14 -152
- package/dist/template/.opencode/plugin/README.md +2 -2
- package/dist/template/.opencode/plugin/guard.ts +62 -0
- package/dist/template/.opencode/plugin/{lib/memory-admin-tools.ts → memory/admin.ts} +4 -4
- package/dist/template/.opencode/plugin/{lib → memory}/capture.ts +1 -1
- package/dist/template/.opencode/plugin/{lib → memory}/compile.ts +2 -2
- package/dist/template/.opencode/plugin/{lib → memory}/context.ts +1 -1
- package/dist/template/.opencode/plugin/{lib → memory}/curator.ts +1 -1
- package/dist/template/.opencode/plugin/{lib → memory}/db/observations.ts +102 -3
- package/dist/template/.opencode/plugin/{lib → memory}/db/schema.ts +43 -1
- package/dist/template/.opencode/plugin/{lib → memory}/db/types.ts +22 -0
- package/dist/template/.opencode/plugin/{lib/memory-db.ts → memory/db.ts} +1 -1
- package/dist/template/.opencode/plugin/{lib → memory}/distill.ts +1 -1
- package/dist/template/.opencode/plugin/{lib/memory-helpers.ts → memory/helpers.ts} +5 -1
- package/dist/template/.opencode/plugin/{lib/memory-hooks.ts → memory/hooks.ts} +1 -1
- package/dist/template/.opencode/plugin/{lib → memory}/index-generator.ts +2 -2
- package/dist/template/.opencode/plugin/{lib → memory}/inject.ts +1 -1
- package/dist/template/.opencode/plugin/{lib → memory}/lint.ts +2 -2
- package/dist/template/.opencode/plugin/memory/tools.ts +322 -0
- package/dist/template/.opencode/plugin/{lib → memory}/validate.ts +2 -2
- package/dist/template/.opencode/plugin/memory.ts +7 -17
- package/dist/template/.opencode/plugin/srcwalk.ts +721 -0
- package/dist/template/.opencode/skill/agent-code-quality-gate/SKILL.md +98 -0
- package/dist/template/.opencode/skill/behavioral-kernel/SKILL.md +52 -0
- package/dist/template/.opencode/skill/brainstorming/SKILL.md +1 -1
- package/dist/template/.opencode/skill/browser-testing-with-devtools/SKILL.md +85 -0
- package/dist/template/.opencode/skill/code-cleanup/SKILL.md +114 -0
- package/dist/template/.opencode/skill/code-navigation/SKILL.md +142 -0
- package/dist/template/.opencode/skill/code-review-and-quality/SKILL.md +131 -0
- package/dist/template/.opencode/skill/context-engineering/SKILL.md +1 -1
- package/dist/template/.opencode/skill/debugging-and-error-recovery/SKILL.md +109 -0
- package/dist/template/.opencode/skill/deep-module-design/SKILL.md +207 -0
- package/dist/template/.opencode/skill/development-lifecycle/SKILL.md +26 -45
- package/dist/template/.opencode/skill/gemini-large-context/SKILL.md +4 -4
- package/dist/template/.opencode/skill/git-workflow-and-versioning/SKILL.md +77 -0
- package/dist/template/.opencode/skill/grill-me/SKILL.md +140 -0
- package/dist/template/.opencode/skill/memory-system/SKILL.md +9 -10
- package/dist/template/.opencode/skill/opensrc/references/example-workflow.md +1 -1
- package/dist/template/.opencode/skill/planning-and-task-breakdown/SKILL.md +116 -0
- package/dist/template/.opencode/skill/shipping-and-launch/SKILL.md +95 -0
- package/dist/template/.opencode/skill/source-driven-development/SKILL.md +103 -0
- package/dist/template/.opencode/skill/spec-driven-development/SKILL.md +121 -0
- package/dist/template/.opencode/skill/srcwalk/SKILL.md +161 -0
- package/dist/template/.opencode/skill/subagent-driven-development/SKILL.md +1 -1
- package/dist/template/.opencode/skill/ubiquitous-language/SKILL.md +184 -0
- package/dist/template/.opencode/skill/using-git-worktrees/SKILL.md +6 -6
- package/dist/template/.opencode/skill/verification-before-completion/SKILL.md +6 -6
- package/dist/template/.opencode/skill/verification-before-completion/references/VERIFICATION_PROTOCOL.md +5 -5
- package/package.json +76 -76
- package/dist/template/.opencode/AGENT_ALIGNMENT.md +0 -564
- package/dist/template/.opencode/agent/painter.md +0 -83
- package/dist/template/.opencode/command/compound.md +0 -240
- package/dist/template/.opencode/command/curate.md +0 -299
- package/dist/template/.opencode/command/handoff.md +0 -149
- package/dist/template/.opencode/command/health.md +0 -356
- package/dist/template/.opencode/command/init-context.md +0 -297
- package/dist/template/.opencode/command/init-user.md +0 -125
- package/dist/template/.opencode/command/iterate.md +0 -200
- package/dist/template/.opencode/command/lfg.md +0 -173
- package/dist/template/.opencode/command/resume.md +0 -78
- package/dist/template/.opencode/command/status.md +0 -126
- package/dist/template/.opencode/command/ui-slop-check.md +0 -169
- package/dist/template/.opencode/plans/1768385996691-silent-wizard.md +0 -247
- package/dist/template/.opencode/plans/1770006237537-mighty-otter.md +0 -418
- package/dist/template/.opencode/plans/1770006913647-glowing-forest.md +0 -170
- package/dist/template/.opencode/plans/1770013678126-witty-planet.md +0 -278
- package/dist/template/.opencode/plans/1770112267595-shiny-rocket.md +0 -258
- package/dist/template/.opencode/plans/swarm-protocol.md +0 -123
- package/dist/template/.opencode/plugin/lib/memory-tools.ts +0 -535
- package/dist/template/.opencode/skill/agent-evals/SKILL.md +0 -208
- package/dist/template/.opencode/skill/anti-ai-slop/SKILL.md +0 -76
- package/dist/template/.opencode/skill/augment-context-engine/SKILL.md +0 -122
- package/dist/template/.opencode/skill/augment-context-engine/mcp.json +0 -6
- package/dist/template/.opencode/skill/beads/SKILL.md +0 -182
- package/dist/template/.opencode/skill/beads/references/BEST_PRACTICES.md +0 -27
- package/dist/template/.opencode/skill/beads/references/BOUNDARIES.md +0 -219
- package/dist/template/.opencode/skill/beads/references/DEPENDENCIES.md +0 -124
- package/dist/template/.opencode/skill/beads/references/EXAMPLES.md +0 -45
- package/dist/template/.opencode/skill/beads/references/FILE_CLAIMING.md +0 -101
- package/dist/template/.opencode/skill/beads/references/GIT_SYNC.md +0 -25
- package/dist/template/.opencode/skill/beads/references/HIERARCHY.md +0 -71
- package/dist/template/.opencode/skill/beads/references/MULTI_AGENT.md +0 -40
- package/dist/template/.opencode/skill/beads/references/RESUMABILITY.md +0 -177
- package/dist/template/.opencode/skill/beads/references/SESSION_PROTOCOL.md +0 -61
- package/dist/template/.opencode/skill/beads/references/TASK_CREATION.md +0 -38
- package/dist/template/.opencode/skill/beads/references/TROUBLESHOOTING.md +0 -38
- package/dist/template/.opencode/skill/beads/references/WORKFLOWS.md +0 -226
- package/dist/template/.opencode/skill/brand-asset-protocol/SKILL.md +0 -222
- package/dist/template/.opencode/skill/code-search-patterns/SKILL.md +0 -224
- package/dist/template/.opencode/skill/code-simplification/SKILL.md +0 -211
- package/dist/template/.opencode/skill/context-condensation/SKILL.md +0 -149
- package/dist/template/.opencode/skill/context-initialization/SKILL.md +0 -69
- package/dist/template/.opencode/skill/context-management/SKILL.md +0 -390
- package/dist/template/.opencode/skill/deep-research/SKILL.md +0 -384
- package/dist/template/.opencode/skill/design-direction-advisor/SKILL.md +0 -139
- package/dist/template/.opencode/skill/dispatching-parallel-agents/SKILL.md +0 -191
- package/dist/template/.opencode/skill/executing-plans/SKILL.md +0 -247
- package/dist/template/.opencode/skill/figma-go/SKILL.md +0 -65
- package/dist/template/.opencode/skill/finishing-a-development-branch/SKILL.md +0 -357
- package/dist/template/.opencode/skill/full-output-enforcement/SKILL.md +0 -62
- package/dist/template/.opencode/skill/gh-address-comments/SKILL.md +0 -29
- package/dist/template/.opencode/skill/gh-address-comments/scripts/fetch_comments.py +0 -237
- package/dist/template/.opencode/skill/gh-fix-ci/SKILL.md +0 -38
- package/dist/template/.opencode/skill/gh-fix-ci/scripts/inspect_pr_checks.py +0 -509
- package/dist/template/.opencode/skill/hi-fi-prototype-html/SKILL.md +0 -253
- package/dist/template/.opencode/skill/html-deck-export/SKILL.md +0 -189
- package/dist/template/.opencode/skill/index-knowledge/SKILL.md +0 -413
- package/dist/template/.opencode/skill/memory-grounding/SKILL.md +0 -68
- package/dist/template/.opencode/skill/playwriter/SKILL.md +0 -158
- package/dist/template/.opencode/skill/portless/SKILL.md +0 -109
- package/dist/template/.opencode/skill/prd/SKILL.md +0 -146
- package/dist/template/.opencode/skill/prd-task/SKILL.md +0 -182
- package/dist/template/.opencode/skill/prd-task/references/prd-schema.json +0 -124
- package/dist/template/.opencode/skill/prompt-leverage/SKILL.md +0 -90
- package/dist/template/.opencode/skill/prompt-leverage/references/framework.md +0 -91
- package/dist/template/.opencode/skill/prompt-leverage/scripts/augment_prompt.py +0 -157
- package/dist/template/.opencode/skill/receiving-code-review/SKILL.md +0 -263
- package/dist/template/.opencode/skill/reconcile/SKILL.md +0 -183
- package/dist/template/.opencode/skill/reflection-checkpoints/SKILL.md +0 -183
- package/dist/template/.opencode/skill/requesting-code-review/SKILL.md +0 -443
- package/dist/template/.opencode/skill/requesting-code-review/references/specialist-profiles.md +0 -108
- package/dist/template/.opencode/skill/requesting-code-review/review.md +0 -160
- package/dist/template/.opencode/skill/rtk-command-compression/SKILL.md +0 -134
- package/dist/template/.opencode/skill/screenshot/SKILL.md +0 -48
- package/dist/template/.opencode/skill/screenshot/scripts/ensure_macos_permissions.sh +0 -54
- package/dist/template/.opencode/skill/screenshot/scripts/macos_display_info.swift +0 -22
- package/dist/template/.opencode/skill/screenshot/scripts/macos_permissions.swift +0 -40
- package/dist/template/.opencode/skill/screenshot/scripts/macos_window_info.swift +0 -126
- package/dist/template/.opencode/skill/screenshot/scripts/take_screenshot.ps1 +0 -163
- package/dist/template/.opencode/skill/screenshot/scripts/take_screenshot.py +0 -585
- package/dist/template/.opencode/skill/security-threat-model/SKILL.md +0 -36
- package/dist/template/.opencode/skill/security-threat-model/references/prompt-template.md +0 -255
- package/dist/template/.opencode/skill/security-threat-model/references/security-controls-and-assets.md +0 -32
- package/dist/template/.opencode/skill/sharing-skills/SKILL.md +0 -214
- package/dist/template/.opencode/skill/skill-creator/SKILL.md +0 -181
- package/dist/template/.opencode/skill/skill-installer/SKILL.md +0 -58
- package/dist/template/.opencode/skill/skill-installer/scripts/github_utils.py +0 -21
- package/dist/template/.opencode/skill/skill-installer/scripts/install-skill-from-github.py +0 -313
- package/dist/template/.opencode/skill/skill-installer/scripts/list-skills.py +0 -106
- package/dist/template/.opencode/skill/swarm-coordination/SKILL.md +0 -244
- package/dist/template/.opencode/skill/swarm-coordination/references/architecture.md +0 -39
- package/dist/template/.opencode/skill/swarm-coordination/references/delegation-worker-protocol.md +0 -145
- package/dist/template/.opencode/skill/swarm-coordination/references/dependency-graph.md +0 -50
- package/dist/template/.opencode/skill/swarm-coordination/references/drift-check.md +0 -90
- package/dist/template/.opencode/skill/swarm-coordination/references/integration-beads.md +0 -20
- package/dist/template/.opencode/skill/swarm-coordination/references/launch-flow.md +0 -186
- package/dist/template/.opencode/skill/swarm-coordination/references/reconciler.md +0 -172
- package/dist/template/.opencode/skill/swarm-coordination/references/tier-enforcement.md +0 -78
- package/dist/template/.opencode/skill/swarm-coordination/references/tmux-integration.md +0 -134
- package/dist/template/.opencode/skill/systematic-debugging/SKILL.md +0 -402
- package/dist/template/.opencode/skill/terse-output-mode/SKILL.md +0 -95
- package/dist/template/.opencode/skill/think-in-code/SKILL.md +0 -136
- package/dist/template/.opencode/skill/ux-quality-gates/SKILL.md +0 -137
- package/dist/template/.opencode/skill/v1-run/SKILL.md +0 -175
- package/dist/template/.opencode/skill/v1-run/mcp.json +0 -6
- package/dist/template/.opencode/skill/verification-gates/SKILL.md +0 -63
- package/dist/template/.opencode/skill/visual-analysis/SKILL.md +0 -154
- package/dist/template/.opencode/skill/web-design-guidelines/SKILL.md +0 -46
- package/dist/template/.opencode/skill/workspace-setup/SKILL.md +0 -76
- package/dist/template/.opencode/skill/writing-plans/SKILL.md +0 -320
- /package/dist/template/.opencode/plugin/{lib → memory}/compact.ts +0 -0
- /package/dist/template/.opencode/plugin/{lib → memory}/db/graph.ts +0 -0
- /package/dist/template/.opencode/plugin/{lib → memory}/db/maintenance.ts +0 -0
- /package/dist/template/.opencode/plugin/{lib → memory}/db/pipeline.ts +0 -0
- /package/dist/template/.opencode/plugin/{lib → memory}/notify.ts +0 -0
- /package/dist/template/.opencode/plugin/{lib → memory}/operation-log.ts +0 -0
|
@@ -1,87 +1,98 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/Opencode-DCP/opencode-dynamic-context-pruning/master/dcp.schema.json",
|
|
3
|
+
"enabled": true,
|
|
4
|
+
// Disable auto-update for config stability — update explicitly when pinning new versions.
|
|
5
|
+
// v3.1.10+ auto-update is mature; set true if you want rolling bug fixes.
|
|
6
|
+
"autoUpdate": false,
|
|
7
|
+
"debug": false,
|
|
8
|
+
// "off" | "minimal" | "detailed" — keep minimal for low-noise dev flow
|
|
9
|
+
"pruneNotification": "minimal",
|
|
10
|
+
// "chat" (in-conversation) or "toast" (system notification)
|
|
11
|
+
"pruneNotificationType": "toast",
|
|
12
|
+
// Slash commands: /dcp context, /dcp stats, /dcp sweep, /dcp compress,
|
|
13
|
+
// /dcp decompress, /dcp recompress, /dcp manual
|
|
14
|
+
"commands": {
|
|
15
|
+
"enabled": true,
|
|
16
|
+
// Additional tools to protect from /dcp sweep (supports glob wildcards)
|
|
17
|
+
"protectedTools": ["observation", "memory-*"],
|
|
18
|
+
},
|
|
19
|
+
// Manual mode: when enabled, tools only run via /dcp commands — no autonomous pruning
|
|
20
|
+
"manualMode": {
|
|
21
|
+
"enabled": false,
|
|
22
|
+
"automaticStrategies": true,
|
|
23
|
+
},
|
|
24
|
+
// Protect recent tool outputs from pruning
|
|
25
|
+
// Reasoning models (mimo, deepseek) need chain-of-thought context preserved
|
|
26
|
+
"turnProtection": {
|
|
27
|
+
"enabled": true,
|
|
28
|
+
"turns": 4,
|
|
29
|
+
},
|
|
30
|
+
// Glob patterns matched against tool parameters.filePath — keep tight
|
|
31
|
+
// Broad patterns reduce DCP effectiveness
|
|
32
|
+
"protectedFilePatterns": [
|
|
33
|
+
"**/.env*",
|
|
34
|
+
"**/AGENTS.md",
|
|
35
|
+
"**/opencode.json*",
|
|
36
|
+
"**/package.json",
|
|
37
|
+
"**/tsconfig.json",
|
|
38
|
+
],
|
|
39
|
+
"compress": {
|
|
40
|
+
// "range" (stable) compresses spans into block summaries
|
|
41
|
+
// "message" (experimental) compresses individual raw messages
|
|
42
|
+
"mode": "range",
|
|
43
|
+
// "allow" (no prompt) | "ask" (prompt) | "deny" (tool not registered)
|
|
44
|
+
"permission": "allow",
|
|
45
|
+
"showCompression": false,
|
|
46
|
+
// v3.1.0+: active summary tokens extend effective maxContextLimit
|
|
47
|
+
"summaryBuffer": true,
|
|
48
|
+
// Free tier effective limits: deepseek-v4-flash ~262K, mimo-v2.5 ~200K
|
|
49
|
+
// Using absolute token numbers (not percentages) since reported ctx (1M) ≠ effective ctx
|
|
50
|
+
// Soft upper threshold: above this, strong compression nudges fire
|
|
51
|
+
"maxContextLimit": 140000,
|
|
52
|
+
// Soft lower threshold: below this, turn/iteration reminders are off
|
|
53
|
+
"minContextLimit": 50000,
|
|
54
|
+
// Tighter nudge cadence — limited effective context fills fast on long sessions
|
|
55
|
+
"nudgeFrequency": 3,
|
|
56
|
+
// Messages since last user message before adding compression reminders
|
|
57
|
+
"iterationNudgeThreshold": 15,
|
|
58
|
+
// "strong" = more likely to compress, "soft" = less likely
|
|
59
|
+
// Soft keeps reasoning continuity for mimo — avoid abortive compression
|
|
60
|
+
"nudgeForce": "soft",
|
|
61
|
+
// Keep user messages compressible to avoid permanent context growth
|
|
62
|
+
"protectUserMessages": false,
|
|
63
|
+
// v3.1.11+: preserve text wrapped in <protect>...</protect> during compression
|
|
64
|
+
"protectTags": false,
|
|
65
|
+
// Per-model max context limits — absolute numbers tuned to free tier effective limits
|
|
66
|
+
"modelMaxLimits": {
|
|
67
|
+
"opencode/deepseek-v4-flash-free": 170000,
|
|
68
|
+
},
|
|
69
|
+
"modelMinLimits": {
|
|
70
|
+
"opencode/deepseek-v4-flash-free": 50000,
|
|
71
|
+
},
|
|
72
|
+
// Auto-protected by DCP: task, skill, todowrite, todoread, compress, batch,
|
|
73
|
+
// plan_enter, plan_exit, write, edit
|
|
74
|
+
// Only list ADDITIONAL tools whose outputs should be appended to compression summaries
|
|
75
|
+
"protectedTools": ["observation", "memory-*"],
|
|
76
|
+
},
|
|
77
|
+
"experimental": {
|
|
78
|
+
// Allow DCP processing in subagent sessions (default: false)
|
|
79
|
+
"allowSubAgents": false,
|
|
80
|
+
// Enable user-editable prompt overrides under dcp-prompts directories
|
|
81
|
+
"customPrompts": true,
|
|
82
|
+
},
|
|
83
|
+
// Automatic pruning strategies (zero LLM cost)
|
|
84
|
+
"strategies": {
|
|
85
|
+
// Removes duplicate tool calls (same tool + same arguments), keeps most recent
|
|
86
|
+
"deduplication": {
|
|
87
|
+
"enabled": true,
|
|
88
|
+
"protectedTools": [],
|
|
89
|
+
},
|
|
90
|
+
// Prunes inputs from errored tool calls after N turns (error messages preserved)
|
|
91
|
+
// Aggressive: 2 turns — errors waste precious effective context
|
|
92
|
+
"purgeErrors": {
|
|
93
|
+
"enabled": true,
|
|
94
|
+
"turns": 2,
|
|
95
|
+
"protectedTools": [],
|
|
96
|
+
},
|
|
97
|
+
},
|
|
87
98
|
}
|
|
@@ -38,11 +38,9 @@ memory/
|
|
|
38
38
|
|
|
39
39
|
| Tool | Purpose |
|
|
40
40
|
| ------------------- | --------------------------------------------- |
|
|
41
|
-
| `observation()` | Write structured observations to SQLite
|
|
42
|
-
| `memory-search()` | FTS5 full-text search (returns compact index) |
|
|
43
|
-
| `memory-
|
|
44
|
-
| `memory-timeline()` | Get chronological context around anchor |
|
|
45
|
-
| `memory-update()` | Update markdown files in memory |
|
|
41
|
+
| `observation()` | Write structured observations to SQLite or give feedback on existing ones |
|
|
42
|
+
| `memory-search()` | FTS5 full-text search (returns compact index) or read memory files by path |
|
|
43
|
+
| `memory-admin()` | Memory system administration: maintenance, migration, lint, compile, index |
|
|
46
44
|
|
|
47
45
|
## PARA Categories
|
|
48
46
|
|
|
@@ -76,7 +74,7 @@ memory/
|
|
|
76
74
|
### Session End
|
|
77
75
|
|
|
78
76
|
1. Summary appended to `daily/YYYY-MM-DD.md`
|
|
79
|
-
2.
|
|
77
|
+
2. Plan files in `.opencode/artifacts/<slug>/` are git-tracked — commit changes when closing a session
|
|
80
78
|
|
|
81
79
|
## Philosophy
|
|
82
80
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# ADR: [short title of decision]
|
|
2
|
+
|
|
3
|
+
**Status:** [proposed | accepted | deprecated | superseded]
|
|
4
|
+
**Date:** [YYYY-MM-DD]
|
|
5
|
+
**Context:** [bead-id, issue/Linear ticket, or session reference]
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What is the problem we are solving? What forces are at play? What constraints do we have?
|
|
10
|
+
|
|
11
|
+
## Decision
|
|
12
|
+
|
|
13
|
+
What did we decide to do? Be specific. This is the answer to the problem stated above.
|
|
14
|
+
|
|
15
|
+
## Rationale
|
|
16
|
+
|
|
17
|
+
Why this approach over the alternatives? What evidence or reasoning supports this decision?
|
|
18
|
+
|
|
19
|
+
## Consequences
|
|
20
|
+
|
|
21
|
+
What becomes easier or harder because of this decision? What tradeoffs did we accept?
|
|
22
|
+
|
|
23
|
+
### Positive
|
|
24
|
+
|
|
25
|
+
- [benefit 1]
|
|
26
|
+
- [benefit 2]
|
|
27
|
+
|
|
28
|
+
### Negative
|
|
29
|
+
|
|
30
|
+
- [cost / risk 1]
|
|
31
|
+
- [cost / risk 2]
|
|
32
|
+
|
|
33
|
+
## Alternatives Considered
|
|
34
|
+
|
|
35
|
+
### Alternative 1: [name]
|
|
36
|
+
|
|
37
|
+
Pros/cons and why it was rejected.
|
|
38
|
+
|
|
39
|
+
### Alternative 2: [name]
|
|
40
|
+
|
|
41
|
+
Pros/cons and why it was rejected.
|
|
42
|
+
|
|
43
|
+
## Notes
|
|
44
|
+
|
|
45
|
+
- [Anything else? Links to related ADRs, PRDs, specs?]
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
```yaml
|
|
17
17
|
depends_on: [] # Bead IDs that must complete before this one
|
|
18
|
-
parallel: true # Can run concurrently with other parallel
|
|
18
|
+
parallel: true # Can run concurrently with other parallel tasks
|
|
19
19
|
conflicts_with: [] # Bead IDs that modify same files (cannot parallelize)
|
|
20
20
|
blocks: [] # Bead IDs waiting on this one
|
|
21
21
|
estimated_hours: 2 # Time estimate for planning
|
|
@@ -53,7 +53,7 @@ The edit tool (`str_replace`) is the #1 source of failures in LLM coding. Models
|
|
|
53
53
|
## Memory System
|
|
54
54
|
|
|
55
55
|
- Subagents (explore, scout, review) should NOT write to memory - only leader agents
|
|
56
|
-
- Use `observation: false`
|
|
56
|
+
- Use `observation: false` in agent configs to enforce
|
|
57
57
|
|
|
58
58
|
## Build System
|
|
59
59
|
|
|
@@ -61,7 +61,7 @@ The edit tool (`str_replace`) is the #1 source of failures in LLM coding. Models
|
|
|
61
61
|
- Build copies `.opencode/` to `dist/template/` via rsync
|
|
62
62
|
- Run `npm run build` to regenerate
|
|
63
63
|
|
|
64
|
-
##
|
|
64
|
+
## Plans
|
|
65
65
|
|
|
66
|
-
- Only leader agents (build, plan) should modify
|
|
67
|
-
- Subagents read
|
|
66
|
+
- Only leader agents (build, plan) should modify plan files in `.opencode/artifacts/<slug>/`
|
|
67
|
+
- Subagents read plan files, report findings back
|
|
@@ -17,7 +17,7 @@ OpenCodeKit (`ock`) enables developers to bootstrap AI-assisted development envi
|
|
|
17
17
|
- [ ] Generated projects include all essential files (AGENTS.md, skills, commands, memory)
|
|
18
18
|
- [ ] 100% of generated templates pass validation (typecheck, lint)
|
|
19
19
|
- [ ] Templates are customizable through CLI prompts or config
|
|
20
|
-
- [ ] Integration with
|
|
20
|
+
- [ ] Integration with artifacts for task tracking works out-of-the-box
|
|
21
21
|
|
|
22
22
|
## Target Users
|
|
23
23
|
|
|
@@ -49,7 +49,7 @@ OpenCodeKit (`ock`) enables developers to bootstrap AI-assisted development envi
|
|
|
49
49
|
- **CLI Framework:** cac
|
|
50
50
|
- **UI Prompts:** @clack/prompts
|
|
51
51
|
- **Validation:** zod
|
|
52
|
-
- **Task Tracking:**
|
|
52
|
+
- **Task Tracking:** `.opencode/artifacts/` - Per-feature task tracking with `<slug>/{spec,plan,progress,research}.md`
|
|
53
53
|
|
|
54
54
|
## Current Phase
|
|
55
55
|
|
|
@@ -52,7 +52,7 @@ updated: 2026-02-12
|
|
|
52
52
|
|
|
53
53
|
- Target: solo developers and teams
|
|
54
54
|
- Key differentiator: validated, ready-to-use templates
|
|
55
|
-
- Integration with
|
|
55
|
+
- Integration with artifacts for task tracking
|
|
56
56
|
|
|
57
57
|
### Process
|
|
58
58
|
|
|
@@ -65,7 +65,7 @@ updated: 2026-02-12
|
|
|
65
65
|
1. [ ] Define plugin system architecture
|
|
66
66
|
2. [ ] Design custom template API
|
|
67
67
|
3. [ ] Create Scale phase implementation plan
|
|
68
|
-
4. [ ] Identify Scale phase
|
|
68
|
+
4. [ ] Identify Scale phase tasks
|
|
69
69
|
|
|
70
70
|
## Session Handoff
|
|
71
71
|
|
|
@@ -18,7 +18,7 @@ This file is automatically injected into ALL AI prompts via `opencode.json` inst
|
|
|
18
18
|
- **CLI Framework:** cac (^6.7.14) - Command-line argument parsing
|
|
19
19
|
- **UI Prompts:** @clack/prompts (^0.7.0) - Interactive CLI prompts
|
|
20
20
|
- **Validation:** zod (^3.25.76) - Schema validation
|
|
21
|
-
- **Task Tracking:**
|
|
21
|
+
- **Task Tracking:** `.opencode/artifacts/` - Per-feature task tracking with `<slug>/{spec,plan,progress,research}.md`
|
|
22
22
|
- **AI SDK:** @ai-sdk/provider (^3.0.6) - AI provider integration
|
|
23
23
|
|
|
24
24
|
## Build & Tools
|
|
@@ -45,7 +45,7 @@ This file is automatically injected into ALL AI prompts via `opencode.json` inst
|
|
|
45
45
|
## Active Integrations
|
|
46
46
|
|
|
47
47
|
- **OpenCode AI:** @opencode-ai/plugin (^1.1.12) - OpenCode integration
|
|
48
|
-
- **
|
|
48
|
+
- **File Tracking:** `.opencode/artifacts/` - Per-feature task tracking with `<slug>/{spec,plan,progress,research}.md`
|
|
49
49
|
|
|
50
50
|
---
|
|
51
51
|
|
|
@@ -6,7 +6,7 @@ updated: 2025-01-08
|
|
|
6
6
|
# Session Context
|
|
7
7
|
|
|
8
8
|
<!--
|
|
9
|
-
Agent-maintained via
|
|
9
|
+
Agent-maintained via observation tool.
|
|
10
10
|
Update when: goal changes, key decision made, state shifts, uncertainty discovered.
|
|
11
11
|
After compaction: read this file, ask 1-3 targeted questions if gaps exist.
|
|
12
12
|
-->
|
|
@@ -4,64 +4,45 @@
|
|
|
4
4
|
"agent": {
|
|
5
5
|
"build": {
|
|
6
6
|
"description": "Primary development agent with full codebase access",
|
|
7
|
-
"model": "
|
|
7
|
+
"model": "opencode/deepseek-v4-flash-free"
|
|
8
8
|
},
|
|
9
9
|
"compaction": {
|
|
10
10
|
"description": "Session summarizer for context continuity across compactions"
|
|
11
11
|
},
|
|
12
12
|
"explore": {
|
|
13
13
|
"description": "Fast codebase search specialist",
|
|
14
|
-
"model": "
|
|
14
|
+
"model": "opencode/deepseek-v4-flash-free"
|
|
15
15
|
},
|
|
16
16
|
"general": {
|
|
17
17
|
"description": "General-purpose subagent for fast, well-defined tasks; delegates complexity quickly",
|
|
18
|
-
"model": "
|
|
19
|
-
},
|
|
20
|
-
"painter": {
|
|
21
|
-
"description": "Image generation and editing specialist using Gemini 3 Pro Image. Use for creating UI mockups, app icons, hero images, visual assets, and editing/redacting existing images",
|
|
22
|
-
"model": "proxypal/gemini-3.1-flash-image"
|
|
18
|
+
"model": "opencode/deepseek-v4-flash-free"
|
|
23
19
|
},
|
|
24
20
|
"plan": {
|
|
25
21
|
"description": "Primary planning agent for architecture and multi-phase execution",
|
|
26
|
-
"model": "
|
|
22
|
+
"model": "opencode/mimo-v2.5-free"
|
|
27
23
|
},
|
|
28
24
|
"review": {
|
|
29
25
|
"description": "Code review, debugging, and security audit specialist",
|
|
30
|
-
"model": "
|
|
26
|
+
"model": "opencode/deepseek-v4-flash-free"
|
|
31
27
|
},
|
|
32
28
|
"scout": {
|
|
33
29
|
"description": "External research specialist for library docs and patterns",
|
|
34
|
-
"model": "
|
|
30
|
+
"model": "opencode/deepseek-v4-flash-free"
|
|
35
31
|
},
|
|
36
32
|
"vision": {
|
|
37
33
|
"description": "Visual content specialist for multimodal analysis and UI/UX guidance",
|
|
38
|
-
"model": "
|
|
34
|
+
"model": "opencode/mimo-v2.5-free"
|
|
39
35
|
}
|
|
40
36
|
},
|
|
41
37
|
"autoupdate": false,
|
|
42
38
|
"compaction": {
|
|
43
39
|
"auto": true,
|
|
44
|
-
"reserved":
|
|
40
|
+
"reserved": 4096
|
|
45
41
|
},
|
|
46
42
|
"formatter": {
|
|
47
|
-
"
|
|
48
|
-
"command": ["npx", "
|
|
49
|
-
"extensions": [".js", ".jsx", ".ts", ".tsx", ".json", ".jsonc"]
|
|
50
|
-
},
|
|
51
|
-
"cargo-fmt": {
|
|
52
|
-
"command": ["cargo", "fmt", "--", "$FILE"],
|
|
53
|
-
"extensions": [".rs"]
|
|
54
|
-
},
|
|
55
|
-
"java-formatter": {
|
|
56
|
-
"command": ["google-java-format", "--replace", "$FILE"],
|
|
57
|
-
"environment": {
|
|
58
|
-
"JAVA_HOME": "{env:JAVA_HOME}"
|
|
59
|
-
},
|
|
60
|
-
"extensions": [".java"]
|
|
61
|
-
},
|
|
62
|
-
"laravel-pint": {
|
|
63
|
-
"command": ["npx", "laravel-pint", "--preset", "psr12", "$FILE"],
|
|
64
|
-
"extensions": [".php"]
|
|
43
|
+
"oxfmt": {
|
|
44
|
+
"command": ["npx", "oxfmt", "$FILE"],
|
|
45
|
+
"extensions": [".js", ".jsx", ".ts", ".tsx", ".json", ".jsonc", ".cjs", ".mjs", ".mts"]
|
|
65
46
|
}
|
|
66
47
|
},
|
|
67
48
|
"instructions": [
|
|
@@ -91,7 +72,7 @@
|
|
|
91
72
|
"type": "local"
|
|
92
73
|
}
|
|
93
74
|
},
|
|
94
|
-
"model": "
|
|
75
|
+
"model": "opencode/mimo-v2.5-free",
|
|
95
76
|
"permission": {
|
|
96
77
|
"bash": {
|
|
97
78
|
"*": "allow",
|
|
@@ -134,12 +115,7 @@
|
|
|
134
115
|
"*token*": "deny"
|
|
135
116
|
}
|
|
136
117
|
},
|
|
137
|
-
"plugin": [
|
|
138
|
-
"@tarquinen/opencode-dcp@latest",
|
|
139
|
-
"@franlol/opencode-md-table-formatter@0.0.3",
|
|
140
|
-
"openslimedit@latest",
|
|
141
|
-
"opencodex-fast@latest"
|
|
142
|
-
],
|
|
118
|
+
"plugin": ["@tarquinen/opencode-dcp@latest", "openslimedit@latest", "opencodex-fast@latest"],
|
|
143
119
|
"provider": {
|
|
144
120
|
"github-copilot": {
|
|
145
121
|
"models": {
|
|
@@ -451,113 +427,6 @@
|
|
|
451
427
|
"timeout": 600000
|
|
452
428
|
}
|
|
453
429
|
},
|
|
454
|
-
"openai": {
|
|
455
|
-
"models": {
|
|
456
|
-
"gpt-5.2": {
|
|
457
|
-
"variants": {
|
|
458
|
-
"fast": {
|
|
459
|
-
"disabled": true
|
|
460
|
-
},
|
|
461
|
-
"high": {
|
|
462
|
-
"include": ["reasoning.encrypted_content"],
|
|
463
|
-
"reasoningEffort": "high",
|
|
464
|
-
"reasoningSummary": "auto",
|
|
465
|
-
"textVerbosity": "low"
|
|
466
|
-
},
|
|
467
|
-
"medium": {
|
|
468
|
-
"include": ["reasoning.encrypted_content"],
|
|
469
|
-
"reasoningEffort": "medium",
|
|
470
|
-
"reasoningSummary": "auto",
|
|
471
|
-
"textVerbosity": "low"
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
},
|
|
475
|
-
"gpt-5.2-codex": {
|
|
476
|
-
"variants": {
|
|
477
|
-
"fast": {
|
|
478
|
-
"disabled": true
|
|
479
|
-
},
|
|
480
|
-
"high": {
|
|
481
|
-
"include": ["reasoning.encrypted_content"],
|
|
482
|
-
"reasoningEffort": "high",
|
|
483
|
-
"reasoningSummary": "auto",
|
|
484
|
-
"textVerbosity": "low"
|
|
485
|
-
},
|
|
486
|
-
"medium": {
|
|
487
|
-
"include": ["reasoning.encrypted_content"],
|
|
488
|
-
"reasoningEffort": "medium",
|
|
489
|
-
"reasoningSummary": "auto",
|
|
490
|
-
"textVerbosity": "low"
|
|
491
|
-
},
|
|
492
|
-
"xhigh": {
|
|
493
|
-
"include": ["reasoning.encrypted_content"],
|
|
494
|
-
"reasoningEffort": "xhigh",
|
|
495
|
-
"reasoningSummary": "auto",
|
|
496
|
-
"textVerbosity": "low"
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
"gpt-5.3-codex": {
|
|
501
|
-
"variants": {
|
|
502
|
-
"fast": {
|
|
503
|
-
"disabled": true
|
|
504
|
-
},
|
|
505
|
-
"high": {
|
|
506
|
-
"include": ["reasoning.encrypted_content"],
|
|
507
|
-
"reasoningEffort": "high",
|
|
508
|
-
"reasoningSummary": "auto",
|
|
509
|
-
"textVerbosity": "low"
|
|
510
|
-
},
|
|
511
|
-
"medium": {
|
|
512
|
-
"include": ["reasoning.encrypted_content"],
|
|
513
|
-
"reasoningEffort": "medium",
|
|
514
|
-
"reasoningSummary": "auto",
|
|
515
|
-
"textVerbosity": "low"
|
|
516
|
-
},
|
|
517
|
-
"xhigh": {
|
|
518
|
-
"include": ["reasoning.encrypted_content"],
|
|
519
|
-
"reasoningEffort": "xhigh",
|
|
520
|
-
"reasoningSummary": "auto",
|
|
521
|
-
"textVerbosity": "low"
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
},
|
|
525
|
-
"gpt-5.4": {
|
|
526
|
-
"attachment": true,
|
|
527
|
-
"limit": {
|
|
528
|
-
"context": 400000,
|
|
529
|
-
"output": 128000
|
|
530
|
-
},
|
|
531
|
-
"modalities": {
|
|
532
|
-
"input": ["text", "image"],
|
|
533
|
-
"output": ["text"]
|
|
534
|
-
},
|
|
535
|
-
"options": {
|
|
536
|
-
"reasoningEffort": "medium",
|
|
537
|
-
"reasoningSummary": "auto",
|
|
538
|
-
"textVerbosity": "medium"
|
|
539
|
-
},
|
|
540
|
-
"reasoning": true,
|
|
541
|
-
"temperature": true,
|
|
542
|
-
"tool_call": true,
|
|
543
|
-
"variants": {
|
|
544
|
-
"high": {
|
|
545
|
-
"include": ["reasoning.encrypted_content"],
|
|
546
|
-
"reasoningEffort": "high",
|
|
547
|
-
"reasoningSummary": "auto"
|
|
548
|
-
},
|
|
549
|
-
"low": {
|
|
550
|
-
"reasoningEffort": "low",
|
|
551
|
-
"reasoningSummary": "auto"
|
|
552
|
-
},
|
|
553
|
-
"medium": {
|
|
554
|
-
"reasoningEffort": "medium",
|
|
555
|
-
"reasoningSummary": "auto"
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
430
|
"proxypal": {
|
|
562
431
|
"models": {
|
|
563
432
|
"claude-opus-4.6": {
|
|
@@ -814,13 +683,6 @@
|
|
|
814
683
|
"share": "manual",
|
|
815
684
|
"small_model": "opencode/gpt-5-nano",
|
|
816
685
|
"watcher": {
|
|
817
|
-
"ignore": [
|
|
818
|
-
"node_modules/**",
|
|
819
|
-
".git/**",
|
|
820
|
-
"dist/**",
|
|
821
|
-
"build/**",
|
|
822
|
-
"*.log",
|
|
823
|
-
".DS_Store"
|
|
824
|
-
]
|
|
686
|
+
"ignore": ["node_modules/**", ".git/**", "dist/**", "build/**", "*.log", ".DS_Store"]
|
|
825
687
|
}
|
|
826
688
|
}
|
|
@@ -41,8 +41,8 @@ plugin/
|
|
|
41
41
|
- Curates observations from distillations via pattern matching
|
|
42
42
|
- Injects relevant knowledge into system prompt (BM25 _ recency _ confidence scoring)
|
|
43
43
|
- Manages context window via messages.transform (token budget enforcement)
|
|
44
|
-
- Merges compaction logic (
|
|
45
|
-
- Provides
|
|
44
|
+
- Merges compaction logic (plans, handoffs, project memory, knowledge)
|
|
45
|
+
- Provides 3 tools: observation, memory-search, memory-admin
|
|
46
46
|
|
|
47
47
|
- `sessions.ts`
|
|
48
48
|
- Provides tools: `find_sessions`, `read_session`
|