@effect-uai/ai-sdk 0.10.0 → 0.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-uai/ai-sdk",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Vercel AI SDK (useChat) UI Message Stream compatibility for @effect-uai/core.",
5
5
  "keywords": [
6
6
  "agents",
@@ -51,13 +51,13 @@
51
51
  "dependencies": {},
52
52
  "devDependencies": {
53
53
  "ai": "^7.0.3",
54
- "effect": "4.0.0-beta.57",
54
+ "effect": "4.0.0-beta.94",
55
55
  "typescript": "^6.0.3",
56
- "@effect-uai/core": "0.10.0"
56
+ "@effect-uai/core": "0.11.0"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@effect-uai/core": ">=0.5.0 <1",
60
- "effect": "4.0.0-beta.57"
60
+ "effect": ">=4.0.0-beta.94 <5.0.0"
61
61
  },
62
62
  "scripts": {
63
63
  "build": "tsdown",
@@ -173,6 +173,10 @@ const step = (s: State, ev: Emission): Step =>
173
173
  ],
174
174
  RefusalDelta: (e): Step => [s, [{ type: "error", errorText: e.text }]],
175
175
  UsageUpdate: (): Step => [s, []],
176
+ // Grounding progress and streamed citations have no UI Message Stream
177
+ // part; the citations still arrive on `TurnComplete.turn`.
178
+ WebSearchCall: (): Step => [s, []],
179
+ CitationAdded: (): Step => [s, []],
176
180
  TurnComplete: (e): Step => {
177
181
  const closing: ReadonlyArray<Part> = [
178
182
  ...(s.textId !== null ? [{ type: "text-end", id: s.textId } as const] : []),