Public: anyone can read this; the crew can change it.
A Talk turn that reaches its limit says so and offers one tap to go on #17981
Merged 13h 40m ago, live in production
Most of this was already on main from #17827 and #17842. The one thing missing was the JSON field, so that is all I added. Already there: When a turn ends at its turn or token limit, the pane says "I stopped here because this turn reached its limit, so this is not finished." It shows one Go on form.
-
Reviews
ApprovedClean. The page sentence, the Go on form and the terminal line were already on main. This adds only the JSON field. stoppedAt is computed from the newest unreplaced agent turn of the first page (null when paging with before, and null once a later person turn exists). It reads server-side data under the existing auth and the existing GET path, so no new write or input is added. It is declared in the contract entry, and the new test covers both the limit case and the normal-reply case. Nothing to fix.
-
Checks
shipped production is serving it deploy 5ce50ab
-
History
- Talk turns JSON says stoppedAt: limit when the latest turn hit its limit (#17977) 072a86e
- Sentinel: The lane has stopped: nothing has merged and nothing said so (#17973) 010904c
- Full suite red: test/traffic-truth.test.ts (#17972) 13460d3
- Infrastructure: a game box container opens on its live log, with Restart, Stop and Start (#17946) db96b4c
- Full suite red: test/api-security-floor.test.ts (#17965) 091b8a0
- Public /privacy and /support pages (needed for the App Store listing) (#17948) 638aa4f
- A container in the cloud tree has a Logs tab with its recent lines (#17958) 07d8c64
- A join that freezes a lent job is recorded with how long the freeze took (#17956) 80543a4
- A lent job on a game box keeps the server's tps and mspt from before it and during it (#17957) a357207
- The /infra first page shows the costliest resources as a sortable table (#17955) e08c778
- Push to Apple devices (APNs): device registration and a sender (#17928) 19eaf78
- A machine's containers in the cloud tree read as a table: name, state, CPU, memory, started (#17954) ccd2925
- API shapes: no silent type changes (approvedAt became an object); contract-test responses against openapi.json (#17945) 1b196c6
- GET the models Talk offers me, and `model` on POST /api/v1/conversations and /conversation/messages (#17916) 2623a5e
- Traces: every conversation and run kept as a trace, imported from outside agents, and explored in the forge (#17943) ce8ccb6
- A cloud account can be a sealed, expiring, read-only view for a client (#17942) 046cfff
- Pages help a reader sift: icons, a type scale, settings in groups (#17940) 3000b02
- A command the box was not handed yet can be taken back (#17933) 703a520
- A game box that cannot lend says why, and new boxes can lend (#17941) 1d3c3d5
- The /search page keeps to the repository repo:owner/name names in q, as /api/… (#17932) c310a25
Most of this was already on main from #17827 and #17842. The one thing missing was the JSON field, so that is all I added.
Already there:
- When a turn ends at its turn or token limit, the pane says "I stopped here because this turn reached its limit, so this is not finished." It shows one Go on form. Go on posts a fixed short prompt,
Go on., through the existing message route, so the same-origin check is untouched. - It is one tap for one turn and never automatic. I added no cap.
- The terminal already shows the same state (
src/tui/screens/talk_chats.ts). test/talk-limit.test.tsalready covers the page: a cut-off turn renders the sentence and one button, a normal turn renders neither, and the flag is set only when the run ended on a limit.
Changed:
GET /api/v1/conversation/turnsnow returnsstoppedAt: "limit" | nullfor the conversation.- It is
"limit"when the newest turn, on the page withoutbefore, is an unreplaced agent reply that hit its limit. Each such turn also carriesstoppedAt: "limit", which the Apple app can read. - The field is declared in the route's contract entry,
getApiV1ConversationTurns.ts, and the contract and openapi tests (721) pass. It is not insrc/contract/openapi/schemas/*, because that file has no schema for this reply. - A new test in
test/talk-limit.test.tschecks the JSON after a cut-off reply, then checks it isnullafter a normal reply follows.
Checks:
tscis clean andgate.tsraised nothing on the commit.- I did not run the dead-code, process-wide-state or timed-jobs tests, or the design lint. No page, export or module-level state was added.
- The commit line says
No door:because the terminal already shows the limit, andNo look:because no page changed. No review block is needed.
Try it: open a conversation whose last turn hit its limit and call GET /api/v1/conversation/turns?conversation=<id>. The page at /talk/<id> shows the sentence and Go on.
🤖 Generated with Claude Code
Most of this was already on main from #17827 and #17842. The one thing missing was the JSON field, so that is all I added.
Already there:
Go on., through the existing message route, so the same-origin check is untouched.src/tui/screens/talk_chats.ts).test/talk-limit.test.tsalready covers the page: a cut-off turn renders the sentence and one button, a normal turn renders neither, and the flag is set only when the run ended on a limit.Changed:
GET /api/v1/conversation/turnsnow returnsstoppedAt: "limit" | nullfor the conversation."limit"when the newest turn, on the page withoutbefore, is an unreplaced agent reply that hit its limit. Each such turn also carriesstoppedAt: "limit", which the Apple app can read.getApiV1ConversationTurns.ts, and the contract and openapi tests (721) pass. It is not insrc/contract/openapi/schemas/*, because that file has no schema for this reply.test/talk-limit.test.tschecks the JSON after a cut-off reply, then checks it isnullafter a normal reply follows.Checks:
tscis clean andgate.tsraised nothing on the commit.No door:because the terminal already shows the limit, andNo look:because no page changed. No review block is needed.Try it: open a conversation whose last turn hit its limit and call
GET /api/v1/conversation/turns?conversation=<id>. The page at/talk/<id>shows the sentence and Go on.🤖 Generated with Claude Code
Closes #17977