Skip to content

feat: display metadata to session details - #909

Open
harshil-2096 wants to merge 8 commits into
mainfrom
chore/hv/show-session-metadata-at-the-top-of-the-session
Open

harshil-2096 wants to merge 8 commits into
mainfrom
chore/hv/show-session-metadata-at-the-top-of-the-session

Conversation

@harshil-2096

@harshil-2096 harshil-2096 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

image image image

Closes AGE-2372

Changes

How was this tested?

Checklist

  • I have read the contributing guidelines
  • pnpm build, pnpm test, pnpm typecheck, pnpm lint:ci, and pnpm format:check pass locally
  • Tests added/updated where it makes sense
  • No hand-edits to generated code (packages/trueforge-sdk, python/trueforge_sdk, .github/fern/openapi/openapi.json, docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge
  • Docs / .env.example updated if configuration or behavior changed

Note

Low Risk
Read-only UI and optional type fields; metadata was already used internally (e.g. create-agent flags) and is only displayed when present.

Overview
Session detail views now show caller metadata (string key-value pairs) as tag chips under the title row when the session includes non-empty metadata.

Runtime and UI types gain optional metadata?: Record<string, string> on session detail and list entries. The TrueForge agent/chat session adapters forward API session.metadata into those shapes. AgentSessionDetailHeader accepts a metadata prop and renders a bordered tag row (data-slot="session-metadata-tags") with a new tag icon; AgentSessions passes metadata from loaded detail or the selected list row.

Minor layout tweaks: the detail panel uses isolate, and the sessions list resizer z-index is raised so stacking stays correct with the two-row header.

Reviewed by Cursor Bugbot for commit 81238ce. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot

changeset-bot Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 81238ce

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@truefoundry/trueforge-assistant-ui-runtime Patch
@truefoundry/trueforge-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@harshil-2096 harshil-2096 changed the title feat: display creator subject name in Agent Sessions list feat: display metadata to session details Sep 29, 2026

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2e5c4d1. Configure here.

Comment thread .changeset/session-metadata-header-action.md

This branch has not been deployed

No deployments
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