dsh-mnemon 0.5.14 → 0.5.15

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/lib/client.js CHANGED
@@ -7615,6 +7615,8 @@ window.__ModuleLoader__.load({
7615
7615
  });
7616
7616
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("main", {
7617
7617
  className: appearanceClass(MnemonView_module_css_default.shell, MnemonSidebarView_module_css_default.shell),
7618
+ "data-dsh-plugin": "dsh-mnemon",
7619
+ "data-dsh-part": "mnemon-view",
7618
7620
  "data-mnemon-surface": surface,
7619
7621
  children: [
7620
7622
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", {
package/lib/index.js CHANGED
@@ -7916,7 +7916,7 @@ function registerTools(ctx, runtimeSource, coordinator) {
7916
7916
  branches: {
7917
7917
  type: "array",
7918
7918
  items: { type: "string" },
7919
- description: "Optional git branch names restricting where a target=memory entry is injected. Omit for cross-branch facts; on replace an empty list clears the scope and an omitted list keeps it. Never accepted for target=user."
7919
+ description: "Optional git branch names restricting where a target=memory entry is injected. Omit for cross-branch facts; on replace an empty list clears the scope and an omitted list keeps it. For target=user, omit or pass []; non-empty branches are rejected."
7920
7920
  }
7921
7921
  },
7922
7922
  required: ["action", "target"]
@@ -7936,7 +7936,7 @@ function registerTools(ctx, runtimeSource, coordinator) {
7936
7936
  ...args.content === void 0 ? {} : { content: args.content },
7937
7937
  ...args.old_text === void 0 ? {} : { oldText: args.old_text },
7938
7938
  ...args.importance === void 0 ? {} : { importance: args.importance },
7939
- ...args.branches === void 0 ? {} : { branches: args.branches }
7939
+ ...args.branches === void 0 || args.target === "user" && Array.isArray(args.branches) && args.branches.length === 0 ? {} : { branches: args.branches }
7940
7940
  };
7941
7941
  return coordinator.runtime(requireAgent(exec), request, exec.signal);
7942
7942
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mnemon",
3
- "version": "0.5.14",
3
+ "version": "0.5.15",
4
4
  "description": "Composable three-tier memory control plane for DeepSeek Harness: persistent runtime context, searchable project documents, pluggable long-term memory, guarded strategies, WebUI, and headless tools.",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -152,9 +152,9 @@
152
152
  "dsh-mnemon-provider-supermemory": "0.5.4",
153
153
  "dsh-mnemon-source-documents": "0.5.6",
154
154
  "dsh-mnemon-source-memory-spaces": "0.5.9",
155
- "dsh-mnemon-source-runtime": "0.5.8",
155
+ "dsh-mnemon-source-runtime": "0.5.9",
156
156
  "dsh-mnemon-strategy-auto-capture": "0.5.4",
157
- "dsh-mnemon-strategy-default-three-tier": "0.5.5",
157
+ "dsh-mnemon-strategy-default-three-tier": "0.5.6",
158
158
  "dsh-mnemon-strategy-light-context": "0.5.4",
159
159
  "dsh-mnemon-strategy-scoped": "0.5.4",
160
160
  "fflate": "^0.8.3",