feat: preserve Herdr task counts
This commit is contained in:
@@ -93,13 +93,13 @@ Tool calls remain compact in the conversation. Expand a tool result with Pi's no
|
||||
|
||||
## Herdr Integration
|
||||
|
||||
When Pi runs inside Herdr, the extension reports the most specific `in-progress` task as a `task` pane metadata token. If nothing is in progress, it falls back to a blocked task. Parallel current tasks are compressed as `#7 Implement auth +2`.
|
||||
When Pi runs inside Herdr, the extension reports the most specific `in-progress` task as a `task` pane metadata token. If nothing is in progress, it falls back to a blocked task. Parallel current tasks use a separate `task_count` token so Herdr can truncate long task names responsively while keeping the remaining count visible, for example `#7 Implement auth · +2`.
|
||||
|
||||
Add `$task` to the Herdr agent sidebar rows in `~/.config/herdr/config.toml`:
|
||||
Add `$task` and `$task_count` to the same Herdr agent sidebar row in `~/.config/herdr/config.toml`:
|
||||
|
||||
```toml
|
||||
[ui.sidebar.agents]
|
||||
rows = [["state_icon", "workspace", "tab"], ["agent", "$ask"], ["$task"]]
|
||||
rows = [["state_icon", "workspace", "tab"], ["agent", "$ask", "$ask_count"], ["$task", "$task_count"]]
|
||||
```
|
||||
|
||||
Apply the change to a running Herdr server:
|
||||
|
||||
Reference in New Issue
Block a user