hookoutput

package
v0.70.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InboxContext added in v0.67.6

func InboxContext(agent, event, context string) string

InboxContext returns the hook stdout JSON that surfaces unread inbox messages to an agent at a lifecycle event (e.g. "SessionStart"). For Claude Code the context must be delivered via hookSpecificOutput.additionalContext so it actually reaches the model — a plain systemMessage is shown to the human only. Other agents keep the systemMessage form they already consume.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL