Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add organization scope for shared ports#18314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
aslilac wants to merge19 commits intomain
base:main
Choose a base branch
Loading
fromlilac/org-port-sharing

Conversation

aslilac
Copy link
Member

@aslilacaslilac commentedJun 10, 2025
edited
Loading

Fair warning: I made Claude 4 Opus Thinking implement this for me, and then I spent a day working back from it's solution to end up here. Please forgive me sins if I missed something awful while reviewing the code. 🙃 It definitely needed a bunch of tweaking, and missed a bunch of tangential but necessary changes.

Closes#17247

When sharing a port, you can now choose "organization" as a level. This fills a middle ground between "literally any authenticated user" and "only me".

Comment on lines 24 to +27
OWNER = 1;
AUTHENTICATED = 2;
PUBLIC = 3;
ORGANIZATION = 4;
Copy link
Contributor

Choose a reason for hiding this comment

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

This could also be added in theCreateSubAgentRequest/App/Share message.

enumShare {
OWNER=0;
AUTHENTICATED=1;
PUBLIC=2;
}

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

any chance you can explain to me what a subagent is and why I would want to add that here? it makes sense on its face but I have no idea what a subagent is 💀

Copy link
Contributor

Choose a reason for hiding this comment

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

It’s just an agent that has a parent agent that manages its lifecycle. They’re being used for our dev container feature where we inject agents into a dev container during the runtime (not startup) of a workspace. So they’re for all intents and purposes normal agents, just with a different lifecycle.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@DanielleMaywoodDanielleMaywoodDanielleMaywood left review comments

@spikecurtisspikecurtisAwaiting requested review from spikecurtisspikecurtis is a code owner

@johnstcnjohnstcnAwaiting requested review from johnstcnjohnstcn is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

@aslilacaslilac

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Add organization scope to shared ports
2 participants
@aslilac@DanielleMaywood

[8]ページ先頭

©2009-2025 Movatter.jp