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.
- package/dist/npm-cli/src/version.js +1 -1
- package/package.json +1 -1
- package/release-manifest.json +1 -1
- package/src/mcp/server.ts +4 -1
- package/src/version.ts +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const WIKIMEMORY_VERSION = "0.2.
|
|
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
package/release-manifest.json
CHANGED
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.
|
|
1
|
+
export const WIKIMEMORY_VERSION = "0.2.12";
|
|
2
2
|
export const LATEST_SCHEMA_VERSION = "0004_credential_bound_registration_tokens.sql";
|