wikimemory 0.2.11 → 0.2.12

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.
@@ -1,2 +1,2 @@
1
- export const WIKIMEMORY_VERSION = "0.2.11";
1
+ export const WIKIMEMORY_VERSION = "0.2.12";
2
2
  export const LATEST_SCHEMA_VERSION = "0004_credential_bound_registration_tokens.sql";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wikimemory",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Personal, passkey-protected memory for Claude, Codex, and other MCP clients",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.11",
2
+ "version": "0.2.12",
3
3
  "schemaVersion": "0004_credential_bound_registration_tokens.sql",
4
4
  "migrations": [
5
5
  {
package/src/mcp/server.ts CHANGED
@@ -57,8 +57,11 @@ function textContent(text: string): { type: "text"; text: string } {
57
57
  }
58
58
 
59
59
  function toolResult<T extends Record<string, unknown>>(value: T, message: string) {
60
+ // content[0] is the human-readable summary. content[1] is the MCP-recommended
61
+ // serialized fallback for clients that do not surface structuredContent.
62
+ // storedDataResult adds explicit untrusted-data framing to both representations.
60
63
  return {
61
- content: [textContent(message)],
64
+ content: [textContent(message), textContent(JSON.stringify(value))],
62
65
  structuredContent: value
63
66
  };
64
67
  }
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
- export const WIKIMEMORY_VERSION = "0.2.11";
1
+ export const WIKIMEMORY_VERSION = "0.2.12";
2
2
  export const LATEST_SCHEMA_VERSION = "0004_credential_bound_registration_tokens.sql";