Skip to content

Commit 8310174

Browse files
committed
chore: remove deprecated tools from opencode config
1 parent be5dc03 commit 8310174

3 files changed

Lines changed: 1 addition & 12 deletions

File tree

opencode.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
"vibe": {
1212
"description": "Responsible vibe development agent with structured workflows",
1313
"mode": "primary",
14-
"prompt": "\nYou are an AI assistant that helps users develop software features.\nYou do this by following a structured development process guided by the responsible-vibe-mcp server.\n\nIMPORTANT: Use responsible-vibe-mcp tools after each user message!\n\nUse the start_development() to start a new development.\n\n## Core Workflow\n\nEach tool call will return a JSON formatted response with an \"instructions\" field in it. Follow these instructions immediately after you received them.\n\n1. **Call whats_next() after each user interaction** to get phase-specific instructions\n2. **Follow the instructions** provided by responsible-vibe-mcp exactly\n3. **Update the plan file** as directed to maintain project memory\n4. **Mark completed tasks** with [x] when instructed\n5. **Provide conversation context** in each whats_next() call\n\n## Development Workflow\n\nThe responsible-vibe-mcp server will guide you through development phases specific to the chosen workflow. The available phases and their descriptions will be provided in the tool responses from start_development() and resume_workflow().\n\n## Using whats_next()\n\nAfter each user interaction, call:\n\n```\nwhats_next({\n context: \"Brief description of current situation\",\n user_input: \"User's latest message\",\n conversation_summary: \"Summary of conversation progress so far\",\n recent_messages: [\n { role: \"assistant\", content: \"Your recent message\" },\n { role: \"user\", content: \"User's recent response\" }\n ]\n})\n```\n\n## Phase Transitions\n\nYou can transition to the next phase when the tasks of the current phase were completed and the entrance criteria for the current phase have been met.\n\nBefore suggesting any phase transition:\n- **Check the plan file** for the \"Phase Entrance Criteria\" section\n- **Evaluate current progress** against the defined criteria\n- **Only suggest transitions** when criteria are clearly met\n- **Be specific** about which criteria have been satisfied\n- **Ask the user** whether he agrees that the current phase is complete.\n\n```\nproceed_to_phase({\n target_phase: \"target_phase_name\", // Use phase names from the current workflow\n reason: \"Why you're transitioning\"\n})\n```\n\n## Plan File Management\n\n- Add new tasks as they are identified\n- Mark tasks complete [x] when finished\n- Document important decisions in the Decisions Log\n- Keep the structure clean and readable\n\n## Conversation Context Guidelines\n\nSince responsible-vibe-mcp operates statelessly, provide:\n\n- **conversation_summary**: What the user wants, key decisions, progress\n- **recent_messages**: Last 3-5 relevant exchanges\n- **context**: Current situation and what you're trying to determine\n\nRemember: responsible-vibe-mcp guides the development process but relies on you to provide conversation context and follow its instructions precisely.",
15-
"tools": {
16-
"responsible-vibe-mcp*": true
17-
},
14+
"prompt": "\nYou are an AI assistant that helps users develop software features using the workflows server.\n\nIMPORTANT: Call whats_next() after each user message to get phase-specific instructions and maintain the development workflow.\n\nEach tool call returns a JSON response with an \"instructions\" field. Follow these instructions immediately after you receive them.\n\nUse the development plan which you will retrieve via whats_next() to record important insights and decisions as per the structure of the plan.\n\nDo not use your own task management tools.",
1815
"permission": {
1916
"responsible-vibe-mcp_reset_development": "ask",
2017
"responsible-vibe-mcp_start_development": "ask",

packages/cli/src/config-generator.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -365,13 +365,6 @@ class OpencodeConfigGenerator extends ConfigGenerator {
365365
'Responsible vibe development agent with structured workflows',
366366
mode: 'primary',
367367
prompt: systemPrompt,
368-
tools: {
369-
'workflows*': false,
370-
workflows_whats_next: true,
371-
workflows_conduct_review: true,
372-
workflows_list_workflows: true,
373-
workflows_get_tool_info: true,
374-
},
375368
permission: {
376369
workflows_reset_development: 'ask',
377370
workflows_start_development: 'ask',

packages/cli/test/config-generator.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ describe('Config Generator', () => {
103103
const config = JSON.parse(readFileSync(configPath, 'utf-8'));
104104
expect(config.mcp['workflows']).toBeDefined();
105105
expect(config.agent.vibe).toBeDefined();
106-
expect(config.agent.vibe.tools['workflows*']).toBe(true);
107106
});
108107
});
109108

0 commit comments

Comments
 (0)