Skip to content

fix: move installation to postStartCommand for proper user install#40

Merged
wcgomes merged 9 commits into
mainfrom
fix/poststart-install-order
Apr 26, 2026
Merged

fix: move installation to postStartCommand for proper user install#40
wcgomes merged 9 commits into
mainfrom
fix/poststart-install-order

Conversation

@wcgomes

@wcgomes wcgomes commented Apr 26, 2026

Copy link
Copy Markdown
Owner
  • install.sh now only installs dependencies and copies postStartCommand.sh
  • All installation logic moved to postStartCommand.sh
  • Installs run as the actual user, not root
  • Auto-update checks commit IDs and re-installs when updates available
  • Fixes issue where agency-agents/agents-workspace ran before opencode

Bump versions:

  • agency-agents: 0.3.8 -> 0.3.9
  • agents-workspace: 0.1.6 -> 0.1.7

wcgomes and others added 9 commits April 26, 2026 17:50
- install.sh now only installs dependencies and copies postStartCommand.sh
- All installation logic moved to postStartCommand.sh
- Installs run as the actual user, not root
- Auto-update checks commit IDs and re-installs when updates available
- Fixes issue where agency-agents/agents-workspace ran before opencode

Bump versions:
- agency-agents: 0.3.8 -> 0.3.9
- agents-workspace: 0.1.6 -> 0.1.7
The mv command failed when trying to move the downloaded script to
/usr/local/share/devcontainer-features/ due to permission restrictions.
Now downloads directly to /tmp instead.
- Commit file checks removed since /usr/local/share is not writable
- Only check for postStartCommand.sh and user marker
- Simpler, more reliable tests
Avoid su prompting for password when already running as the target user
These are in /usr/local/share which is not writable. Using user marker in HOME instead.
- commit files now in ~/.local/share/devcontainer-features/
- removed all references to /usr/local/share for user data
- only /usr/local/share used for the postStartCommand script itself
- Create parent directory before writing commit files
- Ensures ~/.local/share/devcontainer-features/ exists
@wcgomes wcgomes merged commit ba6587c into main Apr 26, 2026
13 checks passed
@wcgomes wcgomes deleted the fix/poststart-install-order branch April 26, 2026 18:51
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