Skip to content

Tags: dn00/clarp

Tags

v0.1.12

Toggle v0.1.12's commit message
chore: bump version to 0.1.12

v0.1.11

Toggle v0.1.11's commit message
fix: permission-flow parity — flag interception, auto-deny, EOF resol…

…ution, SDK responses, tool_result events

Rebuilt onto main (the prior branch was stacked on the golden-captures PR).

- Intercept --permission-prompt-tool so the interactive TUI never receives a
  print-mode flag it can't honor.
- Gate can_use_tool emission on stream-json input AND output + stdio tool;
  otherwise auto-deny via the pty so the turn completes (native deny-by-default)
  instead of wedging on an unanswerable dialog.
- Accept SDK-nested control_response shapes alongside the flat legacy shape,
  preserving updatedInput so the modified-input guard can fire.
- Deny can_use_tool allows whose updatedInput differs from the requested input
  (clarp can't inject rewritten input into the TUI dialog).
- Resolve permission against a fresh tool_use id with a brief retry, covering
  the race where `waiting` is observed before the tool finishes assembling and
  preventing a stale tool from being approved against a new dialog.
- Auto-deny a pending permission on stdin EOF so the turn always completes.
- Reshape transcript tool-execution lines into native's user tool_result event.
- Mark the permission-flow parity gaps fixed in goldens/PARITY-GAPS.md.

v0.1.10

Toggle v0.1.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #8 from dn00/fix/readiness-timeout-active-turn

fix: avoid readiness timeout during active turns

v0.1.9

Toggle v0.1.9's commit message
fix: restore queued readiness timeout

v0.1.8

Toggle v0.1.8's commit message
fix: repair macos node-pty spawn helper

v0.1.7

Toggle v0.1.7's commit message
chore: prepare v0.1.7 release

v0.1.6

Toggle v0.1.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: support Windows stdin prompt handling

Accept bare '-' as a stdin prompt sentinel and normalize node-pty kill signals on Windows.

v0.1.5

Toggle v0.1.5's commit message
fix: harden stream-json turn queue

v0.1.4

Toggle v0.1.4's commit message
fix: align stream-json parity

v0.1.3

Toggle v0.1.3's commit message
fix: surface Claude workspace trust prompts