Skip to content

chore: release v0.58.0 - #365

Merged
xxchan merged 1 commit into
mainfrom
chore/release-0.58.0
Oct 12, 2026
Merged

xxchan merged 1 commit into
mainfrom
chore/release-0.58.0

Conversation

@xxchan

@xxchan xxchan commented Oct 12, 2026

Copy link
Copy Markdown
Member

Release OAR and CLI 0.58.0. This PR changes only the two package version fields.

Added: list models for a workspace (#364)

  • ListModelsOptions.cwd is the directory a session would run in, resolved against the host's cwd, which stays the default. A project's own configuration can change what a runtime lists and which model a session runs when none is set, so a host with several workspaces should list per workspace:
    • codex reads config/read for that directory, so a trusted project's .codex/config.toml model is the one marked default;
    • pi builds its settings and services there (the project's saved default, providers from its .pi/extensions);
    • opencode lists providers from the project's opencode.json;
    • claude applies the project's settings;
    • kimi, grok and antigravity start there as a session would.
  • cursor, pi-durable and morph list the same everywhere.
  • Listing starts the runtime in that directory the way a session would, so like the inventory readers it can run that workspace's code (pi loads its project extensions). Do not list in a directory you do not trust.
  • oar models --cwd <dir>, and the human table marks the default model with (default).

Behavior changes

  • None without cwd: listing still reads the host's cwd.
  • createPiListModels's runtime factory now receives the listing directory as a second argument.

Validation: #364 passed all 17 checks on its final head, and its merged tree equals its CI tree. Verified with real runtimes and no tokens spent:

  • pi 1.1.0: a workspace's saved default was marked, and its project extension ran only when listing there;
  • codex 0.162.0: a trusted project's model was marked, an untrusted project was ignored, and listing wrote nothing to config.toml;
  • opencode 1.18.30: a project-defined provider was listed only with that cwd;
  • claude 2.1.292: project settings changed the list.

After this PR passes CI and merges, tag its exact squash commit as v0.58.0 to trigger npm trusted publishing.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit 797fdee into main Oct 12, 2026
17 checks passed
@xxchan
xxchan deleted the chore/release-0.58.0 branch October 12, 2026 04:36
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