Skip to content

Feat: Render tool metadata after permission rejection.#1949

Merged
adamdotdevin merged 2 commits into
anomalyco:devfrom
AYM1607:tool-metadata-on-rejection
Aug 15, 2025
Merged

Feat: Render tool metadata after permission rejection.#1949
adamdotdevin merged 2 commits into
anomalyco:devfrom
AYM1607:tool-metadata-on-rejection

Conversation

@AYM1607

@AYM1607 AYM1607 commented Aug 15, 2025

Copy link
Copy Markdown
Contributor

Keep tool metadata around even after a permission rejection. This allows referencing specific details when asking for minor changes rather than a complete do over. This works for the 3 tools that support permissions today:
image
And should work for all other ones as long as the pattern of storing metadata in the Permission itself is still followed.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
@AYM1607

AYM1607 commented Aug 15, 2025

Copy link
Copy Markdown
Contributor Author

Closes #1824

@AYM1607

AYM1607 commented Aug 15, 2025

Copy link
Copy Markdown
Contributor Author

@adamdotdevin or @thdxr if you're cool with this change (Already discussed it in #1824) this will need a stainless sdk regeneration (currently hardcoded to test it locally).

Comment thread packages/tui/internal/components/chat/message.go
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
@AYM1607 AYM1607 changed the title Render tool metadata after permission rejection. Feat: Render tool metadata after permission rejection. Aug 15, 2025
@adamdotdevin
adamdotdevin merged commit 0befc5d into anomalyco:dev Aug 15, 2025
1 check passed
github-actions Bot pushed a commit to yuguorui/opencode that referenced this pull request Jan 18, 2026
@mode89 mode89 mentioned this pull request Mar 1, 2026
1 task
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
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.

2 participants