Skip to content

v0.5.6

Choose a tag to compare

@github-actions github-actions released this 21 Jul 21:59

PiTTy v0.5.6

PiTTy v0.5.6 fixes subagent list placement for parallel spawns, thinking-effort filtering by model capability, the Ctrl+P model selector list height, and prompt Shift+Enter newline insertion with auto-expand.

Subagent ownership for parallel spawns

  • Subagent lists now render under the tool call that actually spawned them, not an earlier unrelated subagent tool call.
  • A two-pass owner algorithm assigns runs by explicit runId/toolCallId first, then falls back to a global nearest-match within a 30-second window, 1:1. A later parallel spawn no longer attaches its children to an earlier subagent call.
  • Runs outside the window, or with no unambiguous closest call, stay hidden instead of attaching to the wrong tool call.

Thinking effort filtered by model capability

  • The Ctrl+X thinking effort selector now shows only the levels the current model supports, using the model's thinkingLevelMap.
  • null entries hide unsupported levels; xhigh and max require an explicit non-null opt-in. A model exposing only high and max (for example GLM) no longer shows minimal and low.

Model selector full-height list

  • The Ctrl+P model selector list now fills the available modal height and keeps the scroll indicator visible when options overflow, instead of using a fixed half-height with no continuation indication.

Prompt Shift+Enter and auto-expand

  • Shift+Enter inserts a newline in the prompt and the prompt auto-expands to the text height within its min/max bounds. The key bindings and auto-grow configuration were already in place; this release documents and validates the behavior.

Regression coverage

  • Added tests for nearest-match ownership: a parallel spawn attaches to the spawning call (not an earlier one), a run outside the 30s window is dropped, and a non-subagent tool call never receives a run.
  • Added visibleThinkingLevels unit tests covering reasoning-disabled, mapless, holey, and empty-map cases.