permissions for compound commands #3147

Open
opened 2026-02-16 17:38:51 -05:00 by yindo · 2 comments
Owner

Originally created by @benceferdinandy-signifyd on GitHub (Nov 26, 2025).

Originally assigned to: @thdxr on GitHub.

Description

The agent has been configured to be able to access all these commands with "allow":

taskagent ready 2>/dev/null; echo "---"; taskagent +ACTIVE list 2>/dev/null; echo "---"; taskagent project:accint list 2>/dev/null

I verified by asking it to run them one-by-one. Yet running them together leads to a user prompt asking to allow usage.

OpenCode version

1.0.115

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @benceferdinandy-signifyd on GitHub (Nov 26, 2025). Originally assigned to: @thdxr on GitHub. ### Description The agent has been configured to be able to access all these commands with "allow": `taskagent ready 2>/dev/null; echo "---"; taskagent +ACTIVE list 2>/dev/null; echo "---"; taskagent project:accint list 2>/dev/null` I verified by asking it to run them one-by-one. Yet running them together leads to a user prompt asking to allow usage. ### OpenCode version 1.0.115 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:38:51 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 26, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4530: Tools Fail to Unescape XML Entities (e.g., "&&" Becomes Invalid Shell Syntax) - Both issues relate to problems with how OpenCode parses and handles compound commands using special operators (semicolons, &&, etc.)

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Nov 26, 2025): This issue might be a duplicate of existing issues. Please check: - #4530: Tools Fail to Unescape XML Entities (e.g., "&&" Becomes Invalid Shell Syntax) - Both issues relate to problems with how OpenCode parses and handles compound commands using special operators (semicolons, &&, etc.) Feel free to ignore if this doesn't address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 30, 2025):

dax is working on stuff relating to this rn

@rekram1-node commented on GitHub (Nov 30, 2025): dax is working on stuff relating to this rn
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3147