Commit Graph
22 Commits
Author SHA1 Message Date
Arnav Naval 58c241442b add local.sh Windows compatability 2026-04-20 01:14:39 -05:00
haikdc f98c56ab7e [hAIk]: Holy fucking shit the agent finally works in the frontend: align frontend/backend naming: rename AgentSession.id→session_id across agentsTypes, agentsReducers, agentsExtraReducers, AgentCard, BrowserAgentOverlay, DashboardCanvas, useAgentChat, useToolbarActions, useDashboardKeyboard, MessageActions, and backend-bridge agents/dashboards; rename CardPosition.zOrder→z_order in dashboardLayoutTypes, dashboardLayoutReducers, dashboardLayoutSlice, and DashboardCanvas; fix circular import between dashboards.py and agents.py by deferring imports; add NINE_ROUTER_MODEL_MAP for sonnet/opus/haiku alias resolution in launch_agent; make build_agent_toolkit async and pass load_dashboard/save_dashboard into browser delegation toolkit; fix PromptMsgDict to use TypedDict, fix zip type hint bug, and fix browser agent model reference (parent.model→parent.config.model); add p_on_task_done callback with traceback logging on Agent, capture stderr and full tracebacks in run_agent_loop; add unwrages helper in agentsExtraReducers to normalize nested message payloads; pipe frontend console-message events to Electron stdout; enable ws:true on Vite proxy; add diagnostic console.logs across WS handlers, session lifecycle, and dashboard updates 2026-04-18 10:26:51 -07:00
haikdc d6d6bc2271 [hAIk]: added in debug statements instead of printing/logging 2026-04-18 07:43:31 -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 5536c0e60e [Haik]: tools subapp done, some touch ups may be done tho 2026-04-05 14:24:16 -07:00
haikdc e6848686aa [Haik]: removed lingering OLDapps dependancy from create_browser_card, also made mods to shared_structs because of this 2026-04-05 11:29:35 -07:00
haikdc c71e25d37b [Haik]: ckpt, dashboards subapp now done fully. Also made the resolve_sdk_env which is used now both for normal agents and quick llm calls, also modded the agents subapp to properly make use of this helper, also modded the run_browser_agent to inheret this from its parent agent 2026-04-05 11:09:15 -07:00
haikdc 84a87b715e [Haik]: ckpt on dashboard subapp, largely done, but now i gotta finick around w some of the llm abstractions (especially around keys/subscription) 2026-04-05 10:39:04 -07:00
haikdc 1cd5eaa496 [Haik]: ckpt on agents.py abstraction, looking good so far but we can do more 2026-04-05 08:37:38 -07:00
haikdc eca8cccf1a [Haik]: ckpt, copied over health and dashboard sub apps. Also made a generic PydanticStore and swapped the agents subapp to use this instead. Now gonna abstract and clean up this agents sub app a bit, then gonna make the dashboards sub app functional via the new codebase not the legacy shit 2026-04-05 08:21:13 -07:00
haikdc 7c5ed2557e [Haik]: ok ik this looks like alot but basically all i did was move the HaikFix folder to the backend root, then irenamed the apps folder to OLDapps, then i renamed HaikFix to apps 2026-04-02 17:50:29 -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 662805d573 [Haik]: 9router working again (at least locally) 2026-03-30 11:56:05 -07:00
haikdc b054ec41e0 [Haik]: Phase 1 agentic refactor. Foundations + Hygiene 2026-03-30 01:32:08 -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
haikdc 3f37ad8847 [Haik]: browser agent issues fixed (e.g. stopping it via parent or sub agent acc stops it now) (the lil browser agent modal properly shows up when a browser is reinvoked) 2026-03-20 21:54:46 -07:00
haikdc 9943ccafd5 [Haik]: (Agent browser render size matches that of user browser spawn) (queing messages) (chat loading bubble fix) (tethers to sub agents and branches are now permament and inputs are swapped to a continue chat button) (auto focus for everything) (history card position fix when redeployed) (dashboard persistance fixed) (non browser link clicks open in the in app browser now) (chat message tooltips for copy, branching, and editing / swapping between edited messages) 2026-03-18 23:45:54 -07:00
haikdc 1717d456cf [Haik]: (Now u can rename the dashboards via the sidebar) (Default system prompt - and a button to reset to the default if u ever modify it) (Completely revamped dashboard icon, when clicked it expands to show all active items in the dashboard, when u click an item, it jumps to it auto focussing) (this auto focus jump also has a custom animation and highlighting) 2026-03-16 03:56:18 -07:00
haikdc e6f1e18054 [Haik]: ckpt, this is a big one babayyy (dashboards now show screenshot previews of their contents like Apps) (Views are now called Apps) (Tools are called Actions) (Auto layout now preserves sizing and just works much better) (Browsers and Apps have larger spawn in size) (Tutorial info for how to get an anthropic key to help users - in the settings) (Added Descriptions to all 3 Main Pages in Navbar) (Also reorganized navbar and made it resizable) (Browsers now support multiple tabs) (Move the Commands page to settings - also beefed up settings a bit to encapsulate more) (Added inner glow on browser) (Added inputs in header of browser to act like normal google search) 2026-03-16 03:08:58 -07:00
haikdc 1b06780079 [Haik]: notarized app done and working. 2026-03-15 05:12:05 -07:00
haikdc 1632b5c9e5 [Haik]: ckpt, (Fixed view create duplication bug) (Views auto save) (MCP is star sorted by default) (reload issues in dash fixed) (electron app made) 2026-03-15 00:09:04 -07:00
haikdc 23621306a1 [Haik]: and so it begins 2026-03-13 12:09:25 -07:00