diff --git a/.changeset/fix-docker-start-exit.md b/.changeset/fix-docker-start-exit.md deleted file mode 100644 index 4665829d..00000000 --- a/.changeset/fix-docker-start-exit.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@perstack/tui-components": patch -"perstack": patch ---- - -Short-circuit selection TUI when expert key is provided to fix immediate exit in compiled binaries. - -In Bun-compiled binaries, the first Ink `render()` call for the selection phase caused the event loop to exit before React effects could fire, resulting in `start` exiting silently with code 0. By returning the selection result directly when `initialExpertKey` is known, the Ink render is skipped entirely. diff --git a/apps/perstack/CHANGELOG.md b/apps/perstack/CHANGELOG.md index 2fdf95e0..81e68e92 100644 --- a/apps/perstack/CHANGELOG.md +++ b/apps/perstack/CHANGELOG.md @@ -1,5 +1,13 @@ # perstack +## 0.0.108 + +### Patch Changes + +- [#657](https://github.com/perstack-ai/perstack/pull/657) [`6b83bb6`](https://github.com/perstack-ai/perstack/commit/6b83bb6de723ed41a8c32c41dafb11b13aab71be) Thanks [@FL4TLiN3](https://github.com/FL4TLiN3)! - Short-circuit selection TUI when expert key is provided to fix immediate exit in compiled binaries. + + In Bun-compiled binaries, the first Ink `render()` call for the selection phase caused the event loop to exit before React effects could fire, resulting in `start` exiting silently with code 0. By returning the selection result directly when `initialExpertKey` is known, the Ink render is skipped entirely. + ## 0.0.107 ### Patch Changes diff --git a/apps/perstack/package.json b/apps/perstack/package.json index abab36ec..bd174789 100644 --- a/apps/perstack/package.json +++ b/apps/perstack/package.json @@ -1,6 +1,6 @@ { "name": "perstack", - "version": "0.0.107", + "version": "0.0.108", "description": "PerStack CLI", "author": "Wintermute Technologies, Inc.", "license": "Apache-2.0", diff --git a/packages/tui-components/CHANGELOG.md b/packages/tui-components/CHANGELOG.md index ec2180d3..30b58296 100644 --- a/packages/tui-components/CHANGELOG.md +++ b/packages/tui-components/CHANGELOG.md @@ -1,5 +1,13 @@ # @perstack/tui-components +## 0.0.23 + +### Patch Changes + +- [#657](https://github.com/perstack-ai/perstack/pull/657) [`6b83bb6`](https://github.com/perstack-ai/perstack/commit/6b83bb6de723ed41a8c32c41dafb11b13aab71be) Thanks [@FL4TLiN3](https://github.com/FL4TLiN3)! - Short-circuit selection TUI when expert key is provided to fix immediate exit in compiled binaries. + + In Bun-compiled binaries, the first Ink `render()` call for the selection phase caused the event loop to exit before React effects could fire, resulting in `start` exiting silently with code 0. By returning the selection result directly when `initialExpertKey` is known, the Ink render is skipped entirely. + ## 0.0.22 ### Patch Changes diff --git a/packages/tui-components/package.json b/packages/tui-components/package.json index 4fac4045..93fef6a6 100644 --- a/packages/tui-components/package.json +++ b/packages/tui-components/package.json @@ -1,7 +1,7 @@ { "name": "@perstack/tui-components", "private": true, - "version": "0.0.22", + "version": "0.0.23", "description": "Ink/React TUI components for Perstack terminal interface", "author": "Wintermute Technologies, Inc.", "license": "Apache-2.0", diff --git a/packages/tui/CHANGELOG.md b/packages/tui/CHANGELOG.md index cd5fbe20..e5276239 100644 --- a/packages/tui/CHANGELOG.md +++ b/packages/tui/CHANGELOG.md @@ -1,5 +1,12 @@ # @perstack/tui +## 0.0.21 + +### Patch Changes + +- Updated dependencies [[`6b83bb6`](https://github.com/perstack-ai/perstack/commit/6b83bb6de723ed41a8c32c41dafb11b13aab71be)]: + - @perstack/tui-components@0.0.23 + ## 0.0.20 ### Patch Changes diff --git a/packages/tui/package.json b/packages/tui/package.json index f6693477..c79c7f72 100644 --- a/packages/tui/package.json +++ b/packages/tui/package.json @@ -1,7 +1,7 @@ { "name": "@perstack/tui", "private": true, - "version": "0.0.20", + "version": "0.0.21", "description": "Non-React TUI logic layer for Perstack CLI applications", "type": "module", "exports": {