@nail00749/agent-gvozd 0.1.0 → 0.1.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/README.md CHANGED
@@ -161,28 +161,38 @@ access to that ambiguous action is denied.
161
161
 
162
162
  ## Default capabilities
163
163
 
164
- The built-in team uses exact skill IDs and tool-level MCP permissions from the
165
- current OpenCode setup. Server-wide `mcp` grants remain empty by default because
166
- GitLab, GitNexus, and Playwright each expose actions that are too broad for at
167
- least one receiving role.
164
+ The built-in team uses exact skill IDs, a server-wide grant to the configured
165
+ Context7 documentation server where current library references help the role,
166
+ and tool-level MCP permissions for GitLab, GitNexus, and Playwright. Those
167
+ broader servers remain tool-scoped because each exposes actions that are too
168
+ broad for at least one receiving role.
169
+
170
+ The Context7 grant activates only when OpenCode already has an MCP server named
171
+ exactly `context7`. Gvozd grants access to that server; it does not install or
172
+ configure it, inspect its implementation, or constrain its individual tools.
173
+ Operators must trust that exact server identity and its advertised tool set.
168
174
 
169
175
  | Agents | Skills | MCP access |
170
176
  | --- | --- | --- |
171
- | `planner` | verification planning, ASCII UI review, GitNexus impact | GitNexus read-only |
172
- | `back-deep` | GitNexus impact and refactoring | GitNexus except group sync |
173
- | `front-fast` | modern web and interface polish | Playwright observation; interactions ask |
174
- | `front-deep` | frontend/layout skills plus GitNexus impact/refactoring | GitNexus except group sync; Playwright interactions ask |
175
- | `review-fast` | code review | read-only GitLab without CI variables |
176
- | `review-deep` | code review and GitNexus review/impact | read-only GitLab and GitNexus |
177
+ | `master` | none | none |
178
+ | `planner` | verification planning, ASCII UI review, GitNexus impact | Context7; GitNexus read-only |
179
+ | `back-fast` | none | Context7 |
180
+ | `back-deep` | GitNexus impact and refactoring | Context7; GitNexus except group sync |
181
+ | `front-fast` | modern web and interface polish | Context7; Playwright observation; interactions ask |
182
+ | `front-deep` | frontend/layout skills plus GitNexus impact/refactoring | Context7; GitNexus except group sync; Playwright interactions ask |
183
+ | `review-fast` | code review | Context7; read-only GitLab without CI variables |
184
+ | `review-deep` | code review and GitNexus review/impact | Context7; read-only GitLab and GitNexus |
185
+ | `researcher` | none | Context7 |
177
186
  | `explorer` | GitNexus exploration | GitNexus read-only |
178
187
  | `git` | none | GitLab reads; mutations ask; CI variables denied |
179
- | `verifier` | verification before completion | read-only GitNexus; Playwright interactions ask |
180
- | `debugger` | systematic debugging and GitNexus debugging/PDG | read-only GitNexus; Playwright interactions ask |
181
- | `security` | code review and GitNexus taint/PDG | read-only GitLab/GitNexus; Playwright interactions ask |
182
- | `devops` | verification before completion | GitLab reads and CI validation; mutations ask; CI variables denied |
183
-
184
- `master`, `back-fast`, `researcher`, and `docs` intentionally keep their
185
- existing narrow capability sets. TDD skills are not enabled implicitly.
188
+ | `docs` | none | Context7 |
189
+ | `verifier` | verification before completion | Context7; read-only GitNexus; Playwright interactions ask |
190
+ | `debugger` | systematic debugging and GitNexus debugging/PDG | Context7; read-only GitNexus; Playwright interactions ask |
191
+ | `security` | code review and GitNexus taint/PDG | Context7; read-only GitLab/GitNexus; Playwright interactions ask |
192
+ | `devops` | verification before completion | Context7; GitLab reads and CI validation; mutations ask; CI variables denied |
193
+
194
+ `master`, `explorer`, and `git` intentionally receive no Context7 grant. TDD
195
+ skills are not enabled implicitly.
186
196
 
187
197
  ## Model order
188
198
 
@@ -11,7 +11,7 @@
11
11
  "gitnexus-impact-analysis",
12
12
  "gitnexus-refactoring"
13
13
  ],
14
- "mcp": [],
14
+ "mcp": ["context7"],
15
15
  "permissions": [
16
16
  { "action": "subagent", "resource": "*", "effect": "deny" },
17
17
  { "action": "gitnexus_*", "resource": "*", "effect": "allow" },
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "prompt": "../prompts/back-fast.md",
10
10
  "skills": [],
11
- "mcp": [],
11
+ "mcp": ["context7"],
12
12
  "permissions": [
13
13
  { "action": "subagent", "resource": "*", "effect": "deny" }
14
14
  ]
@@ -12,7 +12,7 @@
12
12
  "gitnexus-debugging",
13
13
  "gitnexus-pdg-query"
14
14
  ],
15
- "mcp": [],
15
+ "mcp": ["context7"],
16
16
  "permissions": [
17
17
  { "action": "*", "resource": "*", "effect": "deny" },
18
18
  { "action": "read", "resource": "*", "effect": "allow" },
@@ -10,7 +10,7 @@
10
10
  "skills": [
11
11
  "verification-before-completion"
12
12
  ],
13
- "mcp": [],
13
+ "mcp": ["context7"],
14
14
  "permissions": [
15
15
  { "action": "*", "resource": "*", "effect": "deny" },
16
16
  { "action": "read", "resource": "*", "effect": "allow" },
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "prompt": "../prompts/docs.md",
10
10
  "skills": [],
11
- "mcp": [],
11
+ "mcp": ["context7"],
12
12
  "permissions": [
13
13
  { "action": "*", "resource": "*", "effect": "deny" },
14
14
  { "action": "read", "resource": "*", "effect": "allow" },
@@ -14,7 +14,7 @@
14
14
  "gitnexus-impact-analysis",
15
15
  "gitnexus-refactoring"
16
16
  ],
17
- "mcp": [],
17
+ "mcp": ["context7"],
18
18
  "permissions": [
19
19
  { "action": "subagent", "resource": "*", "effect": "deny" },
20
20
  { "action": "gitnexus_*", "resource": "*", "effect": "allow" },
@@ -11,7 +11,7 @@
11
11
  "modern-web-guidance",
12
12
  "make-interfaces-feel-better"
13
13
  ],
14
- "mcp": [],
14
+ "mcp": ["context7"],
15
15
  "permissions": [
16
16
  { "action": "subagent", "resource": "*", "effect": "deny" },
17
17
  { "action": "playwright_*", "resource": "*", "effect": "ask" },
@@ -12,7 +12,7 @@
12
12
  "ascii-ui-review",
13
13
  "gitnexus-impact-analysis"
14
14
  ],
15
- "mcp": [],
15
+ "mcp": ["context7"],
16
16
  "permissions": [
17
17
  { "action": "edit", "resource": "*", "effect": "deny" },
18
18
  { "action": "subagent", "resource": "*", "effect": "deny" },
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "prompt": "../prompts/researcher.md",
10
10
  "skills": [],
11
- "mcp": [],
11
+ "mcp": ["context7"],
12
12
  "permissions": [
13
13
  { "action": "*", "resource": "*", "effect": "deny" },
14
14
  { "action": "websearch", "resource": "*", "effect": "allow" },
@@ -11,7 +11,7 @@
11
11
  "code-review-excellence",
12
12
  "gitnexus-impact-analysis"
13
13
  ],
14
- "mcp": [],
14
+ "mcp": ["context7"],
15
15
  "permissions": [
16
16
  { "action": "edit", "resource": "*", "effect": "deny" },
17
17
  { "action": "subagent", "resource": "*", "effect": "deny" },
@@ -10,7 +10,7 @@
10
10
  "skills": [
11
11
  "code-review-excellence"
12
12
  ],
13
- "mcp": [],
13
+ "mcp": ["context7"],
14
14
  "permissions": [
15
15
  { "action": "edit", "resource": "*", "effect": "deny" },
16
16
  { "action": "subagent", "resource": "*", "effect": "deny" },
@@ -12,7 +12,7 @@
12
12
  "gitnexus-taint-analysis",
13
13
  "gitnexus-pdg-query"
14
14
  ],
15
- "mcp": [],
15
+ "mcp": ["context7"],
16
16
  "permissions": [
17
17
  { "action": "*", "resource": "*", "effect": "deny" },
18
18
  { "action": "read", "resource": "*", "effect": "allow" },
@@ -10,7 +10,7 @@
10
10
  "skills": [
11
11
  "verification-before-completion"
12
12
  ],
13
- "mcp": [],
13
+ "mcp": ["context7"],
14
14
  "permissions": [
15
15
  { "action": "*", "resource": "*", "effect": "deny" },
16
16
  { "action": "read", "resource": "*", "effect": "allow" },
package/dist/index.js CHANGED
@@ -6246,7 +6246,8 @@ var src_default = Plugin.define({
6246
6246
  id: "agent-gvozd",
6247
6247
  async setup(ctx) {
6248
6248
  const config = loadConfig(ctx.location.project.directory);
6249
- let mcpServers = [];
6249
+ const mcp = await ctx.mcp.list();
6250
+ let mcpServers = mcp.data.map((server) => server.name);
6250
6251
  let models = await ctx.catalog.model.list();
6251
6252
  const fileLeases = await installFileLeaseRuntime(ctx, config);
6252
6253
  const agentTransform = await ctx.agent.transform((agents) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nail00749/agent-gvozd",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A globally configured, permission-aware agent team for OpenCode V2",
5
5
  "license": "MIT",
6
6
  "keywords": ["opencode", "agents", "multi-agent", "cli"],