@cachly-dev/mcp-server 0.5.37 → 0.5.38
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/.github/workflows/publish.yml +28 -0
- package/Dockerfile +15 -12
- package/LICENSE +202 -0
- package/README.md +2 -8
- package/dist/index.d.ts +3 -31
- package/dist/index.js +320 -2482
- package/dist/index.js.map +1 -1
- package/dist/search.test.js +3 -173
- package/dist/search.test.js.map +1 -1
- package/glama.json +6 -0
- package/package.json +1 -1
- package/smithery.yaml +5 -10
- package/src/index.ts +329 -2580
- package/src/search.test.ts +3 -217
- package/CHANGELOG.md +0 -65
- package/dist/__tests__/namespace.test.d.ts +0 -1
- package/dist/__tests__/namespace.test.js +0 -114
- package/dist/__tests__/namespace.test.js.map +0 -1
- package/run-mcp.sh +0 -57
- package/scripts/postinstall.js +0 -36
- package/src/__tests__/namespace.test.ts +0 -126
- package/test-features.cjs +0 -23
package/test-features.cjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const fs = require('fs');
|
|
2
|
-
|
|
3
|
-
const src = fs.readFileSync('src/index.ts', 'utf8');
|
|
4
|
-
const initSrc = fs.readFileSync('../init/index.js', 'utf8');
|
|
5
|
-
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
|
|
6
|
-
|
|
7
|
-
let pass = 0, fail = 0;
|
|
8
|
-
function check(name, cond) {
|
|
9
|
-
if (cond) { console.log('PASS:', name); pass++; }
|
|
10
|
-
else { console.log('FAIL:', name); fail++; }
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
check('Test 1 - Ambient git learning in session_end', src.includes('git log --since') || src.includes('Ambient git'));
|
|
14
|
-
check('Test 2a - author param in learn_from_attempts schema', src.includes('"author"') && src.includes('learn_from_attempts'));
|
|
15
|
-
check('Test 2b - Team Telepathy in session_start', src.includes('Team Telepathy') || src.includes('team telepathy'));
|
|
16
|
-
check('Test 3 - memory_crystalize tool', src.includes('memory_crystalize'));
|
|
17
|
-
check('Test 4 - init team detection (~/.cachly-teams.json)', initSrc.includes('cachly-teams.json'));
|
|
18
|
-
check('Test 5 - brain_doctor workspace_path param', src.includes('workspace_path') && src.includes('brain_doctor'));
|
|
19
|
-
check('Bugfix - Pre-Warning uses splice(2,0)', src.includes('splice(2, 0'));
|
|
20
|
-
check('Bugfix - No broken unshift in pre-warning', !src.includes('lines.unshift('));
|
|
21
|
-
check('MCP version is 0.5.26', pkg.version === '0.5.26');
|
|
22
|
-
|
|
23
|
-
console.log(`\n${pass}/${pass+fail} tests passed`);
|