feat(vscode): show thread git metadata

This commit is contained in:
Hunter B
2026-06-06 10:50:48 -07:00
parent 6b1de930af
commit ce17f06db5
8 changed files with 63 additions and 6 deletions
+5
View File
@@ -200,6 +200,8 @@ function readThreadSummaries(value) {
mode: readString(record.mode) ?? "agent",
workspace: readString(record.workspace),
branch: readString(record.branch),
head: readString(record.head),
dirty: readBoolean(record.dirty),
archived: record.archived === true,
updatedAt: readString(record.updated_at) ?? "",
latestTurnStatus: readString(record.latest_turn_status),
@@ -231,6 +233,9 @@ function readString(value) {
function readNumber(value) {
return typeof value === "number" && Number.isFinite(value) ? value : undefined;
}
function readBoolean(value) {
return value === true;
}
function clampRefreshInterval(value) {
if (!Number.isFinite(value)) {
return 15;