Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
vigil
command
Command vigil keeps Microsoft Teams active on a configurable schedule.
|
Command vigil keeps Microsoft Teams active on a configurable schedule. |
|
internal
|
|
|
activity
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. |
|
brand
Package brand is the single source of vigil's identity (name, description, author, URLs) and its terminal presentation (the eye mark and the masthead banner).
|
Package brand is the single source of vigil's identity (name, description, author, URLs) and its terminal presentation (the eye mark and the masthead banner). |
|
cli
Package cmd implements the vigil command-line interface.
|
Package cmd implements the vigil command-line interface. |
|
cli/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. |
|
config
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. |
|
control
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. |
|
engine
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. |
|
graph
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. |
|
netcheck
Package netcheck reports whether the machine currently has working internet access.
|
Package netcheck reports whether the machine currently has working internet access. |
|
schedule
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. |
|
selfupdate
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. |
|
service
Package service installs, controls and runs vigil as a background service.
|
Package service installs, controls and runs vigil as a background service. |
|
tz
Package tz provides the prepopulated list of selectable timezones and a small search helper for picking one interactively.
|
Package tz provides the prepopulated list of selectable timezones and a small search helper for picking one interactively. |
|
Package tui implements the interactive terminal UI for vigil.
|
Package tui implements the interactive terminal UI for vigil. |
Click to show internal directories.
Click to hide internal directories.