Expand description
Trust management for project resources.
Provides functionality to manage trust decisions for project-local resources, extensions, and configurations. This ensures that untrusted projects cannot execute arbitrary code or load malicious resources.
§Overview
When a project is not trusted, the following restrictions apply:
- Project-local extensions are not loaded
- Project-local skills and prompts are not loaded
- Project-local context files are not loaded
- Certain settings are ignored
Trust decisions are persisted in .rpi/trust.json and can be managed via
the /trust slash command or the --approve/--no-approve CLI flags.
Structs§
- Project
Trust - Trust configuration for a project.
- Trust
Store - Trust store that manages trust decisions for multiple projects.
Enums§
- Trust
Decision - Trust decision for a project.
- Trust
Error - Errors that can occur during trust operations.
Functions§
- should_
trust_ project - Check if a project should be trusted based on various heuristics.