@voltro/ai 0.61.0 → 0.62.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.
- package/CHANGELOG.md +32 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +260 -237
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -39,6 +39,38 @@ _Changes staged for the next release accumulate here (rolled up from
|
|
|
39
39
|
|
|
40
40
|
---
|
|
41
41
|
|
|
42
|
+
## [0.62.1] — 2026-09-02
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- **@voltro/client, @voltro/web, @voltro/react-native** — `useSubscriptionHealth` now clears failures when replacement subscriptions succeed after a reconnect; each api keeps one error bus across transport, auth-refresh, and subject-reconnect generations.
|
|
47
|
+
- **@voltro/client, @voltro/web, @voltro/react-native** — Active subscriptions whose fibers ended in a transport failure are now re-issued when the rpc socket opens again, preserving their last rows and resume revision; `useConnectionStatus` stays degraded until every affected subscription delivers a later snapshot or delta.
|
|
48
|
+
|
|
49
|
+
### Internal (no consumer-facing effect)
|
|
50
|
+
|
|
51
|
+
- **@voltro/local-first** — Release dependency floors now exclude the vulnerable `fast-uri` and `@xmldom/xmldom` ranges, and the local-first test toolchain uses the patched Tiptap release.
|
|
52
|
+
- **@voltro/cli** — The source-map Debug-ID regression test now resolves the installed `sentry-cli` executable through the package entry instead of assuming a pnpm-internal binary layout.
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## [0.62.0] — 2026-09-01
|
|
57
|
+
|
|
58
|
+
### ⚠ BREAKING
|
|
59
|
+
|
|
60
|
+
- **@voltro/workflow, @voltro/cli, @voltro/voltro** — `timeouts.finish` now filters running rows by the declared workflow, durably cancels each run before notification, and emits `onFailure` only for the successful terminal transition. Finish-timeout reports carry the run's stable `runId`, `executionId`, and original payload; handler-start logs expose the returned status instead of unconditionally claiming a new start.
|
|
61
|
+
|
|
62
|
+
Low-level adapters that construct `AdmissionDrainDeps` must update `cancelRun` to accept the run object and return whether it made the terminal transition, and return the run identity, workflow name, and payload from `listRunningRuns`. Ordinary workflow declarations need no source change; `voltro update` prints the adapter migration only when the project references this low-level surface.
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
|
|
66
|
+
- **@voltro/ai** — `streamText` and `resumableStreamText` now accept an opt-in `smooth` configuration for word- or line-based text and reasoning chunks. Smoothing runs before resumable journaling, preserves provider-native behavior when omitted, and shares the stream abort signal so cancellation also stops a pending smoothing delay.
|
|
67
|
+
|
|
68
|
+
### Fixed
|
|
69
|
+
|
|
70
|
+
- **@voltro/web** — Production `framework_debug` now enables local framework diagnostics without opening browser-to-inspect HTTP or SSE transports. Development log relays are single-flight and rate-limited, classify permanent response failures, back off transient failures, expose dropped-log counts, and open a page-scoped circuit after repeated failure; the SSE relay also probes the endpoint before creating an `EventSource` and closes failed sources before retrying.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
42
74
|
## [0.61.0] — 2026-08-31
|
|
43
75
|
|
|
44
76
|
### ⚠ BREAKING
|
package/dist/index.d.ts
CHANGED
|
@@ -3327,6 +3327,17 @@ export declare interface StreamRetryOptions {
|
|
|
3327
3327
|
readonly maxBackoffMs?: number;
|
|
3328
3328
|
}
|
|
3329
3329
|
|
|
3330
|
+
/** Framework-owned, serialisable subset of the AI SDK's stream smoothing.
|
|
3331
|
+
* Smoothing is applied before `AgentEvent` conversion and resumable-stream
|
|
3332
|
+
* journaling, so live delivery and replay see identical chunk boundaries. */
|
|
3333
|
+
export declare interface StreamSmoothingOptions {
|
|
3334
|
+
/** Semantic chunk boundary. Defaults to word-by-word. */
|
|
3335
|
+
readonly chunking?: 'word' | 'line';
|
|
3336
|
+
/** Delay between chunks in milliseconds. Defaults to 10; `null` rechunks
|
|
3337
|
+
* without adding an artificial wait. */
|
|
3338
|
+
readonly delayMs?: number | null;
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3330
3341
|
/** The per-stream state + producer-election row. UNIQUE `streamId` is the
|
|
3331
3342
|
* atomic claim arbiter (insert-if-not-exists). */
|
|
3332
3343
|
export declare const streamStateTable: Table<typeof STREAM_STATE_TABLE, Record<string, ColumnDefinition<unknown>>, true>;
|
|
@@ -3375,6 +3386,10 @@ export declare interface StreamTextOptions {
|
|
|
3375
3386
|
* stream, so it never duplicates emitted tokens. For re-attempting a whole
|
|
3376
3387
|
* stream that errored before producing content, use `streamTextWithRetry`. */
|
|
3377
3388
|
readonly maxRetries?: number;
|
|
3389
|
+
/** Opt-in semantic smoothing for text and reasoning deltas. The transform runs
|
|
3390
|
+
* before `AgentEvent` mapping (and therefore before resumable journaling).
|
|
3391
|
+
* Omit or set `false` to preserve provider-native chunking and latency. */
|
|
3392
|
+
readonly smooth?: false | StreamSmoothingOptions;
|
|
3378
3393
|
}
|
|
3379
3394
|
|
|
3380
3395
|
/**
|