Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs(claude-code): link the statusline segment details instead of restating them (#3576)
Maximilian Roos4549715af138
diff --git a/docs/content/claude-code.md b/docs/content/claude-code.mdindex a8db63356..5b91d95e7 100644--- a/docs/content/claude-code.md+++ b/docs/content/claude-code.md@@ -109,9 +109,7 @@ Claude Code agents can run in isolated worktrees (`isolation: "worktree"`). By d<code>~/w/myproject.feature-auth !π€ @<span style='color:#0a0'>+42</span> <span style='color:#a00'>-8</span> <span style='color:#0a0'>β3</span> <span style='color:#0a0'>β‘1</span> <span style='color:#0a0'>#3035</span> Opus π 65% <span style='color:#a70'>1.4Γ(10amβ3pm)</span></code>-Worktree state comes from the same cells [`wt list`](@/list.md) renders. Claude Code's stdin JSON adds the model, the `π 65%` context gauge, and the rate-limit pace notice, where `1.4Γ(10amβ3pm)` reads as 1.4Γ the pace that would exactly fill that window, coloured by how much of it would be spent locked out at the cap. [`wt list statusline`](@/list.md#wt-list-statusline) documents every segment and the JSON fields behind them.--The CI reference and the dev server URL are clickable links where the terminal supports them, plain text where it doesn't.+Worktree state comes from the same cells [`wt list`](@/list.md) renders; Claude Code's stdin JSON adds the model, the `π 65%` context gauge, and the rate-limit pace notice. [`wt list statusline`](@/list.md#wt-list-statusline) documents every segment, how the links behave, and the JSON fields behind them.<figure class="demo"><picture>diff --git a/plugins/worktrunk/skills/worktrunk/reference/claude-code.md b/plugins/worktrunk/skills/worktrunk/reference/claude-code.mdindex d2444d17b..76c67ecb9 100644--- a/plugins/worktrunk/skills/worktrunk/reference/claude-code.md+++ b/plugins/worktrunk/skills/worktrunk/reference/claude-code.md@@ -111,9 +111,7 @@ Claude Code agents can run in isolated worktrees (`isolation: "worktree"`). By d<code>~/w/myproject.feature-auth !π€ @<span style='color:#0a0'>+42</span> <span style='color:#a00'>-8</span> <span style='color:#0a0'>β3</span> <span style='color:#0a0'>β‘1</span> <span style='color:#0a0'>#3035</span> Opus π 65% <span style='color:#a70'>1.4Γ(10amβ3pm)</span></code>-Worktree state comes from the same cells [`wt list`](https://worktrunk.dev/list/) renders. Claude Code's stdin JSON adds the model, the `π 65%` context gauge, and the rate-limit pace notice, where `1.4Γ(10amβ3pm)` reads as 1.4Γ the pace that would exactly fill that window, coloured by how much of it would be spent locked out at the cap. [`wt list statusline`](https://worktrunk.dev/list/#wt-list-statusline) documents every segment and the JSON fields behind them.--The CI reference and the dev server URL are clickable links where the terminal supports them, plain text where it doesn't.+Worktree state comes from the same cells [`wt list`](https://worktrunk.dev/list/) renders; Claude Code's stdin JSON adds the model, the `π 65%` context gauge, and the rate-limit pace notice. [`wt list statusline`](https://worktrunk.dev/list/#wt-list-statusline) documents every segment, how the links behave, and the JSON fields behind them.Add to `~/.claude/settings.json`:diff --git a/skills/worktrunk/reference/claude-code.md b/skills/worktrunk/reference/claude-code.mdindex d2444d17b..76c67ecb9 100644--- a/skills/worktrunk/reference/claude-code.md+++ b/skills/worktrunk/reference/claude-code.md@@ -111,9 +111,7 @@ Claude Code agents can run in isolated worktrees (`isolation: "worktree"`). By d<code>~/w/myproject.feature-auth !π€ @<span style='color:#0a0'>+42</span> <span style='color:#a00'>-8</span> <span style='color:#0a0'>β3</span> <span style='color:#0a0'>β‘1</span> <span style='color:#0a0'>#3035</span> Opus π 65% <span style='color:#a70'>1.4Γ(10amβ3pm)</span></code>-Worktree state comes from the same cells [`wt list`](https://worktrunk.dev/list/) renders. Claude Code's stdin JSON adds the model, the `π 65%` context gauge, and the rate-limit pace notice, where `1.4Γ(10amβ3pm)` reads as 1.4Γ the pace that would exactly fill that window, coloured by how much of it would be spent locked out at the cap. [`wt list statusline`](https://worktrunk.dev/list/#wt-list-statusline) documents every segment and the JSON fields behind them.--The CI reference and the dev server URL are clickable links where the terminal supports them, plain text where it doesn't.+Worktree state comes from the same cells [`wt list`](https://worktrunk.dev/list/) renders; Claude Code's stdin JSON adds the model, the `π 65%` context gauge, and the rate-limit pace notice. [`wt list statusline`](https://worktrunk.dev/list/#wt-list-statusline) documents every segment, how the links behave, and the JSON fields behind them.Add to `~/.claude/settings.json`: