Skip to content

Commit 5c7cdc8

Browse files
Merge pull request #44 from TensorTemplar/Cleanup
cleanup profiling, experiment rfcs and coverage. Update readme
2 parents 0ff5454 + 5f3b47e commit 5c7cdc8

18 files changed

+3854
-3601
lines changed

.coverage

0 Bytes
Binary file not shown.

README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -117,22 +117,17 @@ curl -fsSL http://claude.ai/install.sh | bash
117117
### Install slopometry as a uv tool
118118

119119
```bash
120-
# Install as a global tool (requires find-links for rust-code-analysis dependency)
121-
uv tool install git+https://github.com/TensorTemplar/slopometry.git \
122-
--find-links "https://github.com/Droidcraft/rust-code-analysis/releases/expanded_assets/python-2026.1.31"
120+
uv tool install git+https://github.com/TensorTemplar/slopometry.git --find-links "https://github.com/Droidcraft/rust-code-analysis/releases/expanded_assets/python-2026.1.31"
121+
```
123122

124-
# Add tool directory to PATH (required on macOS, may be needed on Linux)
123+
```bash
125124
uv tool update-shell
125+
```
126126

127127
# Restart your terminal or run:
128128
source ~/.zshrc # for zsh
129129
# or: source ~/.bashrc # for bash
130130

131-
# Or install from a local directory
132-
git clone https://github.com/TensorTemplar/slopometry
133-
cd slopometry
134-
uv tool install . --find-links "https://github.com/Droidcraft/rust-code-analysis/releases/expanded_assets/python-2026.1.31"
135-
136131
# After making code changes, reinstall to update the global tool
137132
uv tool install . --reinstall --find-links "https://github.com/Droidcraft/rust-code-analysis/releases/expanded_assets/python-2026.1.31"
138133
```
@@ -145,17 +140,19 @@ Note: tested on Ubuntu linux 24.04.1
145140
# Install hooks globally (recommended)
146141
slopometry install --global
147142
148-
# Use Claude normally
149-
claude
143+
# Use claude code or opencode normally
144+
claude
145+
opencode
150146
151147
# View tracked sessions and code delta vs. the previous commit or branch parent
148+
# Note solo commands will scope project-relative completions and candidates
152149
slopometry solo ls
153150
slopometry solo show <session_id>
154151
155-
# Alias for latest session, same as solo show <session_id>
152+
# Alias for latest session, works from everywhere
156153
slopometry latest
157154
158-
# Save session artifacts (transcript, plans, todos) to .slopometry/<session_id>/
155+
# Save session artifacts (transcript, plans, tasks) to .slopometry/<session_id>/
159156
slopometry solo save-transcript # latest
160157
slopometry solo save-transcript <session_id>
161158
```
@@ -192,7 +189,7 @@ cd slopometry
192189
git pull
193190
uv tool install . --reinstall --find-links "https://github.com/Droidcraft/rust-code-analysis/releases/expanded_assets/python-2026.1.31"
194191

195-
# Note: After upgrading, you may need to reinstall hooks if the default config changed
192+
# Note: After upgrading, you may need to reinstall hooks and completions if the api changed
196193
slopometry install
197194
```
198195

@@ -233,8 +230,6 @@ Customize via `.env` file or environment variables:
233230
- Linux: `~/.local/share/slopometry/slopometry.db` (or `$XDG_DATA_HOME/slopometry/slopometry.db` if set)
234231
- macOS: `~/Library/Application Support/slopometry/slopometry.db`
235232
- Windows: `%LOCALAPPDATA%\slopometry\slopometry.db`
236-
- `SLOPOMETRY_PYTHON_EXECUTABLE`: Python command for hooks (default: uses uv tool's python)
237-
- `SLOPOMETRY_SESSION_ID_PREFIX`: Custom session ID prefix
238233
- `SLOPOMETRY_ENABLE_COMPLEXITY_ANALYSIS`: Collect complexity metrics (default: `true`)
239234
- `SLOPOMETRY_ENABLE_COMPLEXITY_FEEDBACK`: Provide feedback to Claude (default: `false`)
240235

0 commit comments

Comments
 (0)