@pi-kaush/pi-tool-call-markers 0.3.10 → 0.3.11
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/CHANGELOG.md +2 -2
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
-
- Give the codemode tool its own
|
|
5
|
+
- Give the codemode tool its own `¢` anchor and collapsed label. Codemode
|
|
6
6
|
rows used to collapse to a script preview; they now show the nested
|
|
7
7
|
calls the script ran (repeats deduped to `name ×N`) followed by the
|
|
8
|
-
script's `// @options:` params —
|
|
8
|
+
script's `// @options:` params — `¢ read ×2, fffind · "max_output_tokens":
|
|
9
9
|
2500, "timeout_ms": 120000` — so the row says what the script did and
|
|
10
10
|
how it ran. While the script streams, the call list grows live; scripts
|
|
11
11
|
with neither calls nor a parsable options line keep the generic args
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Collapsed tool rows use semantic theme colors with no gear, background fill, box
|
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
- **Two-column outer inset.** Tool markers and image output align with an inset conversation surface. Very narrow terminals reduce the decoration before useful content.
|
|
24
|
-
- **`│` tool-call rail.** Every collapsed call anchors on a bold glyph instead of its tool name — `●` read, `+` write, `±` edit, `○` local search, `≡` ls, `↗` web search and fetch,
|
|
24
|
+
- **`│` tool-call rail.** Every collapsed call anchors on a bold glyph instead of its tool name — `●` read, `+` write, `±` edit, `○` local search, `≡` ls, `↗` web search and fetch, `¢` codemode, and `$` bash; unmapped tools fall back to `*` — with a single space between the anchor and the call text, no joining colon. Grouped rows flow directly across tool types.
|
|
25
25
|
- **Semantic, low-contrast status.** The anchor and the call content share the collapsed mute, pending state is warning-colored, and failures remain error-colored. Ordinary tool states have no background.
|
|
26
26
|
- **Width-safe outcome tails.** Long summaries truncate before useful tails such as `→ done`, `→ 42 lines`, `→ +2/-1`, or a `bash` duration.
|
|
27
27
|
- **Stable running groups.** Adjacent calls group as they appear, including settled failures, which stay error-colored inside the group. Pending state and elapsed `bash` time settle into the final outcome without changing the row count.
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -42,7 +42,7 @@ const TOOL_CALL_GLYPHS: ReadonlyMap<string, string> = new Map([
|
|
|
42
42
|
["web_search", "↗"],
|
|
43
43
|
["fetch_content", "↗"],
|
|
44
44
|
["get_search_content", "↗"],
|
|
45
|
-
["codemode", "
|
|
45
|
+
["codemode", "¢"],
|
|
46
46
|
]);
|
|
47
47
|
const PRESENTATION_PATCHED = Symbol.for("kg.pi.toolPresentation.v3");
|
|
48
48
|
const LEGACY_PRESENTATION_PATCHED = Symbol.for("kg.pi.toolPresentation.v2");
|