[PR #25] [MERGED] fix: Show correct file paths in permission window #9503

Closed
opened 2026-02-16 18:13:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/25
Author: @ezynda3
Created: 5/16/2025
Status: Merged
Merged: 5/16/2025
Merged by: @adamdotdevin

Base: devHead: fix-paths-in-permission-window


📝 Commits (2)

  • 37ee2e3 Fix paths in permission window to show relative paths
  • a989565 Fix paths in permission window to show actual file paths

📊 Changes

3 files changed (+16 additions, -26 deletions)

View changed files

📝 internal/llm/tools/edit.go (+3 -18)
📝 internal/llm/tools/write.go (+1 -7)
📝 internal/tui/components/dialog/permission.go (+12 -1)

📄 Description

Summary

  • Fix filepath when asking for edit permissions

Test plan

  • Test creating/editing files and verify the permission window shows the correct file path

Fixes: #22

🤖 Generated with opencode


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/25 **Author:** [@ezynda3](https://github.com/ezynda3) **Created:** 5/16/2025 **Status:** ✅ Merged **Merged:** 5/16/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `fix-paths-in-permission-window` --- ### 📝 Commits (2) - [`37ee2e3`](https://github.com/anomalyco/opencode/commit/37ee2e3a025ad45468d68d1e88872c7a80986140) Fix paths in permission window to show relative paths - [`a989565`](https://github.com/anomalyco/opencode/commit/a9895658b72e631cc8d9664213873a0e43ef7323) Fix paths in permission window to show actual file paths ### 📊 Changes **3 files changed** (+16 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `internal/llm/tools/edit.go` (+3 -18) 📝 `internal/llm/tools/write.go` (+1 -7) 📝 `internal/tui/components/dialog/permission.go` (+12 -1) </details> ### 📄 Description ## Summary - Fix filepath when asking for edit permissions ## Test plan - Test creating/editing files and verify the permission window shows the correct file path Fixes: #22 🤖 Generated with opencode --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:13:40 -05:00
yindo closed this issue 2026-02-16 18:13:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9503