@hasna/mementos 0.4.33 → 0.4.34

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/cli/index.js +18 -1
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -5662,6 +5662,23 @@ program2.command("doctor").description("Diagnose common issues with the mementos
5662
5662
  } catch (e) {
5663
5663
  checks.push({ name: "Projects", status: "fail", detail: e instanceof Error ? e.message : String(e) });
5664
5664
  }
5665
+ try {
5666
+ const activeProfile = getActiveProfile();
5667
+ const profiles = listProfiles();
5668
+ if (activeProfile) {
5669
+ checks.push({ name: "Active profile", status: "ok", detail: `${activeProfile} (${profiles.length} total)` });
5670
+ } else {
5671
+ checks.push({ name: "Active profile", status: "ok", detail: `default (~/.mementos/mementos.db) \u2014 ${profiles.length} profile(s) available` });
5672
+ }
5673
+ } catch (e) {
5674
+ checks.push({ name: "Active profile", status: "warn", detail: e instanceof Error ? e.message : String(e) });
5675
+ }
5676
+ try {
5677
+ const mementosUrl = process.env["MEMENTOS_URL"] || `http://127.0.0.1:19428`;
5678
+ checks.push({ name: "REST server URL", status: "ok", detail: `${mementosUrl} (use 'mementos-serve' to start)` });
5679
+ } catch {
5680
+ checks.push({ name: "REST server URL", status: "ok", detail: "http://127.0.0.1:19428" });
5681
+ }
5665
5682
  outputDoctorResults(globalOpts, checks);
5666
5683
  });
5667
5684
  function outputDoctorResults(globalOpts, checks) {
@@ -6467,7 +6484,7 @@ function diffLines(oldText, newText) {
6467
6484
  }
6468
6485
  }
6469
6486
  program2.command("completions <shell>").description("Output shell completion script (bash, zsh, fish)").action((shell) => {
6470
- const commands = "save recall list update forget search stats export import clean inject context pin unpin doctor tail diff init agents projects bulk completions config backup restore";
6487
+ const commands = "save recall list update forget search stats export import clean inject context pin unpin doctor tail diff init agents projects bulk completions config backup restore report profile mcp";
6471
6488
  const commandList = commands.split(" ");
6472
6489
  switch (shell.toLowerCase()) {
6473
6490
  case "bash": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/mementos",
3
- "version": "0.4.33",
3
+ "version": "0.4.34",
4
4
  "description": "Universal memory system for AI agents - CLI + MCP server + library API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",