Skip to content

feat(agent): add subagent ID fields to devcontainers in manifest#21848

Merged
DanielleMaywood merged 2 commits intomainfrom
danielle/devcontainer-resources/agent-proto
Feb 3, 2026
Merged

feat(agent): add subagent ID fields to devcontainers in manifest#21848
DanielleMaywood merged 2 commits intomainfrom
danielle/devcontainer-resources/agent-proto

Conversation

@DanielleMaywood
Copy link
Contributor

@DanielleMaywood DanielleMaywood commented Feb 2, 2026

Closes coder/internal#1242

Update the agent protobuf schema (agent/proto/agent.proto) to include:

  • subagent_id field in WorkspaceAgentDevcontainer message
  • id field in CreateSubAgentRequest message

Bump the Agent API version from v2.7 to v2.8 and update all client references throughout the codebase (ConnectRPC27 -> ConnectRPC28, DRPCAgentClient27 -> DRPCAgentClient28).

This is a schema-only change with no functional modifications.

Functional modifications are coming in a separate PR #21837

Update the agent protobuf schema (agent/proto/agent.proto) to include:
- subagent_id field in WorkspaceAgentDevcontainer message
- id field in CreateSubAgentRequest message

Bump the Agent API version from v2.7 to v2.8 and update all client
references throughout the codebase (ConnectRPC27 -> ConnectRPC28,
DRPCAgentClient27 -> DRPCAgentClient28).

This is a schema-only change with no functional modifications.

repeated DisplayApp display_apps = 6;

optional bytes id = 7;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

self-review: This id will be used when the sub agent wants to "create"/upsert an agent that already exists.

string workspace_folder = 2;
string config_path = 3;
string name = 4;
optional bytes subagent_id = 5;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

self-review: This is optional as it will only be present for "pre-created" dev containers (i.e. devcontainers that have terraform-attached resources)

@DanielleMaywood DanielleMaywood marked this pull request as ready for review February 2, 2026 16:41
- Add some documentation to agent_drpc_old.go
- Fix version number in agentsdk.go
@DanielleMaywood DanielleMaywood merged commit 2de8cdf into main Feb 3, 2026
27 checks passed
@DanielleMaywood DanielleMaywood deleted the danielle/devcontainer-resources/agent-proto branch February 3, 2026 12:37
@github-actions github-actions bot locked and limited conversation to collaborators Feb 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agent: Update proto for devcontainer resources

2 participants