specmem-hardwicksoftware 3.7.35 → 3.7.36
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 +34 -0
- package/README.md +11 -15
- package/bin/specmem-console.cjs +839 -51
- package/claude-hooks/agent-chooser-hook.js +6 -6
- package/claude-hooks/agent-loading-hook.cjs +16 -16
- package/claude-hooks/agent-loading-hook.js +18 -18
- package/claude-hooks/agent-type-matcher.js +1 -1
- package/claude-hooks/background-completion-silencer.js +1 -1
- package/claude-hooks/file-claim-enforcer.cjs +37 -36
- package/claude-hooks/output-cleaner.cjs +1 -1
- package/claude-hooks/settings.json +27 -3
- package/claude-hooks/specmem-search-enforcer.cjs +2 -11
- package/claude-hooks/specmem-team-member-inject.js +1 -1
- package/claude-hooks/specmem-unified-hook.py +1 -1
- package/claude-hooks/subagent-loading-hook.cjs +1 -1
- package/claude-hooks/task-progress-hook.cjs +7 -7
- package/claude-hooks/task-progress-hook.js +3 -3
- package/claude-hooks/team-comms-enforcer.cjs +49 -47
- package/dist/claude-sessions/sessionParser.js +5 -0
- package/dist/codebase/codebaseIndexer.js +48 -17
- package/dist/codebase/exclusions.js +3 -4
- package/dist/codebase/index.js +4 -0
- package/dist/codebase/pdfExtractor.js +298 -0
- package/dist/dashboard/api/taskTeamMembers.js +2 -2
- package/dist/db/bigBrainMigrations.js +29 -0
- package/dist/hooks/hookManager.js +4 -4
- package/dist/hooks/teamFramingCli.js +1 -1
- package/dist/hooks/teamMemberPrepromptHook.js +5 -5
- package/dist/init/claudeConfigInjector.js +2 -2
- package/dist/mcp/compactionProxy.js +834 -186
- package/dist/mcp/compactionProxyDaemon.js +112 -37
- package/dist/mcp/contextVault.js +439 -0
- package/dist/mcp/embeddingServerManager.js +61 -1
- package/dist/mcp/mcpProtocolHandler.js +6 -1
- package/dist/mcp/miniCOTServerManager.js +82 -8
- package/dist/mcp/specMemServer.js +45 -10
- package/dist/mcp/toolRegistry.js +6 -0
- package/dist/startup/startupIndexing.js +14 -0
- package/dist/team-members/taskOrchestrator.js +3 -3
- package/dist/team-members/taskTeamMemberLogger.js +2 -2
- package/dist/tools/goofy/deployTeamMember.js +3 -3
- package/dist/tools/goofy/digInTheVault.js +81 -0
- package/dist/tools/goofy/stashTheGoods.js +56 -0
- package/dist/tools/teamMemberDeployer.js +2 -2
- package/dist/watcher/changeHandler.js +65 -8
- package/dist/watcher/changeQueue.js +20 -1
- package/embedding-sandbox/mini-cot-service.py +11 -13
- package/embedding-sandbox/pdf-text-extract.py +208 -0
- package/package.json +1 -1
- package/scripts/deploy-hooks.cjs +2 -2
- package/scripts/global-postinstall.cjs +2 -2
- package/scripts/specmem-init.cjs +130 -36
- package/specmem/model-config.json +6 -6
- package/specmem/supervisord.conf +1 -1
- package/svg-sections/readme-token-compaction.svg +246 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,40 @@ All notable changes to SpecMem - we keep it real with semantic versioning. Deada
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [3.7.36] - 2026-03-02
|
|
8
|
+
|
|
9
|
+
### Security
|
|
10
|
+
- **Killed runtime model downloads** — `mini-cot-service.py` had a fallback path that silently downloaded 800MB from HuggingFace if local ONNX models were missing. Now raises a hard `RuntimeError` with clear instructions to run `specmem init`. SpecMem will never phone home for model weights at runtime. Period.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- **Context Vault** — new `stash_the_goods` and `dig_in_the_vault` MCP tools. Stash large content (tool results, code dumps, research) into a chunked, BM25-indexed vault with 24h TTL. Retrieval is token-efficient — pull only the chunks you need instead of replaying entire outputs
|
|
14
|
+
- **PDF text extraction** — codebase indexer now extracts and indexes text from PDF files via `pdfExtractor.js` and Python `pdf-text-extract.py` backend. PDFs in your repo are now searchable through semantic code search
|
|
15
|
+
- **Token compaction README visual** — new SVG (`readme-token-compaction.svg`) showcasing the compression pipeline, placed directly under install instructions
|
|
16
|
+
|
|
17
|
+
### Improved
|
|
18
|
+
- **Hook system overhaul** — `agent-chooser-hook.js`, `agent-loading-hook.cjs`, `background-completion-silencer.js`, `file-claim-enforcer.cjs`, `output-cleaner.cjs`, `subagent-loading-hook.cjs`, `task-progress-hook.cjs`, `team-comms-enforcer.cjs`, and unified hook all updated for better reliability and debouncing
|
|
19
|
+
- **Team member deployment** — `deployTeamMember.js` and `teamMemberDeployer.js` improved orchestration, `taskOrchestrator.js` and `taskTeamMemberLogger.js` refined for cleaner multi-agent coordination
|
|
20
|
+
- **Compaction proxy daemon** — connection handling and project registry improvements in both `compactionProxy.js` and `compactionProxyDaemon.js`
|
|
21
|
+
- **Startup indexing** — `startupIndexing.js` faster init path, better deferred indexing
|
|
22
|
+
- **File watcher** — `changeHandler.js` and `changeQueue.js` refined batch processing, reduced unnecessary re-index triggers
|
|
23
|
+
- **MCP server** — `specMemServer.js`, `toolRegistry.js`, and `mcpProtocolHandler.js` updated tool registration and response handling
|
|
24
|
+
- **Database migrations** — `bigBrainMigrations.js` updated with new schema support for context vault tables
|
|
25
|
+
- **Claude config injector** — `claudeConfigInjector.js` improved hook deployment and settings injection
|
|
26
|
+
- **Deploy hooks script** — `deploy-hooks.cjs` and `global-postinstall.cjs` streamlined install flow
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
- **Codebase exclusions** — `exclusions.js` tightened ignore patterns to prevent indexing build artifacts and node_modules noise
|
|
30
|
+
- **Session parser** — `sessionParser.js` edge case fixes for malformed session entries
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## [3.7.35] - 2026-03-01
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
- **File watcher resync loop killing CPU** — when sync score sat at ~85%, the auto-resync trigger would fire repeatedly (every 15min debounce), each resync barely moving the needle, creating an infinite CPU-burning loop. Fixed threshold logic so resync only fires when score is genuinely degraded, not hovering near the threshold
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
7
41
|
## [3.7.34] - 2026-02-26
|
|
8
42
|
|
|
9
43
|
### Fixed
|
package/README.md
CHANGED
|
@@ -1,23 +1,17 @@
|
|
|
1
|
-
## Token compression currently broken - please run specmem proxy off before running specmem init - until this is fixed!
|
|
2
|
-
|
|
3
|
-
<!-- Debian/Ubuntu/Mint/Kali notice -->
|
|
4
|
-
<div align="center">
|
|
5
|
-
<table><tr><td align="center" style="background:#0d1117;border:1px solid #30363d;border-radius:8px;padding:12px 20px">
|
|
6
|
-
<strong>Debian-based Linux?</strong>
|
|
7
|
-
<img src="https://upload.wikimedia.org/wikipedia/commons/4/4a/Debian-OpenLogo.svg" height="16" alt="Debian"/>
|
|
8
|
-
<img src="https://upload.wikimedia.org/wikipedia/commons/a/ab/Logo-ubuntu_cof-orange-hex.svg" height="16" alt="Ubuntu"/>
|
|
9
|
-
<img src="https://upload.wikimedia.org/wikipedia/commons/3/3f/Linux_Mint_logo_without_wordmark.svg" height="16" alt="Mint"/>
|
|
10
|
-
<img src="https://upload.wikimedia.org/wikipedia/commons/4/4b/Kali_Linux_2.0_wordmark.svg" height="16" alt="Kali"/>
|
|
11
|
-
<code>npm install -g specmem-hardwicksoftware</code> — root no longer required.
|
|
12
|
-
</td></tr></table>
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<div align="center">
|
|
16
1
|
|
|
2
|
+
## Please disable the proxy in the specmem TUI dashboard until 3.7.36 is released!
|
|
17
3
|
<!-- How to Install SVG -->
|
|
18
4
|
<img src="./svg-sections/readme-how-to-install.svg" alt="How to Install SpecMem on Linux" width="800">
|
|
19
5
|
|
|
20
6
|
<br/>
|
|
7
|
+
|
|
8
|
+
<!-- Token Compaction Pipeline SVG -->
|
|
9
|
+
<div align="center">
|
|
10
|
+
<picture>
|
|
11
|
+
<img alt="Token Compaction Pipeline — ~60% Input Token Reduction" src="./svg-sections/readme-token-compaction.svg" width="800">
|
|
12
|
+
</picture>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
21
15
|
<br/>
|
|
22
16
|
|
|
23
17
|
<!-- Hero Banner -->
|
|
@@ -149,6 +143,8 @@ Full technical deep-dive covering architecture, embeddings, database internals,
|
|
|
149
143
|
</picture>
|
|
150
144
|
</div>
|
|
151
145
|
|
|
146
|
+
<br/>
|
|
147
|
+
|
|
152
148
|
---
|
|
153
149
|
|
|
154
150
|
## 🔓 Root Access (Optional)
|