Skip to content

ENG-3016 Multi-ssh deployments#396

Merged
burnpiro merged 6 commits intomainfrom
feature/multi-ssh-deployments
Mar 13, 2026
Merged

ENG-3016 Multi-ssh deployments#396
burnpiro merged 6 commits intomainfrom
feature/multi-ssh-deployments

Conversation

@burnpiro
Copy link
Copy Markdown
Contributor

@burnpiro burnpiro commented Feb 23, 2026

  • Add Team API support
  • Add support for multi-ssh deployments for teams
  • Add interactive team selection for config

Note

Medium Risk
Changes affect pod creation payloads and team lookup logic, which could impact how resources are shared or which team is used if misconfigured; added tests reduce but don’t eliminate integration risk with API expectations.

Overview
Adds team-aware resource sharing to the Prime CLI: pods create can now auto-share pods with a whole team (--share-with-team or config default) or interactively share with selected members (--add-members), and sends sharedWithTeam/teamMemberIds in the create payload.

Expands team tooling by adding teams members, paginating fetch_teams, and tightening config set-team-id to require an explicit argument while enriching stored team metadata. Configuration now includes a persisted share_resources_with_team flag with a new config set-share-resources-with-team command and display in config view, plus new tests covering pagination and sharing flag behavior.

Written by Cursor Bugbot for commit bcb5226. This will update automatically on new commits. Configure here.

- Add support for multi-ssh deployments for teams
- Add interactive team selection for config
@burnpiro burnpiro requested review from JannikSt and d42me February 23, 2026 15:25
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Comment thread packages/prime/src/prime_cli/core/config.py
Comment thread packages/prime/src/prime_cli/commands/pods.py
Comment thread packages/prime/src/prime_cli/commands/pods.py Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Conflicting flags cause misleading sharing behavior and display
    • When interactive member selection chooses specific users, the code now explicitly sets shared_with_team to False so only teamMemberIds are sent and the display matches actual sharing behavior.

Create PR

Or push these changes by commenting:

@cursor push 73453a550e
Preview (73453a550e)
diff --git a/packages/prime/src/prime_cli/commands/pods.py b/packages/prime/src/prime_cli/commands/pods.py
--- a/packages/prime/src/prime_cli/commands/pods.py
+++ b/packages/prime/src/prime_cli/commands/pods.py
@@ -742,6 +742,7 @@
                     shared_with_team = True
                     sharing_display = "All team members"
                 else:
+                    shared_with_team = False
                     selected_indices = []
                     for part in selection.split(","):
                         part = part.strip()

This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.

Comment thread packages/prime/src/prime_cli/commands/pods.py
@burnpiro burnpiro merged commit 5022c75 into main Mar 13, 2026
12 checks passed
@burnpiro burnpiro deleted the feature/multi-ssh-deployments branch March 13, 2026 17:43
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