docs: release v1.3.0 - OpenCode-style session management

Add comprehensive v1.3.0 release notes documenting:
- Project-based session filtering
- Read-only session history browser
- Continue in Chat integration
- Enhanced session details
- Bug fixes (status detection, sendShellCommand, XSS)

Updated version badge to 1.3.0.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
uroma
2026-01-20 16:25:47 +00:00
Unverified
parent db711d5bdf
commit 5638f7ca23
2 changed files with 90 additions and 57 deletions

View File

@@ -6,12 +6,70 @@
[![Express](https://img.shields.io/badge/Express-4.22-blue)](https://expressjs.com/)
[![SQLite](https://img.shields.io/badge/SQLite-3.0-orange)](https://www.sqlite.org/)
[![License](https://img.shields.io/badge/License-ISC-blue)](LICENSE)
[![Version](https://img.shields.io/badge/Version-1.2.0-brightgreen)](https://github.rommark.dev/admin/ClaudeCLI-Web)
[![Version](https://img.shields.io/badge/Version-1.3.0-brightgreen)](https://github.rommark.dev/admin/ClaudeCLI-Web)
---
## Version History
### v1.3.0 (2026-01-20)
**🚀 Major Feature: OpenCode-Style Session Management**
This release transforms the Sessions view into a clean history browser following OpenCode desktop patterns, removing duplicate UI and implementing seamless Chat view integration.
#### Changes
**✨ New Features**
- **Project-Based Session Filtering** - Sessions view now filters by current project
- Respects `?project=` URL parameter
- Only shows sessions from current project directory
- Prevents confusion from seeing unrelated sessions
- **Read-Only Session Browser** - Transformed Sessions view from command interface to history viewer
- Removed duplicate command input (use Chat view for active work)
- Added "Continue in Chat" action to switch to workspace
- Added "Duplicate" action to create new session with same working directory
- Added "Terminate" action for running sessions
- **Enhanced Session Details** - Comprehensive session information display
- Session metadata (created, last activity, message count)
- Token usage progress bar
- Output preview (first 50 entries with scroll)
- Clear status badges (🟢 Running vs ⏸️ Stopped/Historical)
- **Seamless Chat Integration** - Continue sessions from Sessions view
- Click "Continue in Chat" to switch views with session loaded
- Pending session detection in Chat view
- Automatic message restoration (both user and assistant)
- Subscribe to live updates for running sessions
**🔧 Improvements**
- **Relative Time Display** - Shows "5m ago", "2h ago", "3d ago" instead of timestamps
- **Sorted Session List** - Sessions sorted by last activity (newest first)
- **Better Empty States** - Helpful messages when no sessions exist
- **Comprehensive Error Handling** - Clear error messages for 404, 500, etc.
- **XSS Prevention** - All dynamic content properly escaped
**🐛 Bug Fixes**
- Fixed session status showing all sessions as "running" regardless of actual state
- Fixed sessions from other projects appearing in current project view
- Fixed "sendShellCommand is not defined" error in Full Stack mode
- Fixed duplicate command input in Sessions view causing confusion
**📝 Technical Details**
- Backend API: `GET /claude/api/claude/sessions?project=<path>` filters by working directory
- Frontend: `loadSessions()` extracts project from URL and filters session list
- Frontend: `viewSessionDetails()` shows read-only session information
- Frontend: `continueSessionInChat()` stores pending session for Chat view pickup
- Frontend: `loadSessionIntoChat()` restores session messages in Chat view
- Frontend: `sendShellCommand()` helper for Full Stack mode shell commands
**🔒 Security**
- All session operations require authentication
- HTML escaping prevents XSS in session display
- Session validation prevents unauthorized access
---
### v1.2.0 (2026-01-20)
**🚀 Major Feature: CLI Session-Based Full Stack Mode**