docs: ToolContext.userSpokeAt, conversationId and ToolResult.sequence - #36
Merged
Merged
Conversation
Phase 5 of MulmoChat's plans/plugins-repo-and-sequence-protocol.md: the plugin guides describe what gui-chat-protocol 2.1 and 2.2 added for plugins (userSpokeAt, conversationId, sequence, and the generateImage / editImages conventions of context.app), with @gui-chat-plugin/sequence as the example. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
The plugin guides now describe what gui-chat-protocol 2.1 and 2.2 added for plugins. This is Phase 5 of MulmoChat's
plans/plugins-repo-and-sequence-protocol.md.Why
The protocol added four things for plugins:
ToolResult.sequenceandToolContext.userSpokeAt, in 2.1.ToolContext.conversationId, in 2.2.generateImageandeditImagesconventions ofcontext.app.@gui-chat-plugin/sequenceuses all of these, and both MulmoChat and MulmoGlass run it. Plugin authors start from these guides, which didn't mention any of them. MulmoChat's CLAUDE.md lists these files as the ones to keep in sync.Changes
docs/plugin-development-guide.md:ToolContextgainsuserSpokeAtandconversationId, with what each is for.context.appconventions are described.ToolResultgainssequence, with a new "Sequences" section and an example.README.mdgets aToolContextsection.TEMPLATE.mdgets a note, in English and Japanese: reach the host only throughcontext, and what it carries.docs/getting-started.mdand.ja.md: thecontextrow lists what it contains and links to the guide.Each part is short and links to the protocol's API reference, with
@gui-chat-plugin/sequenceas the example. MulmoChat's guide has the longer version: receptron/MulmoChat#234.Docs only.
🤖 Generated with Claude Code
work in chat