Commit Graph
989 Commits
Author SHA1 Message Date
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 4db536d757 [haik]: continue test infrastructure modernization: replace hand-rolled FakeExec class in test_browser_wait with AsyncMock side_effect/return_value, swap inline async def stubs in test_web_search_cascade and test_web_search_ddg for AsyncMock, replace _SyncThread shim in test_browser_self_audit with mocker.patch.object autospec, convert HangingExec.calls from int counter to list of call tuples for debuggability, update FakeAux.create in test_browser_playbook to accept **kw and record full call dicts with new assertions on model and max_tokens budget, widen mock HTTP helpers in test_v2_invariants to capture **kw as 4-tuples, remove unused _sanitize_server_name re-export from tools_lib.py, drop unused imports (pytest in test_v2_label_logic, dead imports in test_disconnect_resilience and test_outputs_runtime_cleanup), and enrich sentinel AssertionError messages with f-string context in cascade test guards 2026-06-13 14:14:04 -07:00
haikdc c8c6117d64 [haik]: remove dead code and modernize test infrastructure: drop unused functions (validate_credentials, get_provider_credentials, submit_state), remove unused imports and parameters across outputs, buffer, client, settings, credentials, service, auth, main, and tools_lib; replace hand-rolled async fakes in browser agent tests with pytest-mock mocker fixture and AsyncMock, switch to SimpleNamespace over ad-hoc test classes, adopt pytest.mark.usefixtures for unused fixture params, and add pytest-mock to dev dependencies 2026-06-13 13:01:11 -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
haikdc 7fdf37f416 [hAIk]: add lint preflight step in run.sh that runs print_errors.sh before the dev loop starts (skips gracefully if venv missing), replace python.terminal.activateEnvironment with a custom terminal-init.sh profile that sources .bash_profile then activates the backend venv, and set it as the default macOS terminal in VS Code settings 2026-06-13 10:55:32 -07:00
haikdc 51532c548c [hAIk]: add ruff lint check for per-file scope-aware rules (F401 unused imports, F811 redefinitions, F841 unused locals, ARG001/ARG002 unused args) and narrow vulture to whole-program dead-code reachability only — the two are complementary, not redundant; introduce CheckError exception so eslint/knip/ruff/vulture surface tool failures loudly instead of silently returning []; refactor run_checks() from a 7-tuple to a LintResult dataclass with sections + incomplete tracking, and exit non-zero on incomplete runs so CI never mistakes a partial pass for a clean one; update print_errors.sh with ruff section; pin ruff==0.15.17 in requirements-dev.txt; add missing @pytest.mark.asyncio decorators to test_outputs_runtime_cleanup.py and remove the pytest_collection_modifyitems auto-marker from test_phase1_stress.py; set tasks.json reveal to always 2026-06-13 10:36:49 -07:00
haikdc 44b82ba7c8 [hAIk]: add CastLabs EVS auth preflight in run.sh so DRM credential prompts resolve before backend/frontend logs interleave the terminal — supports shared .env.evs creds, interactive fallback signup, and OPENSWARM_SKIP_VMP=1 opt-out; propagate skip flag into sign-vmp.sh to bypass signing network calls; gate requirements-dev.txt install behind OPENSWARM_DEV=1 in backend/run.sh; disable max-file-lines, max-folder-items, and import-cycles linter checks and clear all exception/whitelist entries; add .env.evs.example template 2026-06-13 09:07:03 -07:00
haikdc 7e2f96d2dc [haik]: stop ignoring .vscode/ and add tasks.json with background linter watcher that runs on folder open; pin backend venv creation to python3.13; bump electron from 1.2.77 to 1.2.82; remove stale peer-dependency markers across electron and frontend lockfiles 2026-06-13 08:07:07 -07:00
ciregenz e95e6190a8 [eric] release: bump version to 1.2.82 (real Restart-button fix: keep-alive no longer eats quitAndInstall's close) v1.2.82 2026-06-12 23:34:28 -07:00
ciregenz 07e35068dc [eric] updater: keep-alive no longer swallows quitAndInstall's window-close (the real Restart-button-does-nothing fix) 2026-06-12 23:33:37 -07:00
ciregenz 53ec11d9cd [eric] release: bump version to 1.2.81 (Mac updater install-on-close + restart fix) v1.2.81 2026-06-12 22:28:22 -07:00
ciregenz ce1676436d [eric] updater: apply a pending Mac update on window-close + restart so the red button actually updates, not just lingers 2026-06-12 22:13:00 -07:00
ciregenz 5f2face717 [eric] updater: render the update banner version-less when unknown, kills 'OpenSwarm null' (Windows Squirrel + mid-download reload) 2026-06-12 21:29:26 -07:00
ciregenz 80021004ee [eric] release: re-pin 1.2.80 onto the browser-card fix + free trial v1.2.80 2026-06-12 20:22:32 -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
ciregenz dcfa475ec1 [eric] release: bump version to 1.2.81 2026-06-12 20:02:38 -07:00
ciregenz 6790a7b8fe [eric] free-trial: default the trial ON now that the cloud is live on prod and arming is verified 2026-06-12 20:01:05 -07:00
ciregenz be65eb43ea [eric] release: bump version to 1.2.80 2026-06-12 19:16:17 -07:00
ciregenz 0e557be7b8 [eric] views: gate app runtime/start behind previewSettled so spam-switching doesn't queue a pile of vite boots that stick the landed app on Initializing agent 2026-06-12 18:21:31 -07:00
ciregenz bfa7140907 [eric] views: keep the PixelBlast shader via one persistent WebGL context (reparent the canvas, never loseContext) so it looks the same with zero GPU churn 2026-06-12 17:39:29 -07:00
ciregenz 5cf6e2a4b1 [eric] browser: honor the user's selected browser card instead of spawning a new one (selection now reaches sub-agent dispatch + is claimed for the task) 2026-06-12 17:31:46 -07:00
ciregenz 23d8247778 [eric] views: CSS loading placeholder kills the WebGL-context churn that crashed app-switching (no chat anchoring the GPU); drop the click-swallowing nav throttle 2026-06-12 17:14:59 -07:00
ciregenz 65a5138bfa [eric] free-trial: arm snaps a non-Claude default to Haiku so the free lane actually routes 2026-06-12 14:02:58 -07:00
ciregenz e47a3dbf35 [eric] settings: boot reconciles managed 9router keys so a cleared key drops the stale connection 2026-06-12 14:02:58 -07:00
ciregenz a680df8817 [eric] release: bump version to 1.2.79 v1.2.79 2026-06-11 22:47:58 -07:00
ciregenz 2c02286823 [eric] electron: clear the frontend HTTP cache every launch, kills the stale-bundle-after-upgrade class for good 2026-06-11 22:47:58 -07:00
ciregenz 8bf044fc60 [eric] electron: clear renderer cache on build change, so an upgrade actually loads the new frontend (unversioned bundle.js was served stale) v1.2.78 2026-06-11 17:08:46 -07:00
ciregenz cd681861bd [eric] electron: lift GPU-process crash limit so a GPU hiccup recovers, not kills the app 2026-06-11 15:44:38 -07:00
ciregenz b8b65e253d [eric] apps: throttle app-list nav + gate WebGL placeholder, fix rapid-app-switch GPU crash 2026-06-11 15:44:38 -07:00
ciregenz dc3d967453 [eric] release: bump version to 1.2.78 2026-06-11 04:33:19 -07:00
ciregenz b415a16411 [eric] chat: treat an active stream as 'live' in the fetchSession merge so a mid-stream reopen keeps the user bubble (revert the fetch-skip that added the resume-bubble regression) 2026-06-11 04:11:38 -07:00
ciregenz cdaec3b7c8 [eric] chat: prefill caret parks at end (not pos 0) + skip the background reconcile-fetch while streaming so a mid-stream reopen stops wiping the user bubble 2026-06-11 03:52:42 -07:00
ciregenz 7d5df5f016 [eric] app-builder: seed initialDraftId from the existing session so a warm reopen renders the chat instantly (no Initializing-agent blank frame) 2026-06-11 03:42:57 -07:00
ciregenz 8a76354a6b [eric] chat: fix #65 scroll glitches, top-align messages (drop bottom-anchor), skip windowing under 60 items (kills the shrink-jump), auto-hide scrollbar until hover 2026-06-11 03:30:27 -07:00
abccodesandciregenz c0bc12763f [aidan] ui/ux: removed keyboard shortcuts 2026-06-11 03:13:05 -07:00
ciregenz 775b24d285 Merge PR #68 [aidan] bug: ui/ux fixes (back/forward disabled-state, browser-card dashboard scoping + resize, selection-overlay clipping, dashboard-duplicate carries chats)
AppShell conflict resolved: kept the lucide/redesign + folded in the back/forward disabled-state logic.
2026-06-11 02:59:30 -07:00
ciregenz be678c6573 Merge PR #65 [aidan] chat: virtualize long chat transcripts (windowed rendering) 2026-06-11 02:52:29 -07:00
ciregenz 0a81bfa17a Merge PR #70 [Aidan] appbuilder: inject selected-app context into dashboard agent chat 2026-06-11 02:51:05 -07:00
ciregenz b2d515566b [eric] onboarding: fix Build starters opening in Agent mode (prefill-mode now wins the reset race) + quirky 4th prompt per category (minecraft, world record, fantasy quest, moon) 2026-06-11 02:17:02 -07:00
ciregenz e07fa73a2d [eric] mac: close-to-dock hide + window.close stub, the window cannot vanish uninvited 2026-06-11 02:05:01 -07:00
ciregenz 150d113eb4 [eric] onboarding: Build starters open the dashboard composer in App Builder mode (no Apps-page context switch); drop the seed-prompt routing 2026-06-11 02:01:20 -07:00
ciregenz 351c055794 [eric] onboarding: flip starters back to click-to-open (drop hover preview), click opens the composer prefilled + translucent 2026-06-11 01:49:30 -07:00
ciregenz 6beace94a4 [eric] onboarding: HOVER a starter opens the composer (translucent preview), leave closes it, CLICK locks the query in to send 2026-06-11 01:43:08 -07:00
ciregenz f8afdf6b37 [eric] mac: window close no longer quits the app, dock reopen + quit-cause forensics 2026-06-11 01:40:59 -07:00
ciregenz 067061d982 [eric] onboarding: prefilled starter text renders translucent (pending suggestion), solidifies on first keypress/edit 2026-06-11 01:37:37 -07:00
ciregenz f282afb4fb [eric] onboarding: starter prompt opens the composer pre-filled (unsent), user reviews + hits send; replaces the ghost preview 2026-06-11 01:33:52 -07:00
ciregenz 6a5e80fcd9 [eric] onboarding: hovering a starter prompt shows a translucent ghost chat preview with the message as a user bubble 2026-06-11 01:19:27 -07:00
AidanandGitHub d69854520b fix: carry agent chats over when duplicating a dashboard (#73)
duplicate_dashboard cloned the layout but left every browser_card pointing at
the source's browser_id and never copied the sessions, so the new dashboard
showed the browser but no chat. Now we mint fresh browser_ids, duplicate every
session attached to the source dashboard (in-memory + on-disk), remap
browser_id / parent_session_id / spawned_by / cards / expanded_session_ids onto
the new ids, and persist via _save_session. Also restores top-level agent cards
(layout.cards), which were silently dropped on duplicate.
2026-06-11 01:16:00 -07:00
ciregenz d31bbf0af7 [eric] ui: pill the Build-with-AI button + widen sidebar default to 260 (matches claude.ai) 2026-06-11 00:59:35 -07:00
ciregenz b23ae41019 [eric] ui: bump sidebar font sizes, section labels 0.82->0.9rem and sub-items 0.78->0.86rem for readability 2026-06-11 00:43:41 -07:00