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.
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 pithat restores bounded project context before normal prompts, captures eligible prompt evidence, exposes named Memory and Handoff tools, and provides/pcdiagnostics.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.