Skip to content

feat(agent-relay-claude-code): declare and expose the agent_relay_client_platform parameter - #1147

Open
Emyrk wants to merge 1 commit into
mainfrom
steven/relay-30-claude-code-client-platform
Open

Emyrk wants to merge 1 commit into
mainfrom
steven/relay-30-claude-code-client-platform

Conversation

@Emyrk

@Emyrk Emyrk commented Sep 24, 2026

Copy link
Copy Markdown
Member

Description

Declare agent_relay_client_platform, the persistent parameter Agent Relay stamps with the surface that created a Claude Code session (web_claude_ai, claude_in_slack, desktop_app, ...), and expose it to the workspace as AGENT_RELAY_CLIENT_PLATFORM and as the client_platform output so templates can vary their setup by origin.

  • Attribution only, not part of the relay's verified contract: a relay that predates the parameter leaves it empty, and a template on the previous module version keeps working with a newer relay (coderd discards the undeclared value).
  • Relay side: coder/agent-relay#82.

Type of Change

  • Feature/enhancement

Module Information

Path: registry/coder/modules/agent-relay-claude-code
New version: v0.2.0
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally (terraform test: 8 passed)

Related Issues

RELAY-30


Coder Agents on behalf of @Emyrk.

@linear-code

linear-code Bot commented Sep 24, 2026

Copy link
Copy Markdown

RELAY-30

@Emyrk
Emyrk marked this pull request as ready for review September 24, 2026 19:27
@Emyrk
Emyrk requested a review from matifali September 24, 2026 19:27
Comment thread registry/coder/modules/agent-relay-claude-code/README.md
@matifali

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T13:02:56.499982Z 8daef65 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 8daef65875

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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