You've already forked agentic-coding-workflow
feat(web): base_branch selector with remote branch list in worktree creation
This commit is contained in:
@@ -52,6 +52,11 @@ export const workspacesApi = {
|
||||
release: (wtID: string) =>
|
||||
request<Worktree>(`/api/v1/worktrees/${enc(wtID)}/release`, { method: 'POST' }),
|
||||
|
||||
listBranches(wsID: string): Promise<string[]> {
|
||||
return request<{ branches: string[] }>(`/api/v1/workspaces/${enc(wsID)}/branches`)
|
||||
.then(r => r.branches)
|
||||
},
|
||||
|
||||
// ===== Git ops =====
|
||||
statusOnMain: (wsID: string) =>
|
||||
request<FileStatus[]>(`/api/v1/workspaces/${enc(wsID)}/main/status`),
|
||||
|
||||
Reference in New Issue
Block a user