Skip to main content

Module profile

Module profile 

Source
Expand description

Profile discovery and resolution shared across CLI commands.

Resolves a profile to its on-disk path and loaded Profile from a CLI override, an environment variable, a stored session, or directory discovery, reporting failures via ProfileResolutionError. Also provides profile-authoring helpers (save_profile_yaml, display-name and pepper generation) used by the profile-creation flows.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

DiscoveredProfile

Enums§

ProfileResolutionError

Functions§

discover_profiles
generate_oauth_at_rest_pepper
is_path_input
resolve_profile_from_path
resolve_profile_path
resolve_profile_with_data
save_profile_yaml