@pyxmate/memory 0.36.0 → 0.37.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/dist/cli/pyx-mem.mjs +10 -2
- package/package.json +1 -1
package/dist/cli/pyx-mem.mjs
CHANGED
|
@@ -1336,7 +1336,7 @@ var ALL_TOOL_NAMES = ALL_TOOLS.map((t) => t.name);
|
|
|
1336
1336
|
// src/mcp/server.ts
|
|
1337
1337
|
async function runMcpServer(opts) {
|
|
1338
1338
|
const fetchImpl = opts.fetchImpl ?? fetch;
|
|
1339
|
-
const version = opts.version ?? (true ? "0.
|
|
1339
|
+
const version = opts.version ?? (true ? "0.37.0" : "0.0.0-dev");
|
|
1340
1340
|
const server = new McpServer(
|
|
1341
1341
|
{ name: "pyx-memory", version },
|
|
1342
1342
|
{ instructions: PYX_MEMORY_INSTRUCTIONS, capabilities: { tools: {} } }
|
|
@@ -1702,6 +1702,13 @@ function mcpInstallPiCommand(opts = {}) {
|
|
|
1702
1702
|
prereq: "pi has no native MCP support \u2014 install the third-party adapter once:\n pi install npm:pi-mcp-adapter"
|
|
1703
1703
|
});
|
|
1704
1704
|
}
|
|
1705
|
+
function mcpInstallOhMyPiCommand(opts = {}) {
|
|
1706
|
+
const scope = opts.scope ?? "user";
|
|
1707
|
+
if (!validateScope(scope)) return EXIT.USAGE;
|
|
1708
|
+
const home = opts._homeDir ?? homedir();
|
|
1709
|
+
const filePath = scope === "user" ? join(home, ".omp", "agent", "mcp.json") : join(process.cwd(), ".omp", "mcp.json");
|
|
1710
|
+
return writeJsonAndReport(filePath, "oh-my-pi");
|
|
1711
|
+
}
|
|
1705
1712
|
function mcpInstallOpenClawCommand(opts = {}) {
|
|
1706
1713
|
const scope = opts.scope ?? "user";
|
|
1707
1714
|
if (!validateScope(scope)) return EXIT.USAGE;
|
|
@@ -1877,7 +1884,7 @@ Commands:
|
|
|
1877
1884
|
mcp Start stdio MCP server.
|
|
1878
1885
|
mcp install <target> [--scope user|local|project]
|
|
1879
1886
|
Install pyx-memory MCP config for your AI agent.
|
|
1880
|
-
Targets: claude-code, codex, cursor, cline, continue, windsurf, gemini-cli, pi, openclaw, hermes.
|
|
1887
|
+
Targets: claude-code, codex, cursor, cline, continue, windsurf, gemini-cli, pi, oh-my-pi, openclaw, hermes.
|
|
1881
1888
|
|
|
1882
1889
|
Notes:
|
|
1883
1890
|
- Credentials are stored only in the OS credential store (Keychain / libsecret / Credential Manager).
|
|
@@ -1939,6 +1946,7 @@ var INSTALL_TARGETS = {
|
|
|
1939
1946
|
windsurf: mcpInstallWindsurfCommand,
|
|
1940
1947
|
"gemini-cli": mcpInstallGeminiCliCommand,
|
|
1941
1948
|
pi: mcpInstallPiCommand,
|
|
1949
|
+
"oh-my-pi": mcpInstallOhMyPiCommand,
|
|
1942
1950
|
openclaw: mcpInstallOpenClawCommand,
|
|
1943
1951
|
hermes: mcpInstallHermesCommand
|
|
1944
1952
|
};
|