@agentage/server-memory 0.13.2 → 0.13.3
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/README.md +3 -17
- package/dist/bin/server-memory.js +2 -2
- package/dist/bin/server-memory.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,25 +12,11 @@ All memory logic (backends, git, search, routing) lives in `@agentage/memory-cor
|
|
|
12
12
|
## Use it
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
# one-time, offline: scaffold ~/.agentage + a starter vault
|
|
16
|
-
# (memory-core's `init`, also surfaced by the agentage CLI)
|
|
15
|
+
# one-time, offline: scaffold ~/.agentage + a starter vault (memory-core's `init`)
|
|
17
16
|
npx @agentage/server-memory # serves ~/.agentage/vaults.json over stdio
|
|
18
17
|
```
|
|
19
18
|
|
|
20
|
-
Point any stdio MCP client (Windsurf, Zed, Claude Desktop) at `npx @agentage/server-memory`.
|
|
21
|
-
|
|
22
|
-
## Reused by the CLI daemon
|
|
23
|
-
|
|
24
|
-
The server builder is transport-agnostic, so the agentage CLI reuses the exact same
|
|
25
|
-
pieces and only swaps the transport:
|
|
26
|
-
|
|
27
|
-
```ts
|
|
28
|
-
import { createMemoryServer, loadLocalServer } from '@agentage/server-memory';
|
|
29
|
-
|
|
30
|
-
// stdio bin: await (await loadLocalServer()).connect(new StdioServerTransport());
|
|
31
|
-
// CLI daemon: const server = createMemoryServer(registry, { scope: 'local' });
|
|
32
|
-
// await server.connect(new StreamableHTTPServerTransport(...));
|
|
33
|
-
```
|
|
19
|
+
Point any stdio MCP client (VS Code, Windsurf, Zed, Claude Desktop) at `npx @agentage/server-memory`.
|
|
34
20
|
|
|
35
21
|
## Telemetry (optional, off by default)
|
|
36
22
|
|
|
@@ -39,7 +25,7 @@ dependency, because `npx @agentage/server-memory` should stay a small cold start
|
|
|
39
25
|
alongside and the bin picks it up on its own - traces and one wide event per tool call:
|
|
40
26
|
|
|
41
27
|
```bash
|
|
42
|
-
npm i -g @agentage/observability
|
|
28
|
+
npm i -g @agentage/observability
|
|
43
29
|
```
|
|
44
30
|
|
|
45
31
|
Absent, the server behaves exactly as before (`AGENTAGE_DEBUG=1` prints one stderr line saying the
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
// stdout is the JSON-RPC wire; all diagnostics MUST go to stderr.
|
|
9
9
|
const reason = (err) => (err instanceof Error ? err.message : String(err));
|
|
10
10
|
// Optional observability. @agentage/observability is deliberately NOT a dependency: this package is
|
|
11
|
-
// run through `npx`, and the kit would triple a cold start's install. Installed alongside (
|
|
12
|
-
//
|
|
11
|
+
// run through `npx`, and the kit would triple a cold start's install. Installed alongside (e.g.
|
|
12
|
+
// globally) its bootstrap adds tool spans, wide events and crash capture; absent, it
|
|
13
13
|
// is a silent skip. Either way stdout stays the JSON-RPC wire - the kit logs to stderr only, and
|
|
14
14
|
// stays inert until OTEL_EXPORTER_OTLP_ENDPOINT names a collector.
|
|
15
15
|
const startObservability = async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-memory.js","sourceRoot":"","sources":["../../src/bin/server-memory.ts"],"names":[],"mappings":";AACA,kFAAkF;AAClF,qEAAqE;AACrE,qFAAqF;AACrF,sFAAsF;AACtF,gDAAgD;AAChD,EAAE;AACF,kEAAkE;AAElE,MAAM,MAAM,GAAG,CAAC,GAAY,EAAU,EAAE,CAAC,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AAE5F,oGAAoG;AACpG,
|
|
1
|
+
{"version":3,"file":"server-memory.js","sourceRoot":"","sources":["../../src/bin/server-memory.ts"],"names":[],"mappings":";AACA,kFAAkF;AAClF,qEAAqE;AACrE,qFAAqF;AACrF,sFAAsF;AACtF,gDAAgD;AAChD,EAAE;AACF,kEAAkE;AAElE,MAAM,MAAM,GAAG,CAAC,GAAY,EA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,GAAG,MAAM,eAAe,EAAE,CAAC;IACvC,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,oBAAoB,EAAE,CAAC,CAAC;IACjD,kFAAkF;AACpF,CAAC,CAAC;AAEF,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;IAC5B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,0BAA0B,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAChE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentage/server-memory",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "The agentage Memory MCP server: exposes your local vaults as the frozen 6 memory__* tools over stdio. The open, cross-vendor counterpart to @modelcontextprotocol/server-memory.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|