Skip to content

Codex/headless introspection#89

Open
Akiva-Notkin wants to merge 5 commits into
wuhao21:mainfrom
Akiva-Notkin:codex/headless-introspection
Open

Codex/headless introspection#89
Akiva-Notkin wants to merge 5 commits into
wuhao21:mainfrom
Akiva-Notkin:codex/headless-introspection

Conversation

@Akiva-Notkin

Copy link
Copy Markdown

No description provided.

… deadlocks

Add PumpUntilCompleted helper that pumps the sync context while waiting for a Task to complete, avoiding deadlock from blocking on .GetResult() on the main thread. Apply it to FinalizeStartingRelics, EnterAct (in StartRun), and EnterRoom.

Also harden EnterRoom with a pre-pump and a defensive MapRoom transition (matching the upstream ForceToMap convention) so direct combat entry from setup_combat works after StartRun+Neow leaves CurrentRoom as an EventRoom.
…tream API

Match the upstream API rename; the old name is no longer present on RunManager.
Lets callers skip the Neow blessing event (default true for backward compat). Useful for direct-combat setups that go straight to the map.
Lets callers start a run, skip Neow (via the new neow parameter), and enter a specific combat encounter directly — bypassing the map. Accepts overrides for HP, gold, and (note: deck/relics are managed by start_run and cannot be safely overridden post-hoc).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant