sandbox-agent/server/packages
Nathan Flurry 553f249836
fix: add postinstall chmod for npm binary permissions (#43)
* fix: add postinstall chmod for npm binary permissions

* fix: report npm package version instead of compiled binary version

The --version flag now reports the version from package.json instead of the
version compiled into the Rust binary. This ensures the version matches what
was installed via npm, even when binaries are reused from previous releases.

* fix: bake version into binary at build time

Instead of hacking around the version in the Node.js wrapper script,
properly pass the version at build time via SANDBOX_AGENT_VERSION env var.

Changes:
- build.rs: Generate version.rs with VERSION constant from env var
- main.rs: Use generated version constant for clap --version
- Dockerfiles: Accept SANDBOX_AGENT_VERSION as build arg
- build.sh: Pass version as second argument to Docker builds
- release.yaml: Pass version to build script during CI
- Remove version hack from sdks/cli/bin/sandbox-agent wrapper

The version is now baked into the binary during the release build,
ensuring --version reports the correct npm package version.
2026-02-02 00:45:31 -08:00
..
agent-credentials fix: correct inspector package name in Dockerfiles and add .dockerignore (#50) 2026-02-01 23:03:51 -08:00
agent-management fix: correct inspector package name in Dockerfiles and add .dockerignore (#50) 2026-02-01 23:03:51 -08:00
error fix: correct inspector package name in Dockerfiles and add .dockerignore (#50) 2026-02-01 23:03:51 -08:00
extracted-agent-schemas fix: correct inspector package name in Dockerfiles and add .dockerignore (#50) 2026-02-01 23:03:51 -08:00
openapi-gen fix: correct inspector package name in Dockerfiles and add .dockerignore (#50) 2026-02-01 23:03:51 -08:00
sandbox-agent fix: add postinstall chmod for npm binary permissions (#43) 2026-02-02 00:45:31 -08:00
universal-agent-schema fix: correct inspector package name in Dockerfiles and add .dockerignore (#50) 2026-02-01 23:03:51 -08:00
universal-schema-gen fix: add description and repository fields to all crate Cargo.toml files 2026-01-27 20:32:09 -08:00