feat(lanes): auto-setup (profile/agents/mcp) after Add Lane (F5)

This commit is contained in:
2026-08-06 11:49:11 +07:00
parent 5dd4793b88
commit dd0cb4ad7c
3 changed files with 99 additions and 1 deletions
+5
View File
@@ -2080,6 +2080,11 @@ export const api = {
method: "POST",
body: "{}",
}),
profileInit: (id: number, force = false) =>
request<{ scaffolded: boolean; written?: string[]; todos?: string[]; reason?: string }>(
`/lanes/${id}/profile/init`,
{ method: "POST", body: JSON.stringify({ force }) }
),
integration: (id: number, name: string) =>
request<{ enabled: boolean }>(`/lanes/${id}/integrations/${encodeURIComponent(name)}`),
syncBaseCheck: (id: number, branch?: string) =>