Structs§
- Agent
Instructions Response - Response shape for the
policies/agent-instructionsendpoint. - ApiClient
- Check
Policies Request - Check
Policies Response - Check
Result Item - CiPolicy
Result - CiVerify
Request - CiVerify
Response - Commit
Verify Result - MeResponse
- Project
Detail - Full detail for a project. Server sends more fields; only
reposis consumed today. - Project
List Item - One project in
GET /api/v1/projects. Server sends more fields; only these two are consumed today. - Project
Repo Ref - A repo linked to a project (member of
ProjectDetail::repos). - Register
Repo Request - Register
Repo Response - Remote
Detail - Remote
Repo Ref - Repo
List Item - Resolve
Remote Response - Session
Check Data
Enums§
- Auth
Error - Why a request could not be given a bearer token.
- GetMe
Error - Resolve
Project Outcome - Outcome of
ApiClient::resolve_project, distinguishing “no project” (404) from “ambiguous, multiple candidates” (409) — unlikeresolve_remote, which only distinguishes found/not-found.
Functions§
- resolve_
client - Resolve
project_root’s credentials (viaresolve_credentials) into a readyApiClient, or the standard “no server URL configured” error when none of the credential sources yield a server URL. Shared by every command that needs a client from a project root, so this resolve-then-construct shape has exactly one implementation.