Display /sessions as separate icon/tab in Zed agent panel #8031

Open
opened 2026-02-16 18:08:58 -05:00 by yindo · 1 comment
Owner

Originally created by @xsa-dev on GitHub (Jan 30, 2026).

Originally assigned to: @thdxr on GitHub.

Feature Request: Show /sessions as Separate Icon in Zed Agent Panel

Problem

OpenCode provides a powerful /sessions slash command that allows users to:

  • List all existing sessions
  • Resume previous sessions
  • Manage session history

However, in Zed's agent panel, this functionality is only accessible by typing /sessions manually in the chat. This means:

  1. Users may not know this feature exists
  2. No visual indication of available sessions
  3. Requires typing a command instead of clicking

Expected Behavior

Similar to how Claude Code or other agents display sessions in Zed, the /sessions functionality should be accessible as a separate tab or icon in the agent panel, allowing users to:

  1. See all active sessions at a glance
  2. Quickly switch between sessions
  3. Create new sessions
  4. View session history

Current State

Currently in Zed:

  • Users must manually type /sessions in the chat
  • No visual representation of available sessions
  • Sessions are hidden functionality

Desired State

┌─────────────────────────────────────────┐
│  Agent Panel                            │
├─────────────────────────────────────────┤
│  [Chat] [Sessions] [Tools]              │  ← Separate tab for sessions
│                                         │
│  📁 Session 1 - Last active: 2h ago     │
│  📁 Session 2 - Last active: yesterday  │
│  📁 Session 3 - Last active: 3 days ago │
│                                         │
│  [+ New Session]                        │
└─────────────────────────────────────────┘

Use Cases

  1. Quick Switching: Users working on multiple projects can easily switch between sessions
  2. Session Discovery: New users discover the sessions feature
  3. Visual Management: Better UX for session management than typing commands
  4. Parallel Work: Users can have multiple independent conversations

Implementation Considerations

This would require coordination between:

  • OpenCode ACP implementation (to expose sessions as a first-class entity)
  • Zed's agent panel UI (to render sessions tab)
  • ACP protocol extensions (if sessions aren't already exposed)

Related

  • Issue #11283: Add support for local executable override (OPENCODE_EXECUTABLE)
Originally created by @xsa-dev on GitHub (Jan 30, 2026). Originally assigned to: @thdxr on GitHub. ## Feature Request: Show /sessions as Separate Icon in Zed Agent Panel ### Problem OpenCode provides a powerful `/sessions` slash command that allows users to: - List all existing sessions - Resume previous sessions - Manage session history However, in Zed's agent panel, this functionality is only accessible by typing `/sessions` manually in the chat. This means: 1. Users may not know this feature exists 2. No visual indication of available sessions 3. Requires typing a command instead of clicking ### Expected Behavior Similar to how Claude Code or other agents display sessions in Zed, the `/sessions` functionality should be accessible as a **separate tab or icon** in the agent panel, allowing users to: 1. See all active sessions at a glance 2. Quickly switch between sessions 3. Create new sessions 4. View session history ### Current State Currently in Zed: - Users must manually type `/sessions` in the chat - No visual representation of available sessions - Sessions are hidden functionality ### Desired State ``` ┌─────────────────────────────────────────┐ │ Agent Panel │ ├─────────────────────────────────────────┤ │ [Chat] [Sessions] [Tools] │ ← Separate tab for sessions │ │ │ 📁 Session 1 - Last active: 2h ago │ │ 📁 Session 2 - Last active: yesterday │ │ 📁 Session 3 - Last active: 3 days ago │ │ │ │ [+ New Session] │ └─────────────────────────────────────────┘ ``` ### Use Cases 1. **Quick Switching**: Users working on multiple projects can easily switch between sessions 2. **Session Discovery**: New users discover the sessions feature 3. **Visual Management**: Better UX for session management than typing commands 4. **Parallel Work**: Users can have multiple independent conversations ### Implementation Considerations This would require coordination between: - OpenCode ACP implementation (to expose sessions as a first-class entity) - Zed's agent panel UI (to render sessions tab) - ACP protocol extensions (if sessions aren't already exposed) ### Related - Issue #11283: Add support for local executable override (OPENCODE_EXECUTABLE)
yindo added the zen label 2026-02-16 18:08:58 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 30, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8931: Feature: Expose TUI Session Management Commands via ACP (for Zed integration) - This comprehensive feature request covers exposing session management (list, switch, create, fork, rename, delete, undo/redo) through ACP for Zed, which would enable a tab-like interface in the agent panel.

Feel free to ignore if your specific use case differs from these.

@github-actions[bot] commented on GitHub (Jan 30, 2026): This issue might be a duplicate of existing issues. Please check: - #8931: Feature: Expose TUI Session Management Commands via ACP (for Zed integration) - This comprehensive feature request covers exposing session management (list, switch, create, fork, rename, delete, undo/redo) through ACP for Zed, which would enable a tab-like interface in the agent panel. Feel free to ignore if your specific use case differs from these.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8031