22 Commits
Author SHA1 Message Date
haikdc 08eb4b561f [haik]: refactor: systematize naming conventions across 20+ backend modules. Private module-level vars renamed _foo to P_FOO, private funcs _foo to p_foo, cross-module public funcs drop leading underscores entirely (e.g. _discover_mcp_tools_http -> discover_mcp_tools_http, _load_all -> load_all_tools, _classify_services -> classify_services). Local vars inside functions lose underscores (_backend -> backend_dir, _port -> port). Unnecessary import aliases removed (import json as _json -> import json). Imports reorganized to proper source modules (derive_mcp_config from mcp_config, oauth refresh funcs from oauth_tokens). Added Public comments documenting cross-module API boundaries. Extracted PENDING_OAUTH to oauth_state.py to break circular import. No behavioral changes. 2026-06-13 23:38:39 -07:00
haikdc fafbe45187 [haik]: refactor backend naming conventions across 14 files: rename module-internal functions from _fn to p_fn, module-level constants from _CONST to P_CONST, and cross-module public functions from _fn to fn (e.g. _load/_save to load/save in dashboards, _pending_oauth to PENDING_OAUTH in oauth_state, _nr to nr in sync, _process to P_PROCESS in process); hoist inline import json to module-level in modes.py; clean up redundant import subprocess alias and unused _aux_base variable; update all import sites in browser_agent, prompt_context, main, sync, and sync_custom 2026-06-13 20:34:25 -07:00
haikdc f0d3cabc47 [haik]: refactor: standardize backend naming and import structure - strip leading underscores from all internal functions/constants across agents, settings, session, and provider modules in favor of public names or P_ prefix for module-private symbols; replace nine_router/init.py barrel re-exports with direct submodule imports (process, sync, sync_custom, oauth); hoist inline stdlib imports to module level; delete dead openai_passthrough.py GPT-5 proxy and the redundant _save_settings alias 2026-06-13 19:30:34 -07:00
haikdc 8f649eb82c [haik]: rename _sanitize_server_name to sanitize_mcp_server_name (mcp_config canonical, agent_manager, prompt_context, main, tests, toolLabels comment), add no-underscore-names linter check banning leading-underscore Python names in backend, extract _models.py from classes.py for shared pydantic BaseModel field detection used by both classes and vulture checks, add vulture-ignore inline comment suppression and automatic pydantic field-name whitelisting to vulture.py, remove leaked payload arg from client.py sync, update README with new check docs and inline-ignore usage 2026-06-13 15:15:44 -07:00
haikdc d89fb7d870 [haik]: backend cleanup: remove unused imports (anthropic, json, time, sys, HTTPException, ws_manager, etc.), drop unused context params from tool hooks and execute methods, delete dead _resolve_model helper and entire thinking.py module, prune multi-provider subagent model fallback block in agent_manager, fix session_store to import SESSIONS_DIR directly from config.paths, re-home compute_tiers/compute_billing_kind imports from registry to pricing in agents.py, add google-workspace-mcp==2.0.1 to requirements-dev 2026-06-13 11:45:55 -07:00
ciregenz a1f390ef0f [eric] browser: claim only the user-picked card, not every dashboard card (fix 5cf6e2a) 2026-06-12 20:06:56 -07:00
AidanandGitHub e8e19661e6 Inject selected-app context into dashboard agent chat (#69)
When a user selects an App card on the dashboard via the "Select UI element" picker, thread the selected Output ids to the backend (mirroring the selected_browser_ids path) and inject a per-app context block into the system prompt: each app's absolute workspace path, entry point, meta.json, and a pointer to its SKILL.md. This lets the agent edit existing apps in place from the main view (the dashboard card's Vite runtime live-reloads on save) without switching to the Apps tab.
2026-06-10 21:29:02 -07:00
ciregenz 91073becec [eric] browser: finish via a Done(message) tool so the user gets a plain conversational reply, not the OUTCOME tag 2026-06-08 22:15:52 -07:00
ciregenz 725578b2a8 [eric] browser: orchestrator translates the OUTCOME line into a plain human confirmation; drop hardcoded task-specific examples from prompts 2026-06-07 23:44:39 -07:00
ciregenz 6c83e1cbb8 [eric] browser: orchestrator trusts the OUTCOME line, no verify re-dispatch, no re-narration 2026-06-05 11:14:13 -07:00
ciregenz 4f480104dc [eric] browser: route same-flow batch tasks to one sub-agent so BrowserRepeatFlow is reachable 2026-06-03 14:18:00 -07:00
ciregenz 63e321b9fa [eric] agent: call out the literal "-" in the no-dashes voice rule 2026-06-01 15:48:23 -07:00
ciregenz c89ba4dc30 [eric] agent: give the assistant a tight, quirky, no-dashes texting voice 2026-06-01 15:01:13 -07:00
eric 8d93e29321 [eric] agent: reframe identity as the user's personal digital company, drop coding emphasis 2026-05-31 23:38:53 -07:00
eric 979301db4d [eric] agent: trim identity blurb to one OpenSwarm mention and a tighter line (79 tokens) 2026-05-31 23:37:26 -07:00
eric 5e4148ef3e [eric] agent: make the identity blurb shorter, quirkier and less repetitive (mistaken-identity framing, one disavowal not three) 2026-05-31 23:33:13 -07:00
eric 1bccb24b54 [eric] agent: stop the assistant calling itself Claude Code by appending an identity override after the preset (keeps tools + cache, edit AGENT_NAME to rebrand) 2026-05-31 23:29:18 -07:00
eric 3dc8ff842a [eric] fix: text attachment cap is all-or-nothing now, no half-files since partial confuses the model and the user 2026-05-31 18:24:38 -07:00
eric c9d2005e0b [eric] fix: cap combined inline text attachments at 1.5m chars so a pile of txt files cant silently blow the context window 2026-05-31 18:01:48 -07:00
eric ecf348f9cb [eric] fix: autocompact now actually trims the model's history instead of just showing a marker 2026-05-31 18:00:39 -07:00
ciregenz 6cf2606666 [eric] merge: fold eric/cleanup abstraction refactor into dev (resolve 9, re-home edits) 2026-05-24 16:24:59 -07:00
ciregenz 4e9f5ceb07 [eric] tree: group agent_manager helpers under agents/manager session and prompt 2026-05-23 13:08:01 -07:00