Commit 8489584
fix: add missing threadId to native event logger in ClaudeCodeAdapter
The logNativeSdkMessage function was missing the canonical threadId in the
event payload and was passing null as the thread ID to nativeEventLogger.write(),
routing all Claude native events to the global log instead of per-thread files.
Add context.session.threadId to both the event object and as the second argument
to write(), matching how the Codex adapter routes native events per-thread.
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>1 parent 1beeff2 commit 8489584
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
| |||
510 | 511 | | |
511 | 512 | | |
512 | 513 | | |
513 | | - | |
| 514 | + | |
514 | 515 | | |
515 | 516 | | |
516 | 517 | | |
| |||
0 commit comments