refactor: move session initialization from WebSocket to REST API #16548
Annotations
10 errors and 2 warnings
Lint and TypeScript compilation:
frontend/src/api/open-hands.ts#L171
Replace `⏎······await·openHands.get<GetVSCodeUrlResponse>(`/api/conversation/${convoId}/vscode-url`` with `·await·openHands.get<GetVSCodeUrlResponse>(⏎······`/api/conversation/${convoId}/vscode-url`,⏎····`
|
Lint and TypeScript compilation:
frontend/src/context/conversation-context.tsx#L13
Replace `·children·}:·{·children:·React.ReactNode·` with `⏎··children,⏎}:·{⏎··children:·React.ReactNode;⏎`
|
Lint and TypeScript compilation:
frontend/src/context/conversation-context.tsx#L14
Replace `null` with `⏎····null,⏎··`
|
Lint and TypeScript compilation:
frontend/src/context/conversation-context.tsx#L17
The object passed as the value prop to the Context provider (at line 17) changes every render. To fix this consider wrapping it in a useMemo hook
|
Lint and TypeScript compilation:
frontend/src/context/conversation-context.tsx#L26
Replace `"useConversation·must·be·used·within·a·ConversationProvider"` with `⏎······"useConversation·must·be·used·within·a·ConversationProvider",⏎····`
|
|
Lint and TypeScript compilation:
frontend/src/context/ws-client-provider.tsx#L5
'ActionType' is defined but never used
|
Lint and TypeScript compilation:
frontend/src/context/ws-client-provider.tsx#L10
'OpenHands' is defined but never used
|
Lint and TypeScript compilation:
frontend/src/context/ws-client-provider.tsx#L53
'settings' is defined but never used
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint and TypeScript compilation:
frontend/src/components/shared/task-form.tsx#L94
Unexpected console statement
|
Loading