@tenphi/akno-client 0.10.0 → 0.10.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 +5 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -20,11 +20,15 @@ const result = await akno.call('recall', {
20
20
  });
21
21
 
22
22
  // A host may conservatively prepare evidence before its own model handles a turn.
23
+ const recentTurns = [{ role: 'user' as const, content: 'We were discussing the Zephyr QX-100 warranty.' }];
23
24
  const context = await akno.context({
24
25
  profile: 'auto_recall',
25
- query: 'When does the Zephyr QX-100 warranty end?',
26
+ query: 'When does it end?',
27
+ conversation_context: recentTurns,
26
28
  budget: 1200,
27
29
  });
30
+ // `ambiguous` and `unresolved` references deliberately carry no automatic evidence.
31
+ const referenceResolution = context.activation?.reference_resolution;
28
32
 
29
33
  // One explicit clock covers authored events, retained world time, and document evidence.
30
34
  const timeline = await akno.timeline({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenphi/akno-client",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
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.10.0"
19
+ "@tenphi/akno-protocol": "0.10.1"
20
20
  },
21
21
  "engines": {
22
22
  "node": ">=22.18"