compactlab 0.2.0__py3-none-any.whl

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.
Files changed (67) hide show
  1. compactlab/__init__.py +3 -0
  2. compactlab/adapters/__init__.py +2 -0
  3. compactlab/adapters/base.py +212 -0
  4. compactlab/adapters/cache.py +396 -0
  5. compactlab/adapters/claude_code.py +226 -0
  6. compactlab/adapters/codex.py +298 -0
  7. compactlab/adapters/dsh.py +287 -0
  8. compactlab/adapters/gemini_cli.py +259 -0
  9. compactlab/adapters/opencode.py +375 -0
  10. compactlab/apply/__init__.py +582 -0
  11. compactlab/cli/__init__.py +5 -0
  12. compactlab/cli/main.py +2436 -0
  13. compactlab/data/config_knobs.json +158 -0
  14. compactlab/data/harness_defaults.json +72 -0
  15. compactlab/data/harness_formats.json +300 -0
  16. compactlab/data/pricing.json +51 -0
  17. compactlab/engine/__init__.py +138 -0
  18. compactlab/engine/live.py +306 -0
  19. compactlab/engine/settings.py +175 -0
  20. compactlab/engine/watch.py +82 -0
  21. compactlab/eval/__init__.py +1 -0
  22. compactlab/eval/deep.py +390 -0
  23. compactlab/eval/executors.py +84 -0
  24. compactlab/eval/factcheck.py +75 -0
  25. compactlab/lens.py +80 -0
  26. compactlab/model/__init__.py +285 -0
  27. compactlab/pricing/__init__.py +211 -0
  28. compactlab/pricing/auto.py +118 -0
  29. compactlab/pricing/ids.py +148 -0
  30. compactlab/pricing/refresh.py +299 -0
  31. compactlab/publish.py +125 -0
  32. compactlab/py.typed +0 -0
  33. compactlab/recommend/__init__.py +201 -0
  34. compactlab/recommend/claude_code.py +172 -0
  35. compactlab/recommend/codex.py +104 -0
  36. compactlab/recommend/dsh.py +89 -0
  37. compactlab/recommend/gemini_cli.py +85 -0
  38. compactlab/recommend/opencode.py +117 -0
  39. compactlab/recommend/units.py +63 -0
  40. compactlab/report/__init__.py +3 -0
  41. compactlab/report/html.py +27 -0
  42. compactlab/report/template.html +1189 -0
  43. compactlab/service/__init__.py +1 -0
  44. compactlab/service/core.py +220 -0
  45. compactlab/service/http.py +133 -0
  46. compactlab/service/lock.py +92 -0
  47. compactlab/service/policy.py +258 -0
  48. compactlab/service/schedule.py +212 -0
  49. compactlab/share.py +553 -0
  50. compactlab/sim/__init__.py +1 -0
  51. compactlab/sim/baseline.py +214 -0
  52. compactlab/sim/calibrate.py +108 -0
  53. compactlab/sim/engine.py +1130 -0
  54. compactlab/sim/select.py +238 -0
  55. compactlab/sim/timing.py +134 -0
  56. compactlab/synth.py +416 -0
  57. compactlab/term/__init__.py +0 -0
  58. compactlab/term/style.py +134 -0
  59. compactlab/term/top.py +531 -0
  60. compactlab/term/views.py +598 -0
  61. compactlab/term/widgets.py +238 -0
  62. compactlab/verify.py +462 -0
  63. compactlab-0.2.0.dist-info/METADATA +243 -0
  64. compactlab-0.2.0.dist-info/RECORD +67 -0
  65. compactlab-0.2.0.dist-info/WHEEL +4 -0
  66. compactlab-0.2.0.dist-info/entry_points.txt +2 -0
  67. compactlab-0.2.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,243 @@
1
+ Metadata-Version: 2.5
2
+ Name: compactlab
3
+ Version: 0.2.0
4
+ Summary: Measure where to auto-compact from your own agent history: cost vs context-rot trade-offs per model and role.
5
+ Project-URL: Documentation, https://github.com/LemonCANDY42/compactlab#readme
6
+ Project-URL: Issues, https://github.com/LemonCANDY42/compactlab/issues
7
+ Project-URL: Changelog, https://github.com/LemonCANDY42/compactlab/blob/main/CHANGELOG.md
8
+ Author: compactlab contributors
9
+ License: MIT
10
+ License-File: LICENSE
11
+ Keywords: auto-compact,claude-code,codex,context-window,llm-cost,token-usage
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: MacOS
17
+ Classifier: Operating System :: POSIX :: Linux
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Software Development
23
+ Classifier: Typing :: Typed
24
+ Requires-Python: >=3.11
25
+ Provides-Extra: dev
26
+ Requires-Dist: mypy>=1.11; extra == 'dev'
27
+ Requires-Dist: pre-commit>=3; extra == 'dev'
28
+ Requires-Dist: pytest-cov>=5; extra == 'dev'
29
+ Requires-Dist: pytest>=8; extra == 'dev'
30
+ Requires-Dist: ruff>=0.6; extra == 'dev'
31
+ Description-Content-Type: text/markdown
32
+
33
+ <div align="center">
34
+
35
+ # compactlab
36
+
37
+ **Your agent history says where to auto-compact.**
38
+
39
+ compactlab replays your own Claude Code and Codex session logs at every auto-compact threshold and shows, per model
40
+ and role, where cost, waiting and lost context balance out. Then it helps you apply the setting, check it against
41
+ your logs, and undo it.
42
+
43
+ [![CI](https://github.com/LemonCANDY42/compactlab/actions/workflows/ci.yml/badge.svg)](https://github.com/LemonCANDY42/compactlab/actions/workflows/ci.yml)
44
+ [![Release](https://img.shields.io/github/v/release/LemonCANDY42/compactlab)](https://github.com/LemonCANDY42/compactlab/releases)
45
+ [![Homebrew](https://img.shields.io/badge/brew-LemonCANDY42%2Ftap-orange)](https://github.com/LemonCANDY42/homebrew-tap)
46
+ ![macOS | Linux](https://img.shields.io/badge/platform-macOS%20%7C%20Linux-lightgrey)
47
+ ![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-blue.svg)
48
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/LemonCANDY42/compactlab/blob/main/LICENSE)
49
+
50
+ **English** · [简体中文](https://github.com/LemonCANDY42/compactlab/blob/main/README.zh-CN.md)
51
+
52
+ <img src="https://raw.githubusercontent.com/LemonCANDY42/compactlab/main/docs/assets/demo.svg" alt="compactlab demo printing cost, balanced and time thresholds per model and role (synthetic data)" width="760">
53
+
54
+ </div>
55
+
56
+ ## Why
57
+
58
+ Claude Code and Codex compact a conversation when it reaches a token threshold. Set it too low and you pay for
59
+ frequent summaries, cache rewrites and re-reading what the summary dropped. Set it too high and every turn re-reads
60
+ a huge, cached-but-not-free prefix, and long contexts get less reliable. The right number depends on how *your*
61
+ sessions grow, which models you use and what they cost, so a default or a rule of thumb rarely fits.
62
+
63
+ - **From your own logs.** It replays the sessions you actually ran, turn by turn, at every threshold. No benchmark
64
+ stand-ins.
65
+ - **Per model and per role.** Main agent and subagents grow differently, and so do Opus, Sonnet and GPT sessions.
66
+ - **Money and time.** Three profiles (`cost`, `balanced`, `time`) put a price on an hour of waiting, with guardrails
67
+ on how small the window and how long the added waiting may get.
68
+ - **Closes the loop.** `apply` writes the setting with a backup, `verify` checks the logs afterwards against what the
69
+ replay predicted, and `revert` undoes it.
70
+ - **Local and free by default.** Lite mode reads your logs offline and calls no model. Reports hold token counts and
71
+ model names, never transcript text.
72
+
73
+ ![compactlab HTML report: group sidebar, profile switch, KPI cards and per-day impact of each profile (synthetic demo data)](https://raw.githubusercontent.com/LemonCANDY42/compactlab/main/docs/assets/report.png)
74
+
75
+ ## Does it work?
76
+
77
+ One real case so far, on the maintainer's machine ([details](https://github.com/LemonCANDY42/compactlab/blob/main/docs/RESULTS.md)). Opus 5.5 main sessions in Claude Code,
78
+ moved by hand from the default (about 967k) to 650k:
79
+
80
+ - **Before the change, the replay matched the logged cost within 2%.** That is the control: it shows the replay is
81
+ accurate enough to trust for the rest.
82
+ - **Over 25 active days after it, list-price cost per 1k turns fell 21%** (80% interval −24% to −17%; 125 sessions
83
+ before, 86 after).
84
+ - **The replay credits the threshold with roughly a third to two thirds of that.** The rest came from Claude Code's
85
+ idle compaction, which reached the machine in the same days; compactlab now tells the two apart.
86
+
87
+ One machine and one workload, at list prices, is not a benchmark. `compactlab share` writes an anonymous record you
88
+ can post to collect more cases ([SHARING.md](https://github.com/LemonCANDY42/compactlab/blob/main/docs/SHARING.md)).
89
+
90
+ ## Install
91
+
92
+ ```bash
93
+ brew install LemonCANDY42/tap/compactlab
94
+ ```
95
+
96
+ Or from PyPI: `uv tool install compactlab` or `pipx install compactlab`.
97
+ Python 3.11+, no runtime dependencies. Tested on macOS; Linux runs in CI.
98
+
99
+ To try it without installing anything (bundled synthetic sessions, no history or API key needed):
100
+
101
+ ```bash
102
+ uvx compactlab demo
103
+ ```
104
+
105
+ ## Quickstart
106
+
107
+ ```bash
108
+ compactlab doctor # which harnesses, logs and settings it finds
109
+ compactlab report --open # analyze the last 30 days -> offline HTML report
110
+ compactlab recommend --copy # the setting to paste, for each harness (prints or copies; never writes)
111
+
112
+ compactlab simulate --out result.json # the same analysis, saved for apply
113
+ compactlab apply --result result.json --claude-settings ~/.claude/settings.json # dry-run diff
114
+ compactlab verify # days later: did the change do what the replay predicted?
115
+ compactlab revert # undo the last apply
116
+ ```
117
+
118
+ For each model and role you get three profiles next to the harness default and your current setting, with the change
119
+ in cost, wall-clock and compactions per day. When the default already works, it says **no action needed**, **keep
120
+ current** or **keep default** instead of inventing a change.
121
+
122
+ | Profile | Value of an hour of waiting | Guardrails |
123
+ | --- | --- | --- |
124
+ | `cost` | $10 | warns below 25% of the window or above 30 min/day of added waiting |
125
+ | `balanced` (default) | $250 | never below 40% of the window; at most 30 min/day of added waiting |
126
+ | `time` | $600 | never below 50% of the window; at most 30 min/day of added waiting |
127
+
128
+ How to read the output, every setting key it can emit, `verify` in detail and the per-harness notes:
129
+ [**User guide**](https://github.com/LemonCANDY42/compactlab/blob/main/docs/GUIDE.md).
130
+
131
+ ## Ways to use it
132
+
133
+ | | What it is | More |
134
+ | --- | --- | --- |
135
+ | **CLI and report** | `simulate`, `report`, `recommend`, `apply`, `verify`. The report is one offline HTML file, English or Chinese, light or dark. | [User guide](https://github.com/LemonCANDY42/compactlab/blob/main/docs/GUIDE.md) |
136
+ | **`compactlab top`** | An htop-like terminal view of the latest result: models on the left, cost and time curves on the right. | [TUI.md](https://github.com/LemonCANDY42/compactlab/blob/main/docs/TUI.md) |
137
+ | **Menu bar app** (macOS, preview) | Every active session's context against its threshold, whether its prompt cache is still warm, a daily calibration, and review → apply → verify → undo. English and Chinese. | [app/](https://github.com/LemonCANDY42/compactlab/blob/main/app/README.md) |
138
+ | **Background service** | `compactlab serve` recalibrates on a schedule with a localhost report and JSON API; opt-in auto-apply within strict limits. | [SERVICE.md](https://github.com/LemonCANDY42/compactlab/blob/main/docs/SERVICE.md) |
139
+ | **In-session lens** | A Claude Code mod that adds one row above the prompt: this session's context against the default and the compactlab threshold. | [MOD.md](https://github.com/LemonCANDY42/compactlab/blob/main/docs/MOD.md) |
140
+ | **Engine API** | `compactlab engine`: versioned JSON on stdout for apps and scripts, no port. | [ENGINE_API.md](https://github.com/LemonCANDY42/compactlab/blob/main/docs/ENGINE_API.md) |
141
+
142
+ <p align="center">
143
+ <img src="https://raw.githubusercontent.com/LemonCANDY42/compactlab/main/docs/assets/app-panel.png" alt="compactlab menu bar panel: one suggested change, active sessions and the threshold for each model and role (synthetic demo data)" width="380">
144
+ <img src="https://raw.githubusercontent.com/LemonCANDY42/compactlab/main/docs/assets/app-review.png" alt="compactlab review window: default to 500k for opus-5.5, its saving per day, the data behind it and the setting it writes, with Apply (synthetic demo data)" width="440">
145
+ </p>
146
+
147
+ The menu bar app (macOS 14+) is signed and notarized; the Homebrew cask installs this CLI with it:
148
+
149
+ ```bash
150
+ brew install --cask LemonCANDY42/tap/compactlab-app
151
+ ```
152
+
153
+ Or download the disk image from [Releases](https://github.com/LemonCANDY42/compactlab/releases) and install the CLI
154
+ first. The lens mod installs with
155
+ `/plugin install compactlab-lens --marketplace LemonCANDY42/compactlab`; it is an independent project, not
156
+ affiliated with Anthropic.
157
+
158
+ ## Supported harnesses
159
+
160
+ | Harness | Reads | Settings | Status |
161
+ | --- | --- | --- | --- |
162
+ | Claude Code | `~/.claude/projects/**/*.jsonl`, subagents included | `recommend` and `apply`: `modelSettings.<model>.autoCompactWindow` | supported |
163
+ | Codex | `~/.codex/sessions/**/rollout-*.jsonl` | `recommend` and `apply`: `model_auto_compact_token_limit` (one global value) | supported |
164
+ | OpenCode 1.x | `~/.local/share/opencode/opencode.db` (read-only) | `recommend`: a per-model `limit` | supported |
165
+ | DeepSeek Harness (dsh) | `~/.dsh/sessions/**` | `recommend`: a `modelPolicies` entry | experimental, not yet run on real history |
166
+ | Gemini CLI | `~/.gemini/tmp/<project>/chats/*.jsonl` | `recommend`: `model.compressionThreshold` | experimental, not yet run on real history |
167
+
168
+ Hermes, Qwen Code, Kimi CLI and Goose are on the [roadmap](https://github.com/LemonCANDY42/compactlab/blob/main/docs/ROADMAP.md); the
169
+ [adapter guide](https://github.com/LemonCANDY42/compactlab/blob/main/docs/ADDING_A_HARNESS.md) shows how to add one.
170
+
171
+ ## How it works
172
+
173
+ ```mermaid
174
+ flowchart LR
175
+ L[session logs] -->|adapters, incremental cache| S[sessions]
176
+ S --> R[replay at every threshold]
177
+ P[prices with provenance] --> R
178
+ S --> C[calibrate re-discovery penalty]
179
+ C --> R
180
+ R --> T[cost / balanced / time profiles + guardrails]
181
+ T --> J[(result.json)]
182
+ J --> H[report, recommend]
183
+ J --> A[apply: dry-run, backup, revert]
184
+ A --> V[verify against later logs]
185
+ ```
186
+
187
+ Each session becomes the tokens added per turn, and compactlab replays that growth at each threshold. It charges cache
188
+ reads, cache writes (at the cache tier the logs show), output, a summarizer call per compaction, and the re-reads and
189
+ corrections that tend to follow one, and adds up wall-clock time from latency curves fitted to your own timestamps.
190
+ Formulas and what is measured versus assumed: [METHODOLOGY.md](https://github.com/LemonCANDY42/compactlab/blob/main/docs/METHODOLOGY.md). Background:
191
+ [WHY_THRESHOLDS.md](https://github.com/LemonCANDY42/compactlab/blob/main/docs/WHY_THRESHOLDS.md).
192
+
193
+ ## Privacy and safety
194
+
195
+ - **Offline by default.** Lite mode makes no network and no model calls. Only `pricing refresh` (or the opt-in
196
+ `pricing auto`) downloads public price files, and only deep mode calls a model, after showing an estimate and
197
+ asking for `--yes` and a `--budget`.
198
+ - **No transcript text leaves your logs.** Reports and `result.json` hold token counts, model names and session ids;
199
+ `report --redact` hashes the ids. The scan cache keeps token counts and times, not prompts, tool arguments or
200
+ output (one exception: a last message still waiting for its reply).
201
+ - **Writes are opt-in and reversible.** `apply` is a dry-run diff; writing needs `--write` plus a
202
+ [pre-authorization](https://github.com/LemonCANDY42/compactlab/blob/main/docs/SAFETY.md) or `--i-authorize`, backs up every file, and `revert` restores only the keys it
203
+ changed.
204
+ - **Sharing is a file you post yourself.** `compactlab share` writes numbers and model names only and sends nothing.
205
+
206
+ Threat model and reporting: [SECURITY.md](https://github.com/LemonCANDY42/compactlab/blob/main/SECURITY.md).
207
+
208
+ ## Limitations
209
+
210
+ - Lite-mode recall is an **assumed** curve, not a measurement; deep mode measures it on samples.
211
+ - Costs are list-price estimates for comparing thresholds, not your invoice (subscriptions, discounts and credits are
212
+ ignored). Wall-clock comes from log timestamps and is flagged when data is thin.
213
+ - The one real-world check is a single machine (above). More cases are needed before the savings can be generalized.
214
+ - Windows is untested.
215
+
216
+ Full list: [User guide § Limitations](https://github.com/LemonCANDY42/compactlab/blob/main/docs/GUIDE.md#limitations).
217
+
218
+ ## Documentation
219
+
220
+ - [User guide](https://github.com/LemonCANDY42/compactlab/blob/main/docs/GUIDE.md): reading the output, setting keys, apply and verify, harness notes
221
+ - [Results on real logs](https://github.com/LemonCANDY42/compactlab/blob/main/docs/RESULTS.md) · [Methodology](https://github.com/LemonCANDY42/compactlab/blob/main/docs/METHODOLOGY.md) · [Why thresholds matter](https://github.com/LemonCANDY42/compactlab/blob/main/docs/WHY_THRESHOLDS.md)
222
+ - [Safety: apply and revert](https://github.com/LemonCANDY42/compactlab/blob/main/docs/SAFETY.md) · [Running as a service](https://github.com/LemonCANDY42/compactlab/blob/main/docs/SERVICE.md) · [Sharing results](https://github.com/LemonCANDY42/compactlab/blob/main/docs/SHARING.md)
223
+ - [Terminal views](https://github.com/LemonCANDY42/compactlab/blob/main/docs/TUI.md) · [HTML report design](https://github.com/LemonCANDY42/compactlab/blob/main/docs/REPORT_UI.md) · [Lens mod](https://github.com/LemonCANDY42/compactlab/blob/main/docs/MOD.md) · [Menu bar app](https://github.com/LemonCANDY42/compactlab/blob/main/app/README.md)
224
+ - For contributors: [Architecture](https://github.com/LemonCANDY42/compactlab/blob/main/docs/ARCHITECTURE.md) · [Engine API](https://github.com/LemonCANDY42/compactlab/blob/main/docs/ENGINE_API.md) · [Adding a harness](https://github.com/LemonCANDY42/compactlab/blob/main/docs/ADDING_A_HARNESS.md) · [Roadmap](https://github.com/LemonCANDY42/compactlab/blob/main/docs/ROADMAP.md)
225
+
226
+ All docs are indexed in [docs/README.md](https://github.com/LemonCANDY42/compactlab/blob/main/docs/README.md).
227
+
228
+ ## Related work
229
+
230
+ [ccusage](https://github.com/ryoppippi/ccusage) and [CodexBar](https://github.com/steipete/CodexBar) track token
231
+ usage and cost from the same logs; compactlab borrows parsing ideas from them, not code. Chroma's
232
+ [Context Rot](https://trychroma.com/research/context-rot) report covers long-context degradation, and LangWatch's
233
+ [study on optimal context windows](https://langwatch.ai/research/finding-the-optimal-context-window) looks at the
234
+ same trade-off on its own agents.
235
+
236
+ ## Contributing
237
+
238
+ Adapters, pricing updates and new fact-check heuristics are welcome; tests use synthetic data only. See
239
+ [CONTRIBUTING.md](https://github.com/LemonCANDY42/compactlab/blob/main/CONTRIBUTING.md).
240
+
241
+ ## License
242
+
243
+ [MIT](https://github.com/LemonCANDY42/compactlab/blob/main/LICENSE)
@@ -0,0 +1,67 @@
1
+ compactlab/__init__.py,sha256=d-6fPEmOGLYgN3lw6aY2Omm6XkBNvnFYPZxzkejca_0,97
2
+ compactlab/lens.py,sha256=IFl4HGDCUaJumSZDUYJhpwrrpIeaCvVpO_KNvchJzsc,3233
3
+ compactlab/publish.py,sha256=CW8QTEJqqQUGbT7DxnLUc9WzsCOP7rFfC1GHFoxVC6g,6408
4
+ compactlab/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ compactlab/share.py,sha256=abGm1WFs4TiraD7vEMMOHUeHoUJandgCf0h7RQVXjw4,24502
6
+ compactlab/synth.py,sha256=7oIH70Zs7ApJObgu-plX8v0UjUv8dtz6_b-0Ya6HJQU,20518
7
+ compactlab/verify.py,sha256=sxylkUb77e0NbChLMCpniN_nSaxOczJz5UzHzyBQAsM,22576
8
+ compactlab/adapters/__init__.py,sha256=6y6VnHB3nNuajzbN84Xait1Xovwy_RdGWe9YW1qloyo,174
9
+ compactlab/adapters/base.py,sha256=OXLk2kSkHT65d1qVyg1ILqA1jkyFD2qQRKQbdtQ9QLk,7901
10
+ compactlab/adapters/cache.py,sha256=KfUq9hNkmUvfrnSvtZ4S0zgC-b16bMQZdQVeiQ_-nDI,18210
11
+ compactlab/adapters/claude_code.py,sha256=8iln1LBghx55PzbZabHS1z5nsfzGXU4QShd41RVPomU,9368
12
+ compactlab/adapters/codex.py,sha256=qdwYtpmC8kHw3IBbiG1xJTbzG0oyEvbg9bXh9-tqfqA,13159
13
+ compactlab/adapters/dsh.py,sha256=sHZpBhweuLwJK6VYgYqZf5z3_hkV9opB51_L3Xd-Fso,10849
14
+ compactlab/adapters/gemini_cli.py,sha256=wNJwLE0iaZAB8bSmflwGABJ9bK-vpJHV_PeKz6fNNZA,11047
15
+ compactlab/adapters/opencode.py,sha256=ENsxndXsyFpjJ8Q_gX3iEmmsz5yk3VdaevLoJ8Lz1qA,16446
16
+ compactlab/apply/__init__.py,sha256=7YZK24cXYK9-GDhf4n1H4uvul5KyD6ysH1BXo0lkdRA,20833
17
+ compactlab/cli/__init__.py,sha256=pvbePfWOL02ciDMc45NC3U9q6F7QRA8PIrqmM-Ra_-w,111
18
+ compactlab/cli/main.py,sha256=3pQc4PSJclBDfuUJHV-NlBi5094lLMnDDNmCdI1K8gY,108719
19
+ compactlab/data/config_knobs.json,sha256=sdARB4-MfaRm8KbbUqVrS8EePoUulrM9_ryW2iAxGiM,12726
20
+ compactlab/data/harness_defaults.json,sha256=DvWEfnuK8z4V4Oud_1eCcxTeLyz0zeHazkgBf6DzXYM,4465
21
+ compactlab/data/harness_formats.json,sha256=McLVFdPA2qoYpbt52leWVLx1KhccW-GeodE1ZOlO8uo,17764
22
+ compactlab/data/pricing.json,sha256=62RowE890nWBszkpZQz179QS6dfz0A85jIQGuWRgQWE,5983
23
+ compactlab/engine/__init__.py,sha256=0l516lAhNw-1q10UPVQ4mx8NtrpWZdWGeIYyZMRoWoY,4948
24
+ compactlab/engine/live.py,sha256=hg98Czkg5photIU08BzO6qPIF5n5ViB7E_FiRFAAEKA,12855
25
+ compactlab/engine/settings.py,sha256=AukEn7WLGt-uMjKxB19kSggYq-N0Ajnwq6eXqXLpVD4,7770
26
+ compactlab/engine/watch.py,sha256=wdgSB6ICqm-h_2ALxojBtpaz82vmeAv9TrkWl8w5c1E,2978
27
+ compactlab/eval/__init__.py,sha256=IdE5SlRGmnOOMsS9I9GRMMnqwP_Mf0PDti4JaFfHlXI,89
28
+ compactlab/eval/deep.py,sha256=T7hFs51_klsyOKWYHMfivY6MxK5dCiC5CtgT1xqnYvE,14104
29
+ compactlab/eval/executors.py,sha256=hE5Sy_g1OCLX_zYYQyRLuOmitdonF2MczwRsayWn0fY,3356
30
+ compactlab/eval/factcheck.py,sha256=KzsJnZprioM1xzWidcvYBvdzSMrlD4fwkhXH4OjNVpI,3061
31
+ compactlab/model/__init__.py,sha256=3hgG1uioFwAdv5r9WccPd4AuAueE5dAhXH86kAL7HbU,12737
32
+ compactlab/pricing/__init__.py,sha256=4KiBykW366vd2CglS4_jib3yoGDAS2RvZqToPdhjXAs,10741
33
+ compactlab/pricing/auto.py,sha256=dbxhTtk-nShc4Kp1kQHY-ROXSBsnfC_e8XWuIh2IdWk,4941
34
+ compactlab/pricing/ids.py,sha256=mdVirDy11j6X1DMgI8Fc3u21_7dZuUNGvtulvcln0so,6816
35
+ compactlab/pricing/refresh.py,sha256=xIf5-77Yyfy3mfACVOCnH-FeUmO4c_0KNzvaAQDqH84,12711
36
+ compactlab/recommend/__init__.py,sha256=Uu-IuYGlKFSnQ1wtwtKDdqrhjs2oJWvhjsw4Igswm7A,7729
37
+ compactlab/recommend/claude_code.py,sha256=gmmYYMvclcCd70eXKR6Qc_JDkqjM47p0FAeGkebA754,9654
38
+ compactlab/recommend/codex.py,sha256=o77yuxm8LT1PcxxOuDa4ANpbWVE_e_8zOGW4Ej5Uu_0,6115
39
+ compactlab/recommend/dsh.py,sha256=_iaocA4vCOkQB_NiN7D2xrI36YcHe1mG9Xagc1qwiL0,4511
40
+ compactlab/recommend/gemini_cli.py,sha256=0wUOYqW9Z1ClYZHcaFdJKmzPQAUA-TSE_qMTsk5AXvo,4385
41
+ compactlab/recommend/opencode.py,sha256=jnSJcdTPeAsPMjQHqMKCRBoXSZZ_0HHWZgRHaZu88fU,6615
42
+ compactlab/recommend/units.py,sha256=tFtPXnU60INUCP3-_OfVdLqufAQOayjye_iIIdKjjG8,2951
43
+ compactlab/report/__init__.py,sha256=taQM7_QZb8fhAMLSPzH3c1uhgTf2Ya1HBTKaQNoJgpA,79
44
+ compactlab/report/html.py,sha256=OH2hbtjX6nUjG5PB91RrWl4Asf4g1iLK99yeSbuyaCA,1211
45
+ compactlab/report/template.html,sha256=uVVddWGJQmQYzx8H5B_DcIJcbg6MhV8WTQaFY1gbEjY,141122
46
+ compactlab/service/__init__.py,sha256=SENe7QVKanFuGRZqg1kDVpm3Oiylo7kS4XbZ17zmpCU,111
47
+ compactlab/service/core.py,sha256=V_ZllwssR-f6LzcCNarX4V_ThYPp1utkClCisNVz8hc,11017
48
+ compactlab/service/http.py,sha256=kSnVBBdSJb810HrpJv8P_WIszlGiqMJ8wtEfw-YlT-w,5372
49
+ compactlab/service/lock.py,sha256=Ke5SAx0BZUfv0eSBkylWe43KXXOo7aMYX1FRH7-Nlmw,3908
50
+ compactlab/service/policy.py,sha256=hyhPBcRBig8J1Bxp4o2f5bEHyD4bed4QoWCP-VjIT9A,11041
51
+ compactlab/service/schedule.py,sha256=Qh8ZFbewogHX9LbepgZTGFhtT07WuihF9RArMrwU8ps,7756
52
+ compactlab/sim/__init__.py,sha256=LgkHuHqLSrNSheROg8XzAHLovPddp-kbkRNtFxfmbc4,70
53
+ compactlab/sim/baseline.py,sha256=-l5IXlzZYvvk7dMzwtW_w9Al38je0si6euMJa4FyAps,9945
54
+ compactlab/sim/calibrate.py,sha256=wHTc0vT4e0geMD0ZHkKGDzq8bwB230pVXTqHYtfwQDM,4157
55
+ compactlab/sim/engine.py,sha256=Jn4W-TBVSaPm5hn0lm2bnrrkgSchId7SvAGAplB_5lI,55889
56
+ compactlab/sim/select.py,sha256=WXOLqTFqKhcgTjijNr2vPTC1Y02SAsvAT0vjK9kcB9I,9802
57
+ compactlab/sim/timing.py,sha256=vWOET3-r5yCnG_BMsIrGnjaslWUaCdUk826DmPtMdjE,5392
58
+ compactlab/term/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
+ compactlab/term/style.py,sha256=bcj9aj5S3dnwWgdLwCg_icu3m_Bk7bNxiB4EfMzYS-I,4569
60
+ compactlab/term/top.py,sha256=nHLSO0os4tTZlYr9GX89K942PKmV-hI92YL-FS_Cv3Y,22881
61
+ compactlab/term/views.py,sha256=u8a8rJSvF7LAdSn8DBKIjbDwUSS1Vs-r0loKR1DZtVE,33762
62
+ compactlab/term/widgets.py,sha256=MttqzZARAHLZ06gKdaW71XZXMgfPvFJYSoePfgf1pgU,9746
63
+ compactlab-0.2.0.dist-info/METADATA,sha256=DBlvxKbt_8Pm8p20U_0d6JYbryxkzQ2MYn4-SVZpYrM,15515
64
+ compactlab-0.2.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
65
+ compactlab-0.2.0.dist-info/entry_points.txt,sha256=aAGI1U5sj1RclE2833AAcMJ7R9mEYWSj74PbIBV9b5Y,51
66
+ compactlab-0.2.0.dist-info/licenses/LICENSE,sha256=Ns4xlTaqNDmhhaEYw-F9KM-COUVPwB8iD9aGKDubuyE,1080
67
+ compactlab-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ compactlab = compactlab.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 compactlab contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.