@crayonlu/qi-harness

extensionmaintained

Production omnibus Pi extension: plan/build, goal, subagents, MCP, ask/todo/btw, cleanup, slash categories, bash-bg, rewind, LSP, split diff.

by · v1.0.7 · published 2w ago

$ pi install npm:@crayonlu/qi-harness
downloads/mo
1.1K
stars
0
last push
2w ago
open issues
0

Signals

license: MITtestspi manifest: missinginstall size: —deps: 0peer deps: 0

Download trend

No downloads in the last 12 weeks.

README

@crayonlu/qi-harness

Production omnibus extension for Pi: one pi install, Claude Code–grade daily harness on the official Pi host.

pi install npm:@crayonlu/qi-harness
# restart Pi or /reload
/harness-setup
/harness-doctor

Security: Pi packages run with full system access. Review source before installing.

What you get

AreaCapability
Modes/plan + /build (→ /plan implement), /goal, plan↔goal mutex (tool block + auto-pause)
Agentspi-subagents — blocking / background / parallel, model inherit
ToolsMCP, ask-user, todo, /btw, LSP, bash-bg (process + /ps), /rewind, /cleanup, retry
UXSlash secondary menu: / → category → (prefix group) → command; +/- diff

Queue (Pi native — not reinvented)

  • Enter while busy → steer
  • Alt+Enter → follow-up
  • Esc → abort + restore queued messages
  • Alt+Up → pull queued text back to the editor

Not supported (by design): double/empty Enter flush (#11); Claude-style Esc “undo just-submitted prompt” (#12).

Commands

CommandRole
/harness-setupInstall narrative + freezes + doctor
/harness-doctorConflicts, Pi version, expected commands (--force demotes hard fails)
/harness-modePlan/goal mutex snapshot
/harness-diff <old> <new>Split (width>120) or stacked +/- diff
/buildRuns /plan implement — exit plan and implement
/ps /ps:logs /ps:kill /ps:clearBackground process UI
/cleanupJanitor for ~/.pi cruft (≠ /compact)
/goal /plan /btw /todos /rewind /mcpFrom bundled Pin / owned packages

Monorepo packages

PackageRole
@crayonlu/qi-harnessUnique public install entry (bundles Pins + owned)
@crayonlu/qi-cleanup/cleanup
@crayonlu/qi-bash-bgBackground process tool
@crayonlu/qi-rewindCheckpoints + /rewind

Develop

cd qi-harness
npm install --ignore-scripts
npm test
npm run typecheck
pi -e ./packages/qi-harness   # load from workspace (resolves workspace deps)

Docs

License

MIT