prism-coder 20.11.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/bin/prism-cli.js +17 -0
- package/bin/prism-coder.js +20 -0
- package/package.json +44 -0
package/bin/prism-cli.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Thin shim — delegates to prism-mcp-server's CLI (prism connect, route-prompt, …).
|
|
3
|
+
import { createRequire } from 'module';
|
|
4
|
+
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
|
|
7
|
+
let cliPath;
|
|
8
|
+
try {
|
|
9
|
+
cliPath = require.resolve('prism-mcp-server/dist/cli.js');
|
|
10
|
+
} catch {
|
|
11
|
+
process.stderr.write(
|
|
12
|
+
'prism-coder: could not resolve prism-mcp-server. Run: npm install\n'
|
|
13
|
+
);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
await import(cliPath);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Thin shim — delegates to prism-mcp-server's compiled server entry point.
|
|
3
|
+
import { createRequire } from 'module';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
import { join, dirname } from 'path';
|
|
6
|
+
|
|
7
|
+
const require = createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// Resolve prism-mcp-server relative to this package's node_modules
|
|
10
|
+
let serverPath;
|
|
11
|
+
try {
|
|
12
|
+
serverPath = require.resolve('prism-mcp-server/dist/server.js');
|
|
13
|
+
} catch {
|
|
14
|
+
process.stderr.write(
|
|
15
|
+
'prism-coder: could not resolve prism-mcp-server. Run: npm install\n'
|
|
16
|
+
);
|
|
17
|
+
process.exit(1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
await import(serverPath);
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prism-coder",
|
|
3
|
+
"version": "20.11.0",
|
|
4
|
+
"description": "Prism Coder \u2014 Local LLM fleet + MCP cognitive memory for AI agents. Wraps prism-mcp-server with the prism-coder brand CLI. Install once, run anywhere.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"prism": "bin/prism-cli.js",
|
|
8
|
+
"prism-coder": "bin/prism-coder.js",
|
|
9
|
+
"prism-mcp-server": "bin/prism-coder.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"bin"
|
|
13
|
+
],
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"prism-mcp-server": "^20.11.0"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"mcp",
|
|
19
|
+
"mcp-server",
|
|
20
|
+
"model-context-protocol",
|
|
21
|
+
"ai-agent",
|
|
22
|
+
"session-memory",
|
|
23
|
+
"agent-memory",
|
|
24
|
+
"mind-palace",
|
|
25
|
+
"local-first",
|
|
26
|
+
"llm",
|
|
27
|
+
"prism-coder",
|
|
28
|
+
"cognitive-memory",
|
|
29
|
+
"claude-desktop",
|
|
30
|
+
"cursor",
|
|
31
|
+
"windsurf",
|
|
32
|
+
"cline"
|
|
33
|
+
],
|
|
34
|
+
"homepage": "https://github.com/dcostenco/prism-coder",
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/dcostenco/prism-coder.git"
|
|
38
|
+
},
|
|
39
|
+
"author": "Dmitri Costenco",
|
|
40
|
+
"license": "Apache-2.0",
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=18"
|
|
43
|
+
}
|
|
44
|
+
}
|