internal/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT

Directories

Path Synopsis
Package activity contains the pluggable "activator" strategies that keep a Teams session showing as Available: synthetic input (per-OS backends) and the Microsoft Graph preferred-presence strategy.
Package activity contains the pluggable "activator" strategies that keep a Teams session showing as Available: synthetic input (per-OS backends) and the Microsoft Graph preferred-presence strategy.
cli
Package cmd implements the vigil command-line interface.
Package cmd implements the vigil command-line interface.
ui
Package ui centralizes terminal feedback for the CLI: TTY/color detection, status lines, confirmation prompts, and spinners.
Package ui centralizes terminal feedback for the CLI: TTY/color detection, status lines, confirmation prompts, and spinners.
Package config defines the on-disk JSON configuration for vigil, along with defaults, validation and atomic load/save helpers.
Package config defines the on-disk JSON configuration for vigil, along with defaults, validation and atomic load/save helpers.
Package control implements the file-based control plane shared between the daemon and the CLI/TUI: the daemon publishes status.json each tick, clients write override.json (watched by the daemon), and a single-instance lock prevents two daemons running against the same runtime directory.
Package control implements the file-based control plane shared between the daemon and the CLI/TUI: the daemon publishes status.json each tick, clients write override.json (watched by the daemon), and a single-instance lock prevents two daemons running against the same runtime directory.
Package engine is the daemon orchestrator: it evaluates the schedule+override on a cadence, drives the configured activators, hot-reloads config/override via fsnotify, publishes status, and reverts cleanly on shutdown.
Package engine is the daemon orchestrator: it evaluates the schedule+override on a cadence, drives the configured activators, hot-reloads config/override via fsnotify, publishes status, and reverts cleanly on shutdown.
Package graph wraps Microsoft Graph authentication (MSAL device-code flow with a persistent token cache) and the presence "preferred presence" endpoints.
Package graph wraps Microsoft Graph authentication (MSAL device-code flow with a persistent token cache) and the presence "preferred presence" endpoints.
Package schedule evaluates whether the daemon should be active at a given instant, combining the configured weekly windows with any manual override.
Package schedule evaluates whether the daemon should be active at a given instant, combining the configured weekly windows with any manual override.
Package selfupdate wraps creativeprojects/go-selfupdate to update the vigil binary from its GitHub releases, with checksum validation.
Package selfupdate wraps creativeprojects/go-selfupdate to update the vigil binary from its GitHub releases, with checksum validation.
Package service installs, controls and runs vigil as a background service.
Package service installs, controls and runs vigil as a background service.

Jump to

Keyboard shortcuts

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