Documentation
¶
Overview ¶
Package core provides helper functions for the agent command.
This package contains budget allocation, scoring, cooldown management, content extraction, and output rendering logic used by the agent command's Run function.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package budget assembles token-budgeted context packets from loaded context files, fitting entries by score within the configured limit.
|
Package budget assembles token-budgeted context packets from loaded context files, fitting entries by score within the configured limit. |
|
Package cooldown manages per-session tombstone files to suppress repeated agent output within a configurable duration.
|
Package cooldown manages per-session tombstone files to suppress repeated agent output within a configurable duration. |
|
Package extract pulls structured sections from loaded context files for inclusion in agent context packets.
|
Package extract pulls structured sections from loaded context files for inclusion in agent context packets. |
|
Package score computes relevance scores for decision and learning entries based on recency and keyword overlap with active tasks.
|
Package score computes relevance scores for decision and learning entries based on recency and keyword overlap with active tasks. |
|
Package sort orders context files by the configured read priority for agent context assembly.
|
Package sort orders context files by the configured read priority for agent context assembly. |
Click to show internal directories.
Click to hide internal directories.