Skip to content

docs: ToolContext.userSpokeAt, conversationId and ToolResult.sequence - #36

Merged
snakajima merged 1 commit into
mainfrom
docs/sequence-protocol
Sep 28, 2026
Merged

snakajima merged 1 commit into
mainfrom
docs/sequence-protocol

Conversation

@snakajima

Copy link
Copy Markdown
Contributor

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.sequence and ToolContext.userSpokeAt, in 2.1.
  • ToolContext.conversationId, in 2.2.
  • The generateImage and editImages conventions of context.app.

@gui-chat-plugin/sequence uses 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:
    • ToolContext gains userSpokeAt and conversationId, with what each is for.
    • The shared context.app conventions are described.
    • ToolResult gains sequence, with a new "Sequences" section and an example.
  • README.md gets a ToolContext section.
  • TEMPLATE.md gets a note, in English and Japanese: reach the host only through context, and what it carries.
  • docs/getting-started.md and .ja.md: the context row 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/sequence as the example. MulmoChat's guide has the longer version: receptron/MulmoChat#234.

Docs only.

🤖 Generated with Claude Code

work in chat

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>
@snakajima
snakajima merged commit cdeee57 into main Sep 28, 2026
11 checks passed
@snakajima
snakajima deleted the docs/sequence-protocol branch September 28, 2026 10:00
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.

1 participant