Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to MeMesh are documented here.

### Fixed

- Importing with `overwrite` (MCP `import`, `POST /v1/import`, `memesh import --merge overwrite`) now keeps the memory's previous observations, tags and title in its `replaced_history`, the same way `remember` with `replace: true` does. Before, the old content was erased with no way back. Importing a file that names one memory more than once is refused before anything is written (#530).
- A message sent through the MCP `message` tool keeps every `null` in its JSON payload. Before, the MCP boundary removed each null-valued key at any depth of the payload while `send` still reported success, so the recipient got different data than the CLI or HTTP would have stored (#517). A null-valued top-level tool parameter still means "left blank", except `payload`, whose null is a value (#553).
- The MCP `message` tool accepts `payload: null` on `send`, as its schema and the HTTP API already did; it was refused with `payload: Invalid input` (#553).

Expand Down
10 changes: 1 addition & 9 deletions dist/core/operations.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import { type RecallForAgentResult } from './recall-agent-view.js';
import type { RememberInput, RememberResult, RecallInput, ForgetInput, ForgetResult, LearnInput, LearnResult, Entity } from './types.js';
export { REPLACED_HISTORY_MAX, REPLACED_HISTORY_MAX_BYTES, type ReplacedVersion } from './replaced-history.js';
export declare function remember(input: RememberInput): RememberResult;
export declare const REPLACED_HISTORY_MAX = 20;
export declare const REPLACED_HISTORY_MAX_BYTES: number;
export interface ReplacedVersion {
replaced_at: string;
title: string | null;
observations: string[];
tags: string[];
truncated?: boolean;
}
export declare function recall(args: RecallInput): Entity[];
export interface RetrievalMeta {
mode: 'fts';
Expand Down
2 changes: 1 addition & 1 deletion dist/core/operations.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 2 additions & 20 deletions dist/core/operations.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core/operations.js.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions dist/core/replaced-history.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export interface ReplacedVersion {
replaced_at: string;
title: string | null;
observations: string[];
tags: string[];
truncated?: boolean;
}
export declare const REPLACED_HISTORY_MAX = 20;
export declare const REPLACED_HISTORY_MAX_BYTES: number;
export declare function boundReplacedHistory(history: ReplacedVersion[]): ReplacedVersion[];
//# sourceMappingURL=replaced-history.d.ts.map
1 change: 1 addition & 0 deletions dist/core/replaced-history.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions dist/core/replaced-history.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/core/replaced-history.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/core/schema-export.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core/schema-export.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core/serializer.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 41 additions & 1 deletion dist/core/serializer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading