@xandreed/plugin-render 0.8.0-next.0 → 0.12.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
CHANGED
package/dist/plugin.adapter.js
CHANGED
|
@@ -8,7 +8,7 @@ import { RenderLive } from "./render-surface.adapter.js";
|
|
|
8
8
|
const SurfaceConfig = Schema.Struct({ maxBytes: Schema.Int.pipe(Schema.check(Schema.isBetween({ minimum: 1024, maximum: 131072 }))) });
|
|
9
9
|
export const renderSurfaceDefaults = { maxBytes: 32768 }, renderSurfacePlugin = definePlugin({
|
|
10
10
|
id: "@xandreed/plugin-render/surface",
|
|
11
|
-
version: "0.
|
|
11
|
+
version: "0.12.0",
|
|
12
12
|
scope: "runtime",
|
|
13
13
|
requires: [RenderStore, UiOutputAdmission],
|
|
14
14
|
provides: [Render],
|
|
@@ -17,7 +17,7 @@ export const renderSurfaceDefaults = { maxBytes: 32768 }, renderSurfacePlugin =
|
|
|
17
17
|
layer: ({ maxBytes }) => RenderLive(maxBytes)
|
|
18
18
|
}), renderFeedDefaults = { pollMs: 200, maxPollMs: 1000, heartbeatMs: 15000, maxDurationMs: 240000 }, renderFeedPlugin = definePlugin({
|
|
19
19
|
id: "@xandreed/plugin-render/feed",
|
|
20
|
-
version: "0.
|
|
20
|
+
version: "0.12.0",
|
|
21
21
|
scope: "runtime",
|
|
22
22
|
requires: [JournalTail],
|
|
23
23
|
provides: [RenderFeed],
|
|
@@ -19,7 +19,7 @@ export const UiOutputLive = (maxBytes = 32768) => Layer.effect(UiOutput, Effect.
|
|
|
19
19
|
return { render_component: (proposal) => output.emit(proposal).pipe(Effect.mapError((error) => ({ error: error.code, message: error.message }))) };
|
|
20
20
|
})), uiOutputPlugin = definePlugin({
|
|
21
21
|
id: "@xandreed/plugin-render/output",
|
|
22
|
-
version: "0.
|
|
22
|
+
version: "0.12.0",
|
|
23
23
|
requires: [UiOutputAdmission, UiOutputJournal, UiOutputContext],
|
|
24
24
|
provides: [UiOutput, UiOutputTools],
|
|
25
25
|
config: Schema.Struct({ maxBytes: Schema.Int.pipe(Schema.check(Schema.isBetween({ minimum: 1024, maximum: 131072 }))) }),
|
|
@@ -15,7 +15,7 @@ export declare const makeMemoryRenderStore: Effect.Effect<{
|
|
|
15
15
|
readonly plan: (scope: import("./index.js").SurfaceScope, record: import("./index.js").SurfacePlanned) => Effect.Effect<void, RenderError>;
|
|
16
16
|
readonly commit: (scope: import("./index.js").SurfaceScope, write: {
|
|
17
17
|
readonly versionId: string;
|
|
18
|
-
readonly proposal: import("
|
|
18
|
+
readonly proposal: import("./output.js").UiOutputProposal;
|
|
19
19
|
}) => Effect.Effect<UiOutputReceipt, RenderError>;
|
|
20
20
|
readonly complete: (scope: import("./index.js").SurfaceScope, record: import("./index.js").SurfaceCompleted) => Effect.Effect<void, RenderError>;
|
|
21
21
|
readonly freeze: (scope: import("./index.js").SurfaceScope, record: SurfaceFrozen) => Effect.Effect<void, RenderError>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xandreed/plugin-render",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Render surfaces, a journal feed and SSE/WebSocket transports for agent output.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@xandreed/core": "0.
|
|
18
|
+
"@xandreed/core": "0.12.0",
|
|
19
19
|
"effect": "4.0.0-rc.118"
|
|
20
20
|
},
|
|
21
21
|
"private": false,
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"LICENSE"
|
|
29
29
|
],
|
|
30
30
|
"engines": {
|
|
31
|
+
"node": ">=24",
|
|
31
32
|
"bun": ">=1.3.0"
|
|
32
33
|
},
|
|
33
34
|
"license": "MIT"
|