Skip to content

feat: add pi coding-agent integration#197

Open
cat0825 wants to merge 1 commit into
wxtsky:mainfrom
cat0825:feat/pi-coding-agent-integration
Open

feat: add pi coding-agent integration#197
cat0825 wants to merge 1 commit into
wxtsky:mainfrom
cat0825:feat/pi-coding-agent-integration

Conversation

@cat0825
Copy link
Copy Markdown

@cat0825 cat0825 commented May 27, 2026

Summary

Adds first-class support for pi (@earendil-works/pi-coding-agent) and Oh My Pi / OMP (@oh-my-pi/pi-coding-agent) by installing bundled TypeScript extensions into their global extension directories.

Fixes #196.

What changed

  • Adds pi to the built-in CLI list as a .none installer target.
  • Adds Oh My Pi / OMP to the built-in CLI list as a .none installer target.
  • Installs Sources/CodeIsland/Resources/codeisland-pi.ts to ~/.pi/agent/extensions/codeisland.ts when ~/.pi/agent exists.
  • Installs Sources/CodeIsland/Resources/codeisland-omp.ts to ~/.omp/agent/extensions/codeisland.ts when ~/.omp/agent exists.
  • Wires pi and OMP status, enable/disable, uninstall, and repair paths through ConfigInstaller.
  • Updates the pi extension to current package names:
    • @earendil-works/pi-coding-agent
    • @earendil-works/pi-ai
  • Adds an OMP-specific extension using:
    • @oh-my-pi/pi-coding-agent
  • Tags the extensions with a version marker so repair can detect stale installs.
  • Uses session_title for completion events, matching CodeIsland's session title metadata field.
  • Adds installer tests for install, missing agent dir no-op, uninstall safety, and stale-version detection.

Verification

  • swift test --filter ConfigInstallerTests
  • Typechecked codeisland-pi.ts against a local @earendil-works/pi-coding-agent checkout.
  • Typechecked codeisland-omp.ts against a local @oh-my-pi/pi-coding-agent install.
  • Locally smoke-tested omp-pi -e ~/.omp/agent/extensions/codeisland.ts ... and verified CodeIsland recorded a live source: "pi" session with Ghostty terminal metadata.

@cat0825 cat0825 force-pushed the feat/pi-coding-agent-integration branch from 262a749 to 8bfb44c Compare May 27, 2026 11:08
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.

Add first-class pi coding-agent integration

1 participant