@membank/cli 0.0.0 → 0.0.2

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.mjs +2 -5
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -674,10 +674,7 @@ var SetupOrchestrator = class {
674
674
  };
675
675
  //#endregion
676
676
  //#region src/index.ts
677
- if (process.argv.includes("--mcp")) {
678
- await startServer();
679
- process.exit(0);
680
- }
677
+ if (process.argv.includes("--mcp")) await startServer();
681
678
  const program = new Command();
682
679
  program.name("membank").description("LLM memory management system").option("--json", "emit machine-readable JSON only").option("-y, --yes", "skip all confirmation prompts").option("--mcp", "start the MCP stdio server (for harness integration)");
683
680
  program.command("query <queryText>").description("search memories by semantic similarity").option("--type <type>", "filter by memory type (correction|preference|decision|learning|fact)").option("--limit <n>", "maximum number of results", "10").action(async (queryText, cmdOptions) => {
@@ -815,6 +812,6 @@ program.on("command:*", () => {
815
812
  program.outputHelp();
816
813
  process.exit(1);
817
814
  });
818
- program.parse(process.argv);
815
+ if (!process.argv.includes("--mcp")) program.parse(process.argv);
819
816
  //#endregion
820
817
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@membank/cli",
3
- "version": "0.0.0",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,8 +17,8 @@
17
17
  "@huggingface/transformers": "^4.2.0",
18
18
  "commander": "^14.0.3",
19
19
  "ora": "^9.4.0",
20
- "@membank/core": "0.0.0",
21
- "@membank/mcp": "0.0.0"
20
+ "@membank/core": "0.0.2",
21
+ "@membank/mcp": "0.0.2"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^25.6.0",