Commit d96faad
fix: address P1 review findings
- _from_full_stream dict chunks: yield full dict instead of extracting
text, matching the attribute-based path. Fixes structured updates being
lost for native streaming adapters. Updated _wrapped_stream and
_text_only_stream to handle dict chunks for accumulation/fallback.
- on_lock_conflict: accept both True and "force" as force-release signal.
Restores backward compat with callers returning bool while keeping the
new string-based API. Type updated to accept bool in callable returns.
- fallback stream final edit already fixed in previous commit (c3cbcff).
The reviewer's worktree was stale.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c3cbcff commit d96faad
3 files changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1515 | 1515 | | |
1516 | 1516 | | |
1517 | 1517 | | |
1518 | | - | |
| 1518 | + | |
1519 | 1519 | | |
1520 | 1520 | | |
1521 | 1521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| 516 | + | |
| 517 | + | |
516 | 518 | | |
517 | 519 | | |
518 | 520 | | |
| |||
532 | 534 | | |
533 | 535 | | |
534 | 536 | | |
535 | | - | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
536 | 540 | | |
537 | 541 | | |
538 | 542 | | |
| |||
884 | 888 | | |
885 | 889 | | |
886 | 890 | | |
887 | | - | |
| 891 | + | |
888 | 892 | | |
889 | 893 | | |
890 | 894 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments