typebulb 0.13.5 → 0.14.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/README.md +15 -10
- package/description.md +1 -1
- package/dist/agents/claude/client.js +133 -122
- package/dist/index.js +196 -176
- package/dist/render.d.ts +3 -0
- package/dist/render.js +60 -49
- package/package.json +1 -1
package/dist/render.d.ts
CHANGED
|
@@ -20,6 +20,9 @@ export interface BulbFrameOptions {
|
|
|
20
20
|
maxHeight?: number
|
|
21
21
|
/** Called with a message when the embed throws at runtime (post-mount). */
|
|
22
22
|
onError?: (message: string) => void
|
|
23
|
+
/** Called once, on the embed's first auto-height report — the bulb's code ran to first
|
|
24
|
+
* paint. Skipped if an error arrives first, so ready never follows a failure. */
|
|
25
|
+
onReady?: () => void
|
|
23
26
|
/** Abort to remove the frame's host-side `message` listener (host owns lifecycle). */
|
|
24
27
|
signal?: AbortSignal
|
|
25
28
|
}
|