Skip to content

Fix agent spawn CLI metadata propagation#33

Merged
khaliqgant merged 2 commits into
mainfrom
fix/agent-spawn-cli-metadata
Feb 19, 2026
Merged

Fix agent spawn CLI metadata propagation#33
khaliqgant merged 2 commits into
mainfrom
fix/agent-spawn-cli-metadata

Conversation

@khaliqgant

@khaliqgant khaliqgant commented Feb 19, 2026

Copy link
Copy Markdown
Member

Summary

  • Promote cli to a top-level metadata key during spawnAgent so the dashboard displays it without reaching into the nested spawn object
  • Update AgentPanel and AgentSidebar to fall back to metadata.spawn.cli for agents spawned before this change

Test plan

  • Spawn an agent via the API and verify metadata.cli is set at the top level
  • Confirm the dashboard sidebar and agent panel show the correct CLI label
  • Verify agents spawned before this change still display their CLI via the fallback

🤖 Generated with Claude Code


Open with Devin

Promote `cli` to a top-level metadata key during spawn so the dashboard
can display it without reaching into the nested `spawn` object. Update
AgentPanel and AgentSidebar to fall back to `metadata.spawn.cli` for
agents spawned before this change.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
devin-ai-integration[bot]

This comment was marked as resolved.

@github-actions

Copy link
Copy Markdown

Preview deployed!

Environment URL
API https://pr33-api.relaycast.dev
Health https://pr33-api.relaycast.dev/health
Observer https://pr33-observer.relaycast.dev

This preview shares the staging database and will be cleaned up when the PR is closed.

Run E2E tests

npm run e2e -- https://pr33-api.relaycast.dev --ci

Open observer dashboard

https://pr33-observer.relaycast.dev

Strip `metadata.cli` alongside `metadata.spawn` in `releaseAgent` so
released agents don't retain a stale CLI label in the dashboard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@khaliqgant khaliqgant merged commit 11c6cb3 into main Feb 19, 2026
3 checks passed
@khaliqgant khaliqgant deleted the fix/agent-spawn-cli-metadata branch February 19, 2026 10:38
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.

1 participant