Board workspace with real panels, tabs and theme; Nerd Font declared for all three machines

This commit is contained in:
Sam
2026-11-10 13:45:33 +11:00
parent 5b829000ae
commit 1bfb9b05ed
17 changed files with 1424 additions and 15 deletions

View File

@@ -189,9 +189,9 @@ type BlockerInfo struct {
type blockerResponse struct {
Diagnosis string `json:"diagnosis"`
Readiness struct {
AllBlockersDone bool `json:"allBlockersDone"`
DependencyReady bool `json:"isDependencyReady"`
UnresolvedBlockerCount int `json:"unresolvedBlockerCount"`
AllBlockersDone bool `json:"allBlockersDone"`
DependencyReady bool `json:"isDependencyReady"`
UnresolvedBlockerCount int `json:"unresolvedBlockerCount"`
} `json:"readiness"`
Blockers []struct {
Identifier string `json:"identifier"`
@@ -350,3 +350,19 @@ func (c *Client) Issue(issueID string) (Issue, error) {
err := c.do("GET", "/api/issues/"+issueID, nil, &out)
return out, err
}
// Cost is what one task has cost so far.
type Cost struct {
CostCents int `json:"costCents"`
InputTokens int `json:"inputTokens"`
OutputTokens int `json:"outputTokens"`
RunCount int `json:"runCount"`
RuntimeMs int `json:"runtimeMs"`
}
// CostSummary returns the task's recorded spend.
func (c *Client) CostSummary(issueID string) (Cost, error) {
var out Cost
err := c.do("GET", "/api/issues/"+issueID+"/cost-summary", nil, &out)
return out, err
}