opencodekit 0.15.8 → 0.15.9
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/dcp.jsonc +27 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -750,7 +750,7 @@ var cac = (name = "") => new CAC(name);
|
|
|
750
750
|
// package.json
|
|
751
751
|
var package_default = {
|
|
752
752
|
name: "opencodekit",
|
|
753
|
-
version: "0.15.
|
|
753
|
+
version: "0.15.9",
|
|
754
754
|
description: "CLI tool for bootstrapping and managing OpenCodeKit projects",
|
|
755
755
|
keywords: ["agents", "cli", "mcp", "opencode", "opencodekit", "template"],
|
|
756
756
|
license: "MIT",
|
|
@@ -1,28 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://unpkg.com/@anthropic/dynamic-context-protocol@1.2.7/schema.json",
|
|
2
3
|
"enabled": true,
|
|
3
4
|
"debug": false,
|
|
4
|
-
// "minimal" shows prune activity without noise; "
|
|
5
|
-
"pruneNotification": "
|
|
5
|
+
// "minimal" shows prune activity without noise; "detailed" shows token counts
|
|
6
|
+
"pruneNotification": "minimal",
|
|
6
7
|
"turnProtection": {
|
|
7
8
|
"enabled": true,
|
|
8
9
|
// 3 turns = faster cleanup while still protecting recent context
|
|
9
10
|
"turns": 3,
|
|
10
11
|
},
|
|
12
|
+
// Protected file patterns - never auto-prune reads of these files (v1.1.5+)
|
|
13
|
+
"protectedFilePatterns": [
|
|
14
|
+
"**/.env*",
|
|
15
|
+
"**/AGENTS.md",
|
|
16
|
+
"**/.opencode/**",
|
|
17
|
+
"**/.beads/**",
|
|
18
|
+
"**/package.json",
|
|
19
|
+
"**/tsconfig.json",
|
|
20
|
+
"**/biome.json",
|
|
21
|
+
],
|
|
22
|
+
// Custom slash commands (v1.2.4+)
|
|
23
|
+
"commands": {
|
|
24
|
+
"sweep": {
|
|
25
|
+
"description": "Aggressive context cleanup",
|
|
26
|
+
"action": "prune",
|
|
27
|
+
"options": {
|
|
28
|
+
"aggressive": true,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
"context": {
|
|
32
|
+
"description": "Show context usage stats",
|
|
33
|
+
"action": "stats",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
11
36
|
"tools": {
|
|
12
37
|
"settings": {
|
|
13
38
|
"nudgeEnabled": true,
|
|
14
39
|
// Nudge every 8 tool calls (slightly more aggressive than default 10)
|
|
15
40
|
"nudgeFrequency": 8,
|
|
16
41
|
// Protect state-modifying and critical workflow tools
|
|
17
|
-
// Updated for v1.1.8: Added question tool, removed legacy bd_* (use CLI)
|
|
18
42
|
"protectedTools": [
|
|
19
43
|
"write",
|
|
20
44
|
"edit",
|
|
21
|
-
"question",
|
|
22
|
-
"memory-read",
|
|
23
45
|
"memory-update",
|
|
24
|
-
"memory-search",
|
|
25
|
-
"observation",
|
|
26
46
|
"skill",
|
|
27
47
|
"skill_mcp",
|
|
28
48
|
"task",
|
|
@@ -36,10 +56,6 @@
|
|
|
36
56
|
"lsp_lsp_code_actions",
|
|
37
57
|
"lsp_lsp_code_action_apply",
|
|
38
58
|
"lsp_lsp_organize_imports",
|
|
39
|
-
"bd-reserve",
|
|
40
|
-
"bd-release",
|
|
41
|
-
"bd-msg",
|
|
42
|
-
"bd-inbox",
|
|
43
59
|
],
|
|
44
60
|
},
|
|
45
61
|
"discard": {
|
package/package.json
CHANGED