[PR #4771] Renamed vcs.changed to vcs.branch.updated #11110

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

Original Pull Request: https://github.com/anomalyco/opencode/pull/4771

State: closed
Merged: Yes


Great! The event has been successfully renamed from vcs.changed to vcs.branch.changed to better reflect that it's tracking git branch changes. The changes made:

  1. vcs.ts:13-18 - Renamed Changed to BranchChanged and updated event name from "vcs.changed" to "vcs.branch.changed"
  2. vcs.ts:61 - Updated the Bus.publish call to use Event.BranchChanged
  3. sync.tsx:245 - Updated the TUI to handle the new "vcs.branch.changed" event name
  4. SDK - Rebuilt to include the updated event definitions

The event now clearly indicates it's tracking branch changes rather than generic VCS changes.

Closes #4770

New%20session%20-%202025-11-26T07%3A11%3A00.029Z
opencode session  |  github run

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4771 **State:** closed **Merged:** Yes --- Great! The event has been successfully renamed from `vcs.changed` to `vcs.branch.changed` to better reflect that it's tracking git branch changes. The changes made: 1. **vcs.ts:13-18** - Renamed `Changed` to `BranchChanged` and updated event name from `"vcs.changed"` to `"vcs.branch.changed"` 2. **vcs.ts:61** - Updated the Bus.publish call to use `Event.BranchChanged` 3. **sync.tsx:245** - Updated the TUI to handle the new `"vcs.branch.changed"` event name 4. **SDK** - Rebuilt to include the updated event definitions The event now clearly indicates it's tracking branch changes rather than generic VCS changes. Closes #4770 <a href="https://opencode.ai/s/gVkehTiu"><img width="200" alt="New%20session%20-%202025-11-26T07%3A11%3A00.029Z" src="https://social-cards.sst.dev/opencode-share/TmV3IHNlc3Npb24gLSAyMDI1LTExLTI2VDA3OjExOjAwLjAyOVo=.png?model=opencode/glm-4.6&version=1.0.114&id=gVkehTiu" /></a> [opencode session](https://opencode.ai/s/gVkehTiu)&nbsp;&nbsp;|&nbsp;&nbsp;[github run](/sst/opencode/actions/runs/19695493736)
yindo added the pull-request label 2026-02-16 18:15:54 -05:00
yindo closed this issue 2026-02-16 18:15:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11110