55 lines
1.3 KiB
Markdown
55 lines
1.3 KiB
Markdown
# harness-tools
|
|
|
|
Personal extensions and skills for [Pi](https://github.com/earendil-works/pi-mono).
|
|
|
|
## Included extensions
|
|
|
|
- **effort-controls** — `/effort` reasoning-level selection and `/fast` priority mode for eligible OpenAI models.
|
|
- **update** — `/update` and `--update` support for updating Pi and configured Pi packages.
|
|
|
|
## Repository layout
|
|
|
|
```text
|
|
extensions/ Pi extensions
|
|
skills/ Pi skills (one directory with a SKILL.md per skill)
|
|
```
|
|
|
|
The root `package.json` exposes both directories as a single Pi package.
|
|
|
|
## Install locally
|
|
|
|
```bash
|
|
pi install /absolute/path/to/harness-tools
|
|
```
|
|
|
|
For a one-off development run:
|
|
|
|
```bash
|
|
pi -e ./extensions/effort-controls
|
|
pi -e ./extensions/update
|
|
```
|
|
|
|
## Development
|
|
|
|
Node.js 22.19 or newer is required by the current Pi development dependencies.
|
|
|
|
```bash
|
|
npm install
|
|
npm run typecheck
|
|
```
|
|
|
|
Extensions are TypeScript modules loaded directly by Pi; no build step is required.
|
|
|
|
For live development, the global extension entries can point at this checkout:
|
|
|
|
```bash
|
|
ln -s /absolute/path/to/harness-tools/extensions/effort-controls ~/.pi/agent/extensions/effort-controls
|
|
ln -s /absolute/path/to/harness-tools/extensions/update ~/.pi/agent/extensions/update
|
|
```
|
|
|
|
This checkout is already linked that way. Run `/reload` after editing an extension.
|
|
|
|
## License
|
|
|
|
MIT
|