Skip to content

feat: add project resource and project-scoped defaults#309

Draft
edouardb wants to merge 2 commits intomasterfrom
hydra/session-c73817be290d
Draft

feat: add project resource and project-scoped defaults#309
edouardb wants to merge 2 commits intomasterfrom
hydra/session-c73817be290d

Conversation

@edouardb
Copy link
Copy Markdown
Member

Summary

  • add a new projects top-level resource with create/get/list/update/delete/describe/switch
  • add a root --project/-p context, project name completion, and project-aware ID mappers
  • scope apps and other project-aware resource list/create flows to the active project, with koyeb apps list --all-projects as an override

Notes

  • TODO: the pinned API client in this repo exposes ProjectsApi and project_id request fields, but it does not expose Organization.default_project
  • until that field is available in the generated client, projects switch persists the selected project in local CLI config and organizations switch clears it to avoid cross-org leakage

Verification

  • go test ./...

codex and others added 2 commits March 27, 2026 17:00
Co-authored-by: mistral-hydra[bot] <mistral-hydra[bot]@users.noreply.github.com>
Co-authored-by: mistral-hydra[bot] <mistral-hydra[bot]@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.

2 participants