|
@@ -366,9 +366,9 @@ namespace ClankerSaddle.Api {
|
|
|
* API behind the daemon's `saddle tasks` CLI (wire contract):
|
|
* API behind the daemon's `saddle tasks` CLI (wire contract):
|
|
|
* authenticated by the per-saddle bearer token (plan 10 — any
|
|
* authenticated by the per-saddle bearer token (plan 10 — any
|
|
|
* registered saddle's credential authorises the read-only view).
|
|
* registered saddle's credential authorises the read-only view).
|
|
|
- * With `project_id` only that project's tasks; `q` matches title,
|
|
|
|
|
- * description or plan (case-insensitive substring). Compact rows —
|
|
|
|
|
- * id, title, status, parent_task_id.
|
|
|
|
|
|
|
+ * With `project_id` only that project's tasks; `q` matches title
|
|
|
|
|
+ * or description (case-insensitive substring). Compact rows — id,
|
|
|
|
|
+ * title, status, goal_id.
|
|
|
*/
|
|
*/
|
|
|
public class SaddleTaskListEndpoint : Object, Endpoint {
|
|
public class SaddleTaskListEndpoint : Object, Endpoint {
|
|
|
|
|
|
|
@@ -918,10 +918,11 @@ namespace ClankerSaddle.Api {
|
|
|
* to exactly one winner.
|
|
* to exactly one winner.
|
|
|
*
|
|
*
|
|
|
* - **200** + the full assignment payload (today's `/start` shape:
|
|
* - **200** + the full assignment payload (today's `/start` shape:
|
|
|
- * `task` — with pending block answers — `rules`, `subtasks`,
|
|
|
|
|
- * `parent` for subtasks, `project_notes`, `callback`,
|
|
|
|
|
- * `llm_config`, `git_identity` from the saddle row, `session_id`,
|
|
|
|
|
- * and for resumed workspaces `resume_notice`/`branch_advanced`).
|
|
|
|
|
|
|
+ * `task` — with pending block answers — `rules`,
|
|
|
|
|
+ * `project_notes`, `callback`, `llm_config`, `git_identity`
|
|
|
|
|
+ * from the saddle row, the plan-12 `kind`/`mode`/`creator`/
|
|
|
|
|
+ * `goal`/`ephemeral_branch` context, `session_id`, and for
|
|
|
|
|
+ * resumed workspaces `resume_notice`/`branch_advanced`).
|
|
|
* - **204** — nothing is offerable; the daemon sleeps until woken.
|
|
* - **204** — nothing is offerable; the daemon sleeps until woken.
|
|
|
*/
|
|
*/
|
|
|
public class SaddleNextTaskEndpoint : Object, Endpoint {
|
|
public class SaddleNextTaskEndpoint : Object, Endpoint {
|