# TypeScript single-file extension, no manifest Smart Compact is a Pi extension written as one TypeScript file (`index.ts`) with zero dependencies and deliberately no `package.json`: Pi discovers `*/index.ts` one level deep from its extensions directory, so a manifest would add metadata nothing reads. The test harness (`harness.ts`) runs via Node ≥ 22.18 native type stripping (`node --test harness.ts`), which is also why there is no build step. Do not "helpfully" add a manifest or bundler — npm distribution was rejected because the extension is symlinked from `~/.pi/agent/extensions/` and has nowhere to ship.