Skip to content

Releases

v0.1.8

Choose a tag to compare

@elinx elinx released this 12 Jul 16:35

What's new in v0.1.8

🚀 First Launch & Landing Page

  • Landing page — first launch shows welcome screen with "Open Project" + embedded provider setup, no more silent process.cwd() worker init
  • No root directory pollution — getSessionDir() no longer creates directories as side effect; before-quit doesn't write recent-projects.json without a project

🔀 Branch & Fork

  • Context-full auto-branch — automatic branching with selective context pruning when context window fills
  • ForkAsk chunk selection — per-chunk diff selection with multi-select, Ask button on every write/edit tool call
  • Branch dialog — multi-select directions, parallel creation, error/empty states, branch button in tab bar
  • Branch compaction — Pi SDK-quality purpose-driven summarization, stream to BranchDialog
  • Forked session diff — render with ReactDiffViewer, fix parentId chain for SDK context building

🧪 Quiz Verify

  • Quiz generation via tool_result hook (not system prompt), level selector (off/basic/deep)
  • QuizDialog — portal modal with diff preview and answer input
  • Parent session lock during quiz verify, project-level quiz config
  • Quiz submit card with app-theme styling

🤖 Auto-Retry & Error Display

  • Worker-level auto-retry with fixed 1s interval, anti-flicker UI
  • API errors visible — 403/401 display as red indicator bar (reuses retryStatus with attempt=0)
  • Non-retryable errors: 404, not found, invalid API key, authentication, unauthorized, 401, 403

✨ Content & Interaction

  • Streamdown — streaming-first markdown rendering, replacing react-markdown, theme-integrated CSS
  • Content quote/forward — select text to quote into input or forward to another session; file quote with line-range resolver
  • SelectionToolbar — unified selection popup for chat, FileViewer
  • Slash command menu in input bar
  • In-tab search (Ctrl+F) for chat, file, and skill tabs
  • Ctrl+Tab to switch to recently used tab
  • Tab overflow menu with Close All / Close Others
  • Outline view — click to jump to position in normal view

🛠️ New Tools

  • Todowrite — task tracking with inline rendering and dedicated right-panel view (16 tests)
  • Question — blocking modal dialog with option list, multi-select, and custom text input
  • Webfetch — HTML-to-Markdown conversion with proxy support

🎨 UI Polish

  • Session preview popover — hover preview with origin type badges, sub-session count
  • Multi-select session deletion — batch delete in sidebar
  • Session icons — unified water/stream metaphor for each origin type
  • Tool call summaries — URL in webfetch, task in subagent
  • Persisted expand state for tool calls across session switches
  • Tools tab in left panel showing available agent tools
  • Font size unification — em-based units for tables, code blocks, prose

🐛 Fixes

  • Subagent session not created (stale projectPath, undefined parentSessionPath)
  • Subagent spinner stuck forever, never broadcast completion
  • Branch session unchattable — use branch_summary entry instead of system+assistant
  • Prompt capture broken after session switch
  • Clear conversation not clearing worker context for secondary sessions
  • File tree/file viewer lose state when switching tabs
  • Branch dialog temporal dead zone, style inconsistencies
  • Streaming flicker, table toolbar float, DOM nesting errors

📚 Docs

  • README rewrite with full feature catalog and hero banner
  • Quiz verify debugging log with CDP technique
  • Fork test spec and test cases
  • Auto-retry spec, streaming markdown spec, content quote/forward spec

What's Changed

  • feat: quiz verify, fork semantics fix, and session parentId chain repair by @elinx in #31

Full Changelog: v0.1.7...v0.1.8

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 27 Jun 14:33

What's new in v0.1.7

🎨 UI Redesign

  • Conductor-inspired dark theme with light/dark/system mode switching
  • Frameless window with custom titlebar controls (minimize, maximize, close)
  • macOS traffic lights aligned with custom window controls
  • InputBar redesign — compact card layout with bottom toolbar
  • Session Sidebar redesign — two-line rows, search, completed section, tree/grouped view toggle
  • Style fixes: theme-aware SessionSummaryCard, InputBar warning colors, dark theme button fixes

🔀 Session & Fork Features

  • Fork Q&A — ForkAskDialog lets you ask AI for guidance when forking a session
  • Explanation blocks — real-time detection during streaming with ChangeAnchor support for history navigation
  • Session origin icons for subagent and fork_ask

🤖 Native Subagent

  • Built-in subagent system via WorkerManager — no external dependency needed
  • Subagent results correctly routed to sender worker
  • SVG icons for subagent sessions

🐛 Fixes

  • Dark theme: InputBar send/stop buttons now visible
  • Prompt-capture deduplication
  • Violet/sky/teal color remapping for dark theme
  • Diff views use react-diff-viewer-continued for better rendering
  • DevTools auto-open in detached mode during dev
  • Skills reload from disk before listing
  • Recent project selection opens file dialog correctly
  • Removed diamond icon marker for main session
  • Fixed running status indicator (green dot)

Full Changelog: v0.1.6...v0.1.7

v0.1.6

Choose a tag to compare

@elinx elinx released this 14 Jun 14:31

v0.1.6 — Sessions v2, Skills, Summary & Search

Sessions v2

  • /summary command — floating SessionSummaryCard, auto-trigger on mark-completed, persists across restarts
  • Session summaries in context — inject ancestor session summaries into system prompt as XML context
  • Summary pill — renders /summary as compact pill in chat, customizable prompt in Settings
  • Ancestor XML context — proper hierarchy with parent attributes, escaped special chars, clean formatting

Search

  • search_sessions upgrade — MiniSearch BM25+, CJK tokenization, improved relevance scoring with IDF
  • CommandPalette session search — now matches summary and first user message, scrollable list

Skills Panel

  • Skill detail tab — click a skill to see full details
  • Data from worker — skills list sourced from pi-worker, harness grouping, sources settings
  • Chat rendering — skills displayed inline in chat messages
  • Visual hierarchy — improved layout, startup reliability, visible hover highlight

Features

  • Session mentions — $sessionName renders as clickable pill in chat
  • Clickable tool paths — file paths in tool calls are now clickable to open
  • Scroll persistence — remember scroll position when switching sessions/tabs
  • Input bar persistence — persist draft across tab switches and system sleep/wake
  • Text selection — select text in chat for quote/forward via context menu

Fixes

  • Input bar content loss — prevent during streaming
  • Nested button warning — ToolPathPill now uses span instead of button
  • CommandPalette — fix scroll, accessibility, z-index overlay bleed
  • Fork point markers — piEntryId injection + matching logic restored
  • Backtick styling — remove redundant pseudo-elements from inline code
  • Prompt capture toggle — synced across localStorage → settings.json three-layer model
  • System prompt — rewrite to override SDK default instead of appending

Full Changelog

v0.1.5...v0.1.6

Full Changelog: v0.1.5...v0.1.6

v0.1.5

Choose a tag to compare

@elinx elinx released this 13 Jun 16:10

v0.1.5 — Session Tree, Prompt Inspector & Drag & Drop

Features

  • Session tree auto-focus — auto-highlights current session, expand/collapse toggle per branch
  • Session drag & drop reparent — reorder session hierarchy by dragging
  • Session reparent — right-click "Move under" to change parent session
  • Collapse persistence — session collapsed state persists across app restarts
  • Floating parent sessions — ancestor chain overlay when scrolled above, per-ancestor visibility
  • New session without abort — purely file-based, no Worker switch needed
  • Clear messages — clears session content without deleting the session, with confirm protection
  • Prompt Inspector — toggle in settings to capture Pi<>model prompts with error boundary
  • Prompt capture backend — pi-worker + IPC + preload integration for prompt snapshots
  • Tool display — ls/find/grep/search_sessions tools now render results inline in chat

Fixes

  • HTML inline preview — restore HTML preview from write tool after app restart, visible in chat
  • Streaming message — hide all hover actions (copy/fork/quote/forward) during streaming
  • QuoteCard width — constrain to match input bar on widescreen
  • Inspect button — moved from assistant to user messages for clarity
  • Fork icon — unified fork icon across sidebar and ChatView
  • Fork button — now visible on all sessions, not just active one
  • Collapse arrow — unified icon size with other sidebar action buttons
  • Chat area — widened on large screens for better readability
  • Explore tools — use correct 'tools' field for grep/find/ls activation

Full Changelog

v0.1.4...v0.1.5

Full Changelog: v0.1.4...v0.1.5

v0.1.4

Choose a tag to compare

@elinx elinx released this 12 Jun 00:33

v0.1.4 — UI Redesign, Provider Management & Session Fixes

Features

  • Delete provider / remove model — manage custom providers and their models directly
  • Provider ops broadcast — provider/auth operations now broadcast to all workers, not just primary

UI Redesign

  • Compact chat flow — redesigned normal mode with cleaner, tighter message layout
  • Turn & outline modes — compact redesigned views with collapsible agent content and action buttons
  • Token usage ring — moved from header to input status bar for better space usage
  • Agent avatar — orange color scheme with lowercase ξ character, matching icon spec
  • Tool calls — toned down visual prominence for cleaner reading flow
  • Block spacing — increased from space-y-1 to space-y-2 for better readability
  • Context menus — unified styles across left/right panels

Fixes

  • Session rename — now writes directly to session file instead of relying on Pi worker state
  • Custom provider model switch — fixed by broadcasting provider/auth operations to all workers

Full Changelog

v0.1.3...v0.1.4

Full Changelog: v0.1.3...v0.1.4

v0.1.3

Choose a tag to compare

@elinx elinx released this 10 Jun 09:00

v0.1.3 — Agent Tools, Session Mentions & Message Queue

Features

  • Coding agent tools — activate all 7 built-in tools (grep, find, ls) for coding agent
  • Session mentions — $ trigger to reference other sessions in prompts (#17)
  • Message queue — buffer input while AI is responding, send when ready (#21)
  • Queue message previews — show queued messages with individual delete + send-now button
  • Recent Projects — dropdown in sidebar header to switch projects (#27)
  • Session search tool — searchSessions tool for coding agent to find past sessions (#20)

Fixes

  • Chat auto-scroll — fundamentally reworked to fix broken scroll in nested overflow containers
  • Scroll jitter — cancel pending RAF on manual scroll to prevent jitter
  • User scroll respect — prevent auto-scroll when user manually scrolls up during streaming
  • Agent identity — agent now identifies as "Xi" not "Pi" in system prompt
  • Tools isolation — protect .xi/.git/node_modules directories from agent file writes
  • Session tab switch — clicking session in sidebar now switches to session tab
  • Context window — correct 1M token window for DeepSeek models
  • Project isolation — isolate session state when switching projects (#26)
  • Tab bar — fix duplicate scrollbar and aggressive name truncation
  • Restore last project — reopen last project on app restart
  • Chat flicker — prevent flicker during streaming updates

Tests

Full Changelog

v0.1.2...v0.1.3

Full Changelog: v0.1.2...v0.1.3

v0.1.2

Choose a tag to compare

@elinx elinx released this 09 Jun 03:55

v0.1.2 — Custom Providers & Config Split

Features

  • Custom provider support — register custom providers with name, baseUrl, apiKey; auto-select model after registration
  • 3-tier provider sidebar — Custom / Popular / Other layout with deterministic color per provider
  • Split config storage — global provider config in ~/.xi/, session files in project dir

Fixes

  • Custom provider persistence — providers now persist across restarts via models.json
  • Model selector filtering — only shows models with auth configured
  • getAvailableModels — always queries primary worker (model registry is global)
  • IPC fallback — all handlers fall back to primary worker when session worker not found
  • xAI duplicate — fixed case-sensitive id matching causing xAI to appear twice
  • Custom provider form — stays intact after successful add
  • Test/Save button — unified layout across provider panels

Full Changelog

v0.1.1...v0.1.2

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@elinx elinx released this 08 Jun 17:37

v0.1.1 — Multi-Worker Session Fix & Provider UX

Fixes

Multi-Worker Session Cross-Talk (Critical)

  • Fixed event routing where switching sessions caused output from one session to appear in another
  • setupBridgeEvents now reads state.sessionPath dynamically instead of capturing a stale closure value
  • primary.sessionPath is now updated after switchSession, newSession, forkAtEntry, and clearSession IPC calls
  • Removed global isStreamingRef — streaming state is now per-session via SessionCache.isStreaming, preventing cross-session streaming state pollution

First Prompt No Response

  • Events now carry sessionPath injected by main process
  • handleEvent calls ensureCacheSync to auto-create session cache on first event
  • onDisplaySession auto-switches display when displayedSessionPath === null

Provider Setup UX

  • Removed Replace/Remove buttons — API key input always visible
  • Save/Update button at bottom only (no inline button next to input)
  • Test Connection works before saving via apiKeyOverride
  • Auto-select first model after saving API key

Auth & Model

  • API keys stored in ~/.xi/auth.json (not ~/.pi/agent)
  • Fixed hasAuth: false in getAvailableModels — merges Pi SDK auth + ~/.xi/auth.json
  • unknown model treated as no model in UI
  • currentModel set to null when Pi SDK returns {provider: "unknown", id: "unknown"}

UI

  • Renamed all user-facing "Pi" text to "Xi"
  • Collapsed thinking block to single line with violet accent
  • displayedSessionPath moved to ref in handleEvent to prevent event listener resubscription on session switch

Full Changelog

v0.1.0...v0.1.1

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@elinx elinx released this 29 Jun 03:54

v0.1.0 — Initial Release

First published release of Xi.

  • Electron + React 19 + TypeScript + Tailwind CSS v4
  • Pi SDK integration for AI coding agent
  • Session management with branching
  • Provider onboarding (built-in + custom OpenAI-compatible APIs)
  • Cross-platform: macOS, Windows, Linux