Skip to content

chore: harden Cloud Agent install (bun global command-code) - #9

Draft
makeittech wants to merge 2 commits into
mainfrom
feat/cloud-agent-env-36eb
Draft

chore: harden Cloud Agent install (bun global command-code)#9
makeittech wants to merge 2 commits into
mainfrom
feat/cloud-agent-env-36eb

Conversation

@makeittech

Copy link
Copy Markdown
Contributor

Summary

Hardens Cloud Agent setup for this repo:

  • Multi-line idempotent install / start in .cursor/environment.json
  • Install command-code with bun add -g (nvm npm is often missing from PATH during builds)
  • set -euo pipefail so install fails closed

Validation

  • Install ran successfully twice locally
  • Draft build bld-20260809-62e3757c-3625-4359-a00d-48c7f78c4f66 succeeded (bun add -g command-code@1.15.1, bun install, tsc)
  • Fresh Cloud Agent from that build: bun 1.3.14, opencode 1.18.15, command-code 1.15.1, smoke tests passed

Action

Also Save the proposed Environment panel scripts (same install/start) so future agents pick up the tested build.

Open in Web Open in Cursor 

Serhii Dziupin and others added 2 commits August 9, 2026 10:05
Use frozen bun lockfile installs and line-oriented install/start so
environment setup is easier to read and rebuild.

Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
Avoid relying on nvm npm (often missing from PATH during builds).
Use `bun add -g command-code@latest` with set -e so install fails closed.

Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
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