You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cli): show a hook's person message on OpenCode through its TUI toast #1349
A hook message meant for the person (answer({ person }) in hooks/lib/host.cjs) shows only on Claude Code and Codex (systemMessage). Elsewhere it is dropped. Per vendor docs:
OpenCode documents a TUI plugin API with context.ui.toast.show(...) ("Toasts support title, message, variant, and duration"), separate from the server plugin the bridge generates. Ours to wire.
Kilo: no toast or equivalent found in its plugin docs. Unknown.
Antigravity: injectSteps.errorMessage "Displays an error message without sending it to the model". It was rejected because it is styled as an error; to reconsider only for messages that are warnings.
Copilot CLI (hooks configuration) and Kiro document no user-visible hook output; Cursor documents user_message only on preToolUse, beforeSubmitPrompt and preCompact. Tool limits.
Proposed solution
Probe OpenCode's TUI toast from a generated TUI plugin; wire it if it shows the person text, otherwise state the limit. Record the Kilo and Antigravity conclusions in docs/COMPATIBILITY.md.
Acceptance criteria
OpenCode: probed, then wired and tested, or stated as a limit.
docs/COMPATIBILITY.md says, per host, whether the person channel exists, with a citation.
Correction after a check of the raw Copilot docs (hooks configuration): Copilot CLI does have person-visible output. Command hooks can print {"type":"progress","message":"..."} lines to the CLI timeline ("display-only", "temporary": true for a line that disappears), and on exit 2 "stderr is surfaced to the user but the run continues" (except preToolUse and permissionRequest, where exit 2 denies). Not on the cloud agent. So Copilot is ours too: the scope of this issue extends to wiring person to a progress line, after a probe confirms it shows when the hook ships in a plugin.
Delivered in #1407 (merged into next as 6f7584c): Copilot shows a hook's person message as a documented progress line, probed on Copilot CLI 1.0.114 (sessionStart, 3 of 3). docs/COMPATIBILITY.md has a Person message column with a source per host.
Activity
blafourcade commentedon Nov 25, 2026
Correction after a check of the raw Copilot docs (hooks configuration): Copilot CLI does have person-visible output. Command hooks can print
{"type":"progress","message":"..."}lines to the CLI timeline ("display-only","temporary": truefor a line that disappears), and on exit 2 "stderris surfaced to the user but the run continues" (exceptpreToolUseandpermissionRequest, where exit 2 denies). Not on the cloud agent. So Copilot is ours too: the scope of this issue extends to wiringpersonto a progress line, after a probe confirms it shows when the hook ships in a plugin.blafourcade commentedon Nov 26, 2026
Delivered in #1407 (merged into next as 6f7584c): Copilot shows a hook's person message as a documented progress line, probed on Copilot CLI 1.0.114 (sessionStart, 3 of 3). docs/COMPATIBILITY.md has a Person message column with a source per host.