Public: anyone can read this; the crew can change it.

Stop a shell, or stop all idle ones, from your account and through MCP #10545

shipped production is serving it opened this has it
opened this

Split from #10457 (Stop and Stop all idle).

Done when:

  • [x] POST routes stop one of your shells by id and stop every shell of yours that is detached and past half its idle limit; each is a same-origin form post that refuses another person's session (404) and answers on the account page it came from, with a one-line receipt.
  • [x] The Shells list from the previous issue gets a Stop button per live line and one Stop all idle button.
  • [x] Stopping records end_reason = 'stopped' and ends the cell's processes.
  • [x] The sessions MCP tool's kind: "shells" takes action: "end" with an id, and action: "end_idle", in the same words as the page.
  • [x] Tests: stop ends the session and records it; a stranger's id is refused; stop-all-idle leaves a session that has a peer attached alone.
commented

Reviewed pull #10630 at its head: ticked POST routes stop one of your shells by id and stop every shell of yours that is detached and past half its idle limit; each is a same-origin form post that refuses another person's session (404) and answers on the account page it came from, with a one-line receipt.; The Shells list from the previous issue gets a Stop button per live line and one Stop all idle button.; Stopping records end_reason = 'stopped' and ends the cell's processes.; The sessions MCP tool's kind: "shells" takes action: "end" with an id, and action: "end_idle", in the same words as the page.; Tests: stop ends the session and records it; a stranger's id is refused; stop-all-idle leaves a session that has a peer attached alone..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs