Skip to content

Chore/harshil/sessions agents - #514

Closed
govindavashishtha wants to merge 8 commits into
mainfrom
chore/harshil/sessions-agents
Closed

govindavashishtha wants to merge 8 commits into
mainfrom
chore/harshil/sessions-agents

Conversation

@govindavashishtha

Copy link
Copy Markdown
Contributor

Summary

Closes #

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, .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

- Introduced the `AgentSessions` component to display a list of sessions for a specific agent, including filtering options by date.
- Added `AgentSessionListRow`, `AgentSessionDetailHeader`, and `AgentSessionTurnHeader` components for better session detail presentation.
- Implemented session event handling and timeline display using `AgentSessionTimelineContainer`.
- Updated `pnpm-lock.yaml` and `pnpm-workspace.yaml` for dependency patches and new package resolutions.
- Added utility functions for formatting session metrics and handling pagination of session events.
@changeset-bot

changeset-bot Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3eab1f5

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

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

- Added a two-pane session list and a slot-overridable event timeline graph to the `AgentSessions` component.
- Introduced new components: `AgentSessionEventTimeline`, `AgentSessionEventTimelineChart`, and `AgentSessionMetricsStrip` for improved session metrics visualization.
- Updated `AgentSessionDetailHeader` to include a copyable session link.
- Integrated `chart.js` and `react-chartjs-2` for enhanced charting capabilities.
- Updated `pnpm-lock.yaml` to include new dependencies and removed outdated entries.
- Enhanced documentation for agent details and session metrics.
- Introduced an all-user Sessions sidebar page with agent and time filters, shareable query parameters, and a two-pane timeline.
- Updated the `AgentSessions` component to support filtering by agent and time range.
- Added new components: `SessionsPage`, `SessionsBrowserButton`, and `AgentSessionsFilters` for improved session management.
- Updated `AgentSessionDetailHeader` to include additional parameters for session sharing.
- Incremented `@truefoundry/assistant-ui-runtime` version to 0.1.22 in package dependencies.
- Enhanced documentation for session features and usage.
- Updated the agent library Sessions tab to maintain the active tab state using `?tab=` in the URL, ensuring that navigating directly to an agent opens on the Overview tab.
- Enhanced the `AgentDetailsPage` to respect the `tab=` query parameter and update it when switching tabs.
- Improved the `AgentsLibrary` component to set the active tab to Overview when an agent is opened.
- Refined session sharing functionality to ensure proper tab handling in the URL.
- Updated related tests to verify the new tab behavior and URL query handling.
- Added comprehensive JSDoc comments to `buildSessionTimelineSegments`, `sessionEventTimeline`, and `sessionEventTimelineChart` modules, clarifying the purpose and functionality of each function and type.
- Improved code readability and maintainability by documenting the logic behind segment construction, event mapping, and timeline layout.
- Ensured that the timeline utilities are well-documented for future developers, facilitating easier understanding and modifications.
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