feat(composer): replicate WorkBuddy branch label and context usage (TODO 21)

This commit is contained in:
xiaohan.yuan committed 2026-10-17 08:15:19 +08:00
1 parent cb8a7e6466
commit bde041c12d
21 files changed
+1350 -12

No files matched your search

+3
View File
@@ -99,6 +99,9 @@ const api: YCodeApi = {
return () => ipcRenderer.removeListener('settings:changed', handler)
}
},
git: {
branch: (sessionId) => ipcRenderer.invoke('git:branch', sessionId)
},
config: {
get: () => ipcRenderer.invoke('config:get'),
update: (patch: ConfigPatchLike) => ipcRenderer.invoke('config:update', patch)