Skip to content

v1.5.5

Choose a tag to compare

@github-actions github-actions released this 15 May 21:59
· 26 commits to main since this release

PrimeCode v1.5.5

Highlights

  • Chat input overhaul: Rebuilt the chat input experience around CodeMirror 6, improving editing behavior, command history support, inline attachment handling, and overall input responsiveness.
  • Runtime-backed commands: PrimeCode now syncs built-in OpenCode CLI commands from the runtime and surfaces them in slash-command flows and related UI.
  • Generation status phases: Added clearer generation-state tracking with distinct phases like retrying, tool execution, thinking, responding, and working, improving visibility during long-running tasks.
  • Merged OpenCode config alignment: PrimeCode now reads effective merged OpenCode configuration more consistently across MCP, proxy providers, permissions, and default model handling, reducing drift between project and global config behavior.

Stability & Fixes

  • Restore and revert flow fixes: Fixed broken restore/revert behavior so restores target the exact selected message again, local revert state stays consistent, and edited resend flows follow the proper runtime lifecycle.
  • Session error noise reduction: Improved session error handling to log richer details while suppressing noisy or irrelevant notifications from inactive sessions, abort paths, and invalid-agent edge cases.
  • Chat input regression fixes: Restored correct slash-command and @ flows in edit mode, routed attach actions to the correct input instance, and made valid command mentions delete atomically.
  • Tool card interaction cleanup: Removed duplicate copy behavior and corrected header action alignment for tool cards.
  • Tool grouping behavior improvements: Updated grouped tool rendering so shorter tool sequences can collapse more cleanly and live assistant bridge messages behave more consistently during streaming.
  • Config-backed settings consistency: Fixed settings actions so config-backed resources open and edit the correct project or global OpenCode config source.

UX & UI

  • Smoother motion across the app: Added and unified motion-driven transitions across chat panels, tool cards, queued messages, diffs, and question cards for a more fluid interface.
  • Improved attachment actions: Replaced the old folder hover affordance with a clearer + attachment menu for files, images, and folders.
  • Better search result rendering: Search and grep-style tool output now renders as structured, clickable file and line entries, making navigation much faster.
  • Streaming and scrolling polish: Refined live auto-scroll behavior and card expansion/collapse handling so streaming output feels more stable and predictable.
  • More consistent tool labels: Tool names now reuse the shared registry formatter so known tools preserve canonical casing and unknown tools normalize consistently across the UI.

Architecture & Refactoring

  • Added runtime command discovery through the OpenCode executor and settings/resource flow.
  • Consolidated generation status into a derived phase-based model used consistently by the webview.
  • Refined streaming container auto-scroll internals and live tool rendering behavior to better support dynamic output.
  • Extended MCP/config plumbing to support runtime-only MCP visibility, project/global config opening, and merged-config-aware reads.

Tests

  • Added and expanded coverage for restore/revert flows, generation status derivation, tool grouping behavior, runtime error handling, merged revert targeting, and session error suppression edge cases.