From cced1a6ca909ddc399fcdd803356a7062ebbd46e Mon Sep 17 00:00:00 2001 From: MAxim Kiktev Date: Thu, 29 Oct 2026 08:21:10 +0000 Subject: [PATCH] fix(cli): include task attempt fields in remote JSON contract --- crates/ag-cli/tests/golden/json-shapes-remote.json | 2 ++ docs/reference/cli-json.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/crates/ag-cli/tests/golden/json-shapes-remote.json b/crates/ag-cli/tests/golden/json-shapes-remote.json index 5ff984f6..6877c207 100644 --- a/crates/ag-cli/tests/golden/json-shapes-remote.json +++ b/crates/ag-cli/tests/golden/json-shapes-remote.json @@ -514,11 +514,13 @@ "workspace": "string" }, "task edit#remote": { + "attempts_started": "number", "created_at_ms": "number", "created_by": "string", "depends_on": [], "description": "string", "id": "string", + "max_attempts": "number", "owner": "string", "ready": "bool", "scope": [], diff --git a/docs/reference/cli-json.md b/docs/reference/cli-json.md index f24c5233..638c16ea 100644 --- a/docs/reference/cli-json.md +++ b/docs/reference/cli-json.md @@ -2189,11 +2189,13 @@ Their output *is* the data (file contents, a template, a script, a man page, hel ```json { + "attempts_started": "number", "created_at_ms": "number", "created_by": "string", "depends_on": [], "description": "string", "id": "string", + "max_attempts": "number", "owner": "string", "ready": "bool", "scope": [],