Skip to content

chore: release v0.73.0 - #494

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/cindy/release-0.73.0
Oct 26, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/cindy/release-0.73.0

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Cindy from open-agent-runtime opened this pull request through Stamp
View in Stamp →


New

Login and sessions share one environment (#490)

LoginOptions, LogoutOptions and AuthStatusOptions take env, with the same overlay semantics as SessionOptions.env: strings set a variable, null removes 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 logout and codex login status all run with it, including the read that confirms a login. Runtimes whose sessions refuse env (Cursor, whose SDK runs in the host process) refuse a non-empty env on login, logout and status too, with UnsupportedOptionError("env").

userShellEnvironment({ timeoutMs, signal }) runs $SHELL once as an interactive login shell (POSIX shells, fish, Nushell and PowerShell; natively verified with Bash, fish and Nushell) and returns { env, changedVariables }. env is the complete snapshot, with null for host variables the shell removed, ready to pass as an overlay. changedVariables lists only the names of HOME, PATH, CLAUDE_CONFIG_DIR, CODEX_HOME and proxy variables that differ from the host, never their values. Failures throw UserShellEnvironmentError with a typed reason: 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_output and output_too_large; an invalid timeoutMs throws RangeError. It never returns a partial environment and never forwards shell output. It does not check for a login session; without one, session variables such as XDG_RUNTIME_DIR may be missing. New exported types: UserShellEnvironmentOptions, UserShellEnvironmentFailure.

Host note: capture once and pass the same env to sessions, login, logout, status and orient, so credentials are written and read in the same place. Skip it for runtimes that declare refusedSessionOptions.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 (new InstallationProbeOptions and optional env fields on the other reader options), with the meaning that runtime's sessions give it. Executable lookup uses the passed PATH, home-relative fallbacks use the passed HOME, and child processes receive the overlay. Built-in runtimes whose sessions refuse env (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_PROXY in 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 }) passes env only to runtimes whose sessions accept it (refusedSessionOptions.env absent); the others are observed in the host environment, where their sessions run. A reader that refuses env is reported as unsupported.

Known limitation (Pi): Pi readers accept env with 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 use execution: "subprocess", whose child process uses env throughout, including HOME for the agent directory. With a subprocess runtime and an env that changes HOME, the agent directory or provider keys, Pi readers and sessions can see different configuration. A follow-up will align them.

Behavior changes

Fixes

  • @botiverse/oar ships its LICENSE again. 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

  • Toolchain: typecheck and builds use tsrs 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 official typescript dependency remains only to check that a TypeScript 6 host can consume the published declarations.
  • Windows Pi RPC CI records process and memory samples (test(ci): record Windows Pi RPC process and memory samples #492).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@stamp-build
stamp-build Bot merged commit 4339a32 into main Oct 26, 2026
27 checks passed
@stamp-build
stamp-build Bot deleted the agent/cindy/release-0.73.0 branch October 26, 2026 16:52
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.

0 participants