Repository navigation
Chore/harshil/sessions agents - #514
Closed
govindavashishtha wants to merge 8 commits into
Closed
govindavashishtha wants to merge 8 commits into
govindavashishtha wants to merge 8 commits into
Conversation
- 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 detectedLatest 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #
Changes
How was this tested?
Checklist
pnpm build,pnpm test,pnpm typecheck,pnpm lint:ci, andpnpm format:checkpass locallypackages/trueforge-sdk,.github/fern/openapi/openapi.json,docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge.env.exampleupdated if configuration or behavior changed