Skip to content

Commit 9c3bac9

Browse files
committed
docs: add PR anomalyco#6476 to merged PRs (edit suggested changes before applying)
1 parent 7b67f47 commit 9c3bac9

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ The following PRs have been merged into this fork and are awaiting merge into up
6060

6161
| PR | Title | Author | Status | Description |
6262
| ----------------------------------------------------------------------------- | ------------------------------------------- | ------------------------------------------------------------ | ------ | ------------------------------------------------------------------------ |
63+
| [#6476](https://github.com/sst/opencode/pull/6476) | Edit suggested changes before applying | [@dmmulroy](https://github.com/dmmulroy) | Open | Press 'e' to edit AI suggestions in your editor before accepting |
6364
| [#6507](https://github.com/sst/opencode/pull/6507) | Optimize Ripgrep.tree() (109x faster) | [@Karavil](https://github.com/Karavil) | Open | 109x performance improvement for large repos by streaming ripgrep output |
6465
| [#6360](https://github.com/sst/opencode/pull/6360) | Desktop: Edit Project | [@dbpolito](https://github.com/dbpolito) | Merged | Edit project name, icon color, and custom icon image in desktop sidebar |
6566
| [#6368](https://github.com/sst/opencode/pull/6368) | Desktop: Sidebar subsessions support | [@dbpolito](https://github.com/dbpolito) | Open | Expand/collapse subsessions in sidebar with chevron indicators |

script/sync/fork-features.json

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"description": "Fork-specific features from upstream PRs that must be preserved during merges",
44
"lastUpdated": "2025-12-31",
5-
"lastChange": "Added PR #6507 - optimize Ripgrep.tree() for large repositories (109x faster)",
5+
"lastChange": "Added PR #6476 - allow users to edit suggested changes before applying",
66
"note": "Replaced PR 5563 (Ask Tool) with PR 5958 (askquestion tool) which fixes race conditions and improves UX",
77
"forkDependencies": {
88
"description": "NPM dependencies added by fork features that MUST be preserved during package.json merges. These are frequently lost when accepting upstream version bumps.",
@@ -78,6 +78,33 @@
7878
}
7979
],
8080
"features": [
81+
{
82+
"pr": 6476,
83+
"title": "Allow users to edit suggested changes before applying",
84+
"author": "dmmulroy",
85+
"status": "open",
86+
"description": "When permission is set to ask, users can press 'e' to open their editor and modify the suggested changes before accepting. Changes are tracked and the model is informed that user modified the edit.",
87+
"files": [
88+
"packages/opencode/src/permission/editor.ts",
89+
"packages/opencode/src/permission/index.ts",
90+
"packages/opencode/src/tool/edit.ts",
91+
"packages/opencode/src/cli/cmd/tui/routes/session/index.tsx",
92+
"packages/opencode/src/util/text.ts",
93+
"packages/opencode/src/config/config.ts"
94+
],
95+
"criticalCode": [
96+
{
97+
"file": "packages/opencode/src/permission/editor.ts",
98+
"description": "PermissionEditor namespace with canEdit, getContent, getExtension, getStartLine, hasChanges, computeDiff",
99+
"markers": ["export namespace PermissionEditor", "SingleFileMetadata", "SingleFileModifyData"]
100+
},
101+
{
102+
"file": "packages/opencode/src/cli/cmd/tui/routes/session/index.tsx",
103+
"description": "handleEditPermission function and permission_edit keybind handler",
104+
"markers": ["handleEditPermission", "permission_edit", "PermissionEditor.canEdit"]
105+
}
106+
]
107+
},
81108
{
82109
"pr": 6507,
83110
"title": "Optimize Ripgrep.tree() for large repositories",

0 commit comments

Comments
 (0)