docs(reactions): document AI reaction agent (extra.mcp, reasoning, ai reply)#18
Merged
salimovartem merged 1 commit intoJun 10, 2026
Merged
Conversation
… reply)
Sync the reaction surface with the platform's AI reaction agent:
- reactions.go: `extra` now documents `mcp:boolean`; `createReaction` /
`updateReaction` gain a `reasoning` param ({inProgress, thoughts[]}); note
`ai` is the agent's reply type. Descriptions/params only — no new operations.
- simulator-reactions skill: new "AI agent reactions (extra.mcp)" section
(invoke flow, ai reply, reasoning streaming, don't-loop note).
- docs/entities/reactions.md: extra/reasoning fields, `ai` type, and an
"AI Reaction Agent (MCP)" section with the interaction scheme + field table.
Co-Authored-By: Claude Opus 4.8 (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.
What
Syncs the plugin's reaction surface with the platform's AI reaction agent — the flow where a reaction flagged
extra.mcpis processed by a Claude agent (hosted by claude-code-api) that acts on the platform via this MCP server, under the requesting user's access, and replies as a childaireaction streaming its progress.Changes
mcp-server/internal/tools/reactions.goextraobject now documentsmcp:boolean(true⇒ hand the reaction to the AI agent).createReaction/updateReactiongain areasoningbody param —{inProgress, thoughts:[{id,text,createdAt}]}, the agent's streamed progress/answer trace.aiis the agent's reply type (usually platform-produced).make build && make vetand the drift test pass.skills/simulator-reactions/SKILL.md— new "AI agent reactions (extra.mcp)" section: how to invoke the agent, theaireply,reasoningstreaming (read mid-stream caveat), and a don't-loop note. Frontmatter untouched (nomake discoveryneeded).docs/entities/reactions.md—extra/reasoningfields in the tree-edge table, theaitype, and a new "AI Reaction Agent (MCP)" section with the interaction-scheme diagram + field table.CHANGELOG.md—[Unreleased]entry.Notes
.claude-plugin1.7.1 vs.codex-plugin1.10.0) — left untouched to avoid entangling this doc PR with that reconciliation.🤖 Generated with Claude Code