@quandev104/pi-style 0.1.4 → 0.1.6
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 +30 -0
- package/README.md +10 -6
- package/dist/extensions/pi-style.js +3939 -1431
- package/dist/extensions/pi-style.js.map +1 -1
- package/extension-src/pi-style/app/command-service.ts +2 -0
- package/extension-src/pi-style/domain/config-authorization.ts +6 -3
- package/extension-src/pi-style/domain/config-normalization.ts +21 -5
- package/extension-src/pi-style/domain/config-presets.ts +1 -1
- package/extension-src/pi-style/domain/config-types.ts +7 -3
- package/extension-src/pi-style/domain/theme.ts +6 -1
- package/extension-src/pi-style/features/editor/index.ts +169 -27
- package/extension-src/pi-style/features/messages/index.ts +66 -0
- package/extension-src/pi-style/features/tools/bash-execution.ts +112 -0
- package/extension-src/pi-style/features/tools/boxed/bash.ts +154 -130
- package/extension-src/pi-style/features/tools/boxed/batch.ts +50 -27
- package/extension-src/pi-style/features/tools/boxed/command-shape.ts +136 -0
- package/extension-src/pi-style/features/tools/boxed/find.ts +2 -2
- package/extension-src/pi-style/features/tools/boxed/gh.ts +1012 -0
- package/extension-src/pi-style/features/tools/boxed/git.ts +1960 -0
- package/extension-src/pi-style/features/tools/boxed/grep.ts +2 -2
- package/extension-src/pi-style/features/tools/boxed/output-tree.ts +9 -10
- package/extension-src/pi-style/features/tools/boxed/read.ts +3 -3
- package/extension-src/pi-style/features/tools/boxed/write.ts +2 -1
- package/extension-src/pi-style/pi/compatibility-coordinator.ts +32 -11
- package/extension-src/pi-style/pi/compatibility-probe.ts +341 -205
- package/extension-src/pi-style/pi/compatibility-registry.ts +19 -3
- package/extension-src/pi-style/pi/index.ts +21 -3
- package/extension-src/pi-style/pi/session-coordinator.ts +24 -0
- package/extension-src/pi-style/shared/box.ts +8 -4
- package/extension-src/pi-style/shared/split-diff.ts +9 -9
- package/package.json +9 -9
- package/themes/titanium-light.json +82 -0
- package/themes/titanium.json +79 -0
- package/themes/.gitkeep +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.6] - 2026-08-06
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- *(compat)* Identity-first certification, support Pi 0.84.0 without version pinning
|
|
8
|
+
|
|
9
|
+
## [0.1.5] - 2026-08-05
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
- *(box)* Visible dim terminal-default frame borders (match omp)
|
|
14
|
+
- *(box)* Dim terminal-default for tree/divider/gutter lines (match omp)
|
|
15
|
+
- *(git,gh)* Dim terminal-default tree branches (match omp)
|
|
16
|
+
- *(box)* Rename find tool header label from Glob to Find
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- Rounded dock editor frame with dim hint, zero-trace thinking collapse
|
|
21
|
+
- Add titanium dark/light themes ported from omp defaults
|
|
22
|
+
- *(box)* State-dynamic tool frame color mirroring omp borders
|
|
23
|
+
- Git and gh semantic renderers as bash presentation adapters (Phase 8)
|
|
24
|
+
- *(theme)* Auto-apply titanium theme at TUI session start
|
|
25
|
+
- *(box)* Render lone read calls as a single inline line
|
|
26
|
+
- *(editor,tools)* Bash-mode prompt icon, hidden bang, boxed bash execution
|
|
27
|
+
|
|
28
|
+
### Miscellaneous Tasks
|
|
29
|
+
|
|
30
|
+
- Biome format 7 boxed-tool files to pass npm run check
|
|
31
|
+
- *(assets)* Refresh demo screenshot
|
|
32
|
+
|
|
3
33
|
## [0.1.4] - 2026-08-05
|
|
4
34
|
|
|
5
35
|
### Features
|
package/README.md
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
- **Editor** — compact/boxed/dock `CustomEditor` treatments with prompt glyph, metadata rows, and thinking-level border, preserving Pi keybindings and autocomplete.
|
|
18
18
|
- **Startup** — compact gradient logo header and optional overlay with System & Context / Available Tools panels, rendered from snapshot data collected before mount.
|
|
19
19
|
- **Messages** — assistant prefix and boxed compaction/skill/branch/MCP special blocks, and certified tool call/result selectors with pending/running/error markers.
|
|
20
|
+
- **Auto theme** — the `titanium` palette is applied at TUI session start when no other theme is active (configurable via `theme.autoApply`, disable with `"off"`).
|
|
20
21
|
- **One visual system** — shared semantic theme, glyph sets (Nerd/Unicode/ASCII), and ANSI-safe rendering across every surface.
|
|
21
22
|
|
|
22
23
|
All certified surfaces are **on by default**. The single OFF switch is:
|
|
@@ -46,9 +47,10 @@ pi -e ./extension-src/pi-style/pi/index.ts
|
|
|
46
47
|
No configuration is required. The `default` preset enables:
|
|
47
48
|
|
|
48
49
|
- primary status row **below the editor** (`placement: "below"`), secondary row when it has content;
|
|
49
|
-
- `
|
|
50
|
+
- `dock` editor (rounded input box) with metadata ownership resolved so the status line and editor do not duplicate text;
|
|
50
51
|
- `compact` startup header (gradient logo block only; resource chips are opt-in);
|
|
51
|
-
-
|
|
52
|
+
- the `titanium` theme auto-applied at session start (`theme.autoApply`, default `"titanium"`; set `"off"` to keep your active Pi theme);
|
|
53
|
+
- certified message prefixes and boxed tool presentation when the runtime surface identity matches a recorded fingerprint.
|
|
52
54
|
|
|
53
55
|
Override any documented leaf through global/project `piStyle` settings, environment, or session commands. Precedence:
|
|
54
56
|
|
|
@@ -64,7 +66,8 @@ Example settings file (`.pi/pi-style` or global config):
|
|
|
64
66
|
"preset": "full",
|
|
65
67
|
"placement": "above",
|
|
66
68
|
"editor": { "style": "boxed", "frame": "line" },
|
|
67
|
-
"startup": { "mode": "overlay", "showResources": true }
|
|
69
|
+
"startup": { "mode": "overlay", "showResources": true },
|
|
70
|
+
"theme": { "autoApply": "titanium-light" }
|
|
68
71
|
}
|
|
69
72
|
}
|
|
70
73
|
```
|
|
@@ -77,12 +80,12 @@ Invalid values never break startup: they fall back safely and appear in `/pi-sty
|
|
|
77
80
|
|
|
78
81
|
| Preset | Behavior |
|
|
79
82
|
|---|---|
|
|
80
|
-
| `default` | Balanced status line,
|
|
83
|
+
| `default` | Balanced status line, rounded-box editor, compact startup, restrained message/tool styling. |
|
|
81
84
|
| `minimal` | Path/Git/context essentials, native-like editor, no startup overlay, low decoration. |
|
|
82
85
|
| `compact` | High information density for medium terminals. |
|
|
83
86
|
| `full` | Broad status data and all compatible visual surfaces. |
|
|
84
87
|
| `ascii` | No Nerd Font assumptions and conservative separators. |
|
|
85
|
-
| `native` | Active Pi theme plus only low-risk status enhancements. |
|
|
88
|
+
| `native` | Active Pi theme kept as-is (`theme.autoApply: "off"`) plus only low-risk status enhancements. |
|
|
86
89
|
|
|
87
90
|
---
|
|
88
91
|
|
|
@@ -99,6 +102,7 @@ The full schema, precedence, persistence, and migration policy live in [`docs/CO
|
|
|
99
102
|
| `PI_STYLE_EDITOR=native\|compact\|boxed\|dock` | Temporary editor override. |
|
|
100
103
|
| `PI_STYLE_STATUS=above\|below\|off` | Temporary status placement/state. |
|
|
101
104
|
| `PI_STYLE_OSC11=1\|0` | Force terminal background sync policy. |
|
|
105
|
+
| `PI_STYLE_THEME=<name\|off>` | Override the auto-applied theme (`off` keeps the active Pi theme). |
|
|
102
106
|
| `PI_STYLE_DEBUG=1` | Enable bounded diagnostics. |
|
|
103
107
|
|
|
104
108
|
### CLI flags
|
|
@@ -138,7 +142,7 @@ Ordinary mutations are session-only; persistence requires an explicit `global` o
|
|
|
138
142
|
## Compatibility
|
|
139
143
|
|
|
140
144
|
- Public Pi APIs (widgets, editor, header, footer bridge) are preferred and enabled by default.
|
|
141
|
-
- Tier C core patches (message prefixes, special blocks, tool selectors) are certified
|
|
145
|
+
- Tier C core patches (message prefixes, special blocks, tool selectors) are identity-certified per surface against recorded fingerprints (Pi `0.83.0`/`0.84.0` observed), isolated, reversible, and flag/config gated; any surface whose runtime identity is not recorded falls back natively on its own.
|
|
142
146
|
- No render-time I/O: filesystem, Git, settings, and session data flow through cached providers into immutable snapshots.
|
|
143
147
|
- Terminal-global background synchronization is unsupported/off for technical v1; explicit cell backgrounds and Pi theme APIs remain supported.
|
|
144
148
|
|