feat: updated capabilities and save modal flow - #203
Merged
govindavashishtha merged 11 commits intoAug 13, 2026
Merged
Conversation
AGE-1778 Save Agent + Capabilities in the Composer Selector
https://preview--trueforge.lovable.app/ Ask chiragjn how to store capabilities in the AgentSpec |
… sessionUpdatedAt in responses
…te Switch component formatting
…e-composer-selector
… and clean up SaveAgentButton component
…e-composer-selector
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b8d1c37. Configure here.
govindavashishtha
enabled auto-merge (squash)
August 13, 2026 04:58
govindavashishtha
approved these changes
Aug 13, 2026
govindavashishtha
deleted the
chore/AGE-1778/save-agent-capabilities-in-the-composer-selector
branch
August 13, 2026 04:58
chiragjn
added a commit
that referenced
this pull request
Aug 13, 2026
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.

Note
Medium Risk
Touches agent write APIs and atomic session coupling (403/404/422 paths), plus a large Save Agent and composer interaction surface where stale spec or flush timing could cause wrong payloads.
Overview
API & SDK: Agent create/update bodies can include optional
session_idto update a mutable inline session in the same request; responses may returnsession_updated_at. OpenAPI also documents redacted-secret PUT semantics for API keys and MCP headers, richer MCP read shapes (auth,auth_status), model listprovider, and moves shipped presets from/settings/*/catalogto/api/v1/catalog/*. Session listing is documented as sorted byupdated_atwith keysetpage_token.Harness / builder:
saveAgentsendssession_idwhen provided, returnssessionUpdatedAt, and relies on explicit create/update intent (no pre-save agent list lookup).UI SDK: Save Agent opens a review modal after flushing the runtime spec: name, instructions, summary rows for model/MCP/skills, capability toggles, and stacked editors reusing shared catalog panels. Successful save calls
adoptAgentSpecwith the persisted timestamp and rebinds the mutable shell agent. The draft composer uses a Tools (N) control (connectors, skills, capabilities tab), a separate attach button, sharedSwitchandDraftCatalogProvidernesting, andDraftCatalogProviderat the app shell for Save Agent editors.Reviewed by Cursor Bugbot for commit 2adeb98. Bugbot is set up for automated code reviews on this repo. Configure here.