|
2 | 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
3 | 3 | "description": "Fork-specific features from upstream PRs that must be preserved during merges", |
4 | 4 | "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", |
6 | 6 | "note": "Replaced PR 5563 (Ask Tool) with PR 5958 (askquestion tool) which fixes race conditions and improves UX", |
7 | 7 | "forkDependencies": { |
8 | 8 | "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 | 78 | } |
79 | 79 | ], |
80 | 80 | "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 | + }, |
81 | 108 | { |
82 | 109 | "pr": 6507, |
83 | 110 | "title": "Optimize Ripgrep.tree() for large repositories", |
|
0 commit comments