Repository navigation
chore: release v0.73.0 - #494
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.
New
Login and sessions share one environment (#490)
LoginOptions,LogoutOptionsandAuthStatusOptionstakeenv, with the same overlay semantics asSessionOptions.env: strings set a variable,nullremoves it, and the host's own environment is never changed. Claude login, logout and status, Qoder login and status, and Codex's app-server login,codex logoutandcodex login statusall run with it, including the read that confirms a login. Runtimes whose sessions refuseenv(Cursor, whose SDK runs in the host process) refuse a non-emptyenvon login, logout and status too, withUnsupportedOptionError("env").userShellEnvironment({ timeoutMs, signal })runs$SHELLonce as an interactive login shell (POSIX shells, fish, Nushell and PowerShell; natively verified with Bash, fish and Nushell) and returns{ env, changedVariables }.envis the complete snapshot, withnullfor host variables the shell removed, ready to pass as an overlay.changedVariableslists only the names ofHOME,PATH,CLAUDE_CONFIG_DIR,CODEX_HOMEand proxy variables that differ from the host, never their values. Failures throwUserShellEnvironmentErrorwith a typedreason:no_node_runtime(the host is a Node single executable application or a compiled Bun binary, which cannot evaluate the capture script),unsupported_platform(Windows),shell_not_set,shell_unavailable,shell_failed,timed_out,cancelled,invalid_outputandoutput_too_large; an invalidtimeoutMsthrowsRangeError. It never returns a partial environment and never forwards shell output. It does not check for a login session; without one, session variables such asXDG_RUNTIME_DIRmay be missing. New exported types:UserShellEnvironmentOptions,UserShellEnvironmentFailure.Host note: capture once and pass the same
envto sessions, login, logout, status andorient, so credentials are written and read in the same place. Skip it for runtimes that declarerefusedSessionOptions.env(Cursor, Pi Durable). Fall back to the host environment when the helper fails.Readers take the same environment (#491)
Installation probes, account usage, model listing, inventories and provider listing accept
env(newInstallationProbeOptionsand optionalenvfields on the other reader options), with the meaning that runtime's sessions give it. Executable lookup uses the passedPATH, home-relative fallbacks use the passedHOME, and child processes receive the overlay. Built-in runtimes whose sessions refuseenv(Cursor, Pi Durable) refuse it in their readers too. Kimi account usage refuses only overlays that change proxy or TLS variables (HTTP_PROXY,HTTPS_PROXY,ALL_PROXY,NO_PROXYin either case,NODE_EXTRA_CA_CERTS,SSL_CERT_FILE,SSL_CERT_DIR,NODE_TLS_REJECT_UNAUTHORIZED), because its HTTP request runs in the host process.orient({ env })passesenvonly to runtimes whose sessions accept it (refusedSessionOptions.envabsent); the others are observed in the host environment, where their sessions run. A reader that refusesenvis reported asunsupported.Known limitation (Pi): Pi readers accept
envwith in-process Pi session semantics, where it reaches only child processes and the SDK reads credentials and configuration from the host environment. This holds even when sessions useexecution: "subprocess", whose child process usesenvthroughout, includingHOMEfor the agent directory. With a subprocess runtime and anenvthat changesHOME, the agent directory or provider keys, Pi readers and sessions can see different configuration. A follow-up will align them.Behavior changes
PATHis empty, and on POSIX an unsetPATHnow searches/usr/bin:/bin(previously only the working directory); on Windows an empty or unsetPATHfinds nothing. This applies to the host's ownPATHas well as a passedenv.OAR_*_BINpins and absolute install-location fallbacks still resolve (feat(auth): share session environment and capture login shell environment #490, feat(readers): use the session environment for runtime observations #491).HOMEchange is seen (feat(readers): use the session environment for runtime observations #491).InstallationProbenow takes an optionalInstallationProbeOptionsargument; zero-argument probes still type-check, but a custom probe whose first parameter has another type does not (feat(readers): use the session environment for runtime observations #491).Fixes
@botiverse/oarships itsLICENSEagain. 0.72.0 omitted it because pnpm copies the workspace root license only into packages without another license-like file, and the Qwen brand assets added one. Both packages now carry their own copy, and the packaging test compares it with the root license (fix(packaging): include the full license in both npm packages #493).Internal
0.20.0-ts7.1.0-beta(TypeScript 7.1 beta semantics, pinned exactly) instead of TypeScript 6.0.3 (chore(toolchain): migrate typechecking and builds to tsrs #452). Its output, source maps included, is byte-identical to official TypeScript 7.1 beta. Compared with 0.72.0's TypeScript 6 build, emitted JavaScript is semantically unchanged; one declaration file orders a property differently, and source maps differ. The officialtypescriptdependency remains only to check that a TypeScript 6 host can consume the published declarations.