Skip to content

Windows Desktop: Session data tidak persist antar restart (session processor Aborted) #28449

Closed as not planned

Description

@Farhan2666

Description

Environment

  • OS: Windows 11
  • App: OpenCode Desktop (Tauri, migrated from Electron)
  • Data dir: %APPDATA%\ai.opencode.desktop\
  • Database: %USERPROFILE%\.local\share\opencode\opencode.db

Symptoms

Session/conversation hilang setelah restart desktop app. Data session ada di SQLite DB dan storage/session_diff/, tapi desktop app tidak me-load session yang ada setelah restart.

Log Errors (recurring setiap kali buka app)

ERROR  service=session.processor session.id=ses_xxx messageID=msg_xxx error=Aborted
stack=AbortError: Aborted

ERROR  service=mcp clientName=agentmemory error=MCP error -32603: Unknown method: prompts/list

WARN   service=config error=NpmInstallFailedError
       (@opencode-ai/plugin: No matching version found for @opencode-ai/plugin@local.)

Files/Folders Found

  • opencode.db (SQLite DB with session data - exists)
  • storage/session_diff/*.json (session diffs tersimpan di disk)
  • opencode.global.dat (layout state - session tabs tercatat)
  • opencode.settings berisi {"tauriMigrated": true}
  • lockfile seringkali masih ada setelah app ditutup
  • MCP servers: agentmemory, playwright, context7, blender, roblox-studio

Suspected Causes

  1. session.processor consistently aborted (AbortError: Aborted) - session dipotong sebelum selesai diproses
  2. agentmemory MCP error - Unknown method: prompts/list - kemungkinan komunikasi MCP terganggu
  3. Plugin install failed - @opencode-ai/plugin@local tidak ditemukan di npm
  4. Electron to Tauri migration - Mungkin ada state yang gak ke-migrate dengan benar
  5. Lockfile persist - Lockfile tidak dibersihkan saat app di-quit dengan benar

Plugins

agentmemory (MCP), playwright (MCP), context7 (MCP), blender (MCP), roblox-studio (MCP)

OpenCode version

No response

Steps to reproduce

  1. Buka OpenCode Desktop
  2. Mulai session chat baru
  3. Gunakan beberapa MCP tools (agentmemory, playwright, blender, etc.)
  4. Tutup aplikasi (normal quit)
  5. Buka lagi OpenCode Desktop
  6. Session sebelumnya hilang, tidak muncul di daftar session

Screenshot and/or share link

No response

Operating System

Windows 11 (23H2)

Terminal

OpenCode Desktop (built-in terminal)

Activity

  1. github-actions commented on May 20, 2026

    @github-actions
    Contributor

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

    Please review these issues to see if they cover your problem before this one is investigated further.

  2. github-actions commented on Jul 20, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions