Skip to content

added agent instructions drawer - #599

Merged
govindavashishtha merged 4 commits into
mainfrom
chore/FRONTEN-2452/agent-builder-ux
Sep 7, 2026
Merged

govindavashishtha merged 4 commits into
mainfrom
chore/FRONTEN-2452/agent-builder-ux

Conversation

@vinit-truefoundry

@vinit-truefoundry vinit-truefoundry commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

https://linear.app/truefoundry/issue/FRONTEN-2452/agent-builder-make-instructions-experience-same-as-our-product

Screenshot 2026-09-04 at 7 12 47 PM

Note

Medium Risk
Changes how agent instructions are edited and persisted, and introduces initial messages on the agent spec alongside existing instruction draft behavior.

Overview
Replaces the inline instructions textarea in the agent config panel with a summary row (preview + initial user message count) that opens a dedicated instructions editor.

The new AgentInstructionsDrawer uses a right SideDrawer to edit agent instructions and session-start user messages (add/remove rows), with explicit Save; closing without saving discards edits. agentConfigMessages reads/writes spec.messages via SDK-shaped helpers until the UI type exposes the field.

AgentConfigDrawerContainer commits instructions and messages in a single updateAgentSpec on Save; the panel no longer wires live onInstructionsChange / blur flush for that section. AgentInstructionsDrawer is exported and registered as a default slot.

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

@changeset-bot

changeset-bot Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 89bc7d8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

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

Click here to learn what changesets are, and how to add one.

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

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

@govindavashishtha
govindavashishtha enabled auto-merge (squash) September 7, 2026 05:00
@govindavashishtha
govindavashishtha merged commit ef1192f into main Sep 7, 2026
8 checks passed
@govindavashishtha
govindavashishtha deleted the chore/FRONTEN-2452/agent-builder-ux branch September 7, 2026 05:06
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