@hasna/mementos 0.14.36 → 0.14.38
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/LICENSE +2 -1
- package/README.md +16 -8
- package/dist/cli/index.js +11680 -5950
- package/dist/index.js +9032 -5546
- package/dist/mcp/index.js +12593 -6879
- package/dist/server/index.js +9110 -4722
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
Apache License
|
|
2
3
|
Version 2.0, January 2004
|
|
3
4
|
http://www.apache.org/licenses/
|
|
@@ -175,7 +176,7 @@
|
|
|
175
176
|
|
|
176
177
|
END OF TERMS AND CONDITIONS
|
|
177
178
|
|
|
178
|
-
Copyright
|
|
179
|
+
Copyright 2026 Hasna, Inc.
|
|
179
180
|
|
|
180
181
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
182
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -25,6 +25,18 @@ mementos-mcp
|
|
|
25
25
|
|
|
26
26
|
116 tools available.
|
|
27
27
|
|
|
28
|
+
## HTTP mode
|
|
29
|
+
|
|
30
|
+
Run a shared Streamable HTTP MCP server (stateless, `127.0.0.1` only):
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
mementos-mcp --http
|
|
34
|
+
# or: MCP_HTTP=1 mementos-mcp
|
|
35
|
+
# default port: 8824 (override with --port or MCP_HTTP_PORT)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Endpoints: `GET /health`, `POST /mcp` (Streamable HTTP).
|
|
39
|
+
|
|
28
40
|
## REST API
|
|
29
41
|
|
|
30
42
|
```bash
|
|
@@ -33,16 +45,12 @@ mementos-serve
|
|
|
33
45
|
|
|
34
46
|
## Cloud Sync
|
|
35
47
|
|
|
36
|
-
This package
|
|
37
|
-
`~/.hasna/mementos/`; remote sync uses PostgreSQL when
|
|
38
|
-
`HASNA_MEMENTOS_CLOUD_DATABASE_URL` is set or
|
|
39
|
-
`~/.hasna/mementos/cloud/config.json` is configured.
|
|
48
|
+
This package supports cloud sync via `@hasna/cloud`:
|
|
40
49
|
|
|
41
50
|
```bash
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
mementos cloud pull
|
|
51
|
+
cloud setup
|
|
52
|
+
cloud sync push --service mementos
|
|
53
|
+
cloud sync pull --service mementos
|
|
46
54
|
```
|
|
47
55
|
|
|
48
56
|
## Data Directory
|