Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
nightshift
command
Package main is the CLI entry point for nightshift.
|
Package main is the CLI entry point for nightshift. |
|
nightshift/commands
Package commands implements the nightshift CLI commands using cobra.
|
Package commands implements the nightshift CLI commands using cobra. |
|
provider-calibration
command
|
|
|
internal
|
|
|
agents
Package agents provides interfaces and implementations for spawning AI agents.
|
Package agents provides interfaces and implementations for spawning AI agents. |
|
analysis
Package analysis provides code ownership and bus-factor analysis tools.
|
Package analysis provides code ownership and bus-factor analysis tools. |
|
budget
Package budget implements token budget calculation and allocation for nightshift.
|
Package budget implements token budget calculation and allocation for nightshift. |
|
calibrator
Package calibrator tunes task budgets and scheduling based on historical usage data.
|
Package calibrator tunes task budgets and scheduling based on historical usage data. |
|
config
Package config handles loading and validating nightshift configuration.
|
Package config handles loading and validating nightshift configuration. |
|
db
Package db provides SQLite-backed storage for nightshift state and snapshots.
|
Package db provides SQLite-backed storage for nightshift state and snapshots. |
|
integrations
Package integrations provides readers for external configuration and task sources.
|
Package integrations provides readers for external configuration and task sources. |
|
logging
Package logging provides structured logging with file rotation for nightshift.
|
Package logging provides structured logging with file rotation for nightshift. |
|
orchestrator
Package orchestrator coordinates AI agents working on tasks.
|
Package orchestrator coordinates AI agents working on tasks. |
|
projects
Package projects handles multi-project discovery, resolution, and budget allocation.
|
Package projects handles multi-project discovery, resolution, and budget allocation. |
|
providers
claude.go implements the Provider interface for Claude Code CLI.
|
claude.go implements the Provider interface for Claude Code CLI. |
|
reporting
Package reporting generates morning summary reports for nightshift runs.
|
Package reporting generates morning summary reports for nightshift runs. |
|
scheduler
Package scheduler handles time-based job scheduling.
|
Package scheduler handles time-based job scheduling. |
|
security
Package security provides audit logging for nightshift operations.
|
Package security provides audit logging for nightshift operations. |
|
setup
Package setup provides interactive configuration and task preset selection for new projects.
|
Package setup provides interactive configuration and task preset selection for new projects. |
|
snapshots
Package snapshots collects and stores periodic usage data from AI providers.
|
Package snapshots collects and stores periodic usage data from AI providers. |
|
state
Package state manages persistent state for nightshift runs.
|
Package state manages persistent state for nightshift runs. |
|
stats
Package stats computes aggregate statistics from nightshift run data.
|
Package stats computes aggregate statistics from nightshift run data. |
|
tasks
Package tasks provides task selection and priority scoring.
|
Package tasks provides task selection and priority scoring. |
|
tmux
Package tmux scrapes tmux sessions to detect running AI agent processes and their usage.
|
Package tmux scrapes tmux sessions to detect running AI agent processes and their usage. |
|
trends
Package trends analyzes historical snapshot data to surface usage patterns and anomalies.
|
Package trends analyzes historical snapshot data to surface usage patterns and anomalies. |
Click to show internal directories.
Click to hide internal directories.
