Windows support and full Cursor Composer import - #3
Open
andrew05060414 wants to merge 3 commits into
Open
Conversation
Enable hstry on Windows (service process management, nix cfg split, adapter path normalization) and upgrade the Cursor adapter to import Composer sessions from globalStorage, cursaves, and legacy fallbacks.
中文:补齐 README/CI/PowerShell adapters 脚本与 Win32 进程组标志,方便本机完整使用后再提 PR。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nixbehindcfg(unix); implementis_process_running/terminate_processon Windows viatasklist/taskkill; strip\\?\prefix from adapter script paths so Node can execute adapters.globalStorage/state.vscdb(composer.composerHeaders,composerData,bubbleId),~/.cursaves/snapshots, plus legacy workspace fallbacks. Ported from am-history-importer logic.package.json: addbetter-sqlite3dependency used by the Cursor adapter.Test plan
cargo build --release -p hstry-clion Windows 11hstry import %APPDATA%\Cursor\User\globalStorage --adapter cursor→ 611 conversations / 15819 messages (vs ~695 / 17469 prompts-only before)hstry index+hstry searchsmoke testNotes
Validated locally on Windows with
js_runtime = "node"andbetter-sqlite3installed under~/.config/hstry/adapters/cursor.