fix(windows): hide stdio app-server console - #4
Draft
darvell-thenvoi wants to merge 6 commits into
Draft
Conversation
Add an additive spawn API for embedders that need deterministic app-server ownership and a child working directory. The lifecycle handle closes stdin before waiting, forces termination on timeout, and exposes stderr for bounded diagnostics.\n\nCovered by graceful-EOF, cwd, and forced-termination unit tests; the existing spawn API is unchanged.
Replay the fork-only patch over upstream main every week, validate the workspace, and publish a stable pre-staged revision for tjam's freshness watcher. Document the fork boundary and upgrade/removal procedure.
Return the exact turn/start identifier from StreamedTurn so embedders can create stable, replay-safe observation keys without parsing raw notifications. This is an additive Rust library API; users continue to run the stock Codex executable. Validated with formatting, workspace check, SDK unit tests, and a real stock-Codex stdio streamed-turn integration test.
Build the expected generated branch on every maintenance run and compare its tree to the current generated revision. This catches fork-patch changes even when upstream does not move while avoiding no-op weekly revision churn. Also escape Markdown backticks in the workflow summary so the shell cannot interpret the branch name as command substitution. actionlint and git diff checks pass.
Apply CREATE_NO_WINDOW to SDK-owned stdio children so GUI hosts do not flash a command window. Update the explicit WebSocket URL test for current Codex loopback-only unauthenticated listeners.
vlad-thenvoi
force-pushed
the
jam-owned-stdio-latest
branch
from
August 4, 2026 19:22
27f1644 to
0755946
Compare
github-actions
Bot
force-pushed
the
jam-owned-stdio-latest
branch
from
August 24, 2026 07:29
7f3ab9e to
5654050
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CREATE_NO_WINDOWto SDK-owned stdio children on WindowsWhy
Jam launches Codex app-server from a GUI-hosted daemon. Without this flag, the Windows
cmd.exeshim opens a visible console window during runtime checks and owned sessions.Validation
cargo fmt --all --checkcargo test -p codex-app-server-sdk --tests(59 passed)RUSTC_WRAPPER= cargo xwin check --target x86_64-pc-windows-msvc -p codex-app-server-sdk