feat: Agent session resources, dual send/stop, build-mode rubric - #4890
Merged
Conversation
Clean branch from main with today's changes: Backend: - Mount 52 reference files in agent sessions (6 workflow + 46 vendor docs) - FileResource type + session resource loading from JSON config - files-api-2025-04-14 beta header for file mounting Frontend: - Show Send and Stop buttons simultaneously during streaming - Ctrl+Enter works while streaming (removed !sending guard) - Build mode rubric sends short 'Specs approved' instead of full text - Plan mode rubric triggers outcome/grading loop (unchanged) No MCP server, no vault manager — CLI + mounted files only. Signed-off-by: Bender Rodriguez <bender@superplanehq.com>
|
👋 Commands for maintainers:
|
superplane-policy-bot
Bot
requested review from
forestileao,
lucaspin and
shiroyasha
May 19, 2026 09:37
added 4 commits
May 19, 2026 11:03
Shows a friendly greeting with the user's first name while the session is being created. Once ready, auto-sends a boot message telling the agent to read canvas state and check integrations. Signed-off-by: Bender Rodriguez <bender@superplanehq.com>
- Loading greeting uses same bg-slate-100 style as agent messages - Synthetic greeting prepended to conversation — never disappears - Boot message uses @@System: prefix (centered grey, not user bubble) - Greeting shows user's first name from AccountContext Signed-off-by: Bender Rodriguez <bender@superplanehq.com>
Listens for agent:view-version CustomEvent and sets the matching version as active, switching the editor to show the draft. Signed-off-by: Bender Rodriguez <bender@superplanehq.com>
Signed-off-by: Bender Rodriguez <bender@superplanehq.com>
forestileao
reviewed
May 19, 2026
forestileao
reviewed
May 19, 2026
Signed-off-by: Pedro F. Leao <pedroforestileao@gmail.com>
Collaborator
|
👍 |
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.
Agent gets reference docs + UX improvements
Mounted reference files
Agent sessions now mount 52 reference files (workflow guides + vendor component docs). The agent reads them on demand instead of relying on skills or web fetches.
Configured via
ANTHROPIC_SESSION_RESOURCES_FILEenv var pointing to a JSON file mapping Anthropic file IDs to mount paths.Send while streaming
Users can send messages while the agent is working (e.g. while sub-agents research). Both Send and Stop buttons appear during streaming.
Build mode spec confirmation
In Build mode, clicking "Start Building" on a rubric sends a short confirmation instead of echoing the full spec back. The agent already has context — no need to repeat it.
Plan mode behavior unchanged (outcome + grading loop).