Skip to content

chore: release v0.56.0 - #353

Merged
xxchan merged 1 commit into
mainfrom
chore/release-0.56.0
Oct 11, 2026
Merged

xxchan merged 1 commit into
mainfrom
chore/release-0.56.0

Conversation

@xxchan

@xxchan xxchan commented Oct 11, 2026

Copy link
Copy Markdown
Member

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

Added: a commands inventory (#348, #351)

  • Runtime.commands(installation, { cwd, timeoutMs }) and oar commands [runtime] list a runtime's native slash commands for a workspace, separate from skills(). Each entry has name (the native invocation name, without a leading slash), and where the runtime reports them description, source, argumentHint and aliases.
  • pi: commands registered by extensions, under pi's own invocation names (two extensions registering the same name list as name:1 and name:2), and prompt templates with their argument hints. The result is partial when an extension or resource failed to load.
  • claude: the command list from claude's own initialize answer, projected to the fields above only; no account fields. Project skills can appear here too.
  • Other runtimes return unsupported. Neither reader sends a model request or returns a command's body. This is the catalog at startup, not commands a session adds later.
  • Inventory starts the runtime in that cwd the way the runtime itself would, which can run that workspace's code (pi loads the project's extensions). This was already true for skills, tools and mcpServers. Do not inventory a directory you do not trust.

Fixed: inventory, model listing and account usage no longer leave runtime processes behind (#351)

  • claude's inventory, model listing and account-usage queries and grok's inventory ended only their direct child on Windows, often an npm .cmd launcher, leaving the real runtime process running with its working directory locked. On POSIX a descendant that had left the process group (for example a detached process started by a stdio MCP server) was also left running (verified on Linux; macOS uses the same process-group code). They now end the whole process tree, as sessions already did, and return only after it exits. Other places OAR ends a process on Windows are tracked in Windows: kill the whole process tree wherever OAR ends a process it started #352.

Behavior changes

  • RuntimeInventories gains a required commands reader. Runtimes built with defineRuntime get an unsupported one automatically; a host that constructs a Runtime object by hand must add commands.
  • CommandEntry is exported from both contract entries.

Validation: #351 passed all 17 checks on its final head, and its merged tree equals its CI tree. Lookout verified it with no account against pi 1.1.0 and claude 2.1.296: colliding extension commands, prompt templates with and without argument hints, a changed cwd, a failing extension (partial: true), timeouts, the CLI output, no account data or command bodies in claude's result while a fake account was configured, no model request, no process left behind (including a detached grandchild of a stdio MCP server that 0.55.0 left running on Linux), and unsupported from every other runtime. After this PR passes CI and merges, tag its exact squash commit as v0.56.0 to trigger npm trusted publishing.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit 163d551 into main Oct 11, 2026
17 checks passed
@xxchan
xxchan deleted the chore/release-0.56.0 branch October 11, 2026 08:41
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