slopie 1.6.1 → 1.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/NOTICE +2 -0
- package/README.md +10 -6
- package/dist/audit-native-worker.js +1402 -0
- package/dist/audit-native-worker.js.map +7 -0
- package/dist/potsherd.js +5700 -2669
- package/dist/potsherd.js.map +4 -4
- package/licenses/ccusage-MIT.txt +21 -0
- package/package.json +3 -1
package/NOTICE
CHANGED
|
@@ -73,3 +73,5 @@ This tokenizer is a transport accounting unit, not the host model tokenizer.
|
|
|
73
73
|
Models.dev
|
|
74
74
|
----------
|
|
75
75
|
The terminal audit includes reduced public model/pricing metadata from Models.dev (Anomaly). Source: https://github.com/anomalyco/models.dev. Licensed under MIT; see licenses/models-dev-MIT.txt. Snapshot retrieval date and hash are retained in each audit price basis.
|
|
76
|
+
|
|
77
|
+
Native usage discovery and duplicate normalization were adapted with reference to ccusage (https://github.com/ccusage/ccusage), commit 656f7f86c5b832eedd8227f6174761852aa6c2fb, Copyright (c) 2025 ryoppippi. Licensed under MIT; see licenses/ccusage-MIT.txt. Slopie current-catalog reference valuation is separate from ccusage recorded/historical cost modes.
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[Slopie](https://github.com/HulkInTherapy/slopie), formerly Potsherd, is local memory for coding-agent sessions. Capture supported history, find exact source evidence, and save scoped handoffs with provenance.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Requires Node.js 22 or newer.
|
|
6
6
|
|
|
7
7
|
## Audit your recorded history
|
|
8
8
|
|
|
@@ -10,17 +10,21 @@
|
|
|
10
10
|
npx slopie audit
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
The
|
|
13
|
+
The interactive audit opens one responsive wallboard with recorded API-equivalent value, known tokens, favourite models and prices, your top projects, requested work focus and source-backed repeated lines. Small terminals use left/right pages; `?` opens help, `s` freezes the displayed results, `d` opens a captured source and `q` exits. There are no section tabs or scrolling controls. `--plain` prints the full report; `--json` uses the safe aggregate representation. `--ascii`, `--no-color` and `--no-motion` support simpler terminals.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Native Claude Code, Codex, OpenCode and pi usage is read before retained-history fallback. Message/request identities, cumulative usage, cache inclusion and recorded per-response models determine the totals. Known machine/test inputs and copied history are separated from personal language. Reaction counts describe recorded feedback associated with a known assistant model; they are not model-quality benchmarks or universal human-authorship claims.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Prices revalue recorded usage at a dated current catalog. Exact known Claude models can use an explicitly named Anthropic first-party reference when the serving provider is unrecorded. Native recorded API-cost fields remain a separate basis. None is an invoice or subscription bill. Missing models, usage, rates and contradictory cache-duration fields stay unavailable.
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Selected redacted conversations may be sent to OpenCode Zen and TypeSafe/Jev for free semantic analysis. A recipient notice is physically displayed immediately before each actual request, with no extra Enter or consumer key required. Offline and cache-only work makes no transfer claim. Set `POTSHERD_OFFLINE=1` to keep the retrospective local. Free capacity is limited; quota errors leave local facts usable and do not produce invented stories or quotes. Private semantic accuracy remains unqualified.
|
|
20
|
+
|
|
21
|
+
Jev selects the largest complete recent scope fitting the free allowance, or a visibly smaller selection of newest whole episodes. Recorded requests, assistant-reported outcomes and supported success remain distinct. `--tone elegant|witty|chaotic|roast` overrides the inferred voice. The audit remains experimental; large inventories can take longer, and source-format or pricing gaps are disclosed. See [coverage and privacy](https://github.com/HulkInTherapy/slopie/blob/main/docs/audit-terminal.md).
|
|
22
|
+
|
|
23
|
+
Use `slopie audit --legacy` for the local retention audit. `--sweep` and `--verify` keep their prior behavior.
|
|
20
24
|
|
|
21
25
|
## Install and use
|
|
22
26
|
|
|
23
|
-
|
|
27
|
+
Install with `npm install -g slopie` and run `slopie audit`. The `potsherd` executable remains a compatibility alias. To build this checkout from source:
|
|
24
28
|
|
|
25
29
|
```sh
|
|
26
30
|
pnpm install --frozen-lockfile
|