@effect-uai/ui 0.19.0-dev-20261109183959 → 0.19.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 +2 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -38,7 +38,8 @@ const ChatUi = UiContract.make({ tools: [GetWeather] })
38
38
  // client: the state is typed by the contract
39
39
  const chat = Atoms.thread({ contract: ChatUi, runtime, transport, busy: "block" })
40
40
  for (const b of thread.active?.blocks ?? [])
41
- if (b.type === "tool" && b.name === "get_weather") b.output?.observedAt // Date
41
+ if (b.type === "tool" && b.name === "get_weather" && b.outcome?._tag === "Success")
42
+ b.outcome.value.observedAt // Date
42
43
  ```
43
44
 
44
45
  Client:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-uai/ui",
3
- "version": "0.19.0-dev-20261109183959",
3
+ "version": "0.19.0",
4
4
  "description": "Agentic UI primitives for @effect-uai/core: a resumable run-event protocol, projection, client folds and Effect atoms.",
5
5
  "keywords": [
6
6
  "agents",
@@ -89,10 +89,10 @@
89
89
  "@effect/vitest": "4.1.2",
90
90
  "effect": "4.1.2",
91
91
  "typescript": "^7.0.2",
92
- "@effect-uai/core": "0.19.0-dev-20261109183959"
92
+ "@effect-uai/core": "0.19.0"
93
93
  },
94
94
  "peerDependencies": {
95
- "@effect-uai/core": "0.19.0-dev-20261109183959",
95
+ "@effect-uai/core": ">=0.17.0 <1",
96
96
  "effect": ">=4.0.1 <5.0.0"
97
97
  },
98
98
  "scripts": {