Skip to content

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

Open
harshil-2096 wants to merge 9 commits into
mainfrom
chore/hv/advance-playground-settings
Open

feat: Add advanced agent configuration features to TrueFoundry UI#547
harshil-2096 wants to merge 9 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
Touches agent spec persistence, MCP tool allowlists, and runtime/sandbox defaults across live draft and save flows; regressions could change agent behavior without an explicit save.

Overview
Adds a live Agent Config side drawer for mutable composer modes, opened from a new composer control. Draft changes (instructions with debounced sync, model, runtime, MCP servers with per-tool selection, and skills) apply to the active session immediately; Save Agent now uses a cloned working copy and the same shared editor stack, so canceling the dialog does not revert the live draft.

The compact Tools picker is limited to connectors and skills—capabilities and broader runtime settings moved into Runtime Config modals and summaries. Model pickers can show optional context / max output metadata from the catalog; the harness builder wires getMcpTools for lazy MCP tool lists. Sandbox is no longer auto-enabled when the capability is merely available; adding a skill still turns sandbox on when supported.

Layouts (sidebar, drawer, stack) host the drawer; shell state adds agentConfigOpen with mutual exclusion against settings/library/sessions. Bumps @truefoundry/assistant-ui-runtime to 0.1.26 (minor package changeset).

Reviewed by Cursor Bugbot for commit 881dd79. 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: 881dd79

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

@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 a46f4de. Configure here.

Comment thread packages/trueforge-ui/src/containers/AgentConfigDrawerContainer.tsx
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