fix: improve command handling and add paste support
- Add ToolRegistry to ClaudeCodeComponent for proper command context - Use ByteArrayOutputStream to capture command output in TUI mode - Add onPaste() override for efficient multi-line paste handling - Fix constructor to accept toolRegistry parameter Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -74,6 +74,7 @@ public class JinkReplSession {
|
||||
component = new ClaudeCodeComponent(
|
||||
agentLoop,
|
||||
commandRegistry,
|
||||
toolRegistry,
|
||||
providerInfo.provider(),
|
||||
providerInfo.model(),
|
||||
providerInfo.baseUrl(),
|
||||
|
||||
Reference in New Issue
Block a user