@markusylisiurunen/tau 0.2.84 → 0.2.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +3 -3
  2. package/dist/core/config/builtin_themes.js +242 -180
  3. package/dist/core/config/builtin_themes.js.map +1 -1
  4. package/dist/core/diff_review/index.js.map +1 -1
  5. package/dist/core/diff_review/protocol.js +12 -2
  6. package/dist/core/diff_review/protocol.js.map +1 -1
  7. package/dist/core/diff_review/review_thread.js +94 -4
  8. package/dist/core/diff_review/review_thread.js.map +1 -1
  9. package/dist/core/diff_review/session.js +206 -66
  10. package/dist/core/diff_review/session.js.map +1 -1
  11. package/dist/core/runtime/conversation_turn_runtime.js +3 -2
  12. package/dist/core/runtime/conversation_turn_runtime.js.map +1 -1
  13. package/dist/core/static/prompts/diff-review-wrapper.md +2 -1
  14. package/dist/core/utils/format.js +9 -0
  15. package/dist/core/utils/format.js.map +1 -1
  16. package/dist/core/version.js +1 -1
  17. package/dist/diff_tool/http_server.js +42 -22
  18. package/dist/diff_tool/http_server.js.map +1 -1
  19. package/dist/diff_tool/protocol_client.js +26 -3
  20. package/dist/diff_tool/protocol_client.js.map +1 -1
  21. package/dist/diff_tool/review_prompts.js +63 -0
  22. package/dist/diff_tool/review_prompts.js.map +1 -0
  23. package/dist/tui/chat_controller/diff_review_service.js +17 -11
  24. package/dist/tui/chat_controller/diff_review_service.js.map +1 -1
  25. package/dist/tui/chat_controller.js +12 -6
  26. package/dist/tui/chat_controller.js.map +1 -1
  27. package/dist/tui/chat_view.js +4 -0
  28. package/dist/tui/chat_view.js.map +1 -1
  29. package/dist/tui/ui/agent_activity_format.js +82 -0
  30. package/dist/tui/ui/agent_activity_format.js.map +1 -0
  31. package/dist/tui/ui/chat_message_model.js +4 -3
  32. package/dist/tui/ui/chat_message_model.js.map +1 -1
  33. package/dist/tui/ui/diff_review_message.js +147 -62
  34. package/dist/tui/ui/diff_review_message.js.map +1 -1
  35. package/dist/tui/ui/subagent_panel.js +8 -61
  36. package/dist/tui/ui/subagent_panel.js.map +1 -1
  37. package/dist/tui/ui/theme/palette.js +2 -0
  38. package/dist/tui/ui/theme/palette.js.map +1 -1
  39. package/dist/tui/ui/theme/theme.js.map +1 -1
  40. package/package.json +1 -1
package/README.md CHANGED
@@ -385,7 +385,7 @@ tau supports slash commands for common actions:
385
385
  | `/reload` | reload personas, model overrides, prompts, skills, themes, bash commands, and AGENTS.md |
386
386
  | `/speak` | toggle microphone recording and transcribe into the editor (macOS only) |
387
387
  | `/cd` | change the working directory |
388
- | `/diff [git diff args...]` | open the diff review tool for a frozen git diff snapshot (built-in browser demo by default, `diffTool` overrides it) |
388
+ | `/diff [git diff args...]` | open the diff review tool for a captured git diff starting point (built-in browser demo by default, `diffTool` overrides it) |
389
389
  | `/compact:summary-only` | compress history into one synthetic user summary message |
390
390
  | `/compact:summary-and-last` | compress history and include the last assistant message verbatim when present |
391
391
  | `/prune:earliest` | prune bash tool results from oldest to newest and compact edit payloads/results |
@@ -410,7 +410,7 @@ the prune commands drop bash tool results from the active context without summar
410
410
 
411
411
  `/rewind` opens a picker over prior user messages in the current context. it truncates history from the selected message onward (including the selected message) and prefills the editor with that message so you can retry from there.
412
412
 
413
- `/diff` only starts when tau is idle. it freezes the requested `git diff` output at launch time, opens tau's built-in browser diff review demo when `diffTool` is not configured, and lets `diffTool` override that launcher when it is configured. tau shows review status in the chat stream, keeps the editor usable for drafting, but blocks normal submission until the tool returns review text or cancels. returned review text is appended as a review-styled user message without auto-running the assistant, and the model-visible message is wrapped in a hidden `<system>` block that identifies it as diff review feedback for that frozen snapshot. if the tool never connects or disconnects before returning a result, tau cancels the review and unblocks the session. press `esc` to cancel locally.
413
+ `/diff` only starts when tau is idle. it captures the requested `git diff` output at launch time as the initial review context, opens tau's built-in browser diff review demo when `diffTool` is not configured, and lets `diffTool` override that launcher when it is configured. the built-in browser shows that captured diff, but review agents inspect the live repo state while using the captured diff context as their starting point. tau shows review status in the chat stream, keeps the editor usable for drafting, but blocks normal submission until the tool returns review text or cancels. returned review text is appended as a review-styled user message without auto-running the assistant, and the model-visible message is wrapped in a hidden `<system>` block that identifies it as diff review feedback for that review context. if the tool never connects or disconnects before returning a result, tau cancels the review and unblocks the session. press `esc` to cancel locally.
414
414
 
415
415
  ## keyboard shortcuts
416
416
 
@@ -563,7 +563,7 @@ if you want a different launcher, configure `diffTool` in any in-scope config fi
563
563
 
564
564
  `tau diff-tool --help` shows the built-in demo tool's standalone help text.
565
565
 
566
- `/diff [git diff args...]` passes raw arguments to `git diff`, so `/diff`, `/diff --staged`, and `/diff -- src/foo.ts` all work. tau freezes the diff content before launch, shows diff-review status in the chat stream, keeps the editor usable while blocking submission, and appends returned review text as a review-styled user message without auto-running the assistant. the model-visible message is wrapped in a hidden `<system>` block that identifies it as diff review feedback for that frozen snapshot. if the tool never connects or disconnects before returning a result, tau cancels the review and unblocks the session.
566
+ `/diff [git diff args...]` passes raw arguments to `git diff`, so `/diff`, `/diff --staged`, and `/diff -- src/foo.ts` all work. tau captures the diff content before launch as the initial review context, shows diff-review status in the chat stream, keeps the editor usable while blocking submission, and appends returned review text as a review-styled user message without auto-running the assistant. the built-in browser shows that captured diff, but review agents inspect the live repo state while using the captured diff context as their starting point. the model-visible message is wrapped in a hidden `<system>` block that identifies it as diff review feedback for that review context. if the tool never connects or disconnects before returning a result, tau cancels the review and unblocks the session.
567
567
 
568
568
  ### additional agents context
569
569