Skip to content

v1.2.4

Latest

Choose a tag to compare

@sebyx07 sebyx07 released this 27 Jun 13:15

job poll is now newest-first — latest output is the first page

Polling a long-running job used to be forward-paginated (cursor 0 = oldest), so seeing what a job is doing now meant paging to the end or computing cursor = total − limit. Fixed:

  • job(action="poll") with no cursor returns the most recent page. Pass the response's next_cursor to page back through history.
  • Lines stay chronological within a page, so stack traces / build logs read top-to-bottom — only the page window moves newest-first.
  • file read is unchanged (forward, top-to-bottom — a file is read start-to-end).

Internals: new paginate_tail / read_page_tail (byte budget trimmed from the oldest end so the newest line is always kept); saved-tail fallback paginates the same way; tool description, cursor doc, and the overflow/page-back hints updated.

Install: sudo dpkg -i mcp-ssh_1.2.4-1_amd64.deb