Skip to content

Version Packages - #115

Merged
johnzook merged 1 commit into
mainfrom
changeset-release/main
Jun 4, 2026
Merged

Version Packages#115
johnzook merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@zookanalytics/agent-env@1.1.1

Patch Changes

  • #114 95f48f9 Thanks @zook-bot! - Fix agent-env create on Linux / Podman hosts (previously macOS + Docker Desktop only):
    • pnpm 11 compatibility: the post-create CLI install used pnpm link --global, a form pnpm 11 removed, so it failed with ERR_PNPM_LINK_BAD_PARAMS and aborted container creation. Switched the dev-mount install (post-create.sh) and the setup:agent-env script to pnpm add -g <dir>.
    • Cross-platform SSH agent forwarding: the SSH agent socket mount was hardcoded to /run/host-services/ssh-auth.sock (a path only Docker Desktop/OrbStack inject on macOS), causing docker run to fail on Linux. Moved it out of the static image LABEL into a platform-aware resolver (resolveSshAgentMount) that forwards the host's real SSH agent on Linux (as ${localEnv:SSH_AUTH_SOCK}, substituted at each devcontainer up so restarts survive agent socket path changes across logout/reboot) and the fixed path on macOS, and skips the mount entirely when no agent is available.
    • Actionable error when the devcontainer CLI is missing: a missing devcontainer binary spawned with ENOENT and surfaced as an empty "No error details available" message. Added a pre-flight check that returns a clear DEVCONTAINER_CLI_MISSING error pointing to npm install -g @devcontainers/cli or VS Code's bundled CLI. The CLI remains a soft dependency.

@johnzook
johnzook merged commit d77700c into main Jun 4, 2026
@johnzook
johnzook deleted the changeset-release/main branch June 4, 2026 05:28
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