sigmap 7.0.1 → 7.2.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/CHANGELOG.md +33 -0
- package/README.md +20 -12
- package/gen-context.js +647 -16
- package/llms-full.txt +9 -2
- package/llms.txt +7 -7
- package/package.json +5 -3
- package/packages/cli/package.json +2 -2
- package/packages/core/README.md +2 -2
- package/packages/core/package.json +2 -2
- package/src/format/gain-terminal.js +206 -0
- package/src/mcp/server.js +1 -1
- package/src/tracking/aggregate.js +195 -0
- package/src/tracking/logger.js +83 -1
- package/src/tracking/pricing.js +43 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,39 @@ Format: [Semantic Versioning](https://semver.org/)
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
+
## [7.2.0] — 2026-06-17
|
|
14
|
+
|
|
15
|
+
Minor release — release-pipeline robustness. Hardens the bundle/release machinery that produced the v7.1.0 binary failure, with no user-facing CLI changes.
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
- **Bundle integrity check (#266):** `scripts/check-bundle.mjs` verifies every `src/` module is registered in `gen-context.js` `__factories` (the standalone/SEA-binary code path). Runs in CI on every PR (Node 18/20/22) and in `prepublishOnly`; `--fix` inserts missing factories from source. `build-binary.mjs` reuses the same check. Catches — before merge — the gap that broke the v7.1.0 binaries.
|
|
19
|
+
- **version.json metadata gate (#268):** `scripts/check-version-meta.mjs` derives `mcp_tools` (from `src/mcp/tools.js`) and `tests` (test-file count) and fails on drift; wired into `prepublishOnly`. `languages` stays editorial. Corrected stale `tests` count.
|
|
20
|
+
- **Standalone-bundle smoke test (#274):** runs `gen-context.js` from a temp dir with no `src/` present (the binary path) — `generate` + `--health` + `gain` — in the Node 18/20/22 matrix. Functional complement to the presence check.
|
|
21
|
+
- **`docs/RELEASING.md` (#274):** documents the release flow, branch model, tag triggers, and the prepublish/CI gates.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
- **`--health` clarity (#270):** the per-repo "extractor coverage" line (languages present in this repo ÷ supported) read as contradictory beside a 100/100 score. Relabeled as informational ("repo languages … not scored") with a "score basis" line. The `--health --json` `extractorCoverage` field is unchanged.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
- **Repo declutter (#272):** removed the committed, unreferenced `TESTING_IMPORT_GRAPH.md` (gitignored); stale planning docs archived out of the repo. `PROJECT_MAP.md` kept (live generated artifact).
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## [7.1.0] — 2026-06-16
|
|
32
|
+
|
|
33
|
+
Minor release — a token-savings dashboard in the terminal, plus domain and sponsorship docs.
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
- **Token-savings dashboard — `sigmap gain` (#260):** surfaces cumulative savings right in the terminal — total tokens saved, % efficiency, estimated $ saved, latency, and a by-operation breakdown, plus `gain --all` for daily / weekly / monthly trends. Savings are captured per operation (`ask`, `generate`) into a dedicated local log `.context/gain.ndjson` (counts only — no paths, source, or query text). Capture is **default-on** and privacy-safe; opt out via `--no-track`, `SIGMAP_NO_TRACK=1`, or `config.gainTracking:false`. The legacy `usage.ndjson` / `--track` health log is unchanged. New `src/tracking/{aggregate,pricing}.js` (zero-dep aggregation + model→$/Mtok pricing) and `src/format/gain-terminal.js` (ANSI renderer, `NO_COLOR`/non-TTY safe). Flags: `gain --all | --json | --since <7d|ISO> | --top <n> | --model <name> | --reset`. "Saved" is labeled everywhere as an estimate vs the whole-file baseline.
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
- **Docs served at the sigmap.io root (#258):** the docs site now builds with base `/` (dropped the `/sigmap/` path prefix) and the project domain points to sigmap.io.
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
- **Sponsorship transparency (#257):** README gained a Sponsor section with a tier ladder and funding goal; detail moved into `SPONSOR.md`, with an "About the maintainer" note and a low-barrier welcome.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
13
46
|
## [7.0.1] — 2026-06-14
|
|
14
47
|
|
|
15
48
|
Patch release — supply-chain hardening and package hygiene, plus a wider star nudge.
|
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ Repos tested : 21 (JavaScript, Python, Go, Rust, Java, R, C++, C#, Dart, Swift
|
|
|
100
100
|
Measured on 90 coding tasks across 18 real public repos. No LLM API — fully reproducible.
|
|
101
101
|
|
|
102
102
|
**Resources:**
|
|
103
|
-
- [Full methodology →](https://
|
|
103
|
+
- [Full methodology →](https://sigmap.io/guide/benchmark.html)
|
|
104
104
|
- [Benchmark suite (GitHub)](https://github.com/manojmallick/sigmap-benchmark-suite) — scripts, tasks, and raw data
|
|
105
105
|
- [Benchmark data (Zenodo)](https://zenodo.org/records/19898842) — archived results for reproducibility
|
|
106
106
|
|
|
@@ -172,8 +172,8 @@ sigmap --adapter claude # works with Claude Code
|
|
|
172
172
|
**Open-source agents & local LLMs:**
|
|
173
173
|
|
|
174
174
|
Use SigMap with open-source tools and fully self-hosted setups:
|
|
175
|
-
- **[Open-source agents guide →](https://
|
|
176
|
-
- **[Local LLMs guide →](https://
|
|
175
|
+
- **[Open-source agents guide →](https://sigmap.io/guide/agents)** — OpenCode, Aider, OpenHands, Cline
|
|
176
|
+
- **[Local LLMs guide →](https://sigmap.io/guide/local-llms)** — Ollama, llama.cpp, vLLM (no API keys, full privacy)
|
|
177
177
|
|
|
178
178
|
**IDE extensions:**
|
|
179
179
|
|
|
@@ -219,21 +219,21 @@ sigmap --health
|
|
|
219
219
|
| 👶 **New** | [Quick start guide](docs/readmes/GETTING_STARTED.md) — setup in 60 seconds |
|
|
220
220
|
| ⚡ **Daily** | `sigmap ask` / `sigmap validate` / `sigmap judge` |
|
|
221
221
|
| 🧠 **Advanced** | [Context strategies](docs/readmes/CONTEXT_STRATEGIES.md) · [MCP setup](docs/readmes/MCP_SETUP.md) |
|
|
222
|
-
| 🏢 **Teams** | [Config reference](https://
|
|
222
|
+
| 🏢 **Teams** | [Config reference](https://sigmap.io/guide/config.html) · [CI setup](docs/readmes/ENTERPRISE_SETUP.md) |
|
|
223
223
|
|
|
224
224
|
---
|
|
225
225
|
|
|
226
226
|
## Docs
|
|
227
227
|
|
|
228
|
-
**[
|
|
228
|
+
**[sigmap.io](https://sigmap.io)**
|
|
229
229
|
|
|
230
230
|
| Section | Link |
|
|
231
231
|
|---|---|
|
|
232
|
-
| CLI reference (32 commands) | [cli.html](https://
|
|
233
|
-
| Benchmark methodology | [benchmark.html](https://
|
|
234
|
-
| Config reference | [config.html](https://
|
|
235
|
-
| Roadmap | [roadmap.html](https://
|
|
236
|
-
| 31 languages | [generalization.html](https://
|
|
232
|
+
| CLI reference (32 commands) | [cli.html](https://sigmap.io/guide/cli.html) |
|
|
233
|
+
| Benchmark methodology | [benchmark.html](https://sigmap.io/guide/benchmark.html) |
|
|
234
|
+
| Config reference | [config.html](https://sigmap.io/guide/config.html) |
|
|
235
|
+
| Roadmap | [roadmap.html](https://sigmap.io/guide/roadmap.html) |
|
|
236
|
+
| 31 languages | [generalization.html](https://sigmap.io/guide/generalization.html) |
|
|
237
237
|
|
|
238
238
|
---
|
|
239
239
|
|
|
@@ -245,6 +245,14 @@ If SigMap saves you context or API spend, a ⭐ on [GitHub](https://github.com/m
|
|
|
245
245
|
|
|
246
246
|
---
|
|
247
247
|
|
|
248
|
+
## Sponsor
|
|
249
|
+
|
|
250
|
+
SigMap is built and maintained by one developer, kept **zero-dependency**, offline, and free. If it saves your team context or API spend, sponsoring keeps it that way — and funds the benchmark CI, the `sigmap.io` domain, and ongoing supply-chain hardening.
|
|
251
|
+
|
|
252
|
+
💜 **[Become a sponsor →](https://github.com/sponsors/manojmallick)** · see **[SPONSOR.md](SPONSOR.md)** for tiers and exactly where your support goes. Any amount helps — even $1/mo — and a ⭐ or a share counts too.
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
248
256
|
## Contributing
|
|
249
257
|
|
|
250
258
|
SigMap welcomes contributions!
|
|
@@ -284,7 +292,7 @@ TypeScript · JavaScript · Python · Java · Kotlin · Go · Rust · C# · C/C+
|
|
|
284
292
|
|
|
285
293
|
All implemented with zero external dependencies.
|
|
286
294
|
|
|
287
|
-
[Full language table →](https://
|
|
295
|
+
[Full language table →](https://sigmap.io/guide/generalization.html)
|
|
288
296
|
|
|
289
297
|
---
|
|
290
298
|
|
|
@@ -296,7 +304,7 @@ MIT © 2026 [Manoj Mallick](https://github.com/manojmallick) · Made in Amsterda
|
|
|
296
304
|
|
|
297
305
|
<div align="center">
|
|
298
306
|
|
|
299
|
-
**[Docs](https://
|
|
307
|
+
**[Docs](https://sigmap.io) · [Changelog](CHANGELOG.md) · [Roadmap](https://sigmap.io/roadmap.html) · [npm](https://www.npmjs.com/package/sigmap)**
|
|
300
308
|
|
|
301
309
|
⭐ [Star on GitHub](https://github.com/manojmallick/sigmap) if SigMap saves you tokens.
|
|
302
310
|
|