Skip to content

feat(agent): bootstrap manager URL and BoxLite registries#4

Closed
GatewayJ wants to merge 1 commit intoOpenCSGs:mainfrom
GatewayJ:main
Closed

feat(agent): bootstrap manager URL and BoxLite registries#4
GatewayJ wants to merge 1 commit intoOpenCSGs:mainfrom
GatewayJ:main

Conversation

@GatewayJ
Copy link
Copy Markdown

Summary

Adds [bootstrap] options so operators can force the manager base URL that agent boxes use and configure BoxLite OCI registries for image pulls.

Changes

  • Config: manager_box_base_url, boxlite_registries in TOML (load/save); export config.FormatStringArray for TOML array literals.
  • Agent: resolveManagerBaseURL prefers explicit manager_box_base_url, then local IPv4, then advertise_base_url.
  • BoxLite: pass boxlite.WithRegistries(...) when boxlite_registries is non-empty.
  • Gateway box: fix foreground picoclaw gateway launch (entrypoint /bin/sh, shell -c); keep workspace volume prep via ensureAgentWorkspace and PicoClaw config via ensureAgentPicoClawConfig.
  • Misc: .gitignore keep .cursor/rules tracked; minor default JSON formatting.

Testing

  • CGO_ENABLED=1 go test ./...

Notes

  • Docs (README / usage) may still need a short mention of the new bootstrap fields; can follow in a follow-up PR if desired.

Made with Cursor

- Add [bootstrap] manager_box_base_url and boxlite_registries; load/save TOML
- Plumb through agent.Service; resolveManagerBaseURL prefers explicit URL
- Apply boxlite.WithRegistries when non-empty; fix gateway box foreground cmd
- Export config.FormatStringArray; ignore .cursor except rules
@GatewayJ GatewayJ closed this Apr 20, 2026
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