@tenphi/akno-client 0.8.0 → 0.9.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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -35,6 +35,18 @@ const timeline = await akno.timeline({
35
35
  });
36
36
  const retained = timeline.results.filter(isTimelineMemory);
37
37
 
38
+ // A stable external source can be retained replay-safely without copying stored source bytes.
39
+ await akno.retain({
40
+ sources: [
41
+ {
42
+ source_id: 'manual:1111',
43
+ revision: '1',
44
+ input: { page_slug: 'sources/zephyr-manual' },
45
+ retention: { mode: 'extract' },
46
+ },
47
+ ],
48
+ });
49
+
38
50
  // HTTP is public read-only on loopback by default. A configured bearer identity
39
51
  // grants exactly its server-owned actor and operation set.
40
52
  const remote = await connect({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenphi/akno-client",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Thin typed client for a running Akno service — identical interface to @tenphi/akno-core, no native dependencies",
5
5
  "license": "PolyForm-Noncommercial-1.0.0",
6
6
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@tenphi/akno-protocol": "0.8.0"
19
+ "@tenphi/akno-protocol": "0.9.0"
20
20
  },
21
21
  "engines": {
22
22
  "node": ">=22.18"