@selesai/code 0.8.0 → 0.8.1

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 CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to `@selesai/code` will be documented in this file.
4
4
 
5
+ ## [0.8.1] - 2026-08-11
6
+
7
+ ### Fixed
8
+ - **Powerline guide defaults to compact mode.** When `selesaiGuide.mode` is not set, the recurring `/guide` tour now opens in compact mode instead of the full tour. An explicit `full`, `compact`, or `off` setting is still honored.
9
+
5
10
  ## [0.8.0] - 2026-08-11
6
11
 
7
12
  ### Added
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### Fixed
6
+ - **Guide defaults to compact mode** — When `selesaiGuide.mode` is unset, the recurring guide opens in compact mode instead of the full tour. Explicit `full`, `compact`, or `off` settings are still honored.
7
+
5
8
  ### Changed
6
9
  - **Upstream 0.12.3 merge (Selesai fork)** — Updated from upstream v0.5.4 to v0.12.3. Adopts the Powerline queue/inbox (`/idea`, `/ideas`, `/queue`, `/ideas next`, `/ideas issue`), compaction-aware queue delivery, `/cd` session directory switching, cost currency and subagent cost accounting, `powerline.separator`/`layout`/`placement`/`disabledSegments`/`welcome` options, git host icons, cached session token stats, strict TypeScript gate, and all upstream fixes through 0.12.3. Selesai-specific features are preserved: the fixed editor and chat scrolling, the guide overlay, the TPS tracker, session-usage accounting, and mode-aware autocomplete trigger forwarding.
7
10
 
@@ -149,7 +149,7 @@ export function getGuidePreferences(settings: unknown): GuidePreferences {
149
149
  : {};
150
150
 
151
151
  return {
152
- mode: isGuideMode(raw.mode) ? raw.mode : "full",
152
+ mode: isGuideMode(raw.mode) ? raw.mode : "compact",
153
153
  lastSeenVersion: typeof raw.lastSeenVersion === "string" ? raw.lastSeenVersion : undefined,
154
154
  };
155
155
  }
@@ -22,7 +22,7 @@ const features: GuideFeature[] = [
22
22
  ];
23
23
 
24
24
 
25
- test("guide opens fully for each real session start", () => {
25
+ test("explicit full guide opens for each real session start", () => {
26
26
  for (const reason of ["startup", "new", "resume", "fork"]) {
27
27
  assert.equal(resolveGuideDisplayMode({ reason, hasUI: true, guideMode: "full" }), "full");
28
28
  }
@@ -35,8 +35,10 @@ test("guide dismissal and compact preferences change automatic display", () => {
35
35
  assert.equal(resolveGuideDisplayMode({ reason: "startup", hasUI: false, guideMode: "full" }), "none");
36
36
  });
37
37
 
38
- test("quiet startup does not suppress the default blocking guide", () => {
39
- assert.equal(resolveGuideDisplayMode({ reason: "startup", hasUI: true, guideMode: "full" }), "full");
38
+ test("guide defaults to a compact header so fixed-editor mode stays active", () => {
39
+ const preferences = getGuidePreferences({});
40
+ assert.equal(preferences.mode, "compact");
41
+ assert.equal(resolveGuideDisplayMode({ reason: "startup", hasUI: true, guideMode: preferences.mode }), "compact");
40
42
  });
41
43
 
42
44
  test("full and compact guide content expose README commands and examples", () => {
@@ -97,9 +99,9 @@ test("guide dismissal persists only the mode and version marker", () => {
97
99
  }
98
100
  });
99
101
 
100
- test("invalid persisted guide settings fall back to the full guide", () => {
102
+ test("invalid persisted guide settings fall back to the compact guide", () => {
101
103
  assert.deepEqual(getGuidePreferences({ selesaiGuide: { mode: "unexpected", lastSeenVersion: 42 } }), {
102
- mode: "full",
104
+ mode: "compact",
103
105
  lastSeenVersion: undefined,
104
106
  });
105
107
  });
@@ -20,7 +20,7 @@
20
20
  "@earendil-works/pi-agent-core": "0.81.0",
21
21
  "@earendil-works/pi-ai": "0.81.0",
22
22
  "@earendil-works/pi-tui": "0.81.0",
23
- "@selesai/code": "0.8.0",
23
+ "@selesai/code": "0.8.1",
24
24
  "@types/node": "24.13.3",
25
25
  "typescript": "5.9.3"
26
26
  },
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "../../..": {
49
49
  "name": "@selesai/code",
50
- "version": "0.8.0",
50
+ "version": "0.8.1",
51
51
  "dev": true,
52
52
  "dependencies": {
53
53
  "@earendil-works/pi-agent-core": "0.83.0",
@@ -97,7 +97,7 @@
97
97
  "devDependencies": {
98
98
  "@earendil-works/pi-agent-core": "0.81.0",
99
99
  "@earendil-works/pi-ai": "0.81.0",
100
- "@selesai/code": "0.8.0",
100
+ "@selesai/code": "0.8.1",
101
101
  "@earendil-works/pi-tui": "0.81.0",
102
102
  "@types/node": "24.13.3",
103
103
  "typescript": "5.9.3"
@@ -26,7 +26,7 @@ const expectedHostPeerRanges = {
26
26
  const expectedHostDevVersions = {
27
27
  "@earendil-works/pi-agent-core": "0.81.0",
28
28
  "@earendil-works/pi-ai": "0.81.0",
29
- "@selesai/code": "0.8.0",
29
+ "@selesai/code": "0.8.1",
30
30
  "@earendil-works/pi-tui": "0.81.0",
31
31
  } satisfies Record<(typeof hostPeerPackages)[number], string>;
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selesai/code",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Maintained, extension-first Pi coding agent with built-in workflows, subagents, web research, questions, skills, and an enhanced terminal UI.",
5
5
  "type": "module",
6
6
  "repository": {