@tenphi/akno-client 0.8.0 → 0.10.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/README.md +17 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,6 +35,23 @@ const timeline = await akno.timeline({
|
|
|
35
35
|
});
|
|
36
36
|
const retained = timeline.results.filter(isTimelineMemory);
|
|
37
37
|
|
|
38
|
+
const exact = await akno.read({ slug: 'products/zephyr-qx-100' });
|
|
39
|
+
if (exact.status === 'degraded' && exact.degraded?.includes('source_conflict')) {
|
|
40
|
+
// Repair the Markdown conflict and re-index before treating this page as current evidence.
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// A stable external source can be retained replay-safely without copying stored source bytes.
|
|
44
|
+
await akno.retain({
|
|
45
|
+
sources: [
|
|
46
|
+
{
|
|
47
|
+
source_id: 'manual:1111',
|
|
48
|
+
revision: '1',
|
|
49
|
+
input: { page_slug: 'sources/zephyr-manual' },
|
|
50
|
+
retention: { mode: 'extract' },
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
});
|
|
54
|
+
|
|
38
55
|
// HTTP is public read-only on loopback by default. A configured bearer identity
|
|
39
56
|
// grants exactly its server-owned actor and operation set.
|
|
40
57
|
const remote = await connect({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tenphi/akno-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.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.
|
|
19
|
+
"@tenphi/akno-protocol": "0.10.0"
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=22.18"
|