sigmap 7.25.0 → 7.25.2
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 +24 -0
- package/README.md +20 -2
- package/gen-context.js +13701 -11849
- package/llms-full.txt +7 -2
- package/llms.txt +2 -2
- package/package.json +4 -2
- package/packages/cli/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/src/mcp/server.js +1 -1
package/llms-full.txt
CHANGED
|
@@ -9,13 +9,13 @@ the files relevant to the task — cutting tokens ~97% while keeping answers
|
|
|
9
9
|
grounded. Deterministic, offline, no embeddings or vector database. Works with
|
|
10
10
|
Claude, Cursor, GitHub Copilot, Aider, Windsurf, local LLMs, and MCP.
|
|
11
11
|
|
|
12
|
-
# Version: 7.25.
|
|
12
|
+
# Version: 7.25.2 | Benchmark: sigmap-v7.25-main (2026-06-22)
|
|
13
13
|
# Source: auto-generated from package.json, version.json, benchmarks/latest.json, src/mcp/tools.js, src/config/defaults.js
|
|
14
14
|
# Regenerate: npm run generate:llms | Validate: npm run validate:llms
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
## Core metrics (benchmark: sigmap-v7.25-main, 2026-06-
|
|
18
|
+
## Core metrics (benchmark: sigmap-v7.25-main, 2026-06-22)
|
|
19
19
|
|
|
20
20
|
| Metric | Without SigMap | With SigMap |
|
|
21
21
|
|--------|----------------|-------------|
|
|
@@ -100,6 +100,11 @@ sigmap --impact <file> --depth <n> BFS depth limit (default 3, 0=unlimited
|
|
|
100
100
|
sigmap verify-ai-output <answer.md> Flag fake files/tests/imports/symbols/npm-scripts in an AI answer
|
|
101
101
|
sigmap verify-ai-output <answer.md> --json Hallucination report as JSON (exits 1 if issues)
|
|
102
102
|
sigmap verify-ai-output <answer.md> --report Write a standalone HTML report (red/amber/green)
|
|
103
|
+
sigmap conventions Extract repo file-naming/export/test conventions (--conflicts, --inject, --report, --fix)
|
|
104
|
+
sigmap scaffold "<name>" Propose a convention-matched file/dir scaffold (--ext, --threshold, --force, --json)
|
|
105
|
+
sigmap verify-plan <plan.md|-> Check a plan vs the live index — files/symbols exist, blast radius, scope (--json)
|
|
106
|
+
sigmap review-pr Audit a diff — scope drift, god-node edits, missing tests, security files (--staged, --json)
|
|
107
|
+
sigmap create "<task>" Grounded-creation pipeline: scaffold → verify-plan → verify-ai-output → review-pr (--staged)
|
|
103
108
|
sigmap squeeze <file|-> Minimize a pasted stacktrace/CI-log/JSON blob (--json for stats)
|
|
104
109
|
sigmap ask "<query>" --squeeze Auto-accept input minimization (no prompt; for scripts/CI)
|
|
105
110
|
sigmap ask "<query>" --no-squeeze Disable input minimization entirely
|
package/llms.txt
CHANGED
|
@@ -9,7 +9,7 @@ the files relevant to the task — cutting tokens ~97% while keeping answers
|
|
|
9
9
|
grounded. Deterministic, offline, no embeddings or vector database. Works with
|
|
10
10
|
Claude, Cursor, GitHub Copilot, Aider, Windsurf, local LLMs, and MCP.
|
|
11
11
|
|
|
12
|
-
# Version: 7.25.
|
|
12
|
+
# Version: 7.25.2 | Benchmark: sigmap-v7.25-main (2026-06-22)
|
|
13
13
|
# Source: auto-generated from package.json, version.json, benchmarks/latest.json, src/mcp/tools.js, src/config/defaults.js
|
|
14
14
|
# Regenerate: npm run generate:llms | Validate: npm run validate:llms
|
|
15
15
|
|
|
@@ -21,7 +21,7 @@ Claude, Cursor, GitHub Copilot, Aider, Windsurf, local LLMs, and MCP.
|
|
|
21
21
|
- No blast-radius awareness before editing a hub file — `--impact` shows every file a change touches.
|
|
22
22
|
- Pasted stack traces, CI logs, and JSON bloat the prompt — `squeeze` minimizes them and enriches the top frame from the symbol index.
|
|
23
23
|
|
|
24
|
-
## Core metrics (benchmark: sigmap-v7.25-main, 2026-06-
|
|
24
|
+
## Core metrics (benchmark: sigmap-v7.25-main, 2026-06-22)
|
|
25
25
|
|
|
26
26
|
- hit@5 retrieval: 75.6% vs 13.6% random baseline (5.6× lift)
|
|
27
27
|
- Token reduction: 97.0% average across benchmark repos
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sigmap",
|
|
3
|
-
"version": "7.25.
|
|
3
|
+
"version": "7.25.2",
|
|
4
4
|
"description": "97% token reduction for AI coding. Extracts function & class signatures with TF-IDF ranking to feed only the right files to Claude, Cursor, Copilot, Aider, Windsurf, local LLMs & MCP. Zero dependencies, runs offline via npx.",
|
|
5
5
|
"main": "packages/core/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
"mcp": "node gen-context.js --mcp",
|
|
34
34
|
"check:bundle": "node scripts/check-bundle.mjs",
|
|
35
35
|
"check:version-meta": "node scripts/check-version-meta.mjs",
|
|
36
|
+
"build:bundle": "node scripts/build-bundle.mjs",
|
|
37
|
+
"check:bundle:repro": "node scripts/build-bundle.mjs --check",
|
|
36
38
|
"build:binary": "node scripts/build-binary.mjs",
|
|
37
39
|
"verify:binary": "node scripts/verify-binary.mjs",
|
|
38
40
|
"version:sync": "node scripts/sync-versions.mjs",
|
|
@@ -41,7 +43,7 @@
|
|
|
41
43
|
"metrics:latest": "node scripts/gen-benchmark-latest.mjs",
|
|
42
44
|
"metrics:sync": "node scripts/gen-benchmark-latest.mjs && node scripts/check-version-meta.mjs --fix && node scripts/sync-metrics.mjs && node scripts/generate-llms.mjs",
|
|
43
45
|
"check:metrics": "node scripts/gen-benchmark-latest.mjs --check && node scripts/check-version-meta.mjs && node scripts/sync-metrics.mjs --check",
|
|
44
|
-
"prepublishOnly": "node scripts/check-bundle.mjs && node scripts/gen-benchmark-latest.mjs --check && node scripts/check-version-meta.mjs && node scripts/sync-metrics.mjs --check && node scripts/generate-llms.mjs",
|
|
46
|
+
"prepublishOnly": "node scripts/check-bundle.mjs && node scripts/build-bundle.mjs --check && node scripts/gen-benchmark-latest.mjs --check && node scripts/check-version-meta.mjs && node scripts/sync-metrics.mjs --check && node scripts/generate-llms.mjs",
|
|
45
47
|
"benchmark:grounding": "node scripts/run-hallucination-benchmark.mjs",
|
|
46
48
|
"benchmark:llm-ablation": "node scripts/run-llm-ablation.mjs"
|
|
47
49
|
},
|
package/src/mcp/server.js
CHANGED