@pi-kaush/pi-tool-call-markers 0.3.12 → 0.3.13

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.
package/README.md CHANGED
@@ -33,19 +33,19 @@ Collapsed tool rows use semantic theme colors with no gear, background fill, box
33
33
 
34
34
  ## Subagent plans
35
35
 
36
- A recognized `subagent` call renders as an unboxed plan in the shared tool aesthetic, marked with `↪` instead of the ordinary `│` tool-call rail:
36
+ A recognized `subagent` call renders as an unboxed plan in the shared tool aesthetic, using the same `│` tool-call rail:
37
37
 
38
38
  ```text
39
- ↪ subagent chain (3 steps) [repo-review]
39
+ │ subagent chain (3 steps) [repo-review]
40
40
  1. 🐝 bee [workhorse] Challenge the compatibility conclusion…
41
41
  2. 🐝 bee …
42
42
  ```
43
43
 
44
- Single calls stay on one `↪ [<emoji>] [<profile>][<agent>] <task preview>` row — no tool label; the `↪` marker identifies it. Chain calls get a heading with the kind, count, and scope followed by numbered steps (parallel tasks list without numbers), with each step ordered emoji, profile badge, name badge. Agent display names (emoji + name) are scraped from the native plan component — including the single-call heading — with an args fallback, and render in `accent`; everything else stays muted, and failed subagents go full red. Subagents never join ordinary tool groups.
44
+ Single calls stay on one `│ [<emoji>] [<profile>][<agent>] <task preview>` row — no tool label. Chain calls get a heading with the kind, count, and scope followed by numbered steps (parallel tasks list without numbers), with each step ordered emoji, profile badge, name badge. Agent display names (emoji + name) are scraped from the native plan component — including the single-call heading — with an args fallback, and render in `accent`; everything else stays muted, and failed subagents go full red. Subagents never join ordinary tool groups.
45
45
 
46
46
  While a subagent runs, the plan headline's tail shows live progress from the streamed result details — `→ 1 turn · provider/model` in the warning tone — and a settled call keeps the same `→ N turns · provider/model` summary in muted (turns aggregate across tasks; the model shows only when every task used the same one).
47
47
 
48
- Malformed, ambiguous, future, or too-narrow shapes fall back to the generic `↪ subagent …` collapsed row rather than dropping information, and `Ctrl+O` still exposes the native subagent renderer.
48
+ Malformed, ambiguous, future, or too-narrow shapes fall back to the generic `│ subagent …` collapsed row rather than dropping information, and `Ctrl+O` still exposes the native subagent renderer.
49
49
 
50
50
  ## Asked questions
51
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-kaush/pi-tool-call-markers",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "Compact and group Pi tool calls, with a bundled extension for adjacent thinking blocks.",
5
5
  "license": "MIT",
6
6
  "author": "Kaushik Gopal",
package/src/index.ts CHANGED
@@ -24,7 +24,7 @@ import { isQuestionToolCall, renderQuestionBlock } from "./question-block.ts";
24
24
  import { sanitizeInline } from "./sanitize.ts";
25
25
 
26
26
  const OUTER_INSET = 2;
27
- const SUBAGENT_MARKER = "↪";
27
+ const SUBAGENT_MARKER = "│";
28
28
  const GROUP_CALL_MARKER = "│";
29
29
  // Collapsed rows anchor with a glyph instead of repeating the tool name;
30
30
  // tools that read as one family share a glyph, and unmapped tools fall back
@@ -901,7 +901,7 @@ function codemodeCallLabel(row: ToolExecutionRow): string | undefined {
901
901
  // The collapsed-row seam lives here and nowhere else: which anchor a row
902
902
  // takes, how that anchor is styled, and the call text that follows it.
903
903
  // Anchors always render bold and take no joining colon — `│ ● src/a.ts`,
904
- // `│ $ npm test` — and subagent fallbacks keep their `↪ subagent …`
904
+ // `│ $ npm test` — and subagent fallbacks keep their `│ subagent …`
905
905
  // reading instead of a glyph. Callers append the outcome tail.
906
906
  function collapsedSeam(
907
907
  row: ToolExecutionRow,
@@ -1173,10 +1173,10 @@ function subagentProgressText(row: ToolExecutionRow): string | undefined {
1173
1173
  return parts.length > 0 ? parts.join(" · ") : undefined;
1174
1174
  }
1175
1175
 
1176
- // Subagents render as an ordinary unboxed tool block: a `↪` heading with the
1176
+ // Subagents render as an ordinary unboxed tool block: a `│` heading with the
1177
1177
  // plan kind/count/scope, then the numbered chain steps or parallel tasks with
1178
1178
  // agent identities (emoji, profile badge, name badge) in accent. Single calls
1179
- // collapse to one row: `↪ <emoji> [<profile>][<name>] <task preview>`. Everything
1179
+ // collapse to one row: `│ <emoji> [<profile>][<name>] <task preview>`. Everything
1180
1180
  // else stays muted (or error on failure), matching the shared tool-row aesthetic.
1181
1181
  function renderSubagentPlan(
1182
1182
  row: ToolExecutionRow,