Skip to content

0.11.0: subagent roles, read-only, worktrees

Latest

Choose a tag to compare

@biowaffeln biowaffeln released this 25 Oct 12:33
· 22 commits to main since this release

Subagent options for spawn, so it covers what a separate subagent extension used to do.

  • Roles. scout, implementer, reviewer and elder presets set the model, thinking level and tools. You can override them with roles in the profile config.
  • memory: false. The subagent starts without the memory view, which is useful for reviewers that should judge the code on its own.
  • tools: "readonly". Only read, grep, find, ls and bash are available, plus the OptChat tools. Bash runs inside a write-denying sandbox (sandbox-exec on macOS, bwrap on Linux). If no sandbox is available, bash is left out. Network access is still allowed.
  • isolation: "worktree". The subagent works in its own git worktree on optchat/<id>. Its work is committed when it finishes, and the branch is kept only if it has commits. The worktree is left alone if HEAD is detached or a rebase or merge is in progress.

Install: pi install git:github.com/biowaffeln/pi-optchat@v0.11.0