Commit Graph
74 Commits
Author SHA1 Message Date
haikdc 607165b866 [Haik]: refactored the browser toolkit into 2 sub toolkits (one for delegation and one for actions) 2026-04-02 15:13:14 -07:00
haikdc 804aeb74f9 [Haik]: ckpt, removed legacy deps from run_browser_loop. Now gonna refactor the new schemas.py to behave more like every other toolkit 2026-04-02 14:54:28 -07:00
haikdc 91fc6377ec [Haik]: browser toolkit seems done, now gonna work on the rest of the browser stuff maybe? 2026-04-02 14:32:37 -07:00
haikdc b27bd1bbd7 [Haik]: refactored the toolkits folder 2026-04-02 14:08:02 -07:00
haikdc dcb6f9e337 [Haik]: ckpt, boilerplate for browser actions added. Pushing rn bc next gonna abstract the bultin toolkits folder a bit then gonna finish up implementing this 2026-04-02 13:58:56 -07:00
haikdc 175806bf89 [Haik]: ckpt, agent toolkit done. Onto browser 2026-04-02 13:48:25 -07:00
haikdc fcaa15a0d9 [Haik]: Message and output classes refactored. Handlers for creating and invoking agents done. Now onto their actual tools, then the browser agent 2026-04-02 13:44:12 -07:00
haikdc 83a9e5759f [Haik]: ckpt on MCP tools, laregly done with the core and starting to add in custom tools, now gotta tweak the Message class stuff a bit more bc its too legacy 2026-04-02 13:00:36 -07:00
haikdc c9862394b0 [Haik]: ckpt, added toolkit nesting, also reorganized folder structure 2026-04-02 11:20:29 -07:00
haikdc 2bc4c42626 [Haik]: new Tool and Toolkit classes, also a folder containing all builtin toolkits 2026-04-02 11:07:54 -07:00
haikdc 7f92a8d384 [Haik]: fixed linter errors 2026-04-02 10:35:42 -07:00
haikdc d508324324 [Haik]: moved stuff out into its own folder 2026-04-02 10:34:38 -07:00
haikdc 371db12265 [Haik]: ok so new Agent class shld be done. In next push ima swap around the folder struct, then im gonna move onto other stuff bc the current agent manager shit seems like bs that can just be removed entirely 2026-04-02 10:27:39 -07:00
haikdc 1c54df9f32 [Haik]: satisfactory Agent class abstraction for now (altho im sure it doesnt fully work in the current setup yet), onto the AgentManager abstraction 2026-04-02 08:59:41 -07:00
haikdc ecdd215fe5 [Haik]: ckpt, largely done w the initial Agent class refactor. Now gonna add sub agent references for recursive cancels, then im gonna clean up the Agent folder for better downward abstraction 2026-04-02 08:07:38 -07:00
haikdc b228b5cf72 [Haik]: ckpt, started working on an abstraction for Agent. Starting to understand the slop, honestly im not mad, not even disapointed, im just kinda sad tbh. Ima go to sleep and hopefully wake up less sad :( I think tmr ima just pull an all nigher to deslop the backend entirely. 2026-04-01 01:59:41 -07:00
haikdc 6f5368388c [Haik]: removed all nested imports that didn't cause circular imports. Holy shit is manual coding needed here, the slop is sloppin bro wtf is this, i stg if any dev ever wrote code like this they shld be fired immediately. 2026-03-31 23:56:27 -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 de47fc06e6 [Haik]: ckpt, removed prompt templates and all related shit 2026-03-30 23:06:08 -07:00
haikdc 32093e0149 [Haik]: removed more unused code, now gonna remove the prompt templates feature entirely 2026-03-30 22:37:44 -07:00
haikdc 8be1e48341 [Haik]: removed unused endpoints, also made linter compatible with endpoint parsing 2026-03-30 22:00:36 -07:00
haikdc 23945ad079 [Haik]: ckpt, pass 1 of vulture cleansing 2026-03-30 20:40:46 -07:00
haikdc 3066f8647c [Haik]: Agentic refactor 1. Foundation & Packages for assistant-ui 2026-03-30 13:37:42 -07:00
haikdc 662805d573 [Haik]: 9router working again (at least locally) 2026-03-30 11:56:05 -07:00
haikdc 3449a55ec8 [Haik]: moved the mcp uvx to be in the folder it belongs in 2026-03-30 09:33:01 -07:00
haikdc 6ea5235a01 [Haik]: fixed custom linter error msg in ide to be more verbose for num items in file. Also modded the exceptions a bit. Also abstracted nine_router into a normal subapp typa format. Also made the linter functionally prevent publishing or merging if theres any errors. 2026-03-30 09:12:43 -07:00
haikdc 6deebbd052 [Haik]: ckpt, nine router now runs on different ports for dev vs prod. Also made a custom linter to enforce my standards 2026-03-30 08:53:52 -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 781003227d [Haik]: Agentic refactor 3. DRY Up Cross-Cutting Patterns 2026-03-30 02:42:48 -07:00
haikdc 7239f70446 [Haik]: Agentic refactor 2. Split Backend God Model 2026-03-30 02:12:22 -07:00
haikdc b054ec41e0 [Haik]: Phase 1 agentic refactor. Foundations + Hygiene 2026-03-30 01:32:08 -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 b75c6f8fe2 [eric] version 1.0.19 2026-03-28 10:54:50 -07:00
ciregenz ab42a9db05 [eric] fix Google Workspace MCP tools: system prompt truncation + macOS code signing 2026-03-28 10:42:35 -07:00
ciregenz c50eecc8f3 [eric] v1.0.18: fix session duration tracking, bump version, google workplace mcp tool fix, ui/ux improvements, qol 2026-03-27 19:59:01 -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 9024f1b5ea [eric] v1.0.16: fix 9Router CLI auth for subscription users, analytics, model updates 2026-03-27 00:36:35 -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 f01b209168 [eric] bundle uv/uvx for non-dev users, fix Google Workspace MCP startup
- Bundle uv/uvx universal binaries in backend/uv-bin/ (downloaded during build)
  - tools_lib: _extra_bin_dirs and _resolve_command check uv-bin/ for uvx
  - build-app.sh: auto-download uv for both architectures, create universal binary
  - run.sh: auto-download uv for dev mode on first run
  - Removed google-workspace-mcp from requirements.txt (dependency conflict with langchain
2026-03-26 13:04:27 -07:00
ciregenz e04eb2fb74 [eric] fix browser agent for 9Router, subscription-first priority, uvx fallback for non-dev users
- browser_agent.py: use get_anthropic_client instead of raw api_key, fix model map for 9Router
  - credentials.py + agent_manager.py: subscription (9Router) checked before API key everywhere
  - main.py: clean browser-agent endpoint, no credential params
  - tools_lib.py: when uvx not found, fall back to pip-installed binary from venv
  - requirements.txt: add google-workspace-mcp so it works without uvx
2026-03-26 12:17:37 -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 cf775b4977 [eric] - build-app.sh: pre-build 9Router, bundle .next/standalone into Electron
- electron/package.json: add 9router to extraResources
2026-03-25 13:35:23 -07:00
ciregenz cbefe89fe0 [eric] google mcp auth 2026-03-25 12:10:44 -07:00
ciregenz 4b1422449d [eric] usage tracking accuracy synced 2026-03-24 14:10:55 -07:00
ciregenz ebea25f0c2 [eric] [eric] add PostHog analytics, 9Router subscription proxy, unified usage tracking
- PostHog integration: collector, analytics subapp, opt-in UI, Analytics page
  - 9Router: auto-start, OAuth subscription flow, /v1/messages Anthropic format support
  - Settings overhaul: multi-provider API keys, subscription connect UI, onboarding modal
  - Unified usage: merge 9Router cost/token data into Settings Usage tab
  - Provider system: providers/, agent_loop, tools/ (unused, for future non-Anthropic support)
  - Agent SDK: restored as primary with 9Router ANTHROPIC_BASE_URL fallback
  - Updated system prompt, credential resolution, dashboard analytics
2026-03-24 14:02:58 -07:00
ciregenz 8d09e46df5 [eric] add PostHog analytics integration 2026-03-24 11:48:50 -07:00
haikdc 809eacc041 [Haik]: round 2 of dynamic island redesign (collapsible completed tab) (approve/deny from collapsed state) (height limited and scrollable expanded state) 2026-03-20 23:41:20 -07:00