specmem-hardwicksoftware 3.7.36 → 3.7.39
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/README.md +1 -1
- package/bin/specmem-autoclaude.cjs +12 -1
- package/bin/specmem-cli.cjs +1077 -11
- package/bin/specmem-console.cjs +51 -12
- package/bootstrap.cjs +10 -2
- package/claude-hooks/agent-loading-hook.js +10 -3
- package/claude-hooks/refusal-detector-hook.cjs +53 -0
- package/claude-hooks/settings.json +37 -1
- package/claude-hooks/smart-search-interceptor.js +1 -1
- package/claude-hooks/team-comms-enforcer.cjs +64 -0
- package/claude-hooks/use-code-pointers.cjs +1 -1
- package/dist/cli/deploy-to-claude.js +9 -2
- package/dist/index.js +49 -12
- package/dist/init/claudeConfigInjector.js +25 -6
- package/dist/installer/autoInstall.js +7 -1
- package/dist/mcp/compactionProxy.js +218 -6
- package/dist/mcp/embeddingServerManager.js +90 -16
- package/dist/tools/goofy/findCodePointers.js +17 -0
- package/dist/tools/goofy/findWhatISaid.js +19 -0
- package/embedding-sandbox/frankenstein-embeddings.py +4 -3
- package/package.json +1 -1
- package/scripts/deploy-hooks.cjs +10 -2
- package/scripts/fast-batch-embedder.cjs +2 -2
- package/scripts/force-retry.cjs +34 -0
- package/scripts/global-postinstall.cjs +95 -2
- package/scripts/poetic-abliteration.cjs +379 -0
- package/scripts/refusal-enforcer.cjs +88 -0
- package/scripts/specmem-init.cjs +125 -24
- package/specmem/supervisord.conf +1 -1
- package/claude-hooks/agent-chooser-hook.js +0 -179
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
##
|
|
2
|
+
## COMPACTION PROXY FIXED - AGENT BEHAVIOR IMPROVEMENT SOON!
|
|
3
3
|
<!-- How to Install SVG -->
|
|
4
4
|
<img src="./svg-sections/readme-how-to-install.svg" alt="How to Install SpecMem on Linux" width="800">
|
|
5
5
|
|
|
@@ -323,8 +323,19 @@ class AutoController {
|
|
|
323
323
|
// PTY MEMORY APPROACH: NO -L -Logfile (zero disk I/O)
|
|
324
324
|
// Uses screen hardcopy on-demand instead of continuous logging
|
|
325
325
|
// -h 5000 sets scrollback buffer to 5000 lines for hardcopy capture
|
|
326
|
+
// COMPACTION: Route through proxy if running
|
|
327
|
+
let proxyEnv = '';
|
|
328
|
+
try {
|
|
329
|
+
const portFile = path.join(os.homedir(), '.claude', '.compaction-proxy-port');
|
|
330
|
+
if (fs.existsSync(portFile)) {
|
|
331
|
+
const port = parseInt(fs.readFileSync(portFile, 'utf8').trim(), 10);
|
|
332
|
+
if (port) {
|
|
333
|
+
proxyEnv = `ANTHROPIC_BASE_URL="http://127.0.0.1:${port}" `;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
} catch (e) {}
|
|
326
337
|
const claudeBin = getClaudeBinary();
|
|
327
|
-
const cmd = `screen -h 5000 -dmS ${this.claudeSession} bash -c "cd '${this.projectPath}' && '${claudeBin}' 2>&1; exec bash"`;
|
|
338
|
+
const cmd = `screen -h 5000 -dmS ${this.claudeSession} bash -c "cd '${this.projectPath}' && ${proxyEnv}'${claudeBin}' 2>&1; exec bash"`;
|
|
328
339
|
execSync(cmd, { stdio: 'ignore' });
|
|
329
340
|
|
|
330
341
|
// Wait for it to start
|