feat(runtime-api): expose git status metadata for agent view (#2862)

This commit is contained in:
Hunter Bown
2026-06-06 02:51:21 -07:00
committed by GitHub
parent cc3cbc823c
commit 5bd2f6a99b
5 changed files with 107 additions and 11 deletions
+4
View File
@@ -191,6 +191,8 @@ workspace metadata:
"model": "deepseek-v4-pro",
"mode": "agent",
"branch": "feature/runtime-api",
"head": "abc1234",
"dirty": false,
"workspace": "/Users/you/projects/codewhale",
"archived": false,
"updated_at": "2026-06-06T05:43:00Z",
@@ -201,6 +203,8 @@ workspace metadata:
`branch` is resolved from the thread workspace at request time and may be
`null` when the workspace is not a Git repository or the branch cannot be read.
`head` is the current short Git commit for that workspace when available.
`dirty` is true when the workspace has staged, unstaged, or untracked changes.
`workspace` is included so editor clients can show when an agent lane is working
outside the current VS Code folder.