Commit Graph
197 Commits
Author SHA1 Message Date
Steven EnamakelandGitHub b184a1ba2a feat(webview): add gmail, outlook, instagram, twitter providers (#3755) 2026-06-17 18:36:04 -07:00
976b31f631 refactor(cdp): migrate all scanners to in-process transport; drop TCP DevTools port (#3636)
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-06-15 18:27:55 -07:00
sanil-23andGitHub e105e63c0c feat(claude-code): opt-in agent provider + OpenHuman memory over MCP, macOS auth fix (#3310) (#3647) 2026-06-14 01:40:52 +05:30
oxoxDevandGitHub 4c886765cc feat(cef): in-process CDP DevTools transport (foundation) (#3498) 2026-06-08 23:39:21 -07:00
sanil-23andGitHub f68069e502 fix(observability): classify inference errors on backend errorCode (F2/F3/F4/F6/F7/F8) (#3520) 2026-06-08 15:57:33 -07:00
oxoxDevandGitHub 670bfdd189 fix(shell): demote per-poll CEF cache-held log to debug (TAURI-RUST-B7S) (#3496) 2026-06-08 07:25:31 -07:00
CodeGhost21andGitHub a7516a83bd feat(voice): global push-to-talk hotkey (#3090) (#3349) 2026-06-05 18:38:03 -04:00
oxoxDevandGitHub ecad06534a fix(shell): bounded macOS/Linux CEF cache-lock wait + graceful init failure (TAURI-RUST-F) (#3337) 2026-06-05 10:16:05 -04:00
b3be665937 feat(agent_meetings): wire mascotId through full stack + fix tests (#3363)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 10:15:26 -04:00
Mega MindandGitHub 769e8ef249 feat(voice): Phase 3 fast command router (7/8 of #3307) (#3346) 2026-06-05 00:07:58 +05:30
Mega MindandGitHub f3e70e67ab feat(notch): always-visible macOS notch status pill (6/8 of #3307) (#3345) 2026-06-04 22:46:32 +05:30
Mega MindandGitHub cd314843ef feat(agent): wire automate/ax_interact computer tools (3/8 of #3307) (#3342) 2026-06-04 19:13:56 +05:30
Mega MindandGitHub e3ebaca8fd feat(computer): main-thread synthetic-input executor + CEF crash fix (1/7 of #3307) (#3340) 2026-06-04 16:50:11 +05:30
9d28a728a0 feat(claude-code): Claude Code CLI provider — Phases 1–5 (#2472)
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-06-02 19:25:05 -07:00
oxoxDevandGitHub f2154de4d6 fix(shell): Windows pre-CEF cache-lock wait to stop relaunch panic (TAURI-RUST-F) (#3210) 2026-06-02 17:18:54 -07:00
Mega MindandGitHub 183497852f fix(tauri): gate cef_preflight to macOS/Linux to fix Windows build (#3225) 2026-06-02 21:19:51 +05:30
307c8e2b2a feat(chat): ArtifactCard + Tauri download + backend artifact events (#2779) (#3017)
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-06-02 19:32:30 +05:30
YOMXXXandGitHub 37ac828258 fix(sentry): bind scope user at session boundaries + core boot (#3135) (#3176) 2026-06-01 20:15:33 -07:00
YOMXXXandGitHub 33245e8e64 fix(runtime): apply 16 MiB worker stack to desktop core + agent CLI runtimes (#3159) (#3175) 2026-06-01 20:14:27 -07:00
Steven EnamakelandGitHub 123e8b0353 refactor(rust): split oversized modules (#2991) 2026-05-29 16:36:56 -07:00
Steven EnamakelandGitHub 525eaf74d7 refactor(rust): move large inline tests to files (#2987) 2026-05-29 15:14:46 -07:00
6ef6c21d68 feat(tauri): OPENHUMAN_FORCE_GPU env override for Linux CEF disable (#2862)
Co-authored-by: zahica1234 <i.milev001@gmail.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-05-29 11:00:05 -07:00
Mega MindGitHubsanil-23Claude Opus 4.7sanil-23cyrus@tinyhumans.ai <cyrus@tinyhumans.ai>Steven Enamakel
db3fdc2e6c feat(skills): scheduled dashboard + run/new pages + [github] preflight gate + composio-only GitHub I/O (#2882)
Co-authored-by: sanil-23 <sanil@alphahuman.xyz>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: sanil-23 <sanil@vezures.xyz>
Co-authored-by: cyrus@tinyhumans.ai <cyrus@tinyhumans.ai>
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-05-29 10:17:58 +05:30
cd6acd557d refactor(memory): route Obsidian deep link through workspace-link layer (#2492) (#2702)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Happy <yesreply@happy.engineering>
2026-05-28 20:30:57 -07:00
b1b919a92a feat(meet-agent): Flow A second brain — orchestrator + tools + pre-roll + cache + barge-in
Co-authored-by: M3gA-Mind <megamind@mahadao.com>
2026-05-29 07:10:50 +05:30
oxoxDevandGitHub 336d811ca0 feat(core): pass in-process RPC bearer via internal handle, not process env (#2709) 2026-05-29 04:35:33 +05:30
YOMXXXandGitHub ebb69779eb fix(reset): release log file handle + queue locked entries on Windows reboot (#2668) 2026-05-28 19:15:40 +05:30
CodeGhost21andGitHub 976e5643ea fix(tauri): verify openhuman:// registry registration on Windows (#2699) (#2757) 2026-05-27 23:39:12 +05:30
YellowSnnowmannandGitHub f946eda516 fix(tauri): harden Windows pre-CEF single-instance mutex handling (#2669) 2026-05-27 12:46:37 +05:30
oxoxDevandGitHub 60050aa09a feat: tighten runtime policy + transport guards v2 (#2636) 2026-05-26 17:25:57 +05:30
Mega MindandGitHub 730017e2ef test(loopback-oauth): extract classify_request and add routing unit tests (#2646) 2026-05-26 15:08:19 +05:30
c244f5875a fix: harden workspace routing and local-first gates (#2445)
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-05-25 09:15:40 -07:00
Mega MindandGitHub cdee8f73fb fix(startup): recover from core port 7788 conflict automatically (#2626) 2026-05-25 20:09:08 +05:30
Steven EnamakelandGitHub 6a06baee9b fix(windows): make port/process takeover actually free the port (#2552) 2026-05-23 16:06:38 -07:00
Steven EnamakelandGitHub 4c6007b662 fix(oauth): make loopback redirect actually work, plus settings cleanup (#2550) 2026-05-23 10:35:44 -07:00
b47b71ea3f fix(core): clean up startup timeout task (#2407)
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-05-23 01:54:16 -07:00
Steven EnamakelandGitHub 3e5a083793 feat(ios): iOS client with QR pairing, E2E-encrypted tunnel, and push-to-talk (#1420) 2026-05-23 01:44:50 -07:00
Steven EnamakelandGitHub 9bae6d5563 feat(analytics): forward x-tauri-version and x-core-version on every backend request (#2514) 2026-05-22 22:46:55 -07:00
Steven EnamakelandGitHub bbec0d61f9 feat(auth): loopback OAuth redirect with deep-link fallback (#2511) 2026-05-22 21:57:50 -07:00
1cb6a14686 fix(tauri): forward deep-link URLs on Linux before CEF preflight exits secondary (#2458)
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
Co-authored-by: Steven Enamakel <31011319+senamakel@users.noreply.github.com>
2026-05-22 20:43:14 -07:00
ae6909f66b feat(tauri): support workspace file links (#2476)
Co-authored-by: Steven Enamakel <31011319+senamakel@users.noreply.github.com>
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-05-22 19:41:21 -07:00
Mega MindandGitHub 1f9a23d91b fix(cef): auto-disable prewarm webview on Wayland/XWayland to prevent X_ConfigureWindow BadWindow crash (#2490) 2026-05-22 15:46:45 -07:00
f1eae121a6 channels: wechat message scraping into context and memory (follow-up to #1991) (#1990) (#2264)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 12:53:47 -07:00
JesseandGitHub ed3e453b8b fix(tauri): forward Windows local-runtime OAuth callbacks (#2469) 2026-05-22 19:17:43 +05:30
Andrew BarnesandGitHub f9d94817dd fix: explain reset-data Windows file locks (#2395) 2026-05-22 17:01:15 +05:30
oxoxDevandGitHub b08aa3ea8d fix(tauri): retry main-window lookup on Windows after SW_SHOW (#3A) (#2341) 2026-05-22 15:59:05 +05:30
Srinivas VaddiandGitHub 0257a6cf79 Add approval audit history read path (#2335) 2026-05-21 23:52:52 +05:30
oxoxDevandGitHub dcec5858e0 fix(tauri): pre-flight every xdg-utils binary before register_all (#5V) (#2416) 2026-05-21 22:57:44 +05:30
369a39288c test(e2e): wipe memory tree during test reset
## Summary

- Extends `openhuman.test_reset` so E2E resets also wipe Memory Tree state via the existing `memory_tree_wipe_all` path.
- Adds reset summary fields for memory-tree rows, content directories, and Composio sync-state rows so Appium logs show exactly what was cleared.
- Adds a focused async unit test covering memory-tree content directory cleanup through the new reset helper.

## Problem

- #1862 tracks that `openhuman.test_reset` only cleared auth/onboarding/cron state, while Memory Tree data could survive between specs in a shared Appium session.
- That means memory-oriented specs can pass or fail based on chunks, wiki content, or sync cursors left by an earlier spec.

## Solution

- Calls `read_rpc::wipe_all_rpc(&config)` from `test_support::rpc::reset` after cron cleanup and before config/auth clearing.
- Surfaces `memory_tree_rows_deleted`, `memory_tree_dirs_removed`, and `memory_tree_sync_state_cleared` in `ResetSummary`, `reset_json`, and the controller schema.
- Keeps this as a scoped #1862 slice; other domains listed in the issue can land as separate hook PRs.

## Submission Checklist

- [x] Tests added or updated (happy path + at least one failure / edge case) per [Testing Strategy](../gitbooks/developing/testing-strategy.md#failure-path-requirement) — focused unit test covers Memory Tree content-dir cleanup; existing `wipe_all_rpc` owns table/sync-state failure behavior.
- [x] **Diff coverage >= 80%** — new Rust test covers the new helper path; CI coverage gate is authoritative.
- [x] Coverage matrix updated — N/A: E2E test-support reset plumbing, no product feature row added/removed.
- [x] All affected feature IDs from the matrix are listed in the PR description under `## Related` — N/A: no feature matrix row.
- [x] No new external network dependencies introduced (mock backend used per [Testing Strategy](../gitbooks/developing/testing-strategy.md#mock-policy))
- [x] Manual smoke checklist updated if this touches release-cut surfaces ([`docs/RELEASE-MANUAL-SMOKE.md`](../docs/RELEASE-MANUAL-SMOKE.md)) — N/A: test-support RPC only.
- [x] Linked issue closed via `Closes #NNN` in the `## Related` section — N/A: scoped slice; references #1862 without closing the umbrella.

## Impact

- E2E specs that call `resetApp(...)` now start without prior Memory Tree chunks, summary/wiki files, or sync cursors.
- User runtime behavior is unchanged unless the E2E-only `openhuman.test_reset` controller is compiled/enabled.

## Related

- Refs #1862
- Follow-up PR(s)/TODOs: add hook coverage for remaining #1862 domains: channels, skills, webview_accounts, threads, notifications, webhooks, cost, referral, composio.

---

## AI Authored PR Metadata (required for Codex/Linear PRs)

### Linear Issue
- Key: N/A
- URL: N/A

### Commit & Branch
- Branch: `codex/1862-test-reset-memory-tree`
- Commit SHA: `48630b40f69400d6a3c5e055e80c25486e3bba6d`

### Validation Run
- [x] `pnpm --filter openhuman-app format:check` — N/A: no frontend files changed.
- [x] `pnpm typecheck` — N/A: no TypeScript files changed.
- [x] Focused tests: attempted `cargo test -p openhuman test_support::rpc::tests::wipe_memory_tree_removes_content_dirs_and_reports_summary --lib`.
- [x] Rust fmt/check (if changed): `cargo fmt --all --check`; `git diff --check`.
- [x] Tauri fmt/check (if changed): N/A: no Tauri shell files changed.

### Validation Blocked
- `command:` `cargo test -p openhuman test_support::rpc::tests::wipe_memory_tree_removes_content_dirs_and_reports_summary --lib`
- `error:` local Windows build fails before tests in `whisper-rs-sys` because `clang.dll` / `libclang.dll` is missing and `LIBCLANG_PATH` is unset.
- `impact:` focused test did not execute locally; CI Linux/Windows runners with libclang are expected to compile and run it.

### Behavior Changes
- Intended behavior change: E2E-only test reset now wipes Memory Tree state in addition to cron/auth/onboarding state.
- User-visible effect: none in normal builds; E2E logs show memory-tree wipe counts.

### Parity Contract
- Legacy behavior preserved: cron cleanup, auth clearing, onboarding reset, and active-user removal still run and still short-circuit on failure.
- Guard/fallback/dispatch parity checks: Memory Tree wipe reuses the existing user-facing `wipe_all_rpc` implementation instead of adding a second deletion path.

### Duplicate / Superseded PR Handling
- Duplicate PR(s): N/A
- Canonical PR: this PR
- Resolution (closed/superseded/updated): N/A


<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

* **New Features**
  * Reset now clears memory-tree persistent data during fresh-install resets and reports rows deleted, directories removed, and sync-state entries cleared.

* **Documentation**
  * Updated reset operation schema and outputs to include memory-tree cleanup fields.

* **Tests**
  * Added a unit test verifying memory-tree wipe removes content directories and reports summary metrics.

* **Bug Fixes**
  * Increased core startup readiness timeout to reduce startup failures.

<!-- review_stack_entry_start -->

[![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/tinyhumansai/openhuman/pull/2308?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: aqilaziz <gonzes7@gmail.com>
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-05-20 17:07:59 -07:00
4e5eaa71a2 feat(settings): add MCP server configuration panel
## Summary

- Adds a **MCP Server** panel under Settings → Developer Options so users can configure external MCP clients without hand-editing JSON files
- New Tauri commands `mcp_resolve_binary_path` (returns binary path + OS) and `mcp_open_client_config` (opens the client's config file in the system editor)
- Generates correct per-client JSON snippets for Claude Desktop, Cursor, Codex, and Zed — OS-aware config file paths for macOS, Windows, and Linux
- Copy-to-clipboard and "Open Config File" (Tauri-only) buttons eliminate the manual setup steps that were blocking non-developer adoption

## Problem

- The `openhuman-core mcp` stdio server ships 10 memory/tree tools but has zero UI surface — users must locate the binary, find the per-client config file path, and hand-write the JSON
- Conversion drops to near-zero outside of developers; this is the bottleneck on MCP adoption for the features already merged in #1760, #1790, #1974

## Solution

- `app/src-tauri/src/mcp_commands.rs`: two new Tauri shell commands with OS-aware path resolution, auto-create config dirs/files if absent, and platform-specific `open`/`explorer`/`xdg-open` dispatch
- `McpServerPanel.tsx`: reads binary path on mount via `invoke`, generates the correct snippet shape per client (Zed uses `context_servers`, others use `mcpServers`), gracefully degrades when binary is not found
- Binary path resolution handles dev mode (walks up to `target/debug/`), env override (`OPENHUMAN_CORE_BINARY_PATH`), and release mode (sibling of host exe)
- All user-visible strings go through the i18n system; component is Tauri-gated for "Open Config File"

## Submission Checklist

- [x] Tests added or updated (happy path + at least one failure / edge case) — 8 Vitest tests + 9 Rust unit tests covering all client/OS combinations, clipboard copy, binary error fallback, Tauri gate
- [x] **Diff coverage ≥ 80%** — `pnpm test:coverage` passes; new React component and Rust pure functions are fully covered; Tauri command wrappers and release-mode binary path are not testable without a packaged build (noted in PR as a known caveat)
- [x] N/A: Coverage matrix — no new feature rows required; this surfaces existing MCP feature ID `11.1.4` in the UI
- [x] All affected feature IDs from the matrix listed below under Related
- [x] N/A: No new external network dependencies — no network calls; binary resolution is local filesystem only
- [x] N/A: Manual smoke checklist — not a release-cut surface
- [x] Linked issue closed via `Closes #2030`

## Impact

- Desktop only (macOS, Windows, Linux) — uses Tauri shell commands; web/CLI unaffected
- No performance implications; panel is lazy-loaded via routing
- Binary path resolution degrades gracefully if `openhuman-core` is not bundled in the packaged app — shows a build instruction fallback message

## Related

- Closes #2030
- Feature ID: `11.1.4` (MCP stdio server)
- Builds on: #1760, #1790, #1974
- Follow-up: verify `openhuman-core` binary is included in the packaged `.app` bundle (sidecar was removed in #1061; if the binary is not bundled the panel will show the fallback message in production)

---

## AI Authored PR Metadata (required for Codex/Linear PRs)

### Linear Issue
- Key: N/A
- URL: N/A

### Commit & Branch
- Branch: `feat/mcp-settings-panel`
- Commit SHA: 85e091db

### Validation Run
- [x] `pnpm --filter openhuman-app format:check`
- [x] `pnpm typecheck`
- [x] Focused tests: `pnpm debug unit McpServerPanel.test.tsx` — 8/8 passed
- [x] Rust fmt/check (if changed): `cargo fmt --check` + `cargo check --manifest-path app/src-tauri/Cargo.toml` — clean
- [x] Tauri fmt/check (if changed): included above

### Validation Blocked
- `command:` N/A
- `error:` N/A
- `impact:` N/A

### Behavior Changes
- Intended behavior change: Adds MCP Server panel to Settings → Developer Options with snippet generator and config file opener
- User-visible effect: Users can now configure Claude Desktop, Cursor, Codex, or Zed to use OpenHuman's MCP server in a few clicks instead of hand-editing JSON

### Parity Contract
- Legacy behavior preserved: No existing behavior changed; purely additive
- Guard/fallback/dispatch parity checks: `isTauri()` guard on "Open Config File" button; binary-not-found degrades to placeholder with build instructions

### Duplicate / Superseded PR Handling
- Duplicate PR(s): None
- Canonical PR: This PR
- Resolution: N/A

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

* **New Features**
  * Added an "MCP Server" settings panel under Developer Options with tabs for multiple clients (Claude Desktop, Cursor, Codex, Zed)
  * Shows resolved MCP/OpenHuman binary status, generates client-specific JSON snippets, copy-to-clipboard, and an "Open Config File" action when available

* **Tests**
  * Added UI tests for rendering, snippet content, copy behavior, binary-failure fallback, and open-config action

* **Localization**
  * Added translations for the MCP Server UI across many languages

<!-- review_stack_entry_start -->

[![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/tinyhumansai/openhuman/pull/2355?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)

<!-- review_stack_entry_end -->
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: M3gA-Mind <megamind@mahadao.com>
Co-authored-by: Steven Enamakel <enamakel@tinyhumans.ai>
2026-05-20 17:01:46 -07:00