opencode-team-lead 0.2.0 → 0.2.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.
Files changed (3) hide show
  1. package/README.md +7 -1
  2. package/index.js +3 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -14,7 +14,10 @@ Add to your OpenCode config:
14
14
  ```jsonc
15
15
  // opencode.json
16
16
  {
17
- "plugin": ["opencode-team-lead@latest"]
17
+ "plugin": [
18
+ "opencode-team-lead@latest",
19
+ "@tarquinen/opencode-dcp@latest"
20
+ ]
18
21
  }
19
22
  ```
20
23
 
@@ -22,6 +25,8 @@ Using `@latest` ensures you always get the newest version automatically when Ope
22
25
 
23
26
  Restart OpenCode. The plugin will automatically install and register the team-lead agent.
24
27
 
28
+ The team-lead relies on [`opencode-dynamic-context-pruning`](https://github.com/Opencode-DCP/opencode-dynamic-context-pruning) for context window management. The DCP plugin provides `distill`, `prune`, and `compress` tools that the agent uses to condense verbose outputs and discard irrelevant tool calls — keeping the context clean across long sessions.
29
+
25
30
  ## The team-lead agent
26
31
 
27
32
  The team-lead never touches code directly. It:
@@ -50,6 +55,7 @@ The agent has a minimal permission set:
50
55
  | `todowrite` / `todoread` | allow |
51
56
  | `skill` | allow |
52
57
  | `question` | allow |
58
+ | `distill` / `prune` / `compress` | allow |
53
59
  | `memoai_*` | allow |
54
60
  | `sequential-thinking_*` | allow |
55
61
  | `bash` (git only) | allow |
package/index.js CHANGED
@@ -43,6 +43,9 @@ export const TeamLeadPlugin = async ({ directory, worktree }) => {
43
43
  skill: "allow",
44
44
  task: "allow",
45
45
  question: "allow",
46
+ distill: "allow",
47
+ prune: "allow",
48
+ compress: "allow",
46
49
  "memoai_*": "allow",
47
50
  "sequential-thinking_*": "allow",
48
51
  bash: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-team-lead",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Team-lead orchestrator agent for opencode — delegates work, reviews quality, manages context",
5
5
  "type": "module",
6
6
  "main": "index.js",