hooks

package
v2.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package hooks embeds the two agent-side Python scripts staged into a worktree on a target without a lectern binary.

They run on the TARGET, which may be any LXC or SSH box, so they are stdlib-only. A target with a lectern binary runs their Go ports instead (`lectern helper approval-hook` and `lectern helper lec`, internal/helpers) and needs no python3. Embedding them keeps the Go binary self-contained — there is no hooks/ directory to deploy alongside it.

Index

Constants

This section is empty.

Variables

View Source
var ADK []byte

ADK is the agent-side kit that lets a running agent file follow-up cards and leave durable project notes.

View Source
var Hook []byte

Hook is the PreToolUse gate: it blocks a tool call until the operator decides.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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