Repository navigation
Conversation
XiaoLrrr
force-pushed
the
main
branch
3 times, most recently
from
October 14, 2026 03:29
c946db2 to
3efd5fc
Compare
Pi is the coding agent at github.com/earendil-works/pi with its config root at ~/.pi/agent ($PI_CODING_AGENT_DIR). pi-web (agegr/pi-web) is the local browser UI for the same agent and shares this config root, so one adapter covers both. - adapter/pi.rs: skills (~/.pi/agent/skills + ~/.agents/skills universal + npm package skills/ dirs; project .pi/skills + .agents/skills), MCP (~/.pi/agent/mcp.json, .pi/mcp.json β JSON mcpServers with native per-entry enabled), plugins (settings.json `packages` npm packages + ~/.pi/agent/extensions local TS modules), context files (AGENTS.md / CLAUDE.md variants), settings.json - deployer: set_pi_mcp_enabled (native MCP enabled flag in place) and set_pi_package_enabled (add/remove npm package declaration in `packages`) - manager: toggle dispatch for pi MCP + npm-package vs local-TS plugin toggle - RemoteMcpSchema::PlainUrlHttpOnly (Pi is Streamable HTTP only, no SSE) - frontend: AGENT_ORDER + display name "Pi" + onboarding scatter coords - README: agent matrix + supported-agent count
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
piadapter for Pi, the coding agent by Mario Zechner (badlogic). Its config root is~/.pi/agent($PI_CODING_AGENT_DIR).pi-web is the local browser UI for the same agent and reuses the same
~/.pi/agentconfiguration β it has no separate config root, so one adapter covers both the pi CLI and pi-web.Details
~/.pi/agent/skills(user) +.pi/skills(project), recursiveSKILL.mddiscovery per the Agent Skills spec. Pi also reads the universal~/.agents/skills/.agents/skills, which stay owned by the codex/antigravity/qoder-cn adapters (not double-claimed).~/.pi/agent/mcp.json(user) +.pi/mcp.json(project), JSON{"mcpServers": {...}}with a native per-entryenabledflag. Toggling flips it in place (set_pi_mcp_enabled), preservingdescription,timeout,exposure,toolExposure,cwd,oauth,env,headers.~/.pi/agent/extensions+.pi/extensions, TypeScript/JS modules (single-file +index.{ts,js}directory form), same shape as omp.AGENTS.md/AGENTS.override.md/CLAUDE.md(+.MDvariants) from the agent dir and each ancestor of the cwd.RemoteMcpSchema::PlainUrlHttpOnlyβ the file shape matches Cursor/KiroPlainUrl, but Pi rejects the legacy SSE transport (docs/mcp.md), so remote entries are Streamable HTTP only.HookFormat::None.Also updates the frontend
AGENT_ORDER+ display name, the agent capability matrix tests, and the README agent table (16 β 17 agents).Verification
cargo check -p hk-corepassescargo test -p hk-core adapter::testsβ 15 passedcargo test -p hk-core adapter::pi::testsβ 4 passedcargo test -p hk-core deployer::testsβ 82 passedNote: 3 pre-existing
copilot/openclawtests fail on Windows due to Unix-path assumptions; unrelated to this change.Upstream docs used
.../docs/mcp.md,.../docs/skills.md,.../docs/extensions.md