Skip to content

Commit b640348

Browse files
committed
Release v0.1.25
1 parent 3faaf11 commit b640348

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A global [Pi coding agent](https://github.com/badlogic/pi-mono) extension that a
88

99
- New sessions start in **Build** mode.
1010
- Bare `Tab` cycles **Build → Plan → Build**, while active autocomplete dropdowns retain Pi's normal Tab completion.
11-
- The composer uses OpenCode prompt-inspired blue/orange mode colors on the rounded top-left border and left rail, complemented by Pi's border color on the right rail and rounded bottom-right border; dim rounded corners with color-matched horizontal `` segments bridge the borders at both junctions, paired with a light vertical `` at the top right and a mode-specific bottom-left transition: thin `` in Plan and heavy `` in Build. It also includes a mode/model/thinking metadata row; cycling the thinking level updates this row without adding a duplicate status above the composer. The model is shown as `model-id [provider]` (for example, `gpt-5.6-luna [openai]`), with the model ID inheriting the terminal foreground like unselected entries in `/model` and the provider using the footer's dim text color. The footer keeps the remaining path and usage stats without duplicating model metadata.
11+
- The composer uses OpenCode prompt-inspired blue/orange mode colors on the rounded top-left border and left rail, complemented by Pi's border color on the right rail and rounded bottom-right border; rounded corners inherit their vertical rail colors while horizontal `` segments bridge the borders at both junctions, paired with a light vertical `` at the top right and a mode-specific bottom-left transition: thin `` in Plan and heavy `` in Build. It also includes a mode/model/thinking metadata row; cycling the thinking level updates this row without adding a duplicate status above the composer. The model is shown as `model-id [provider]` (for example, `gpt-5.6-luna [openai]`), with the model ID inheriting the terminal foreground like unselected entries in `/model` and the provider using the footer's dim text color. The footer keeps the remaining path and usage stats without duplicating model metadata.
1212
- `/plan`, `/build`, and the `--plan` startup flag.
1313
- Per-session plans at `~/.pi/agent/plans/<session-id>.md`.
1414
- In Plan mode, built-in `edit` and `write` are restricted to the exact plan file.

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,15 +506,15 @@ export default function planBuildModes(pi: ExtensionAPI): void {
506506
width - 1,
507507
"",
508508
);
509-
const topBorder = formatModeTopBorder(selectedMode, width, ctx.ui.theme.fg("dim", "╮"));
509+
const topBorder = formatModeTopBorder(selectedMode, width, this.borderColor("╮"));
510510
return renderModeComposer(
511511
lines,
512512
topBorder,
513513
leftRail,
514514
rightRail,
515515
topRightVerticalTransition,
516516
metadata,
517-
ctx.ui.theme.fg("dim", "╰"),
517+
formatModeRail(selectedMode, "╰"),
518518
railWidth,
519519
width,
520520
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@janvitos/pi-plan-build",
3-
"version": "0.1.24",
3+
"version": "0.1.25",
44
"description": "Plan safely, approve explicitly, then implement here or in a clean session.",
55
"type": "module",
66
"license": "MIT",

utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ test("footer helpers preserve compact counts and safe home-relative paths", () =
116116
assert.equal(formatFooterCwd("/home/username/project", "/home/user"), "/home/username/project");
117117
});
118118

119-
test("mode composer joins border colors with dashed transitions and dim corners", () => {
119+
test("mode composer joins border colors with dashed transitions and rail-colored corners", () => {
120120
const ansiPattern = /\x1b\[[0-?]*[ -/]*[@-~]/gu;
121121
const lineWidth = {
122122
truncate: (line: string, width: number) => line.replace(ansiPattern, "").length <= width ? line : line.slice(0, width),

0 commit comments

Comments
 (0)