Skip to content

Add agent reference client method and CLI command - #16

Merged
petersenpeter merged 1 commit into
pp-project-exportfrom
agent-skills-client-fixes
Oct 16, 2026
Merged

petersenpeter merged 1 commit into
pp-project-exportfrom
agent-skills-client-fixes

Conversation

@petersenpeter

Copy link
Copy Markdown
Collaborator

The server publishes a public, AI-agent-oriented description of its API and data model at /reference/. This adds BrainstemClient.agent_reference(page) to fetch a page as text (defaulting to index.md) and raises a ValueError on 404 for unknown pages or older servers.

A new brainstem reference [page] CLI command prints a page using an anonymous client, so it never starts a login. Includes README docs and tests for the client method and CLI.

The server publishes a public, AI-agent-oriented description of its API and data model at /reference/. This adds BrainstemClient.agent_reference(page) to fetch a page as text (defaulting to index.md) and raises a ValueError on 404 for unknown pages or older servers.

A new `brainstem reference [page]` CLI command prints a page using an anonymous client, so it never starts a login. Includes README docs and tests for the client method and CLI.
@petersenpeter
petersenpeter merged commit c5be42b into pp-project-export Oct 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant