ainap

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package ainap implements the ainap tool.

ainap puts the current AI session to sleep for a specified duration. It records the nap state in the ai_status table so that aistatus can report the session as "nap" to other AIs.

The implementation is deliberately simple: it writes the nap state to the database, blocks with time.Sleep, then restores the state to "on" on wake.

Jump to

Keyboard shortcuts

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