haikdc
|
18a46d5d85
|
[hAIk]: Replace babel-loader with swc-loader and reduce shiki language bundles from 235 to 56 for faster builds. Swapped babel-loader for swc-loader (Rust-based transpiler), removed @babel/core, @babel/preset-env, @babel/preset-react, @babel/preset-typescript, and babel-loader (-106 packages). Changed code-block.tsx imports from bare shiki to shiki/bundle/web + shiki/engine/javascript. Added webpack resolve aliases to redirect @pierre/diffs nested shiki bundle-full.mjs to bundle-web.mjs and replaced its langs.mjs with a no-op shim. Switched devtool from source-map to eval-cheap-module-source-map. Results: build time ~31s to ~20s, cacheable modules 30.3 MiB to 22.6 MiB, vendor chunks 379+ to ~199.
|
2026-04-18 07:58:38 -07:00 |
|
haikdc
|
d6d6bc2271
|
[hAIk]: added in debug statements instead of printing/logging
|
2026-04-18 07:43:31 -07:00 |
|
haikdc
|
ca2ea81f82
|
[hAIk]: refactor backend settings and tools routes to use explicit endpoint names (/get_settings, /update_settings, /get_builtin_permissions, /update_builtin_permissions) with matching frontend updates; simplify base_routes.ts to relative /api path; add new appsSlice Redux slice and register in store; remove unused GET_HISTORY reducer; rename structlint to lint across CI workflow, local.sh, and publish.sh; strip ANSI escape codes from NineRouter forwarded output; add swarm-debug as backend dependency
|
2026-04-18 07:21:41 -07:00 |
|
haikdc
|
ad8add82fd
|
[hAIk]: replace HTTP file upload with native Electron showOpenDialog: remove uploadAndAttachFiles fetch-based upload in useChatSubmit and useComposerAttachments, add browseAndAttachFiles using window.openswarm.showOpenDialog with ContextPath-based attachment, declare showOpenDialog in electron.d.ts, remove hidden file input refs and upload spinner from ChatInput/ModelModeSelector/OpenSwarmComposer. Rename WebSocket from /ws/dashboard to /ws on backend and rename dashboardWs to agentsWs across WebSocketManager, useDashboardInit, and browserCommandHandler. Export AGENTS_WS_API from agents bridge. Disable modelsSlice (delete file, comment out store registration and fetchModels dispatches) and stub mcpRegistrySlice thunks with not-implemented errors, move clearDetail to local action creator in useToolsState
|
2026-04-18 06:52:50 -07:00 |
|
haikdc
|
0d3c515616
|
[hAIk]: migrate dashboard layout thunks to backend-bridge: replace legacy fetchLayout with GET_DASHBOARD and saveLayout with UPDATE_DASHBOARD, move browser-card tab normalization into slice extraReducers, extend Dashboard interface with layout type, remove dashboardLayoutThunks.ts and unused LayoutPayload/SaveLayoutPayload types. Also removed UsageStats and DiffViewer
|
2026-04-18 06:19:24 -07:00 |
|
haikdc
|
09ea76b12d
|
[hAIk]: Replace custom DirectoryBrowser with native Electron file dialog; move ContextPath type to agentsTypes, remove BrowseResult, update all imports. Also removed unused Analytics page
|
2026-04-18 06:02:13 -07:00 |
|
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
|
dbfa1a3c7d
|
[Haik]: Fixed all pydantic instance attribute violations
|
2026-04-17 23:34:15 -07:00 |
|
haikdc
|
e5ba3412f2
|
[Haik]: classes now extend basemodel and private vars properly dont start with an underscore
|
2026-04-05 21:17:03 -07:00 |
|
haikdc
|
2dec5b6283
|
[Haik]: created helper sub fulder and fixed imports
|
2026-04-05 21:13:18 -07:00 |
|
haikdc
|
dd79b10e3c
|
[Haik]: ckpt, made classes for NineRouterClient and NineRouterProcess, now gonna abstract the NineRouter dir a bit, then clean up the type specing/checking in all the classes
|
2026-04-05 21:10:07 -07:00 |
|
haikdc
|
e835604a09
|
[Haik]: ckpt, initial version of NineRouter singelton
|
2026-04-05 20:58:44 -07:00 |
|
haikdc
|
28820c91eb
|
[Haik]: ckpt, abstracted helpers within NineRouterProcess
|
2026-04-05 20:47:18 -07:00 |
|
haikdc
|
aa250ce203
|
[Haik]: minor cleanup focussed around naming (especially the names starting with an underscore as this just nerfs all type checking/specing) also some logger removes, pulling out constants, etc. Now gonna pull out some helpers then maybe its singelton time again?
|
2026-04-05 20:33:40 -07:00 |
|
haikdc
|
961941bd38
|
[Haik]: ckpt, ai slop subscriptions subapp done, now time for janitor haik to come in
|
2026-04-05 20:19:27 -07:00 |
|
haikdc
|
a9e0b5ac1c
|
[Haik]: added websocket connection to frontend for the agents subapp
|
2026-04-05 20:10:18 -07:00 |
|
haikdc
|
17649e3be2
|
[Haik]: renamed registry_refresh_loop folder to RegistryRefreshLoop. Also created a SkillStore folder containing the relevant content so both singeltons are roughly organized the same
|
2026-04-05 19:00:18 -07:00 |
|
haikdc
|
b1dbd4bce8
|
[Haik]: all skills related abstractions done, now gonna clean up and rename
|
2026-04-05 18:56:05 -07:00 |
|
haikdc
|
f012faae94
|
[Haik]: ckpt on cleanup, made a SkillStore singelton to handle db logic, also abstracted helper functions but now likely gonna make this a singelton too
|
2026-04-05 18:36:20 -07:00 |
|
haikdc
|
e1e8986519
|
[Haik]: ckpt, ai slop skills subapp done, now time for janitor haik to come in
|
2026-04-05 18:10:26 -07:00 |
|
haikdc
|
498483f909
|
[Haik]: renamed the pydantic store from _store to P_APP_METADATA_STORE
|
2026-04-05 17:40:36 -07:00 |
|
haikdc
|
02274d0289
|
[Haik]: removed redundant duplicate file storage, also renamed anything related to an app workspace to avoid confusion with when we ultimately swap the dashboards over to be workspaces
|
2026-04-05 17:37:45 -07:00 |
|
haikdc
|
f047bd57b7
|
[Haik]: reorganized enpoint classes to be within the subapp directly like other subapps
|
2026-04-05 17:22:21 -07:00 |
|
haikdc
|
ef1d2daa46
|
[Haik]: ckpt, abstracted utils into their own folder
|
2026-04-05 17:04:48 -07:00 |
|
haikdc
|
bf217ec081
|
[Haik]: ckpt, abstracted the templates functionality and swap contents to be legit files
|
2026-04-05 16:58:14 -07:00 |
|
haikdc
|
61212c648d
|
[Haik]: removed app input functionality entirely as this will no longer be used
|
2026-04-05 16:49:44 -07:00 |
|
haikdc
|
6fbd766bbe
|
[Haik]: ckpt, app builder skeleton copied over from legacy with slight mods and fluff trimmage. Now gonna trim out some more stuff, then refactor / organize
|
2026-04-05 16:32:50 -07:00 |
|
haikdc
|
fa3376f9d8
|
[Haik]: renamed the oath folder to OAuthService
|
2026-04-05 15:46:52 -07:00 |
|
haikdc
|
7dfbe21787
|
[Haik]: cleaned up oauth logic so theres a single OAuthService class that handles logic only, then all endpoints and stores are handled in the tools subapp. Now gonna rename the oauth folder and fix imports
|
2026-04-05 15:44:35 -07:00 |
|
haikdc
|
60f554de6a
|
[Haik]: cleaned up imports prior to oath.py refactor
|
2026-04-05 14:52:09 -07:00 |
|