Interactive snapshot/cache guard for opencode and Cursor
Project description
snapguard
Official CLI package for keeping opencode/Cursor snapshot growth under control.
Install (local dev)
uv tool install --force /Users/ever/Documents/GitHub/snapguard
Install via Homebrew
brew tap ever-oli/homebrew-tap
brew install ever-oli/homebrew-tap/snapguard
Install via PyPI
uv tool install snapguard
# or
pipx install snapguard
Note: PyPI publishing is wired via GitHub Actions on v* tags. First-time setup requires creating the snapguard project on PyPI and adding a Trusted Publisher for repo ever-oli/snapguard, workflow .github/workflows/publish-pypi.yml, environment pypi.
Commands
snapguard --interactive
snapguard --status
snapguard --dry-run
snapguard --schedule hourly --cap-gb 5
# short alias
sg --interactive
What it monitors
~/.local/share/opencode/snapshot~/Library/Application Support/Cursor/User/workspaceStorage~/Library/Application Support/Cursor/snapshots~/Library/Application Support/Cursor/User/globalStorage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snapguard-0.1.1.tar.gz.
File metadata
- Download URL: snapguard-0.1.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64913657cbb247d496aa7e0f194777b45b30c07fc67eb2e37047a638de768a7c
|
|
| MD5 |
9a3c6b9959ecb81ddd38ad507e348e00
|
|
| BLAKE2b-256 |
e9357541558b42303acfcec104335d6ce50529183250dcb392bc12089d9d592c
|
Provenance
The following attestation bundles were made for snapguard-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on ever-oli/snapguard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
snapguard-0.1.1.tar.gz -
Subject digest:
64913657cbb247d496aa7e0f194777b45b30c07fc67eb2e37047a638de768a7c - Sigstore transparency entry: 1205747747
- Sigstore integration time:
-
Permalink:
ever-oli/snapguard@81a6df43da78d490c60bb13a9b0cb1b4b51bc41d -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ever-oli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@81a6df43da78d490c60bb13a9b0cb1b4b51bc41d -
Trigger Event:
push
-
Statement type:
File details
Details for the file snapguard-0.1.1-py3-none-any.whl.
File metadata
- Download URL: snapguard-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25bc667da328178f104406110c332f1425f78f6c654449d48ad2e8d4f83e1444
|
|
| MD5 |
79c1cd64a17778515faacb41b392395e
|
|
| BLAKE2b-256 |
bd9fd32ba3cdbadf77e16f9cfcb3aac708dcddab41733990bedd9e99bfded8fa
|
Provenance
The following attestation bundles were made for snapguard-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on ever-oli/snapguard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
snapguard-0.1.1-py3-none-any.whl -
Subject digest:
25bc667da328178f104406110c332f1425f78f6c654449d48ad2e8d4f83e1444 - Sigstore transparency entry: 1205747783
- Sigstore integration time:
-
Permalink:
ever-oli/snapguard@81a6df43da78d490c60bb13a9b0cb1b4b51bc41d -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ever-oli
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@81a6df43da78d490c60bb13a9b0cb1b4b51bc41d -
Trigger Event:
push
-
Statement type: