Skip to content

Deliver WSL worker completions to the calling pane - #1062

Merged
Kuddev merged 1 commit into
mainfrom
fix/wsl-turn-callback-1120
Nov 20, 2026
Merged

Kuddev merged 1 commit into
mainfrom
fix/wsl-turn-callback-1120

Conversation

@Kuddev

@Kuddev Kuddev commented Nov 20, 2026

Copy link
Copy Markdown
Owner

A WSL worker could finish its turn and leave the calling agent waiting indefinitely. The authenticated terminal hook now takes the receiving pane ID. Once that pane accepts the owner and event order, the workspace routes its result through the same delegation queue as a native completion. Unaddressed native hooks still use the focused-pane fallback for activity only.

Extracted from @yjjheizhu's #919, on top of #1061. The workspace tests submit a delegated prompt through the UI dispatcher and inspect the calling pane's input. They cover both provider directions, a busy origin, a replay across tasks, a foreign process, native delivery, and a native hook without a pane ID. Architecture, formatting and diff checks passed locally. Native tests run in CI.

@github-actions github-actions Bot added the size/M 101–500 行 label Nov 20, 2026
@Kuddev
Kuddev changed the base branch from fix/delegation-submission-1120 to main November 20, 2026 08:58
@Kuddev
Kuddev merged commit 86c1e9d into main Nov 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M 101–500 行

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants