Files
Charles Wiltgen 31224bece0 feat(axiom-pi): add Pi coding agent extension and install manifest
Add an axiom-pi extension for the Pi coding agent. Pi has no sub-agent or
plugin-command system, so this supplies the layers its skills can't:

- the 15 /axiom-* commands, each dispatching a prompt that triggers the
  matching skill inline (sendUserMessage);
- a session hook injecting the iOS-version ground truth and on-PATH tool
  availability (before_agent_start), gated to Apple projects;
- tool hooks: swiftformat + @State access-control guardrail on Swift
  writes, crash-file Read routing to xcsym, and bash-output skill hints.

Pure logic lives in commands/session/guardrails.ts with colocated vitest
tests (31 tests); index.ts is thin Pi wiring, typechecked against the
@earendil-works/pi-coding-agent types.

Declare a pi manifest (pi.skills + pi.extensions) in the root package.json
so `pi install git:github.com/CharlesWiltgen/Axiom` delivers the 27 skills
and the extension in one native command — no npm publish, no build step
(Pi runs the TypeScript directly).
2026-06-14 17:55:46 -07:00

18 lines
396 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2023"],
"types": ["node"],
"strict": true,
"noEmit": true,
"skipLibCheck": true,
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src"]
}