@teddysc/claude-run 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,11 @@ The browser will open automatically at http://localhost:12001.
|
|
|
25
25
|
|
|
26
26
|
## Changelog
|
|
27
27
|
|
|
28
|
+
### 0.7.0
|
|
29
|
+
- Add `--rg-executable` CLI option to override ripgrep location
|
|
30
|
+
- Log the exact `rg` command in both server logs and browser console
|
|
31
|
+
- Ensure full-text search includes gitignored `.jsonl` logs under `~/.claude`
|
|
32
|
+
|
|
28
33
|
### 0.6.0
|
|
29
34
|
- Add full-text search using ripgrep
|
|
30
35
|
- Search across all conversation content including tool calls
|
|
@@ -79,6 +84,7 @@ Options:
|
|
|
79
84
|
-p, --port <number> Port to listen on (default: 12001)
|
|
80
85
|
-H, --host <address> Host address to listen on (default: 127.0.0.1)
|
|
81
86
|
-d, --dir <path> Claude directory (default: ~/.claude)
|
|
87
|
+
--rg-executable <path> Path to rg (ripgrep) executable (default: /opt/homebrew/bin/rg)
|
|
82
88
|
--no-open Do not open browser automatically
|
|
83
89
|
-h, --help Show help
|
|
84
90
|
```
|
package/dist/index.js
CHANGED
|
@@ -719,8 +719,14 @@ program.name("claude-run").description(
|
|
|
719
719
|
"-d, --dir <path>",
|
|
720
720
|
"Claude directory path",
|
|
721
721
|
join5(homedir2(), ".claude")
|
|
722
|
+
).option(
|
|
723
|
+
"--rg-executable <path>",
|
|
724
|
+
"Path to rg (ripgrep) executable (default: /opt/homebrew/bin/rg)"
|
|
722
725
|
).option("--dev", "Enable CORS for development").option("--no-open", "Do not open browser automatically").parse();
|
|
723
726
|
var opts = program.opts();
|
|
727
|
+
if (opts.rgExecutable) {
|
|
728
|
+
process.env.CLAUDE_RUN_RG_PATH = opts.rgExecutable;
|
|
729
|
+
}
|
|
724
730
|
var server = createServer({
|
|
725
731
|
port: parseInt(opts.port, 10),
|
|
726
732
|
host: opts.host,
|