Skip to content

v0.1.15 — set_agent guards (primary-only enforcement)

Choose a tag to compare

@andrea-tomassi andrea-tomassi released this 02 Aug 13:37
· 49 commits to main since this release

Added

  • Issue #5 / PR #6: set_agent now enforces primary-only usage:
    • Blocks calls from subagent processes (PI_OPEN_AGENTS_DEPTH > 0)
    • Rejects mode: subagent agents as targets (consistent with TUI selector)
    • primary and all mode agents remain selectable from primary processes
    • Tests invoke the real execute() handler with full mock infrastructure

Changed

  • typebox added to devDependencies (was an implicit transitive dependency)

Tests

  • 117 tests (was 97), all passing