opencode-mempalace 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12509,11 +12509,7 @@ async function checkAndUpdate(runInstall) {
12509
12509
  }
12510
12510
 
12511
12511
  // src/index.ts
12512
- var DEFAULT_MCP_COMMAND = [
12513
- "bun",
12514
- "run",
12515
- "/home/dat/mempalace-js/src/mcp-server.ts"
12516
- ];
12512
+ var DEFAULT_MCP_COMMAND = ["npx", "-y", "-p", "@nguyentamdat/mempalace", "mempalace-mcp"];
12517
12513
  var PALACE_PROTOCOL = `IMPORTANT \u2014 MemPalace Memory Protocol:
12518
12514
  1. ON WAKE-UP: Call mempalace_status to load palace overview + AAAK spec.
12519
12515
  2. BEFORE RESPONDING about any person, project, or past event: call mempalace_kg_query or mempalace_search FIRST. Never guess \u2014 verify.
@@ -12530,7 +12526,8 @@ On session start, load mempalace context by calling these tools directly (do NOT
12530
12526
 
12531
12527
  Call both in parallel. If either fails (ChromaDB not running), skip silently and continue.
12532
12528
  Use the results to inform your responses \u2014 do not announce or summarize them unless the user asks.
12533
- Proceed with the user's request immediately.`;
12529
+ Proceed with the user's request immediately.
12530
+ <!-- MEMPALACE -->`;
12534
12531
  var mempalacePlugin = async (input, options) => {
12535
12532
  const opts = options ?? {};
12536
12533
  const mcpCommand = opts.mcpCommand ?? DEFAULT_MCP_COMMAND;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-mempalace",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "OpenCode plugin for MemPalace memory system — auto-registers MCP server, injects memory protocol into system prompt, and loads context on session start",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",