Skip to content

fix: explicitly allow Claude CLI tools for non-interactive runs#121

Merged
LIU9293 merged 2 commits intomainfrom
feat/claude-explicit-permissions-177167
Feb 21, 2026
Merged

fix: explicitly allow Claude CLI tools for non-interactive runs#121
LIU9293 merged 2 commits intomainfrom
feat/claude-explicit-permissions-177167

Conversation

@LIU9293
Copy link
Contributor

@LIU9293 LIU9293 commented Feb 21, 2026

Summary

  • add explicit --tools default and --allowedTools ... flags when constructing Claude CLI invocations
  • ensure Bash and other expected tools remain available in non-interactive Claude runs to avoid permission-related tool denials
  • keep existing permission-mode behavior unchanged while making tool availability explicit

Testing

  • bun test packages/agents/test/cli-command.test.ts

Pass an explicit allowed tool list when building Claude commands so Bash and other expected tools are consistently available across environments.
@Gnoll Gnoll force-pushed the feat/claude-explicit-permissions-177167 branch from 84122fc to cef6504 Compare February 21, 2026 16:48
@LIU9293 LIU9293 merged commit 0e5c81a into main Feb 21, 2026
2 checks passed
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.

1 participant