Expand description
Shared ask-first consent model for home-directory installs.
Single source of truth used by the CLI first-run wizard and the Desktop
consent card so both surfaces ask the same question, persist the same
answer (skills.bundled.enabled in the user layer), and enforce the same
gate. Install sites must consult bundled_skills_install_permitted:
nothing under the user’s home is created for bundled skills until the
answer is ConsentAnswer::Granted — or the cache already exists from a
previous release (grandfathered), in which case only a refresh of VT Code’s
own cache directory is allowed.
ConsentAnswer deliberately has three states: an explicit grant,
an explicit decline (never ask again, actively remove our cache), and
unasked (fail closed: no writes, surfaces may prompt once).
Enums§
- Consent
Answer - 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.