Commit 9acbc99
refactor: address CodeRabbit nitpick suggestions
- Update Opus max_output_tokens to 64K (Opus 4.5 spec)
- Replace empty interfaces with Record<string, never> type aliases
- Optimize buildPromptString to iterate in reverse for efficiency
- Make claudeAgentSdk delegate to createClaudeAgentSdk to reduce duplication
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent ba501a5 commit 9acbc99
File tree
3 files changed
+12
-24
lines changed- packages/typescript/ai-claude-agent-sdk/src
3 files changed
+12
-24
lines changedLines changed: 9 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
596 | 594 | | |
597 | | - | |
598 | | - | |
599 | | - | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
600 | 598 | | |
601 | 599 | | |
602 | | - | |
603 | | - | |
604 | 600 | | |
605 | | - | |
606 | 601 | | |
607 | 602 | | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
| 603 | + | |
612 | 604 | | |
613 | 605 | | |
614 | 606 | | |
| |||
660 | 652 | | |
661 | 653 | | |
662 | 654 | | |
663 | | - | |
| 655 | + | |
664 | 656 | | |
665 | 657 | | |
666 | 658 | | |
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 75 | + | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 81 | + | |
86 | 82 | | |
87 | 83 | | |
88 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments