Skip to main content

Module consent

Module consent 

Source
Expand description

Re-export the shared ask-first consent model from the vtcode-config crate so downstream consumers can continue importing it through vtcode_core::config::consent while the logic lives in the dedicated configuration crate.

Enums§

ConsentAnswer
Consent answer for installing bundled skills into the user’s home.

Constants§

BUNDLED_SKILLS_SETTING_PATH
Dotted setting path that carries the bundled-skills consent answer.
CONSENT_ALLOW_DESCRIPTION
CONSENT_ALLOW_LABEL
CONSENT_BODY_REVERSIBLE
CONSENT_BODY_WHAT
What the install contains. Sizes stay small and no network is involved.
CONSENT_DECLINE_DESCRIPTION
CONSENT_DECLINE_LABEL
CONSENT_MCP_DISCLOSURE
CONSENT_QUESTION
Question shared by the CLI wizard step and the Desktop consent card.
CONSENT_REOPEN_HINT
CONSENT_TITLE
Title shared by the CLI wizard step and the Desktop consent card.

Functions§

bundled_skill_missing_hint
Actionable hint appended when a bundled skill is requested but unavailable.
bundled_skills_answer
Resolve the bundled-skills consent answer from a loaded manager.
bundled_skills_install_permitted
Decide whether bundled skills may be installed or refreshed.
install_location_description
Describe where the install lands, for wizard and card copy.