You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lay down the foundational files needed before any feature work begins. One PR, several small files. Mirrors randomm/pi-permissions (which converged on this layout after a full cycle of trial and error) and follows the Pi extension ecosystem majority pattern.
Coverage thresholds 80/85 for security-critical modules
Excludes node_modules, tests/
AGENTS.md (placeholder only)
Skeleton pointing to issue #6 for substantive content.
.gitignore
node_modules/
coverage/
.worktrees/ ← critical for this plugin specifically
Bun, OS, IDE patterns
bun.lock
Run bun install once after package.json is in place.
Why
pi-permissions burned a full session figuring out which files were needed and what pi.*, peerDependencies, keywords, license looked like in working form. Skip the rediscovery.
Acceptance criteria
LICENSE present (Apache 2.0, copyright line at top)
package.json contains: pi.extensions, peerDependencies[@mariozechner/pi-coding-agent]=*, license: Apache-2.0, keywords including pi-package and pi-extension, files allowlist, type: module
tsconfig.json: strict + noEmit, no outDir/declaration
biome.json mirrors pi-permissions
vitest.config.ts present
.gitignore includes .worktrees/
bun install, bunx biome check ., bunx tsc --noEmit, bun test all run cleanly
What
Lay down the foundational files needed before any feature work begins. One PR, several small files. Mirrors randomm/pi-permissions (which converged on this layout after a full cycle of trial and error) and follows the Pi extension ecosystem majority pattern.
Files to create
LICENSE (new)
package.json
Required fields:
Decide on src/ vs flat root early — pi-permissions uses flat root.
tsconfig.json
biome.json
Mirror randomm/pi-permissions biome.json directly.
vitest.config.ts
AGENTS.md (placeholder only)
Skeleton pointing to issue #6 for substantive content.
.gitignore
bun.lock
Run bun install once after package.json is in place.
Why
pi-permissions burned a full session figuring out which files were needed and what pi.*, peerDependencies, keywords, license looked like in working form. Skip the rediscovery.
Acceptance criteria
Out of scope