-
Notifications
You must be signed in to change notification settings - Fork 5
feat(install): add project-local Cursor and Codex setup #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
98d5684
feat(install): add project-local Cursor and Codex setup
6cf11b2
fix(install): keep cursor base independent of session ingest
836b6de
fix(install): clean local doctor clippy warnings
02e9db4
test(install): avoid future-tool assumptions in base slice
2310ccb
feat(hooks): route agent hints through shared engine
e659435
fix(install): harden local doctor and cursor paths
2ee1b94
fix(install): finish local adapter hardening
5db0532
refactor(install): use InstallScope enum and shared hook quoting
3b041ce
feat(install): re-enable selective silent agent reinstall
294a7fd
fix(install): exclude uninstall and doctor from implicit reinstall
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,7 @@ | ||
| { | ||
| "mcpServers": { | ||
| "tokensave": { | ||
| "args": [ | ||
| "serve" | ||
| ], | ||
| "command": "/home/zack/projects/tokensave/target/debug/tokensave", | ||
| "type": "stdio" | ||
| "command": "/home/zack/projects/tokensave/scripts/tokensave-dev-mcp.sh" | ||
| } | ||
| } | ||
| } |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| # Development MCP launcher for Cursor. | ||
| # | ||
| # Stdio MCP servers cannot hot-reload their tool definitions after Cursor has | ||
| # connected. This wrapper keeps development fast by running the current | ||
| # worktree source with cargo, so restarting/reconnecting the MCP server in | ||
| # Cursor picks up code changes without installing a new global binary. | ||
|
|
||
| SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" | ||
| REPO_ROOT="$(cd -- "$SCRIPT_DIR/.." && pwd)" | ||
|
|
||
| MANIFEST="$REPO_ROOT/Cargo.toml" | ||
| PROJECT_ROOT="${TOKENSAVE_DEV_PROJECT_ROOT:-$REPO_ROOT}" | ||
|
|
||
| exec cargo run --quiet --manifest-path "$MANIFEST" -- serve --path "$PROJECT_ROOT" "$@" |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.