From 0886ae5510f4cd04d4a43c5d5aa232a3c0c9c5e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 05:23:12 +0000 Subject: [PATCH] chore(release): version packages --- .changeset/context-performance.md | 5 --- .changeset/design-browser-toolchain.md | 5 --- .changeset/design-canonical-builds.md | 5 --- .changeset/design-goal-localization.md | 7 ---- .changeset/design-native-runtime.md | 5 --- .changeset/design-runtime-boundaries.md | 9 ----- .changeset/design-source-discovery.md | 5 --- .changeset/design-studio-v2.md | 9 ----- .changeset/design-terminal-session.md | 5 --- .changeset/design-workspace-metadata.md | 5 --- .changeset/embedded-request-services.md | 5 --- .changeset/global-event-handshake.md | 5 --- .changeset/goal-mode-continuity.md | 7 ---- .changeset/goal-response-validation.md | 5 --- .changeset/location-alias-permissions.md | 5 --- .changeset/lsp-save-diagnostics.md | 5 --- .changeset/repair-goal-attempts.md | 5 --- .changeset/settled-goal-completion.md | 5 --- .changeset/tui-session-lifecycle.md | 5 --- .changeset/windows-whiteboard-fonts.md | 5 --- package.json | 2 +- packages/redcode/CHANGELOG.md | 43 ++++++++++++++++++++++++ packages/redcode/package.json | 2 +- 23 files changed, 45 insertions(+), 114 deletions(-) delete mode 100644 .changeset/context-performance.md delete mode 100644 .changeset/design-browser-toolchain.md delete mode 100644 .changeset/design-canonical-builds.md delete mode 100644 .changeset/design-goal-localization.md delete mode 100644 .changeset/design-native-runtime.md delete mode 100644 .changeset/design-runtime-boundaries.md delete mode 100644 .changeset/design-source-discovery.md delete mode 100644 .changeset/design-studio-v2.md delete mode 100644 .changeset/design-terminal-session.md delete mode 100644 .changeset/design-workspace-metadata.md delete mode 100644 .changeset/embedded-request-services.md delete mode 100644 .changeset/global-event-handshake.md delete mode 100644 .changeset/goal-mode-continuity.md delete mode 100644 .changeset/goal-response-validation.md delete mode 100644 .changeset/location-alias-permissions.md delete mode 100644 .changeset/lsp-save-diagnostics.md delete mode 100644 .changeset/repair-goal-attempts.md delete mode 100644 .changeset/settled-goal-completion.md delete mode 100644 .changeset/tui-session-lifecycle.md delete mode 100644 .changeset/windows-whiteboard-fonts.md diff --git a/.changeset/context-performance.md b/.changeset/context-performance.md deleted file mode 100644 index bef5fb2bf08d..000000000000 --- a/.changeset/context-performance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Move reply latency and token throughput from the TUI prompt footer to the Context sidebar. diff --git a/.changeset/design-browser-toolchain.md b/.changeset/design-browser-toolchain.md deleted file mode 100644 index 61f9dfc665f9..000000000000 --- a/.changeset/design-browser-toolchain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Build native releases with Bun 1.4.1 so Design browser exports can connect to Chromium reliably. Keep bounded browser shutdown and forced process cleanup when rendering is cancelled. diff --git a/.changeset/design-canonical-builds.md b/.changeset/design-canonical-builds.md deleted file mode 100644 index 5f643d35c21c..000000000000 --- a/.changeset/design-canonical-builds.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Fix React and Solid Design previews in Windows temporary directories and workspaces reached through symlinks or junctions. Use canonical filesystem paths consistently for Vite builds and dependency authorization while continuing to require permission for external imports. diff --git a/.changeset/design-goal-localization.md b/.changeset/design-goal-localization.md deleted file mode 100644 index 49bd905f894e..000000000000 --- a/.changeset/design-goal-localization.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Translate the new App Design studio and Goal controls into Brazilian Portuguese. Other locales explicitly fall back to English for these new messages, with source-language plural rules and separately reported translation coverage. - -Refresh Design studio translations when the language changes or finishes loading, while preserving the current form, preview, and ongoing requests. diff --git a/.changeset/design-native-runtime.md b/.changeset/design-native-runtime.md deleted file mode 100644 index 2706e20e817b..000000000000 --- a/.changeset/design-native-runtime.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Load Design build and browser tools from a versioned package cache in native binaries, preserving their native dependencies and browser resources. Correct Chromium installation from the compiled CLI, and bound first-use setup and cancellation. diff --git a/.changeset/design-runtime-boundaries.md b/.changeset/design-runtime-boundaries.md deleted file mode 100644 index 73b9eae2951f..000000000000 --- a/.changeset/design-runtime-boundaries.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Contain Design feedback files and enforce read permissions across prototype imports, stylesheets and assets, including browser-initiated publish and restore. Disable implicit project configuration execution during builds; preprocessors require compiled CSS. - -Encode SVG GIF exports and compare PNGs in a bounded, cancellable worker included in release binaries, keeping raster work off the session server event loop. - -On cancelled or failed commands, terminate remaining process-group descendants even when their parent exited successfully. Preserve successful background launches with explicitly detached output. diff --git a/.changeset/design-source-discovery.md b/.changeset/design-source-discovery.md deleted file mode 100644 index 925f32820716..000000000000 --- a/.changeset/design-source-discovery.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Restore Design source discovery for root design guidance and nested token, theme, and global-style files. Keep source hashes, excerpts, deterministic limits, and filesystem containment checks while supporting Windows path separators. diff --git a/.changeset/design-studio-v2.md b/.changeset/design-studio-v2.md deleted file mode 100644 index 71791ae4591d..000000000000 --- a/.changeset/design-studio-v2.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@reddb-io/redcode": minor ---- - -Move Design mode to SessionV2 with durable review feedback, immutable revisions and approval packages, a shared embedded/browser review surface, isolated React/Solid previews, and design-system evidence. - -Add canonical MCP and plugin image-tool registration, local versioned assets, editable SVG-to-GIF exports, accessibility/scenario checks, and comparison with the approved design. Preserve diagram whiteboards and reconcile the design-owned plan section without overwriting manual work. - -Remove Design from V1 agents, tool registration and HTTP routing. Existing V1 design state is not migrated. New reviews use `/api/session/:sessionID/design/review`; the TUI's `/design` entry guides users to the dedicated `redcode design` terminal. diff --git a/.changeset/design-terminal-session.md b/.changeset/design-terminal-session.md deleted file mode 100644 index ed2d71cf934a..000000000000 --- a/.changeset/design-terminal-session.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": minor ---- - -Add `redcode design` for interactive V2 sessions with Design, Plan, and Build modes, durable history and event replay, explicit interruption and resumption, permission and question controls, Goal budgets, and browser review. Existing sessions retain their authoritative mode and do not resume automatically. diff --git a/.changeset/design-workspace-metadata.md b/.changeset/design-workspace-metadata.md deleted file mode 100644 index cd38a91351f7..000000000000 --- a/.changeset/design-workspace-metadata.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Include the internal Design workspace in Changesets version planning and validate the real version command before merging release changes. diff --git a/.changeset/embedded-request-services.md b/.changeset/embedded-request-services.md deleted file mode 100644 index e53ce5111b80..000000000000 --- a/.changeset/embedded-request-services.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Provide application services to HTTP requests so embedded SDK and CLI hosts can create and approve Design sessions without requiring callers to supply internal service context. diff --git a/.changeset/global-event-handshake.md b/.changeset/global-event-handshake.md deleted file mode 100644 index e433977d5d6d..000000000000 --- a/.changeset/global-event-handshake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Subscribe to global events before announcing the SSE connection, preventing session updates from falling between recovery snapshots and the live event stream. Release the subscription when the request closes, including abandoned response bodies. diff --git a/.changeset/goal-mode-continuity.md b/.changeset/goal-mode-continuity.md deleted file mode 100644 index 7687bdc10dd0..000000000000 --- a/.changeset/goal-mode-continuity.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@reddb-io/redcode": minor ---- - -Add durable SessionV2 goals with explicit mode scope, provider-turn budgets, pause and resume controls, recorded evidence and executed checks. Preserve approved Plan revisions across continuation and compaction, and carry frozen Design audit results into approval and handoff. - -Align Plan permissions and legacy Goal budgets, reject completion without observed evidence, and bound Design browser setup, rendering and cleanup. diff --git a/.changeset/goal-response-validation.md b/.changeset/goal-response-validation.md deleted file mode 100644 index 0e47bb7abe37..000000000000 --- a/.changeset/goal-response-validation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Keep sessions usable when a server returns malformed Goal or plan history data by validating responses before updating the composer. diff --git a/.changeset/location-alias-permissions.md b/.changeset/location-alias-permissions.md deleted file mode 100644 index 4f2bc410fe08..000000000000 --- a/.changeset/location-alias-permissions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Keep permission requests relative to the project when Windows short paths, symlinks, or junctions refer to the same Location. Preserve rejection of relative escapes and links outside the project, and retain separate authorization for external files. diff --git a/.changeset/lsp-save-diagnostics.md b/.changeset/lsp-save-diagnostics.md deleted file mode 100644 index 5f2dc7da0a17..000000000000 --- a/.changeset/lsp-save-diagnostics.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Notify language servers when changed file contents have been saved, honoring their save capabilities. This triggers rust-analyzer compiler checks after edits so Rust diagnostics can refresh. diff --git a/.changeset/repair-goal-attempts.md b/.changeset/repair-goal-attempts.md deleted file mode 100644 index 6a5c624c2c46..000000000000 --- a/.changeset/repair-goal-attempts.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Count provider retries against CLI Goal budgets, record terminal execution failures as blocked, and keep exhausted Goals paused until their budget increases. Use available Goal recovery commands and publish the authorized agent and reviewed revision on Plan handoffs. diff --git a/.changeset/settled-goal-completion.md b/.changeset/settled-goal-completion.md deleted file mode 100644 index 8a277ed42920..000000000000 --- a/.changeset/settled-goal-completion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Finalize Goals only after sibling tools and hooks settle, reject completion when new steering is pending, and retain reported provider and reviewer usage even when execution fails or a verdict is stale or interrupted. Apply bounded termination to owned subprocesses so cancel and timeout do not depend on every caller opting into escalation. diff --git a/.changeset/tui-session-lifecycle.md b/.changeset/tui-session-lifecycle.md deleted file mode 100644 index 099965205955..000000000000 --- a/.changeset/tui-session-lifecycle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Release TUI listeners on unmount, bound inactive transcript caches and evict deleted sessions, and recover transcripts and pending interactions only after the event stream connects. Fence delayed navigation and list responses so they cannot overwrite the current workspace or restore deleted sessions. Add `/goal-budget`, accurate resume status, approved Plan-to-Build handoffs, and a discoverable entry for the separate Design workspace. diff --git a/.changeset/windows-whiteboard-fonts.md b/.changeset/windows-whiteboard-fonts.md deleted file mode 100644 index 542cd5a58074..000000000000 --- a/.changeset/windows-whiteboard-fonts.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@reddb-io/redcode": patch ---- - -Fix whiteboard startup on Windows by normalizing bundled font paths before mapping browser requests to embedded data URLs. Keep the sandbox's network restrictions intact. diff --git a/package.json b/package.json index e467a31f56ad..08e591d8ec45 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "https://json.schemastore.org/package.json", "name": "@reddb-io/redcode-workspace", - "version": "0.21.2", + "version": "0.22.0", "description": "RedDB's AI-powered development tool", "private": true, "type": "module", diff --git a/packages/redcode/CHANGELOG.md b/packages/redcode/CHANGELOG.md index 6c70da38905d..89ebe86bdd13 100644 --- a/packages/redcode/CHANGELOG.md +++ b/packages/redcode/CHANGELOG.md @@ -1,5 +1,48 @@ # opencode +## 0.22.0 + +### Minor Changes + +- 4bcb811: Move Design mode to SessionV2 with durable review feedback, immutable revisions and approval packages, a shared embedded/browser review surface, isolated React/Solid previews, and design-system evidence. + + Add canonical MCP and plugin image-tool registration, local versioned assets, editable SVG-to-GIF exports, accessibility/scenario checks, and comparison with the approved design. Preserve diagram whiteboards and reconcile the design-owned plan section without overwriting manual work. + + Remove Design from V1 agents, tool registration and HTTP routing. Existing V1 design state is not migrated. New reviews use `/api/session/:sessionID/design/review`; the TUI's `/design` entry guides users to the dedicated `redcode design` terminal. + +- 4bcb811: Add `redcode design` for interactive V2 sessions with Design, Plan, and Build modes, durable history and event replay, explicit interruption and resumption, permission and question controls, Goal budgets, and browser review. Existing sessions retain their authoritative mode and do not resume automatically. +- 4bcb811: Add durable SessionV2 goals with explicit mode scope, provider-turn budgets, pause and resume controls, recorded evidence and executed checks. Preserve approved Plan revisions across continuation and compaction, and carry frozen Design audit results into approval and handoff. + + Align Plan permissions and legacy Goal budgets, reject completion without observed evidence, and bound Design browser setup, rendering and cleanup. + +### Patch Changes + +- 4bcb811: Move reply latency and token throughput from the TUI prompt footer to the Context sidebar. +- 4bcb811: Build native releases with Bun 1.4.1 so Design browser exports can connect to Chromium reliably. Keep bounded browser shutdown and forced process cleanup when rendering is cancelled. +- 4bcb811: Fix React and Solid Design previews in Windows temporary directories and workspaces reached through symlinks or junctions. Use canonical filesystem paths consistently for Vite builds and dependency authorization while continuing to require permission for external imports. +- 4bcb811: Translate the new App Design studio and Goal controls into Brazilian Portuguese. Other locales explicitly fall back to English for these new messages, with source-language plural rules and separately reported translation coverage. + + Refresh Design studio translations when the language changes or finishes loading, while preserving the current form, preview, and ongoing requests. + +- 4bcb811: Load Design build and browser tools from a versioned package cache in native binaries, preserving their native dependencies and browser resources. Correct Chromium installation from the compiled CLI, and bound first-use setup and cancellation. +- 4bcb811: Contain Design feedback files and enforce read permissions across prototype imports, stylesheets and assets, including browser-initiated publish and restore. Disable implicit project configuration execution during builds; preprocessors require compiled CSS. + + Encode SVG GIF exports and compare PNGs in a bounded, cancellable worker included in release binaries, keeping raster work off the session server event loop. + + On cancelled or failed commands, terminate remaining process-group descendants even when their parent exited successfully. Preserve successful background launches with explicitly detached output. + +- 4bcb811: Restore Design source discovery for root design guidance and nested token, theme, and global-style files. Keep source hashes, excerpts, deterministic limits, and filesystem containment checks while supporting Windows path separators. +- 094df07: Include the internal Design workspace in Changesets version planning and validate the real version command before merging release changes. +- 4bcb811: Provide application services to HTTP requests so embedded SDK and CLI hosts can create and approve Design sessions without requiring callers to supply internal service context. +- 4bcb811: Subscribe to global events before announcing the SSE connection, preventing session updates from falling between recovery snapshots and the live event stream. Release the subscription when the request closes, including abandoned response bodies. +- 4bcb811: Keep sessions usable when a server returns malformed Goal or plan history data by validating responses before updating the composer. +- 4bcb811: Keep permission requests relative to the project when Windows short paths, symlinks, or junctions refer to the same Location. Preserve rejection of relative escapes and links outside the project, and retain separate authorization for external files. +- 4bcb811: Notify language servers when changed file contents have been saved, honoring their save capabilities. This triggers rust-analyzer compiler checks after edits so Rust diagnostics can refresh. +- 4bcb811: Count provider retries against CLI Goal budgets, record terminal execution failures as blocked, and keep exhausted Goals paused until their budget increases. Use available Goal recovery commands and publish the authorized agent and reviewed revision on Plan handoffs. +- 4bcb811: Finalize Goals only after sibling tools and hooks settle, reject completion when new steering is pending, and retain reported provider and reviewer usage even when execution fails or a verdict is stale or interrupted. Apply bounded termination to owned subprocesses so cancel and timeout do not depend on every caller opting into escalation. +- 4bcb811: Release TUI listeners on unmount, bound inactive transcript caches and evict deleted sessions, and recover transcripts and pending interactions only after the event stream connects. Fence delayed navigation and list responses so they cannot overwrite the current workspace or restore deleted sessions. Add `/goal-budget`, accurate resume status, approved Plan-to-Build handoffs, and a discoverable entry for the separate Design workspace. +- 4bcb811: Fix whiteboard startup on Windows by normalizing bundled font paths before mapping browser requests to embedded data URLs. Keep the sandbox's network restrictions intact. + ## 0.21.2 ### Patch Changes diff --git a/packages/redcode/package.json b/packages/redcode/package.json index 365c001e2b77..98535132cef7 100644 --- a/packages/redcode/package.json +++ b/packages/redcode/package.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/package.json", - "version": "0.21.2", + "version": "0.22.0", "name": "@reddb-io/redcode", "type": "module", "license": "MIT",