pi-stereo-view 0.1.16 → 0.1.17

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,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.1.17 - 2026-11-09
6
+
7
+ ### Changed
8
+
9
+ - Pi loads the extension faster.
10
+
5
11
  ## 0.1.16 - 2026-11-08
6
12
 
7
13
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-stereo-view",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "type": "module",
5
5
  "description": "Keep Pi conversation separate from tool output and agent activity.",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  import type { Theme } from "@earendil-works/pi-coding-agent";
2
2
  import { stripTerminalSequences, truncateToWidth, visibleWidth, type Component, type TuiMouseEvent } from "@earendil-works/pi-tui";
3
- import type { ToolSummary } from "./content.js";
3
+ import type { ToolSummary } from "./content.ts";
4
4
 
5
5
  const singleLine = (text: string): string => stripTerminalSequences(text).replace(/[\x00-\x1f\x7f-\x9f]/g, " ").replace(/\s+/g, " ").trim();
6
6
 
package/src/content.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Container, Markdown, Text, stripTerminalSequences, type Component } from "@earendil-works/pi-tui";
2
- import { searchText, type SearchEntry } from "./search.js";
3
- import { NestedCalls } from "./nested-calls.js";
2
+ import { searchText, type SearchEntry } from "./search.ts";
3
+ import { NestedCalls } from "./nested-calls.ts";
4
4
 
5
5
  export type Pane = "activity" | "chat";
6
6
  export type ContentKind = "dialogue" | "system" | "thinking" | "tool" | "shell";
package/src/index.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import path from "node:path";
2
2
  import { copyToClipboard, getAgentDir, getSettingsListTheme, type ExtensionAPI, type ExtensionContext } from "@earendil-works/pi-coding-agent";
3
3
  import { Box, Container, isKeyRelease, matchesKey, SettingsList, Text, type OverlayHandle, type TUI, type TuiMouseEvent } from "@earendil-works/pi-tui";
4
- import { TranscriptLayout } from "./layout.js";
5
- import { TOOL_START_ENTRY, TranscriptTimestamps } from "./timestamps.js";
6
- import { defaults, loadPreferences, savePreferences, type Preferences } from "./preferences.js";
7
- import { beforeFirstFrame } from "./startup.js";
8
- import { observeNativeEditor } from "./native-editor.js";
9
- import { NestedCalls } from "./nested-calls.js";
4
+ import { TranscriptLayout } from "./layout.ts";
5
+ import { TOOL_START_ENTRY, TranscriptTimestamps } from "./timestamps.ts";
6
+ import { defaults, loadPreferences, savePreferences, type Preferences } from "./preferences.ts";
7
+ import { beforeFirstFrame } from "./startup.ts";
8
+ import { observeNativeEditor } from "./native-editor.ts";
9
+ import { NestedCalls } from "./nested-calls.ts";
10
10
 
11
11
  /** Split native fullscreen history without changing message content or the input dock. */
12
12
  export default async function transcript(pi: ExtensionAPI): Promise<void> {
package/src/layout.ts CHANGED
@@ -4,12 +4,12 @@ import {
4
4
  Container, HStack, isViewportTUI, mixColors, MouseRegion, rgbColor, ScrollView, Text, truncateToWidth, visibleWidth, VStack,
5
5
  type Color, type Component, type ScrollViewOptions, type StackChild, type TUI, type TuiMouseEvent,
6
6
  } from "@earendil-works/pi-tui";
7
- import { NativeDocument, type Pane } from "./native.js";
8
- import { NativeContentIndex } from "./content.js";
9
- import { NestedCalls } from "./nested-calls.js";
10
- import type { Preferences } from "./preferences.js";
11
- import type { TranscriptTimestamps } from "./timestamps.js";
12
- import { PANEL_SEARCH_ROWS, PanelSearch, PanelSearchShortcut, type SearchHit } from "./search.js";
7
+ import { NativeDocument, type Pane } from "./native.ts";
8
+ import { NativeContentIndex } from "./content.ts";
9
+ import { NestedCalls } from "./nested-calls.ts";
10
+ import type { Preferences } from "./preferences.ts";
11
+ import type { TranscriptTimestamps } from "./timestamps.ts";
12
+ import { PANEL_SEARCH_ROWS, PanelSearch, PanelSearchShortcut, type SearchHit } from "./search.ts";
13
13
 
14
14
  type NativeTui = TUI & {
15
15
  layoutRoot?: Container;
package/src/native.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  import type { Theme, ToolInfo } from "@earendil-works/pi-coding-agent";
2
2
  import { Container, Spacer, Text, type Component, type TuiMouseEvent } from "@earendil-works/pi-tui";
3
- import { searchText, type SearchEntry, type SearchHit } from "./search.js";
4
- import { highlightSearchRows, searchHitRow, type SearchClock } from "./search-highlight.js";
5
- import { CompactMessage, type TranscriptTimestamps } from "./timestamps.js";
6
- import { NativeContentIndex, type ContentEntry, type Pane } from "./content.js";
7
- import { CompactTool } from "./compact-tools.js";
8
- import { toolPresentations, type ToolPresentation } from "./tool-presentation.js";
9
- import { toolGroups, groupSummary, type ToolGroup } from "./tool-groups.js";
10
- import { ToolIndent } from "./tool-indent.js";
11
- import { NestedTree, type NativeTreeBody } from "./nested-tree.js";
12
- export type { Pane } from "./content.js";
3
+ import { searchText, type SearchEntry, type SearchHit } from "./search.ts";
4
+ import { highlightSearchRows, searchHitRow, type SearchClock } from "./search-highlight.ts";
5
+ import { CompactMessage, type TranscriptTimestamps } from "./timestamps.ts";
6
+ import { NativeContentIndex, type ContentEntry, type Pane } from "./content.ts";
7
+ import { CompactTool } from "./compact-tools.ts";
8
+ import { toolPresentations, type ToolPresentation } from "./tool-presentation.ts";
9
+ import { toolGroups, groupSummary, type ToolGroup } from "./tool-groups.ts";
10
+ import { ToolIndent } from "./tool-indent.ts";
11
+ import { NestedTree, type NativeTreeBody } from "./nested-tree.ts";
12
+ export type { Pane } from "./content.ts";
13
13
 
14
14
  /** Decorate one selected block without changing native text or mouse coordinates. */
15
15
  class SearchHighlight implements Component {
@@ -1,4 +1,4 @@
1
- import type { ToolSummary } from "./content.js";
1
+ import type { ToolSummary } from "./content.ts";
2
2
 
3
3
  type Start = { parentToolCallId?: string; toolCallId: string; toolName: string; args: unknown };
4
4
  type End = { toolCallId: string; isError: boolean };
@@ -1,11 +1,11 @@
1
1
  import type { Theme } from "@earendil-works/pi-coding-agent";
2
2
  import { Container, Text, type Component } from "@earendil-works/pi-tui";
3
- import { componentTree, type ContentEntry, type ToolSummary } from "./content.js";
4
- import { CompactTool } from "./compact-tools.js";
5
- import type { SearchClock } from "./search-highlight.js";
6
- import type { NestedCall, NestedCalls } from "./nested-calls.js";
7
- import type { ToolPresentation } from "./tool-presentation.js";
8
- import { ToolIndent } from "./tool-indent.js";
3
+ import { componentTree, type ContentEntry, type ToolSummary } from "./content.ts";
4
+ import { CompactTool } from "./compact-tools.ts";
5
+ import type { SearchClock } from "./search-highlight.ts";
6
+ import type { NestedCall, NestedCalls } from "./nested-calls.ts";
7
+ import type { ToolPresentation } from "./tool-presentation.ts";
8
+ import { ToolIndent } from "./tool-indent.ts";
9
9
 
10
10
  export interface NativeTreeBody { entry: ContentEntry; component: Component; excerpt?: Component; clock?(): SearchClock | undefined }
11
11
  interface Node { key: string; summary: ToolSummary; children: Node[]; count?: number }
@@ -1,6 +1,6 @@
1
1
  import type { Theme } from "@earendil-works/pi-coding-agent";
2
2
  import { sliceByColumn, stripTerminalSequences } from "@earendil-works/pi-tui";
3
- import type { SearchHit } from "./search.js";
3
+ import type { SearchHit } from "./search.ts";
4
4
 
5
5
  // Pi maps the public host package, not its private subpaths, in installed extensions.
6
6
  // Keep CSI styles and OSC/APC markers intact without importing a private utility.
@@ -1,6 +1,6 @@
1
1
  import { spawn } from "node:child_process";
2
2
  import { createInterface } from "node:readline";
3
- import { compileSearchCondition, compileSearchQuery, satisfiesSearchCondition, type SearchCondition } from "./search-query.js";
3
+ import { compileSearchCondition, compileSearchQuery, satisfiesSearchCondition, type SearchCondition } from "./search-query.ts";
4
4
 
5
5
  /** A matched UTF-16 span in the saved line, before native wrapping and decoration. */
6
6
  export interface SearchRange { start: number; end: number }
package/src/search.ts CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  type Component, type TUI,
5
5
  } from "@earendil-works/pi-tui";
6
6
 
7
- import { matchSearchLines, type LineMatch, type SearchRange } from "./search-matcher.js";
7
+ import { matchSearchLines, type LineMatch, type SearchRange } from "./search-matcher.ts";
8
8
  const NATIVE_SEARCH = "tui.altScreen.search";
9
9
 
10
10
  /** Reserve Ctrl+F in split mode without changing any saved keyboard settings. */
package/src/timestamps.ts CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  type Component, type TuiMouseEvent,
5
5
  } from "@earendil-works/pi-tui";
6
6
 
7
- import { NativeRenderCache } from "./render-cache.js";
7
+ import { NativeRenderCache } from "./render-cache.ts";
8
8
  type Message = ReturnType<typeof sessionEntryToContextMessages>[number];
9
9
  type TimedSource = { message: Message; time: unknown };
10
10
  type UserSlot = { kind: string; text?: string; time: unknown };
@@ -1,5 +1,5 @@
1
1
  import type { Component } from "@earendil-works/pi-tui";
2
- import type { ContentEntry, ToolSummary } from "./content.js";
2
+ import type { ContentEntry, ToolSummary } from "./content.ts";
3
3
 
4
4
  export interface ToolGroup { calls: ContentEntry[]; key: string; name: string; status: ToolSummary["status"] }
5
5