hook

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Run handles the UserPromptSubmit hook: reads prompt from stdin, scores against the index, writes matching context to stdout.

func RunPostToolUse added in v0.6.0

func RunPostToolUse() error

RunPostToolUse handles the PostToolUse hook: reads tool output from stdin, checks for error signals, and surfaces relevant KB entries on failures. Successful tool outputs produce no output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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