samemory 0.0.4 → 0.0.5
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/index.mjs +5 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -157,7 +157,7 @@ const Search = async ({ query, category, tags, limit }) => {
|
|
|
157
157
|
// src/main.ts
|
|
158
158
|
const server = new McpServer({
|
|
159
159
|
name: MCP_NAME,
|
|
160
|
-
version: "0.0.
|
|
160
|
+
version: "0.0.5"
|
|
161
161
|
});
|
|
162
162
|
server.registerTool("memory_get", {
|
|
163
163
|
description: "Get agent memory",
|
|
@@ -222,5 +222,8 @@ async function main() {
|
|
|
222
222
|
await server.connect(transport);
|
|
223
223
|
}
|
|
224
224
|
// src/index.ts
|
|
225
|
-
main()
|
|
225
|
+
main().catch((error) => {
|
|
226
|
+
console.error("[samemory] startup failed:", error);
|
|
227
|
+
process.exitCode = 1;
|
|
228
|
+
});
|
|
226
229
|
export {};
|