Skip to content

Commit 101d964

Browse files
committed
feat(appserver): expose listener on turn request
1 parent ac28c07 commit 101d964

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main/java/io/github/easy4j/codex/appserver/AppServerTurnRequest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ public class AppServerTurnRequest {
5959
*/
6060
private Consumer<String> onTurnStarted;
6161

62+
/**
63+
* Optional structured listener for turn lifecycle and streaming events.
64+
* Existing callbacks remain supported for source compatibility.
65+
*/
66+
private CodexAppServerListener listener;
67+
6268
/**
6369
* Returns the session key in a comparable form, or {@code null} when unset.
6470
*

0 commit comments

Comments
 (0)