Repository navigation
chore: release v0.54.1 - #331
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release OAR and CLI 0.54.1. This PR changes only the two package version fields.
Fixed: a host bundled into one file can sign in to pi's providers (#328, #330)
piListModels,createPiProviderAuth,createPiModelCatalog), OAR now makes the two calls pi's own standalone binary makes:registerBunOAuthFlows()andsetBedrockProviderModule(bedrockProviderModule). The imports are literal, so a bundler follows them, and dynamic, so a host that never uses pi does not load them. A bundled host needs no pi dependency of its own for this.OAR_PI_MODULESprocess warning, and Bedrock loads pi's own way. A failed hand-over is tried again on the next call.photon_rs_bg.wasmfrom its own directory, so a single-file host ships that file beside it or embeds it.Fixed: pi's proxy plane in a bundled host (#330)
Agent. A bundler can rename that class (esbuild made itAgent4in a single-file host), so OAR took it for the host's own dispatcher and skipped the proxy plane: pi's requests ignoredHTTPS_PROXY, with anOAR_PI_PROXY_PLANEwarning. It is now recognized by class as well.Behavior changes
OAR_PI_MODULES, only when a pi-ai module cannot be handed over.Validation: #330 passed all 17 checks on its final head, and its merged tree differs from its CI tree only in the version fields from the 0.54.0 release. Lookout bundled main and the PR with a small host into one CommonJS file each, run from an empty directory with fake credentials and no network: on main every sign-in flow and Bedrock failed with "Cannot find module" and pi's requests bypassed
HTTPS_PROXY; on the PR all loaded and requests went through the proxy, with no warning. With Bedrock left out of the bundle, the sign-in flows still loaded and one warning was printed. A host that never uses pi loaded none of these modules. After this PR passes CI and merges, tag its exact squash commit asv0.54.1to trigger npm trusted publishing.🤖 Generated with Claude Code