mirror of
https://github.com/CharlesWiltgen/Axiom.git
synced 2026-09-20 19:58:20 +08:00
31224bece0
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).
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"name": "axiom",
|
|
"version": "27.0.0-beta.3",
|
|
"description": "Battle-tested Claude Code skills, agents, and tools for modern xOS (iOS, iPadOS, tvOS, watchOS) development — Swift 6, SwiftUI, Liquid Glass, Apple Intelligence, and more",
|
|
"type": "module",
|
|
"pi": {
|
|
"skills": [".claude-plugin/plugins/axiom/skills"],
|
|
"extensions": ["axiom-pi/src/index.ts"]
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:codex && npm run build:mcp && npm run build:docs",
|
|
"build:codex": "node scripts/build-codex.ts",
|
|
"build:mcp": "cd axiom-mcp && pnpm run build:bundle",
|
|
"build:docs": "vitepress build docs",
|
|
"docs:build": "npm run build:docs",
|
|
"docs:dev": "vitepress dev docs",
|
|
"docs:preview": "vitepress preview docs",
|
|
"test": "node scripts/pre-deploy.ts --static",
|
|
"test:full": "node scripts/pre-deploy.ts",
|
|
"test:unit": "node --test scripts/*.test.ts",
|
|
"test:routing": "node scripts/test-routing.ts",
|
|
"check:refs": "node scripts/check-cross-refs.js",
|
|
"predeploy": "npm run test:unit && npm run build:mcp && node scripts/pre-deploy.ts"
|
|
},
|
|
"devDependencies": {
|
|
"gray-matter": "^4.0.3",
|
|
"mermaid": "^11.12.2",
|
|
"vitepress": "2.0.0-alpha.15",
|
|
"vitepress-plugin-mermaid": "^2.0.17"
|
|
},
|
|
"keywords": [
|
|
"claude-code",
|
|
"ios",
|
|
"xcode",
|
|
"plugins",
|
|
"development"
|
|
],
|
|
"author": "",
|
|
"license": "MIT"
|
|
}
|