samemory 0.0.4 → 0.0.6
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 +6 -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",
|
|
@@ -220,7 +220,11 @@ server.registerTool("memory_search", {
|
|
|
220
220
|
async function main() {
|
|
221
221
|
const transport = new StdioServerTransport();
|
|
222
222
|
await server.connect(transport);
|
|
223
|
+
console.log("Done Start up MCP");
|
|
223
224
|
}
|
|
224
225
|
// src/index.ts
|
|
225
|
-
main()
|
|
226
|
+
main().catch((error) => {
|
|
227
|
+
console.error("[samemory] startup failed:", error);
|
|
228
|
+
process.exitCode = 1;
|
|
229
|
+
});
|
|
226
230
|
export {};
|