Skip to content

feat(pi): add native Pi Coding Agent support #1258

Description

@pi-dal

Feature description

Add native PowerContext support for Pi Coding Agent.

Problem and proposed solution

PowerContext currently has no Pi integration. Add a native package installed with powercontext setup pi that restores bounded project context before normal prompts, captures eligible prompt evidence, exposes named Memory and Handoff tools, and provides /pc diagnostics.

The package uses the existing PowerContext Server; it does not embed a Server or synchronize Pi transcripts. Recall, capture, and boundary flushing must fail open. Explicit durable writes require interactive confirmation and reject secrets.

The initial Pi surface is intentionally limited to the context-recovery and handoff workflow. It does not need to duplicate every Server operation or mirror the Claude Code integration's tool set.

Alternatives considered

A generic HTTP/RPC tool would make the core workflow less discoverable and would not provide Pi-native confirmation guidance. Exposing every Server operation would expand the first integration beyond its user need.

Additional context

Include English and Chinese documentation, focused behavior tests, and a real Pi CLI package-load/RPC smoke test.

  • Yes, I am willing to contribute code, docs, or design feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions