Skip to content

feat: Add advanced agent configuration features to TrueFoundry UI - #547

Merged
govindavashishtha merged 13 commits into
mainfrom
chore/hv/advance-playground-settings
Sep 3, 2026
Merged

feat: Add advanced agent configuration features to TrueFoundry UI#547
govindavashishtha merged 13 commits into
mainfrom
chore/hv/advance-playground-settings

Conversation

@harshil-2096

@harshil-2096 harshil-2096 commented Sep 2, 2026

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

Note

Medium Risk
Large UI refactor touching draft agent specs, MCP mount shape, and save/adopt flows; incorrect tool or runtime edits could change persisted agent behavior, though changes are client-side with updated tests.

Overview
Adds a live Agent Config drawer for mutable draft composers (sidebar, drawer, and stack layouts), opened from a new composer control. Edits apply to the active draft immediately; instructions use debounced sync, and Save Agent can overlay unsynced instruction text from the drawer.

The composer Tools picker is narrowed to Connectors and Skills only—runtime capabilities move into Agent Config. Save Agent is refactored into slot-based SaveAgentForm / SaveAgentFormFields and shares AgentConfigEditors with the drawer (model picker + settings, runtime modal, MCP/skills modals).

MCP configuration gains per-connector tool selection (enableTools, preload), a three-pane editor with server getMcpTools, removable connector chips, and clearer row activate vs. checkbox toggles. Model pickers show context/output limits when the catalog provides them; harness adapter maps those fields and implements listTools.

Shell state adds agentConfigOpen (mutually exclusive with settings/library/sessions) and hides duplicate header Save while the drawer is open. @truefoundry/assistant-ui-runtime bumps to 0.1.26; docs/README/changesets describe the new flow.

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

@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0572199

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

This PR includes changesets to release 1 package
Name Type
@truefoundry/trueforge-ui Minor

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

Comment thread packages/trueforge-ui/src/atoms/SaveAgentButton.tsx
Comment thread packages/trueforge-ui/src/containers/AgentConfigDrawerContainer.tsx Outdated
Comment thread packages/trueforge-ui/src/layouts/StackChatPanel.tsx
Comment thread packages/trueforge-ui/src/containers/AgentConfigDrawerContainer.tsx
Comment thread packages/trueforge-ui/src/atoms/draft/DraftCompositeSelector.tsx
Comment thread packages/trueforge-ui/src/atoms/draft/AgentMcpEditorContent.tsx
…state and update tests for unauthenticated connectors
@govindavashishtha
govindavashishtha enabled auto-merge (squash) September 3, 2026 06:01

@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 2 potential issues.

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 0572199. Configure here.

Comment thread packages/trueforge-ui/src/atoms/draft/DraftCapabilitiesPanel.tsx
Comment thread packages/trueforge-ui/src/atoms/draft/AgentMcpEditorContent.tsx
@govindavashishtha
govindavashishtha merged commit d269b01 into main Sep 3, 2026
11 checks passed
@govindavashishtha
govindavashishtha deleted the chore/hv/advance-playground-settings branch September 3, 2026 06:07
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