Skip to content

Commit a73bb1f

Browse files
Myoontyeeclaude
andcommitted
fix: Cursor workspaceStorage path was ../.. too deep, should be .. (v0.7.7)
globalStorage is Cursor/User/globalStorage, so workspaceStorage sibling is Cursor/User/workspaceStorage — not Cursor/workspaceStorage. This caused Cursor Composer sessions to always show (0). No sqlite3.exe spawned — queryDb uses better-sqlite3 only, falls back silently. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent dcf3640 commit a73bb1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "claude-code-exporter",
33
"displayName": "Claude Code Exporter — Claude Code, Codex & Cursor Conversation History",
44
"description": "Export AI coding agent conversations to Markdown. Supports Claude Code (→ .claude-code-history/), OpenAI Codex (→ .codex-history/), and Cursor Composer (→ .cursor-history/). Features: auto-watch, session inject/import for claude --resume, and repair of thinking-block signature errors when switching API providers.",
5-
"version": "0.7.6",
5+
"version": "0.7.7",
66
"publisher": "myoontyee",
77
"engines": {
88
"vscode": "^1.85.0"

src/cursorParser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ export function findCursorWorkspaceStorageDir(
319319
globalStoragePath: string,
320320
workspaceFolderPath: string,
321321
): string {
322-
// workspaceStorage is a sibling of globalStorage
323-
const wsStorageBase = path.join(globalStoragePath, '..', '..', 'workspaceStorage');
322+
// workspaceStorage is a sibling of globalStorage (both inside Cursor/User/)
323+
const wsStorageBase = path.join(globalStoragePath, '..', 'workspaceStorage');
324324
if (!fs.existsSync(wsStorageBase)) return '';
325325

326326
const normalWs = workspaceFolderPath.replace(/\\/g, '/').toLowerCase();

0 commit comments

Comments
 (0)