Repository navigation
Commit bb0da16
runtime: Add OpenCode mutation scope attribution
Track OpenCode tool and session lifecycle events so the SCE CLI can attribute mutations to their originating sessions and models.
Forward mutation-boundary events through the new plugin and fail closed for write and shell-environment hooks while keeping cleanup best effort.
Co-authored-by: SCE <sce@crocoder.dev>1 parent b1dd824 commit bb0da16
4 files changed
Lines changed: 255 additions & 16 deletions
File tree
- .opencode
- plugins
- context/plans
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
113 | 124 | | |
114 | 125 | | |
115 | 126 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments