Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions backend/src/services/opencode-single-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ import { patchConfigWithRecovery } from './opencode/config-recovery'
import type { OpenCodeClient } from './opencode/client'
import { writeFileContent } from './file-operations'

const OPENCODE_SERVER_HOST = ENV.OPENCODE.HOST
export const OPENCODE_SERVER_CONNECT_HOST = OPENCODE_SERVER_HOST === '0.0.0.0' ? '127.0.0.1' : OPENCODE_SERVER_HOST

const MIN_OPENCODE_VERSION = '1.0.137'
const MAX_STDERR_SIZE = 10240
const HEALTH_CHECK_TIMEOUT_MS = 3000
Expand Down
10 changes: 1 addition & 9 deletions frontend/src/api/fetchWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@ async function fetchWrapper<T = unknown>(
}
}

async function fetchWrapperText(
url: string,
options: FetchWrapperOptions = {}
): Promise<string> {
const response = await fetchWithTimeout(url, options)
return response.text()
}

async function fetchWrapperVoid(
url: string,
options: FetchWrapperOptions = {}
Expand All @@ -125,4 +117,4 @@ async function fetchWrapperBlob(
return response.blob()
}

export { fetchWrapper, fetchWrapperText, fetchWrapperVoid, fetchWrapperBlob }
export { fetchWrapper, fetchWrapperVoid, fetchWrapperBlob }
93 changes: 0 additions & 93 deletions frontend/src/components/file-browser/FilePreviewDialog.tsx

This file was deleted.

80 changes: 0 additions & 80 deletions frontend/src/components/message/FileSuggestions.tsx

This file was deleted.

48 changes: 0 additions & 48 deletions frontend/src/components/message/MessageActionButtons.tsx

This file was deleted.

102 changes: 0 additions & 102 deletions frontend/src/components/modals/PassphraseModal.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/src/contexts/EventContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -626,11 +626,6 @@ export function useQuestions() {
return questions
}

export function usePendingAlerts(): boolean {
const { permissions, questions } = useEventContext()
return permissions.pendingCount + questions.pendingCount > 0
}

export function useSSEHealth(): EventStreamHealthState {
return useEventContext().sseHealth
}
12 changes: 0 additions & 12 deletions frontend/src/hooks/useDebounce.ts

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/src/lib/agent-colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function isValidHex(color: string | undefined): color is string {
return /^#[0-9A-Fa-f]{6}$/.test(color)
}

export function getAgentColor(
function getAgentColor(
agentName: string,
apiColor?: string
): { light: string; dark: string } {
Expand Down
Loading
Loading