[Haik]: fixed backend-bridge imports

This commit is contained in:
haikdc
2026-04-18 02:48:21 -07:00
parent 33cf18554c
commit bf313d42c2
10 changed files with 17 additions and 17 deletions
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
import type {
AgentSession, HistorySession,
} from '@/shared/state/agentsTypes';
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
const APP_BUILDER_API: string = `${API_BASE}/app_builder`;
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
const DASHBOARDS_API: string = `${API_BASE}/dashboards`;
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
const HEALTH_API: string = `${API_BASE}/health`;
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
const MODES_API: string = `${API_BASE}/modes`;
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
const SETTINGS_API: string = `${API_BASE}/settings`;
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
const SKILLS_API: string = `${API_BASE}/skills`;
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
const SUBSCRIPTIONS_API: string = `${API_BASE}/subscriptions`;
@@ -1,5 +1,5 @@
import { createAsyncThunk } from '@reduxjs/toolkit';
import { API_BASE } from '@/shared/backend/base_routes';
import { API_BASE } from '@/shared/backend-bridge/base_routes';
const TOOLS_API: string = `${API_BASE}/tools`;
@@ -1,12 +1,12 @@
import type { ActionReducerMapBuilder } from '@reduxjs/toolkit';
import type { AgentsState, AgentSession, HistorySession } from './agentsTypes';
import {
fetchSessions, launchAgent, launchAndSendFirstMessage, generateTitle,
generateGroupMeta, updateSystemPrompt, sendMessage, editMessage,
stopAgent, handleApproval, switchBranch, duplicateSession,
closeSession, deleteSession, fetchHistory, resumeSession,
fetchSession, fetchBrowserAgentChildren, searchHistory,
} from './agentsThunks';
import type { AgentsState, HistorySession } from './agentsTypes';
// import {
// fetchSessions, launchAgent, launchAndSendFirstMessage, generateTitle,
// generateGroupMeta, updateSystemPrompt, sendMessage, editMessage,
// stopAgent, handleApproval, switchBranch, duplicateSession,
// closeSession, deleteSession, fetchHistory, resumeSession,
// fetchSession, fetchBrowserAgentChildren, searchHistory,
// } from './agentsThunks';
export function buildExtraReducers(builder: ActionReducerMapBuilder<AgentsState>) {
builder