Skip to content

Add --permission-prompt-tool to match claude code format#75

Closed
allisoneer wants to merge 3 commits into
anomalyco:devfrom
allisoneer:permission_prompt_tool
Closed

Add --permission-prompt-tool to match claude code format#75
allisoneer wants to merge 3 commits into
anomalyco:devfrom
allisoneer:permission_prompt_tool

Conversation

@allisoneer

Copy link
Copy Markdown

In non interactive mode you can pass an MCP server tool to claude code in order to get custom permission approval responses. This isn't super well documented at the current moment, but it is working in a way that is described here: anthropics/claude-code#1175 (comment)

This PR aims to support the same standard format/functionality that claude code exposes via the same command. This is a little messy at time of creating PR, and I will clean up, write tests, test manually, and ensure it's written in a way that I'm happy with before moving from draft status. Just wanted to get it up early (the PR) to show interest in getting the feature.

Here is the comment from the above issue that highlights the format that claude code expects the MCP server to respond in:
anthropics/claude-code#1175 (comment)

@allisoneer

Copy link
Copy Markdown
Author

Have talked to dax about this. Leaving open temporarily in case someone stumbles upon it, but redirecting efforts where they properly should be placed.

@thdxr
thdxr force-pushed the dev branch 2 times, most recently from 5d7460b to ef74d97 Compare June 14, 2025 16:14
@thdxr thdxr self-assigned this Jul 2, 2025
@github-actions
github-actions Bot force-pushed the dev branch 3 times, most recently from f1dc981 to 3e15a39 Compare November 22, 2025 18:07
@github-actions
github-actions Bot force-pushed the dev branch 3 times, most recently from f8ee907 to 6a9856d Compare November 27, 2025 01:29
toph420 pushed a commit to toph420/tophcode that referenced this pull request Dec 17, 2025
…date-message

fix: update branding in TUI update notifications to use shuvcode
randomm referenced this pull request in randomm/opencode Jan 9, 2026
) (#75)

- Consolidated memory-protocol-mandatory.md and remory-cli-reference.md into new memory-and-remory.md
- Fixed contradictions in research-specialist.txt prompt
- Updated configuration files to reference consolidated memory documentation
- Reduces duplication and improves clarity of remory syntax and memory protocols
@thdxr
thdxr force-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7 Compare January 30, 2026 14:37
@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Feb 2, 2026
andreipromarketing-dev pushed a commit to andreipromarketing-dev/opencode that referenced this pull request Apr 7, 2026
Fixes plugin manifest validation errors caused by explicit agents field and incorrect tools format. Fixes anomalyco#74
andreipromarketing-dev pushed a commit to andreipromarketing-dev/opencode that referenced this pull request Apr 7, 2026
* fix: use correct unscoped agent-browser package name

The @anthropic-ai/agent-browser package does not exist on npm.
The correct package is the unscoped 'agent-browser' from Vercel Labs (v0.7.6).

Fixes the issue noted in PR anomalyco#75 review comment.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: correct agent-browser API to match actual package exports

- Change AgentBrowser to BrowserManager (correct export name)
- Update documentation to show actual CLI-based usage pattern
- Add snapshot + refs system examples (the real agent-browser API)
- Add programmatic BrowserManager API for advanced use cases
- Show CLI wrapper approach for script integration

The agent-browser package from Vercel is primarily a CLI tool,
not a JavaScript library with semantic methods. This corrects
the documentation to match the actual package API.

Fixes CodeRabbit review comment about incorrect import/export.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants