effect-uai 0.6.0 → 0.7.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/CHANGELOG.md +24 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# effect-uai
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 602bfa9: 0.7 is a capability-honesty pass across every audio and embedding
|
|
8
|
+
surface. The unifying rule: where a provider cannot honor a request, the
|
|
9
|
+
call now fails with `AiError.Unsupported` (load-bearing gaps) or emits a
|
|
10
|
+
structured `warnDropped` (best-effort hints), instead of silently
|
|
11
|
+
substituting a different result. Alongside that, `Duration` replaces raw
|
|
12
|
+
`durationSeconds` everywhere audio carries a length, the `MusicGenerator`
|
|
13
|
+
surface is reshaped, an ElevenLabs music provider lands, and Gemini
|
|
14
|
+
`toolChoice` is now mapped.
|
|
15
|
+
|
|
16
|
+
Most of it is mechanical (find-and-replace renames plus a
|
|
17
|
+
`Duration.seconds(n)` wrap). The parts that need judgement are the
|
|
18
|
+
removed `GeminiTranscriber` (use OpenAI / ElevenLabs / Inworld instead)
|
|
19
|
+
and the requests that now error where they previously degraded silently.
|
|
20
|
+
The full before/after diffs and the recommended order live in
|
|
21
|
+
[Migrating to 0.7](https://effect-uai.betalyra.com/migrations/v0-7/).
|
|
22
|
+
|
|
23
|
+
`@effect-uai/anthropic`, `@effect-uai/microsandbox`, and
|
|
24
|
+
`@effect-uai/deno` have no functional changes this release; they bump for
|
|
25
|
+
lockstep versioning only.
|
|
26
|
+
|
|
3
27
|
## 0.6.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
|
@@ -56,8 +80,6 @@
|
|
|
56
80
|
`continueWithResults` body that folds tool results into history.
|
|
57
81
|
- `Toolkit.collectResults` — lower-level drain of a `Stream<ToolEvent>`
|
|
58
82
|
to its `ToolResult`s without advancing the loop.
|
|
59
|
-
- `Loop.emitValues(stream)` / `Loop.emitNext(effect)` — fork-helper
|
|
60
|
-
building blocks behind `Toolkit.continueWithResults`.
|
|
61
83
|
|
|
62
84
|
### Additive: sandboxes
|
|
63
85
|
|
|
@@ -78,8 +100,6 @@
|
|
|
78
100
|
### Additive: new recipes
|
|
79
101
|
- `sleeper-agent` — long-lived background agent waking on scheduled
|
|
80
102
|
triggers.
|
|
81
|
-
- `external-task-polling` — drive the loop from an external task
|
|
82
|
-
queue.
|
|
83
103
|
- `sandbox-code-interpreter` (in `recipes-extras/`) — agent writes
|
|
84
104
|
Python, sandbox runs it, stderr feeds back into the next turn.
|
|
85
105
|
|
package/package.json
CHANGED