Skip to content

Conversation

@Danztee
Copy link
Contributor

@Danztee Danztee commented Jan 21, 2026

Fixes #9806

What does this PR do?

It adds support for ~ and HOME expansion in permission patterns configured in opencode.jsonc

How did you verify your code works?

  1. I created a test config
  2. I verified the paptterns get expanded
  3. Confirmed [evaluate()]
  4. All 65 existing tests pass + the new 6 tests added
  5. TypeScript typecheck passes

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@Danztee
Copy link
Contributor Author

Danztee commented Jan 21, 2026

@adamdotdevin please can you take a look at this PR? let me know if it's good to fly or we need to add some changes...

@rekram1-node
Copy link
Collaborator

could u update docs as well

@rekram1-node
Copy link
Collaborator

/review

@Danztee
Copy link
Contributor Author

Danztee commented Jan 21, 2026

@rekram1-node i have updated the docs and resolve suggestions from github actions bot

@rekram1-node rekram1-node merged commit 2a370f8 into anomalyco:dev Jan 21, 2026
4 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.

[FEATURE]: Support ~ and $HOME expansion in permission patterns

2 participants