dsh-mnemon 0.5.3 → 0.5.4

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/index.js CHANGED
@@ -1253,7 +1253,7 @@ function runtimeArea(root) {
1253
1253
  };
1254
1254
  }
1255
1255
  }
1256
- function memoryBodiesArea(root) {
1256
+ function memorySpacesArea(root) {
1257
1257
  const path = join(root, "data");
1258
1258
  if (!existsSync(path)) return missing("memory-bodies", path);
1259
1259
  try {
@@ -1275,7 +1275,7 @@ function memoryBodiesArea(root) {
1275
1275
  databases: databaseCount,
1276
1276
  registry: existsSync(registryPath)
1277
1277
  },
1278
- ...invalidRegistry ? { issue: "memory-body registry is invalid" } : {}
1278
+ ...invalidRegistry ? { issue: "memory-space registry is invalid" } : {}
1279
1279
  };
1280
1280
  } catch (error) {
1281
1281
  return {
@@ -1374,7 +1374,7 @@ function inspect(kind, rawRoot, activeRoot) {
1374
1374
  const root = canonical(rawRoot);
1375
1375
  const areas = [
1376
1376
  runtimeArea(root),
1377
- memoryBodiesArea(root),
1377
+ memorySpacesArea(root),
1378
1378
  documentsArea(root),
1379
1379
  stateArea(root)
1380
1380
  ];
@@ -2273,7 +2273,7 @@ function clip(value, max = 600) {
2273
2273
  }
2274
2274
  function insightLine(insight, index) {
2275
2275
  const meta = [
2276
- insight.memoryBodyId === void 0 ? void 0 : `body=${insight.memoryBodyId}`,
2276
+ insight.memoryBodyId === void 0 ? void 0 : `space=${insight.memoryBodyId}`,
2277
2277
  insight.category,
2278
2278
  insight.score === void 0 ? void 0 : `score=${insight.score.toFixed(3)}`,
2279
2279
  insight.depth === void 0 ? void 0 : `depth=${insight.depth}`
@@ -2359,7 +2359,7 @@ async function execute(serviceOrSource, coordinator, invocation) {
2359
2359
  }, invocation.signal);
2360
2360
  return {
2361
2361
  kind: "success",
2362
- text: `Mnemon 记忆 Agent 已处理:${result.action}${result.memoryBodyIds.length === 0 ? "" : ` · 记忆体 ${result.memoryBodyIds.join(", ")}`}${result.summary === "" ? "" : `\n${result.summary}`}`
2362
+ text: `Mnemon 记忆 Agent 已处理:${result.action}${result.memoryBodyIds.length === 0 ? "" : ` · 记忆空间 ${result.memoryBodyIds.join(", ")}`}${result.summary === "" ? "" : `\n${result.summary}`}`
2363
2363
  };
2364
2364
  }
2365
2365
  case "forget":
@@ -256,6 +256,7 @@ export declare const zh: {
256
256
  'status.storageNotCreated': string;
257
257
  'status.storageRuntime': string;
258
258
  'status.storageBodies': string;
259
+ 'status.storageSpaces': string;
259
260
  'status.storageDocuments': string;
260
261
  'status.storageState': string;
261
262
  'status.storageReady': string;
@@ -265,6 +266,7 @@ export declare const zh: {
265
266
  'status.storageItems': string;
266
267
  'status.storageRuntimeDetail': string;
267
268
  'status.storageBodiesDetail': string;
269
+ 'status.storageSpacesDetail': string;
268
270
  'status.storageDocumentsDetail': string;
269
271
  'status.storageStateReady': string;
270
272
  'status.storageStateVolatile': string;
@@ -853,6 +855,16 @@ export declare const zh: {
853
855
  "content.showMore": string;
854
856
  "content.emptyTitle": string;
855
857
  "content.emptyText": string;
858
+ "nav.spaces": string;
859
+ "overview.editSpace": string;
860
+ "overview.editSpaceAria": string;
861
+ "overview.saveSpace": string;
862
+ "overview.savingSpace": string;
863
+ "overview.deleteSpace": string;
864
+ "overview.deleteSpaceAria": string;
865
+ "overview.disconnectSpace": string;
866
+ "overview.disconnectSpaceAria": string;
867
+ "overview.deletingSpace": string;
856
868
  "nav.documents": string;
857
869
  "documents.title": string;
858
870
  "documents.description": string;
@@ -1217,6 +1229,7 @@ export declare const en: {
1217
1229
  'status.storageNotCreated': string;
1218
1230
  'status.storageRuntime': string;
1219
1231
  'status.storageBodies': string;
1232
+ 'status.storageSpaces': string;
1220
1233
  'status.storageDocuments': string;
1221
1234
  'status.storageState': string;
1222
1235
  'status.storageReady': string;
@@ -1226,6 +1239,7 @@ export declare const en: {
1226
1239
  'status.storageItems': string;
1227
1240
  'status.storageRuntimeDetail': string;
1228
1241
  'status.storageBodiesDetail': string;
1242
+ 'status.storageSpacesDetail': string;
1229
1243
  'status.storageDocumentsDetail': string;
1230
1244
  'status.storageStateReady': string;
1231
1245
  'status.storageStateVolatile': string;
@@ -1814,6 +1828,16 @@ export declare const en: {
1814
1828
  "content.showMore": string;
1815
1829
  "content.emptyTitle": string;
1816
1830
  "content.emptyText": string;
1831
+ "nav.spaces": string;
1832
+ "overview.editSpace": string;
1833
+ "overview.editSpaceAria": string;
1834
+ "overview.saveSpace": string;
1835
+ "overview.savingSpace": string;
1836
+ "overview.deleteSpace": string;
1837
+ "overview.deleteSpaceAria": string;
1838
+ "overview.disconnectSpace": string;
1839
+ "overview.disconnectSpaceAria": string;
1840
+ "overview.deletingSpace": string;
1817
1841
  "nav.documents": string;
1818
1842
  "documents.title": string;
1819
1843
  "documents.description": string;
@@ -16,7 +16,7 @@ export interface MemoryCompositionStatus {
16
16
  configuration: ResolvedMemoryTopologyConfig;
17
17
  }
18
18
  import type { RecallQualityConfig, ResolvedRecallQualityConfig, MnemonEmbeddingConfig, ResolvedMnemonEmbeddingConfig } from 'dsh-mnemon-source-memory-spaces/contracts';
19
- import type { MemoryPersistenceStrategy, ResolvedMemoryPersistenceStrategy, MemoryProviderRuntimeStatus, MemoryBodyStats, MemoryBodyView } from 'dsh-mnemon-source-memory-spaces/contracts';
19
+ import type { MemoryPersistenceStrategy, ResolvedMemoryPersistenceStrategy, MemoryProviderRuntimeStatus, MemoryBodyStats as MemorySpaceStats, MemoryBodyView as MemorySpaceView } from 'dsh-mnemon-source-memory-spaces/contracts';
20
20
  import type { ConnectionHandle as DshClientConnectionHandle } from '@deepseek-ai/dsh-client-connection/client';
21
21
  import type { DocumentSnapshot } from 'dsh-mnemon-source-documents/contracts';
22
22
  export declare const MNEMON_READ_CHANNEL = "/dsh-mnemon-read";
@@ -440,7 +440,7 @@ export interface StatusView {
440
440
  defaultRecallLimit: number;
441
441
  recallQuality: ResolvedRecallQualityConfig;
442
442
  memoryBodyDirectory: string;
443
- memoryBodies: MemoryBodyView[];
443
+ memoryBodies: MemorySpaceView[];
444
444
  providerServices?: MemoryProviderRuntimeStatus[];
445
445
  memorySystem?: MemoryCompositionStatus;
446
446
  lifecycle?: LifecycleSnapshot;
@@ -462,7 +462,7 @@ export interface StatusView {
462
462
  path: string;
463
463
  };
464
464
  };
465
- stats?: MemoryBodyStats & {
465
+ stats?: MemorySpaceStats & {
466
466
  dbPath?: string;
467
467
  };
468
468
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mnemon",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
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",
@@ -138,22 +138,22 @@
138
138
  "release:check": "node scripts/release.mjs --check"
139
139
  },
140
140
  "dependencies": {
141
- "dsh-mnemon-provider-byterover": "0.5.3",
142
- "dsh-mnemon-provider-hindsight": "0.5.3",
143
- "dsh-mnemon-provider-holographic": "0.5.3",
144
- "dsh-mnemon-provider-honcho": "0.5.3",
145
- "dsh-mnemon-provider-mem0": "0.5.3",
146
- "dsh-mnemon-provider-mnemon-native": "0.5.3",
147
- "dsh-mnemon-provider-openviking": "0.5.3",
148
- "dsh-mnemon-provider-retaindb": "0.5.3",
149
- "dsh-mnemon-provider-supermemory": "0.5.3",
150
- "dsh-mnemon-source-documents": "0.5.3",
151
- "dsh-mnemon-source-memory-spaces": "0.5.3",
152
- "dsh-mnemon-source-runtime": "0.5.3",
153
- "dsh-mnemon-strategy-auto-capture": "0.5.3",
154
- "dsh-mnemon-strategy-default-three-tier": "0.5.3",
155
- "dsh-mnemon-strategy-light-context": "0.5.3",
156
- "dsh-mnemon-strategy-scoped": "0.5.3",
141
+ "dsh-mnemon-provider-byterover": "0.5.4",
142
+ "dsh-mnemon-provider-hindsight": "0.5.4",
143
+ "dsh-mnemon-provider-holographic": "0.5.4",
144
+ "dsh-mnemon-provider-honcho": "0.5.4",
145
+ "dsh-mnemon-provider-mem0": "0.5.4",
146
+ "dsh-mnemon-provider-mnemon-native": "0.5.4",
147
+ "dsh-mnemon-provider-openviking": "0.5.4",
148
+ "dsh-mnemon-provider-retaindb": "0.5.4",
149
+ "dsh-mnemon-provider-supermemory": "0.5.4",
150
+ "dsh-mnemon-source-documents": "0.5.4",
151
+ "dsh-mnemon-source-memory-spaces": "0.5.4",
152
+ "dsh-mnemon-source-runtime": "0.5.4",
153
+ "dsh-mnemon-strategy-auto-capture": "0.5.4",
154
+ "dsh-mnemon-strategy-default-three-tier": "0.5.4",
155
+ "dsh-mnemon-strategy-light-context": "0.5.4",
156
+ "dsh-mnemon-strategy-scoped": "0.5.4",
157
157
  "fflate": "^0.8.3",
158
158
  "schemastery": "^3.18.0",
159
159
  "zod": "^4.4.3"