Enum Resource
pub enum Resource {
Show 21 variants
System,
Sessions,
Memory,
Cron,
Config,
Agents,
Cost,
Skills,
Personality,
Logs,
Tui,
Files,
Locales,
Quickstart,
Channels,
Providers,
Models,
PeerGroups,
Plugins,
Tools,
Sops,
}Expand description
Every grantable resource class in the system. One variant per RPC/gateway-addressable surface; a new surface must add its variant here and classify its methods before it can be dispatched.
Variants§
System
Daemon status, health, doctor, and handshake surfaces.
Sessions
Agent chat sessions (create, prompt, list, kill, approve).
Memory
Long-term memory entries.
Cron
Scheduled jobs and their run history.
Config
Configuration reads and writes (writes additionally gated by
ResolvedGrants::may_write_config).
Agents
Agent roster introspection and lifecycle.
Cost
Cost and usage accounting.
Skills
Skill bundles and skill files.
Personality
Personality documents.
Logs
Log queries and live subscriptions.
Tui
Connected TUI enumeration.
Files
File attachment and workspace listing.
Locales
Locale catalogs.
Quickstart
First-run quickstart flows.
Channels
Messaging channel instances.
Providers
Model/TTS/transcription provider profiles.
Models
Model catalog and routing.
PeerGroups
Peer group membership.
Plugins
Installed plugins and plugin lifecycle.
Tools
Direct tool invocation surfaces.
Sops
Standard Operating Procedure authoring, execution, and decision surfaces.
Trait Implementations§
impl Copy for Resource
Source§impl<'de> Deserialize<'de> for Resource
impl<'de> Deserialize<'de> for Resource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Resource
Source§impl IntoEnumIterator for Resource
impl IntoEnumIterator for Resource
type Iterator = ResourceIter
fn iter() -> ResourceIter ⓘ
Source§impl JsonSchema for Resource
impl JsonSchema for Resource
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more