docs(rfd): Add RFD 094 for built-in tell_user tool#839
Merged
Conversation
Propose a built-in `tell_user` tool that lets the assistant deliver a mid-turn message the user must see without ending the agentic loop: the message renders as chat content, the assistant gets a short acknowledgement, and the loop continues. Most of the design activates mechanisms [RFD 058] defines but does not yet act on: honoring MCP `audience` annotations at JP's two view boundaries (provider payload vs. terminal/plugin display), rendering `text/markdown` content blocks through the `jp_md` pipeline, and a new `style.header` knob to suppress the "Calling tool" header line. `tell_user` is the first consumer of these mechanisms rather than a special case in jp-core. Amend [RFD 058] itself to add the optional `mimeType` field and MCP-standard `annotations` to `ContentBlock::Text`, both referenced by RFD 094, and update the RFD summary index accordingly. Signed-off-by: Jean Mertz <git@jeanmertz.com>
Collaborator
Author
|
Note to self: style.header should be added to the list of options that the assistant is not allowed to modify. |
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.
Propose a built-in
tell_usertool that lets the assistant deliver a mid-turn message the user must see without ending the agentic loop: the message renders as chat content, the assistant gets a short acknowledgement, and the loop continues.Most of the design activates mechanisms [RFD 058] defines but does not yet act on: honoring MCP
audienceannotations at JP's two view boundaries (provider payload vs. terminal/plugin display), renderingtext/markdowncontent blocks through thejp_mdpipeline, and a newstyle.headerknob to suppress the "Calling tool" header line.tell_useris the first consumer of these mechanisms rather than a special case in jp-core.Amend [RFD 058] itself to add the optional
mimeTypefield and MCP-standardannotationstoContentBlock::Text, both referenced by RFD 094, and update the RFD summary index accordingly.