@anthodev/pi-tools-style 0.1.0 → 0.1.2
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 +26 -32
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
<p align="center"><strong>Give Pi tool activity clear, theme-aware structure without changing how tools run.</strong></p>
|
|
4
4
|
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://github.com/Anthodev/pi-tools-style/actions/workflows/ci.yml?query=branch%3Adevelop"><img alt="Tests" src="https://img.shields.io/github/actions/workflow/status/Anthodev/pi-tools-style/ci.yml?branch=develop&style=for-the-badge&label=tests&labelColor=101418"></a>
|
|
7
|
+
<a href="https://github.com/Anthodev/pi-tools-style/releases/latest"><img alt="Latest stable release" src="https://img.shields.io/github/v/release/Anthodev/pi-tools-style?style=for-the-badge&label=release&labelColor=101418&color=9ccbfb"></a>
|
|
8
|
+
<a href="https://github.com/Anthodev/pi-tools-style/blob/develop/LICENSE"><img alt="MIT License" src="https://img.shields.io/github/license/Anthodev/pi-tools-style?style=for-the-badge&labelColor=101418&color=b9c8da"></a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
5
11
|
`pi-tools-style` adds rounded frames, tool-specific icons, and live running indicators to Pi tool calls and direct shell commands. It decorates the output Pi already produces instead of replacing tool definitions or renderers.
|
|
6
12
|
|
|
7
13
|
Built-in tools, MCP integrations, AFT, and third-party extensions keep control of their schemas, permissions, prompts, execution backends, and rendered content. When an output cannot be framed safely, the extension leaves it untouched.
|
|
@@ -17,6 +23,26 @@ Built-in tools, MCP integrations, AFT, and third-party extensions keep control o
|
|
|
17
23
|
- **Image-safe fallback** — skips Kitty, iTerm2, and Sixel rows instead of corrupting terminal image sequences.
|
|
18
24
|
- **Reload-safe state** — keeps wrappers and runtime configuration idempotent across `/reload`.
|
|
19
25
|
|
|
26
|
+
## Installation
|
|
27
|
+
|
|
28
|
+
The current release targets Pi `0.84.x` and requires Node.js 22 or newer.2
|
|
29
|
+
|
|
30
|
+
To install it, use the following command:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pi install npm:@anthodev/pi-tools-style
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
To install this checkout as a local Pi package:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
cd /absolute/path/to/pi-tools-style
|
|
40
|
+
npm install --legacy-peer-deps
|
|
41
|
+
pi install "$(pwd)"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Pi stores the package in user settings and references the directory directly, so local changes become available after `/reload` or a restart.
|
|
45
|
+
|
|
20
46
|
## What it looks like
|
|
21
47
|
|
|
22
48
|
ASCII mode stays readable in any terminal:
|
|
@@ -45,38 +71,6 @@ Once execution finishes, the spinner disappears and the title remains stable:
|
|
|
45
71
|
|
|
46
72
|
Direct `!` and `!!` commands use the same frame with a `shell` title. Slash-command output remains unchanged because Pi does not expose one uniform transcript component for slash commands.
|
|
47
73
|
|
|
48
|
-
## Installation
|
|
49
|
-
|
|
50
|
-
The current release targets Pi `0.84.x` and requires Node.js 22 or newer.
|
|
51
|
-
|
|
52
|
-
To install this checkout as a local Pi package:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
cd /absolute/path/to/pi-tools-style
|
|
56
|
-
npm install --legacy-peer-deps
|
|
57
|
-
pi install "$(pwd)"
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Pi stores the package in user settings and references the directory directly, so local changes become available after `/reload` or a restart.
|
|
61
|
-
|
|
62
|
-
To install it only for the current project, run this from that project:
|
|
63
|
-
|
|
64
|
-
```bash
|
|
65
|
-
pi install -l /absolute/path/to/pi-tools-style
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
To try the extension without installing it:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
pi -e /absolute/path/to/pi-tools-style/index.ts
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
Once the package is published to npm, it can also be installed with:
|
|
75
|
-
|
|
76
|
-
```bash
|
|
77
|
-
pi install npm:@anthodev/pi-tools-style
|
|
78
|
-
```
|
|
79
|
-
|
|
80
74
|
## Usage
|
|
81
75
|
|
|
82
76
|
Boxes start enabled. Manage them from Pi with:
|
package/package.json
CHANGED