Skip to content

Start work as tasks in the console and README - #219

Merged
jinxi97 merged 1 commit into
mainfrom
jinxi97/new-task-api-v5
Oct 28, 2026
Merged

jinxi97 merged 1 commit into
mainfrom
jinxi97/new-task-api-v5

Conversation

@jinxi97

@jinxi97 jinxi97 commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Re-lands #218 on main.

#218 was stacked on #217's branch, and #217 merged first, so #218's merge went into the leftover branch jinxi97/new-task-api-v3 instead of main. main still had the session-based console and README. That's where the outdated "A task is steps 2 and 3 in one call" paragraph comes from.

This is #218's commit replayed onto current main. It applied cleanly and keeps the new console screenshot from fe4ea9a. Apart from that screenshot line, the files are identical to what #218 merged into jinxi97/new-task-api-v3. See #218 for the full description and how it was checked. In short:

  • Quick Start: two steps, agent → task.
  • Side menu: Task replaces Session. It has the task list, a one-call New task dialog, and #/task/<id>, which opens the task's session page with the message box kept.
  • README: the curl walk is agent config → task (keeping sessionId) → poll, and the Tasks section is rewritten.

pnpm typecheck and pnpm format:check pass on this branch.

🤖 Generated with Claude Code

The console no longer creates sessions. Quick Start is two steps, the
agent config and the task, each shown as its curl. The side menu's
Session section becomes Task: a list of the namespace's tasks, a New
task dialog that makes one call instead of two, and a task's page at
#/task/<id>, which shows the session the task started with its message
box kept for follow-ups. The page is headed by the task id; the session
id moves to the line below, where the log's address can still be copied.

The README's curl walk is now agent config, task, poll: the task's
answer carries the sessionId the poll reads from. POST /v1/sessions
stays in the api; only the console stops using it.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@jinxi97
jinxi97 merged commit edf695f into main Oct 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant