@anvia/client 1.0.4 → 1.0.7
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 +11 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -22,6 +22,17 @@ keeping the matching `AgentContinuation` exclusively on the server.
|
|
|
22
22
|
Agent interaction wire contracts come from the browser-safe `@anvia/core/agent/interactions`
|
|
23
23
|
subpath; importing Client does not load the Agent runtime or its infrastructure dependencies.
|
|
24
24
|
|
|
25
|
+
## Bun
|
|
26
|
+
|
|
27
|
+
Bun 1.3.14 is the currently tested and supported runtime baseline:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
bun add @anvia/client @anvia/core
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Compatibility tests cover framed JSONL and SSE consumption, resumable client streams, fetch
|
|
34
|
+
cancellation, and installation from packed package artifacts.
|
|
35
|
+
|
|
25
36
|
## Public API
|
|
26
37
|
|
|
27
38
|
- `completionToClientStream({ events, ...options })` adapts native completion events.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anvia/client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Framework-neutral client protocol, transports, and UI message state for Anvia.",
|
|
5
5
|
"author": "anvia",
|
|
6
6
|
"maintainer": "Indra Zulfi",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"tsup": "^8.5.0",
|
|
35
35
|
"typescript": "^5.9.3",
|
|
36
36
|
"vitest": "^4.0.8",
|
|
37
|
-
"@anvia/core": "1.0.
|
|
37
|
+
"@anvia/core": "1.0.7"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@anvia/core": "1.0.
|
|
40
|
+
"@anvia/core": "1.0.7"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "tsup src/index.ts src/transport/index.ts --format esm --dts --sourcemap --clean",
|