diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a58d8c..bc9fd9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.8.6] - 2026-07-09 + +### Added + +- ✨ **Sharper diff reviews.** Review changes in split or unified view, hide whitespace-only edits, and spot changed words inside a line. +- 📊 **Git change counts.** Git panels and file lists now show added and removed lines at a glance. + +### Changed + +- 🗂️ **Cleaner file browsing.** Files use more recognizable icons, and folder background menus make common actions easier to reach. +- 🧭 **Sidebar chat cleanup.** Recent chats can now be deleted from the sidebar. +- 📅 **Clearer scheduled-task naming.** Automations are now labeled Scheduled in the app and README. + +### Fixed + +- 🌐 **More reliable browser control.** Browser sessions recover more gracefully when a page connection closes. +- 🧰 **More dependable tool use.** Tool calls and artifact creation are less likely to fail when workspace details are included. +- 🧠 **Per-model chat cleanup.** Long chats now use the cleanup setting for the selected model. + ## [0.8.5] - 2026-07-07 ### Added diff --git a/README.md b/README.md index b1d43ee..d4ea90a 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Bring your own API key (OpenAI, Anthropic, Ollama, or any OpenAI-compatible endp | ✏️ **Output editing** | Review and edit AI-generated changes before applying. | | 📎 **File mentions** | Type `@` to give the AI context about specific files. | | 🧩 **Skills** | Reusable instruction sets (SKILL.md files). Type `$` to mention one. | -| ⏱️ **Automations** | Schedule recurring AI tasks. "Run tests every morning." "Deploy every Friday." | +| ⏱️ **Scheduled** | Schedule recurring AI tasks. "Run tests every morning." "Deploy every Friday." | | 🤖 **Sub-agents** | AI spins up parallel workers for complex tasks. Each gets full tool access. | | 🔌 **Tool servers** | Connect external tools via MCP or OpenAPI. | | 🧠 **Context compaction** | Long conversations are automatically summarised to stay fast. | diff --git a/cptr/frontend/src/lib/apis/git.ts b/cptr/frontend/src/lib/apis/git.ts index 888ea7a..61d8329 100644 --- a/cptr/frontend/src/lib/apis/git.ts +++ b/cptr/frontend/src/lib/apis/git.ts @@ -39,8 +39,10 @@ export const getGitLog = (root: string, limit = 30) => export const getGitDiff = (params: string) => fetchJSON(`/api/git/diff?${params}`); -export const getGitShow = (root: string, ref: string) => - fetchJSON(`/api/git/show?root=${encodeURIComponent(root)}&ref=${encodeURIComponent(ref)}`); +export const getGitShow = (root: string, ref: string, ignoreWhitespace = false) => + fetchJSON( + `/api/git/show?root=${encodeURIComponent(root)}&ref=${encodeURIComponent(ref)}&ignore_whitespace=${ignoreWhitespace}` + ); export const getGitBranches = (root: string) => fetchJSON(`/api/git/branches?root=${encodeURIComponent(root)}`); diff --git a/cptr/frontend/src/lib/components/DiffHunkList.svelte b/cptr/frontend/src/lib/components/DiffHunkList.svelte new file mode 100644 index 0000000..7cecfe8 --- /dev/null +++ b/cptr/frontend/src/lib/components/DiffHunkList.svelte @@ -0,0 +1,32 @@ + + +{#each hunks as hunk} + {#if showNumbers} +
{hunk.header}
+