Integrations
Integrations are user-facing connections declared at the app level withapp.add_integration(...).
Two modes exist:
- OAuth integrations such as GitHub or Gmail
- secret-form integrations such as AWS or Tailscale
session.integrations.
Secrets
Secrets are workspace-owned values referenced withcpsl.Secret.from_name(...).
Use secrets for:
- model API keys
- OAuth client ids and client secrets
- service credentials owned by the app operator
Filesystems
Filesystems are named mounted volumes declared in the app config:User uploads
session.prompt_file() bridges user-supplied files into the runtime. It is separate from filesystems:
- uploads originate from the user
- filesystems are app-owned mounted storage
Runtime prompting model
Capsule can render both:- blocking integration/file prompts
- non-blocking hint cards