Commit Graph
87 Commits
Author SHA1 Message Date
haikdc e720f97444 [hAIk]: rewire toolsSlice to use tools.ts backend-bridge thunks, remove inline fetch logic, update useToolsState/useModes/useCommands/useCommandPickerItems/OpenSwarmMentionAdapter imports, replace raw OAuth disconnect fetch with OAUTH_DISCONNECT thunk 2026-04-18 05:43:20 -07:00
haikdc 216eb7018a [hAIk]: integrate subscriptions backend-bridge into frontend: replace all raw fetch calls to /subscriptions/* endpoints with dispatch(THUNK).unwrap() using SUBSCRIPTIONS_STATUS, SUBSCRIPTIONS_CONNECT, SUBSCRIPTIONS_POLL, and SUBSCRIPTIONS_DISCONNECT from the bridge layer — no Redux slice needed since state stays local 2026-04-18 05:33:16 -07:00
haikdc 09f4a22209 [hAIk]: integrate skills.ts bridge: add typed interfaces, rewrite skillsSlice and skillRegistrySlice to import thunks from bridge, replace raw fetch calls in useSkillBuilderSession with SEED/READ_SKILL_WORKSPACE, update type imports in UI components 2026-04-18 05:29:02 -07:00
haikdc 2b8e502bcb [hAIk]: integrate skills.ts bridge: add typed interfaces, rewrite skillsSlice and skillRegistrySlice to import thunks from bridge, replace raw fetch calls in useSkillBuilderSession with SEED/READ_SKILL_WORKSPACE, update type imports in UI components 2026-04-18 05:28:47 -07:00
haikdc a7f0ea520f [hAIk]: integrate settings backend-bridge into frontend: move AppSettings and CustomProvider interfaces into settings bridge with proper return types, switch Main.tsx to GET_SETTINGS, useSettings.ts to UPDATE_SETTINGS, GeneralTab.tsx to RESET_SYSTEM_PROMPT — all importing directly from the bridge 2026-04-18 05:15:16 -07:00
haikdc 825b59b875 [hAIk]: remove outputsSlice; migrate all 19 consumer files from state.outputs to state.apps; rewrite useViewWorkspace to use bridge thunks; remove all auto-run support 2026-04-18 05:10:05 -07:00
haikdc a0312deaf5 [hAIk]: integrate modes backend-bridge into frontend: add Mode type to bridge with proper typing, rewrite modesSlice to import thunks from backend-bridge (matching dashboards pattern), update useModes hook to use LIST_MODES/CREATE_MODE/UPDATE_MODE/RESET_MODE/DELETE_MODE, update useAgentChat/ModelModeSelector/useSettings to use LIST_MODES, remove legacy @/shared/config dependency from modes 2026-04-18 04:35:33 -07:00
haikdc 650c42077a [hAIk]: refactor: wire dashboardsSlice through backend-bridge, remove inline fetch calls from slice and update all 6 consumer files 2026-04-18 04:30:33 -07:00
haikdc 5c47a12181 [Haik]: migrate frontend thunks from agentsSlice to backend-bridge 2026-04-18 04:20:01 -07:00
haikdc c329c0f837 [Haik]: migrate launchAndSendFirstMessage and searchHistory from agentsSlice to backend-bridge thunks (META_LAUNCH_AND_SEND, GET_HISTORY); wire up new thunks in useAgentChat, useToolbarActions, useDashboardToolbar, agentsExtraReducers, and dashboardLayoutSlice; normalize backend response key from SESSIONS to sessions; remove dashboardId param from history search calls; replace any types with AgentSession, CardPosition, and AgentConfig; remove stale settingsApplied useEffect; split image payload into separate data and media_type arrays for SEND_MESSAGE 2026-04-18 04:04:44 -07:00
haikdc 1ba5f11591 [Haik]: migrate useAgentChat, agentsExtraReducer and useToolbarActions to backend-bridge thunks 2026-04-18 03:28:30 -07:00
haikdc 86a58258ac [Haik]: refactor agents extra reducers to use backend-bridge thunks and fix return types for update_system_prompt, delete_session, stop_agent, switch_branch, and close_session 2026-04-18 03:05:44 -07:00
haikdc bf313d42c2 [Haik]: fixed backend-bridge imports 2026-04-18 02:48:21 -07:00
haikdc 33cf18554c [Haik]: renamed shared/backend to shared/backend-bridge 2026-04-18 02:47:29 -07:00
haikdc 8ee84dac1e [hAIk]: fix agents.ts bridge to match backend response shapes and payload signatures 2026-04-18 02:40:44 -07:00
haikdc 6e3cb16aca [hAIk]: fix: collapse multi-param thunk payloads into single objects 2026-04-18 02:37:30 -07:00
haikdc e4f400962f [hAIk]: (add frontend bridge files for all backend sub-apps) (fix: collapse multi-param async thunk payloads into single objects) 2026-04-18 02:35:08 -07:00
haikdc 2a898f3f08 [Haik]: refactor: overhaul agents API contract and frontend backend layer — rename all backend agent routes from RESTful path-param style (e.g. /sessions/{id}/message) to flat action-named endpoints (e.g. /send_message), replace Pydantic BaseModel request classes (LaunchBody, MessageBody, etc.) with inline FastAPI Body() parameters, delete the scattered frontend shared/routes/ directory (11 files) and agentsThunks.ts, and replace them with a co-located shared/backend/apps/ structure where each backend app has its routes, fetch functions, and async thunks in a single file 2026-04-18 02:23:44 -07:00
haikdc f691ca1ff1 [Haik]: added lintignores 2026-04-18 00:20:44 -07:00
haikdc 4866e644e2 [hAIk]: add .lintignore sentinel files for per-folder lint suppression — drop a .lintignore in any directory to skip all checks, or .lintignore-{rule} to skip a specific one (max-file-lines, max-folder-items, no-nested-imports, vulture, eslint, knip, endpoints, classes). Adds collect_lintignores() and is_lintignored() to checks/init.py, wires filtering into lint.py and all sub-linter runners, and updates watch mode to detect .lintignore changes 2026-04-18 00:13:43 -07:00
haikdc c306a472d5 [Haik]: added unified shared/routes in the frontend, gonna start porting shit over to the new backend setup now 2026-04-17 23:59:44 -07:00
haikdc 9899d37c64 [Haik]: removed old agentsd.py websocket wrapper bc it seemed like bs (may have to re add in some bits later). Now gonna add in some singeltons where applicable 2026-04-05 09:11:44 -07:00
haikdc a78819e1cf [Haik]: round 1 of absracting the agents dir. Leaving this as is for now then will circle back bc hella code needs to be redone here and de slopped 2026-03-31 23:12:16 -07:00
haikdc 63af322ab7 [Haik]: manually removed hella shit that was just not being used at all (the knip linter is clutch) 2026-03-31 00:57:33 -07:00
haikdc 30a0dc5a6f [Haik]: pt3 of going thru knip errors 2026-03-30 23:51:05 -07:00
haikdc 0dd56bb599 [Haik]: pt2 of going thru knip errors 2026-03-30 23:21:22 -07:00
haikdc de47fc06e6 [Haik]: ckpt, removed prompt templates and all related shit 2026-03-30 23:06:08 -07:00
haikdc 5e8b1c02c7 [Haik]: added in better linter from the debugger. This good for now till the linter pip module done. Also i just peeked at the output and there are 799 linter errors, holy SLOP. 2026-03-30 20:24:28 -07:00
haikdc 0b16e6efe3 [Haik]: agentic refactor 7. Integration, SkillBuilderChat & Cleanup 2026-03-30 18:56:12 -07:00
haikdc 4675697bfa [Haik]: Agentic Refactor 6. MCP Cards & Browser Feed 2026-03-30 17:58:53 -07:00
haikdc 8ccc3b4c5b [Haik]: Agentic Refactor 5, Tool Ui Approvals and Questions 2026-03-30 16:39:06 -07:00
haikdc 35e2503999 [Haik]: Agentic Refactor 4. Tool UI Native Tools 2026-03-30 15:31:43 -07:00
haikdc 7d9a2fb1a3 [Haik]: Agentic refactor 3. Composer & Mentions i.e. user input 2026-03-30 15:05:24 -07:00
haikdc 46c100dec7 [Haik]: Agentic refactor 2. Thread and Messages 2026-03-30 14:18:44 -07:00
haikdc 3066f8647c [Haik]: Agentic refactor 1. Foundation & Packages for assistant-ui 2026-03-30 13:37:42 -07:00
haikdc 81b049d1ea [Haik]: ckpt, settings ui auto re renders when the connection is made 2026-03-30 12:26:31 -07:00
haikdc 662805d573 [Haik]: 9router working again (at least locally) 2026-03-30 11:56:05 -07:00
haikdc eb792617a5 [Haik]: ckpt, fixed nine router inter dependency issues with local and prod sharing ports. Also centralized all port handling to a ports.config.json in the root dir 2026-03-30 07:56:15 -07:00
haikdc 389679660b [Haik]: ckpt, (refactored remaining >250 line files to be less then 250) (made some fixes to the way 9router runs locally, but theres more issues stemming from the fact that local and prod backends run on the same port, fixing this rn) 2026-03-30 07:36:51 -07:00
haikdc 46affaa5e9 [Haik]: ckpt, updated readmes 2026-03-30 05:39:24 -07:00
haikdc 21fe641a46 [Haik]: Agentic refactor 4. Frontend Cleanup 2026-03-30 04:45:29 -07:00
haikdc 781003227d [Haik]: Agentic refactor 3. DRY Up Cross-Cutting Patterns 2026-03-30 02:42:48 -07:00
ciregenz 0616b0ecbc [eric] v1.0.20: add common MCP integrations, mcp OAuth, one-click connect UX, onboarding tools step, ui/ux improvements 2026-03-29 16:33:36 -07:00
ciregenz 97622f87e0 [eric] fix API key priority over 9Router, fix OAuth callback 500, polish Settings UI 2026-03-27 13:06:17 -07:00
ciregenz 7c3da1ab4c [eric] fix 9Router CLI auth for subscription users, add analytics, update models 2026-03-27 00:21:19 -07:00
ciregenz 1c4525b4e3 [eric] fix onboarding OAuth: 9Router readiness polling, timer cleanup, Electron popup handling 2026-03-26 13:52:43 -07:00
ciregenz bc218c8707 [eric] v1.0.14: fix 9Router server.js path, disconnect button, onboarding 2026-03-25 19:17:04 -07:00
ciregenz dcd20eed39 [eric] [eric] fix 9Router startup for users without Node.js, fix onboarding modal
- nine_router.py: use Electron binary as Node.js fallback (ELECTRON_RUN_AS_NODE=1)
  - electron/main.js: pass OPENSWARM_ELECTRON_PATH to backend
  - OnboardingModal: show once for users without subscription (persisted via localStorage)
  - settingsSlice: sync frontend default system prompt with backend
2026-03-25 17:23:13 -07:00
ciregenz d22e992148 [eric[ prod tesed and working 2026-03-25 15:48:13 -07:00
ciregenz 4b1422449d [eric] usage tracking accuracy synced 2026-03-24 14:10:55 -07:00