@staix/agent-mem 0.32.1 → 0.33.0
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/.claude-plugin/plugin.json +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/memory/platform.ts +3 -0
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Curated memory with append-only JSONL logs, a derived SQLite index, short- and long-term tiers, a typed graph, goals with leases, and git sync between machines. Extracted from [agent-hub](https://github.com/STAIxBWLB/agent-hub), with compatible storage and entry IDs.
|
|
4
4
|
|
|
5
5
|
<!-- facts:version -->
|
|
6
|
-
Version: 0.
|
|
6
|
+
Version: 0.33.0. Requires Bun 1.4.2 or later; no runtime dependencies.
|
|
7
7
|
<!-- /facts:version -->
|
|
8
8
|
|
|
9
9
|
## Quick start
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { HOST_API_VERSION, HOST_API_MIN } from "./memory/platform.ts";
|
|
1
2
|
export * from "./memory/store.ts";
|
|
2
3
|
// #431 / agent-hub#1522: hosts that run amem on an agent's behalf attribute its writes to that agent.
|
|
3
4
|
export { withCliAttribution, cliAttribution, noteDisplayActor, type CliAttribution } from "./memory/cli-attribution.ts";
|
package/src/memory/platform.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/** Current host-library API and the oldest host API this implementation supports. */
|
|
2
|
+
export const HOST_API_VERSION = 1 as const;
|
|
3
|
+
export const HOST_API_MIN = 1 as const;
|
|
1
4
|
// Single-source platform helpers. Hub, local and Pi modules re-export these functions unchanged.
|
|
2
5
|
import { lstatSync, realpathSync } from "node:fs";
|
|
3
6
|
import { basename, dirname, join, resolve, sep } from "node:path";
|