mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-02-28 19:50:38 +00:00
feat(opencode): add agent modes and with-context MCP server config
- Add explicit mode settings for agents (build, plan as primary; others as subagent) - Configure with-context MCP server for Obsidian vault integration - Remove with-context-mcp from plugin dependencies (now using MCP server)
This commit is contained in:
@@ -12,28 +12,42 @@
|
||||
"packages/*/AGENTS.md"
|
||||
],
|
||||
"agent": {
|
||||
"build": {
|
||||
"mode": "all"
|
||||
},
|
||||
"plan": {
|
||||
"mode": "primary"
|
||||
},
|
||||
"setup": {
|
||||
"mode": "subagent",
|
||||
"description": "Generates project-specific documentation and guidelines through interactive discovery"
|
||||
},
|
||||
"review": {
|
||||
"mode": "subagent",
|
||||
"description": "Reviews code for best practices and potential issues"
|
||||
},
|
||||
"test": {
|
||||
"mode": "subagent",
|
||||
"description": "Runs tests and analyzes test results"
|
||||
},
|
||||
"docs": {
|
||||
"mode": "subagent",
|
||||
"description": "Generates and maintains documentation"
|
||||
},
|
||||
"refactor": {
|
||||
"mode": "subagent",
|
||||
"description": "Refactors code for better quality and maintainability"
|
||||
},
|
||||
"debug": {
|
||||
"mode": "subagent",
|
||||
"description": "Debugs issues and troubleshoots problems"
|
||||
},
|
||||
"security": {
|
||||
"mode": "subagent",
|
||||
"description": "Audits code for security vulnerabilities"
|
||||
},
|
||||
"webgen": {
|
||||
"mode": "subagent",
|
||||
"description": "Generates complete web pages from ideas using any framework"
|
||||
}
|
||||
},
|
||||
@@ -87,6 +101,21 @@
|
||||
"chrome-devtools-mcp@latest"
|
||||
],
|
||||
"enabled": false
|
||||
},
|
||||
"with-context": {
|
||||
"type": "local",
|
||||
"command": [
|
||||
"npx",
|
||||
"-y",
|
||||
"with-context-mcp"
|
||||
],
|
||||
"environment": {
|
||||
"OBSIDIAN_API_KEY": "env:OBSIDIAN_API_KEY",
|
||||
"OBSIDIAN_API_URL": "env:OBSIDIAN_API_URL",
|
||||
"OBSIDIAN_VAULT": "env:OBSIDIAN_VAULT",
|
||||
"PROJECT_BASE_PATH": "env:PROJECT_BASE_PATH"
|
||||
},
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"version": "1.0.0",
|
||||
"description": "OpenCode plugins for dotfiles",
|
||||
"dependencies": {
|
||||
"@opencode-ai/plugin": "^1.0.51",
|
||||
"with-context-mcp": "^3.0.4"
|
||||
"@opencode-ai/plugin": "^1.0.51"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
1
.config/opencode/plugin/with-context.ts
Symbolic link
1
.config/opencode/plugin/with-context.ts
Symbolic link
@@ -0,0 +1 @@
|
||||
/Users/davidibia/Projects/MCP/with-context-mcp/plugin/with-context.ts
|
||||
Reference in New Issue
Block a user