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

Commitc800571

Browse files
chore: fix issues
1 parent3a18111 commitc800571

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

‎agent/agentcontainers/api.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,7 @@ func (api *API) maybeInjectSubAgentIntoContainerLocked(ctx context.Context, dc c
11831183
slices.Sort(displayApps)
11841184

11851185
subAgentConfig.DisplayApps=displayApps
1186+
subAgentConfig.Apps=apps
11861187
}
11871188

11881189
deleteSubAgent:=proc.agent.ID!=uuid.Nil&&maybeRecreateSubAgent&&!proc.agent.EqualConfig(subAgentConfig)

‎agent/agentcontainers/subagent.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ func (a *subAgentAPIClient) Create(ctx context.Context, agent SubAgent) (SubAgen
181181
share=agentproto.CreateSubAgentRequest_App_OWNER.Enum()
182182
casecodersdk.WorkspaceAppSharingLevelPublic:
183183
share=agentproto.CreateSubAgentRequest_App_PUBLIC.Enum()
184+
casecodersdk.WorkspaceAppSharingLevelOrganization:
185+
share=agentproto.CreateSubAgentRequest_App_ORGANIZATION.Enum()
184186
default:
185187
returnSubAgent{},xerrors.Errorf("unexpected codersdk.WorkspaceAppSharingLevel: %#v",app.Share)
186188
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp