mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-03-03 21:17:50 +00:00
fix(shell): use socket directly
This commit is contained in:
@@ -137,7 +137,7 @@ export function useShellConnection({
|
|||||||
|
|
||||||
currentFitAddon.fit();
|
currentFitAddon.fit();
|
||||||
|
|
||||||
sendSocketMessage(wsRef.current, {
|
sendSocketMessage(socket, {
|
||||||
type: 'init',
|
type: 'init',
|
||||||
projectPath: currentProject.fullPath || currentProject.path || '',
|
projectPath: currentProject.fullPath || currentProject.path || '',
|
||||||
sessionId: isPlainShellRef.current ? null : selectedSessionRef.current?.id || null,
|
sessionId: isPlainShellRef.current ? null : selectedSessionRef.current?.id || null,
|
||||||
|
|||||||
Reference in New Issue
Block a user