Skip to content

Commit 3faaf11

Browse files
committed
Release v0.1.24
1 parent 215e7a3 commit 3faaf11

4 files changed

Lines changed: 5 additions & 4 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 heavier `` at the bottom left. 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; 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.
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export default function planBuildModes(pi: ExtensionAPI): void {
496496
const leftRail = `${formatModeRail(selectedMode)} `;
497497
const rightRail = this.borderColor("│");
498498
const topRightVerticalTransition = this.borderColor("┆");
499-
const bottomLeftVerticalTransition = formatModeRail(selectedMode, "┇");
499+
const bottomLeftVerticalTransition = formatModeRail(selectedMode, selectedMode === "build" ? "┇" : "┆");
500500
const metadata = truncateToWidth(
501501
formatModeMetadata(selectedMode, pi.getThinkingLevel(), ctx.ui.theme, this.borderColor, {
502502
modelName: ctx.model?.id ?? "no-model",

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.23",
3+
"version": "0.1.24",
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ test("mode composer uses colored rails and mode/thinking metadata", () => {
7777
const buildRail = formatModeRail("build");
7878
assert.equal(planRail, "\x1b[38;2;245;167;66m│\x1b[0m");
7979
assert.equal(buildRail, "\x1b[38;2;92;156;245m│\x1b[0m");
80-
assert.equal(formatModeRail("build", "┆"), "\x1b[38;2;92;156;245m┆\x1b[0m");
80+
assert.equal(formatModeRail("plan", "┆"), "\x1b[38;2;245;167;66m┆\x1b[0m");
81+
assert.equal(formatModeRail("build", "┇"), "\x1b[38;2;92;156;245m┇\x1b[0m");
8182
assert.equal(
8283
formatModeTopBorder("plan", 4, "\x1b[2m╮\x1b[22m"),
8384
"\x1b[38;2;245;167;66m╭─╌\x1b[0m\x1b[2m╮\x1b[22m",

0 commit comments

Comments
 (0)