Skip to content

Pi: settings UI, CLI, setup wizards, managed login, health check, diagnostics and docs #3835

Done

Description

@integry

Make Pi configurable and operable everywhere the other agents are.

Acceptance:

  • Settings UI: the agent config modal offers Pi, with a credential choice of existing host dir (~/.pi/agent), managed login, or API keys via env vars. It also shows provider/model selection, a provider logo and the CLI version controls.
  • Managed login: agentLoginDocker gets a Pi descriptor that runs pi auth login <provider> --no-browser (device code, or a pasted redirect URL for headless) in a container with PI_CODING_AGENT_DIR on the managed credential dir (~/.propr/agent-credentials/<agent-id>/…). --api-key login is supported too.
  • CLI: propr agent add/validate/check/init/setup and the agent skill know pi. So do the local-setup engine and the desktop setup schema.
  • Health check: pi auth check --provider <p> --json --no-refresh (or equivalent) reports ready, not_ready or invalid without refreshing tokens.
  • Diagnostics: credential redaction covers auth.json; provider roots, native log policy/admission and the provider collector include Pi. MCP settings catalog and tools configuration list Pi.
  • Docs: docs/docs/architecture/agent-runtime.md gets a Pi section (image, entrypoint, credential mount, disposable agent dir, refresh write-back rules). The agent setup docs and .env.example are updated, and the CHANGELOG gets an entry.
  • Tests for the login descriptor, health check parsing, redaction and CLI validation.

Implementation

Follow the OpenCode/Vibe entries in each listed module (search the codebase for vibe to find every integration point). Keep UI strings consistent with the other agents.

Notes

pi auth login --help (1.6.1): pi auth login <provider> [--api-key] [--no-browser]; credentials are stored in <agent-dir>/auth.json. pi auth check exits 0, 1 or 2 for ready, not_ready or invalid.

Activity

  1. propr-dev commented on Nov 27, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3835/claude-opus-5-5-pi-settings-ui-cli-setup--20261127-1852-k75
    • Base Branch: 3831-epic-pi-coding-jml
    • Worktree: issue-3835-20261127-1852-claude-opus-5-5-k75

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions