Skip to main content

Module setup

Module setup 

Source

Re-exports§

pub use crate::constants::ENV_NO_AUTO_SETUP;

Structs§

SetupReport
The result of one integration pass.

Enums§

Outcome
What one integration did during a pass.

Functions§

agent_skill_roots
The agent skill directories on this machine. Empty when no agent is installed.
auto_setup_enabled
Whether unattended installation is permitted at all.
auto_setup_if_due
The unattended pass, run at most once per installed version.
ensure_agent_skills
Install the skill into every detected agent’s skills directory.
ensure_alias
Keep dev-prune and devp beside each other, whichever of the two is running.
ensure_command_on_path
Make the managed pair reachable from a fresh shell.
ensure_daemon
Install the OS scheduler if it is not already registered.
ensure_hooks
Install the global Git hooks, unless git is absent or the slot belongs to someone else.
ensure_integrations
Run one integration pass, installing whatever is missing.
ensure_integrations_if_enabled
Run an integration pass unless unattended installation is switched off.
ensure_skill_file
Export the bundled SKILL.md so AI assistants have something to read.
managed_bin_dir
Where the installers put the binary, and the one directory nothing else owns.
no_auto_setup_requested
Whether the suppression variable is set — by presence, so =1, =true and even an empty value all count.
offer_vscode_extension
Offer to install the editor extension, once ever, when a VS Code-family editor is present.
offline_requested
Whether every network call is switched off for this process — same by-presence rule as no_auto_setup_requested, and for the same reason.
setup_is_due
Whether the unattended pass is due: a fresh install, or the first run after an upgrade.
skill_path
Path that devp skill and this module export SKILL.md to.
stable_exe_path
Absolute path to a copy of this binary that will still be there next week.
suppress_next_auto_setup
Invalidate the stamp so the next human-run command performs a pass.
unattended_environment
The reason this looks like a machine nobody is sitting at, if it does.