@memstack/server 0.8.0 → 0.8.1

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -7,7 +7,7 @@ REST API server for MemStack — self-hostable agent memory. Runs on Node.js 22+
7
7
  ```bash
8
8
  npm install @memstack/server
9
9
  # or via Docker:
10
- docker pull ghcr.io/isiomac/memstack-server:0.8.0
10
+ docker pull ghcr.io/isiomac/memstack-server:0.8.1
11
11
  ```
12
12
 
13
13
  ## Quick Start
@@ -89,6 +89,8 @@ curl -X POST http://localhost:3000/v1/memories \
89
89
  # ]}
90
90
  ```
91
91
 
92
+ `memoryType` accepts `interaction`, `summary`, `observation`, `fact`, `reflection`, `preference`, `decision`, and `instruction`.
93
+
92
94
  `GET /openapi.json` serves the generated OpenAPI 3.1 document — paste it into [Swagger UI](https://swagger.io/tools/swagger-ui/), [Redoc](https://redocly.com/redoc), or Postman, or run it through an OpenAPI code generator to get a typed client in any language. The request-body schemas in the spec come from the same zod schemas that validate incoming requests, so they can't drift apart.
93
95
 
94
96
  Note: `POST /v1/prune` and `/v1/prune/dry-run` support every `PruneStrategy` type except `"custom"` — a custom prune strategy is a JavaScript predicate function, which can't be expressed in JSON. Use the `@memstack/core` library directly for custom prune logic.
@@ -125,7 +127,7 @@ docker run -p 3000:3000 \
125
127
  -e MEMSTACK_STORAGE=postgres \
126
128
  -e DATABASE_URL=postgresql://... \
127
129
  -e OPENAI_API_KEY=sk-... \
128
- ghcr.io/isiomac/memstack-server:0.8.0
130
+ ghcr.io/isiomac/memstack-server:0.8.1
129
131
  ```
130
132
 
131
133
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memstack/server",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "REST API server for MemStack — self-hostable agent memory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -33,14 +33,14 @@
33
33
  "hono": "^4.0.0",
34
34
  "zod": "^3.23.8",
35
35
  "zod-to-json-schema": "^3.25.2",
36
- "@memstack/core": "0.8.0"
36
+ "@memstack/core": "0.8.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^22.0.0",
40
40
  "tsup": "^8.0.0",
41
41
  "typescript": "^5.7.0",
42
42
  "vitest": "^1.0.0",
43
- "@memstack/config-env": "0.8.0"
43
+ "@memstack/config-env": "0.8.1"
44
44
  },
45
45
  "keywords": [
46
46
  "api",