Skip to content

v0.160.1

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 11 Nov 14:31
a52fe3a

Install or update: npm i -g cotal-ai@0.160.1

Restart running Cotal processes and agent sessions to use the new code.

What changed

  • Updating a computer that hosts a Manager no longer fails while the daemon restarts.
  • cotal models now lists the Claude Code models your login can use, read from your own claude without sending a prompt.
  • cotal models --harness opencode now lists models on OpenCode 2.x instead of reporting the catalog unavailable.
  • The pi connector now lists the models your own pi can run, so models and model pickers show them for pi.
Every change in full
  • Updating a computer that hosts a Manager no longer fails while the daemon restarts. cotal daemon status keeps answering while a hosted Manager starts or stops, and the update waits through that restart.

  • cotal models now lists the Claude Code models your login can use, read from your own claude without sending a prompt.

    The connector asks claude with one initialize request over its stream-json control protocol, from an empty private directory with no MCP servers, no hooks and no saved session. When claude is missing, logged out, refuses or does not answer within 6 seconds, the catalog is reported unavailable with the reason instead of a list.

  • cotal models --harness opencode now lists models on OpenCode 2.x instead of reporting the catalog unavailable. The connector runs opencode api --standalone GET /api/model, which starts a private OpenCode server for the one request, and returns each model as a provider/model ID with its variant names. A refused request, a reply that is not a model list, or no answer within 6 seconds reports the catalog unavailable with the reason. OpenCode 1.x listing is unchanged.

  • The pi connector now lists the models your own pi can run, so models and model pickers show them for pi.

    The connector starts a short-lived pi --mode rpc --no-session --offline with the environment a launch gets, sends one get_available_models command, and stops pi. Each id is provider/id, the form pi's --model takes. When pi is missing, holds no provider credentials, refuses, answers with something unexpected or does not answer within 6 seconds, the catalog is reported unavailable with the reason.

What's Changed

  • feat(connectors): list models for Claude Code, pi and OpenCode 2.x by @Manas-Kenge in #6363
  • fix(daemon): keep status answering and the update waiting while hosted Managers restart by @davidfarah2003 in #6364
  • chore(release): version packages by @davidfarah2003 in #6365

Full Changelog: v0.160.0...v0.160.1