Skip to content

fix(child-sessions): preserve configured shell in headless tools - #423

Merged
tt-a1i merged 4 commits into
openpi-dev:mainfrom
seekskyworld:fix/issue-419-shell-path
Sep 7, 2026
Merged

fix(child-sessions): preserve configured shell in headless tools#423
tt-a1i merged 4 commits into
openpi-dev:mainfrom
seekskyworld:fix/issue-419-shell-path

Conversation

@seekskyworld

@seekskyworld seekskyworld commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Problem

The display extension re-registers Bash during headless startup without Pi's configured shell settings. Derived sessions can therefore select the wrong shell, especially on Windows. Closes #419.

Value

Direct and Workflow children, print and RPC sessions retain Pi's native tool definitions and configured shell behavior.

Approach

Only replace tools and change display state in TUI mode. A real child-session regression configures a nonexistent shell and proves headless binding preserves Pi's explicit configuration error. Existing display tests exercise TUI mode.

Validation

Integrated main 0bd00417c43e1f2d89630ceffe705592ea186f79. bun run check and standard bun run test passed: 1456 Node tests, one platform skip, Vitest 30/30. Two independent reviews found no actionable regression. Final-head CI passed on 2d5eaf9 for Node 22, Node 24 and Windows. The initial Windows run failed in the preexisting concurrent worktree creation test without a Git error receipt; the unchanged-head failed-job rerun passed. No test or runtime workaround was introduced.

Impact

No tool schema, configuration or persisted-data change. Headless sessions retain native tools; interactive rendering remains unchanged. The preexisting TUI shell-settings issue is not fixed by this headless-only PR.

Signed-off-by: seekskyworld <djh1813553759@gmail.com>
@github-actions github-actions Bot added the area:ui Terminal UI, rendering, themes, or visual assets label Sep 6, 2026
Signed-off-by: seekskyworld <djh1813553759@gmail.com>
Signed-off-by: seekskyworld <djh1813553759@gmail.com>
@tt-a1i
tt-a1i merged commit b0fc558 into openpi-dev:main Sep 7, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ui Terminal UI, rendering, themes, or visual assets documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows: bash tool in OpenPI derived sessions (subagent / Web) incorrectly invokes WSL stub; shellPath setting is ignored

2 participants