Repository navigation
refactor(tauri): reduce desktop host to sidecar lifecycle + deep-link - #84
Merged
Merged
Conversation
…arding flow - Added DEV_FORCE_ONBOARDING configuration to bypass onboarding checks during development. - Updated onboarding logic in AppRoutes to respect the new flag, ensuring onboarding is always shown when enabled. - Introduced new utility functions for managing onboarding state based on the flag. - Updated Cargo.lock and Cargo.toml to reflect dependency changes and version updates. - Removed deprecated openhuman command module and refactored related functionalities into daemon_host module for better organization.
- Updated DaemonHealthService to use polling via `openhuman.health_snapshot` instead of event listening for health updates. - Introduced a new focusMainWindow function to centralize window focus logic across deep link handling and Tauri commands. - Replaced `invoke` calls with direct window management methods for showing, hiding, and toggling the main window. - Removed deprecated core_rpc module and related commands for improved organization and clarity. - Updated Cargo.toml and Cargo.lock to reflect dependency changes.
…bject structure - Moved the import of `callCoreRpc` to a more appropriate location in DaemonHealthService. - Simplified the structure of the tools object in the aiGetConfig function for better readability. - Ensured consistency in Tauri command invocations by removing unnecessary line breaks.
AusAgentSmith
pushed a commit
to AusAgentSmith/openhuman
that referenced
this pull request
May 23, 2026
chore: merge develop into main (v0.37.0)
AusAgentSmith
pushed a commit
to AusAgentSmith/openhuman
that referenced
this pull request
May 23, 2026
…tinyhumansai#84) * feat(onboarding): introduce DEV_FORCE_ONBOARDING flag to control onboarding flow - Added DEV_FORCE_ONBOARDING configuration to bypass onboarding checks during development. - Updated onboarding logic in AppRoutes to respect the new flag, ensuring onboarding is always shown when enabled. - Introduced new utility functions for managing onboarding state based on the flag. - Updated Cargo.lock and Cargo.toml to reflect dependency changes and version updates. - Removed deprecated openhuman command module and refactored related functionalities into daemon_host module for better organization. * feat(daemon): refactor daemon health monitoring and window management - Updated DaemonHealthService to use polling via `openhuman.health_snapshot` instead of event listening for health updates. - Introduced a new focusMainWindow function to centralize window focus logic across deep link handling and Tauri commands. - Replaced `invoke` calls with direct window management methods for showing, hiding, and toggling the main window. - Removed deprecated core_rpc module and related commands for improved organization and clarity. - Updated Cargo.toml and Cargo.lock to reflect dependency changes. * refactor(daemonHealthService): streamline imports and simplify tool object structure - Moved the import of `callCoreRpc` to a more appropriate location in DaemonHealthService. - Simplified the structure of the tools object in the aiGetConfig function for better readability. - Ensured consistency in Tauri command invocations by removing unnecessary line breaks.
7 tasks done
YOMXXX
added a commit
to YOMXXX/openhuman
that referenced
this pull request
May 27, 2026
Blockers:
- Switch `memoryTreePipelineStatus` and `memoryTreeSetEnabled` from
`invoke('core_rpc_relay', ...)` back to `callCoreRpc`. The
`core_rpc_relay` Tauri command was removed in tinyhumansai#84 and is not
registered in the shell — the previous commit that switched to it
was incorrect and would cause runtime failures on every call.
Doc drift:
- Update `wiki_size_bytes` comment in both TS interface and Rust
schema to say "wiki/ sub-tree" instead of "content root",
matching the actual walk scope since commit 65526ce.
Cleanup:
- Remove empty `<div className="flex items-center gap-3" />` from
Intelligence.tsx — the status pills it hosted moved into
`MemoryTreeStatusPanel` in tinyhumansai#1856 Part 1.
- Remove unused `invoke` import from memoryTree.ts.
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
YOMXXX
added a commit
to YOMXXX/openhuman
that referenced
this pull request
May 27, 2026
Blockers:
- Switch `memoryTreePipelineStatus` and `memoryTreeSetEnabled` from
`invoke('core_rpc_relay', ...)` back to `callCoreRpc`. The
`core_rpc_relay` Tauri command was removed in tinyhumansai#84 and is not
registered in the shell — the previous commit that switched to it
was incorrect and would cause runtime failures on every call.
Doc drift:
- Update `wiki_size_bytes` comment in both TS interface and Rust
schema to say "wiki/ sub-tree" instead of "content root",
matching the actual walk scope since commit 65526ce.
Cleanup:
- Remove empty `<div className="flex items-center gap-3" />` from
Intelligence.tsx — the status pills it hosted moved into
`MemoryTreeStatusPanel` in tinyhumansai#1856 Part 1.
- Remove unused `invoke` import from memoryTree.ts.
Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
senamakel
added a commit
to nocstah/openhuman
that referenced
this pull request
Sep 11, 2026
…e: merge develop into main (v0.37.0)\n
senamakel
added a commit
to nocstah/openhuman
that referenced
this pull request
Sep 11, 2026
…tinyhumansai#84)\n\n* feat(onboarding): introduce DEV_FORCE_ONBOARDING flag to control onboarding flow\n\n- Added DEV_FORCE_ONBOARDING configuration to bypass onboarding checks during development.\n- Updated onboarding logic in AppRoutes to respect the new flag, ensuring onboarding is always shown when enabled.\n- Introduced new utility functions for managing onboarding state based on the flag.\n- Updated Cargo.lock and Cargo.toml to reflect dependency changes and version updates.\n- Removed deprecated openhuman command module and refactored related functionalities into daemon_host module for better organization.\n\n* feat(daemon): refactor daemon health monitoring and window management\n\n- Updated DaemonHealthService to use polling via `openhuman.health_snapshot` instead of event listening for health updates.\n- Introduced a new focusMainWindow function to centralize window focus logic across deep link handling and Tauri commands.\n- Replaced `invoke` calls with direct window management methods for showing, hiding, and toggling the main window.\n- Removed deprecated core_rpc module and related commands for improved organization and clarity.\n- Updated Cargo.toml and Cargo.lock to reflect dependency changes.\n\n* refactor(daemonHealthService): streamline imports and simplify tool object structure\n\n- Moved the import of `callCoreRpc` to a more appropriate location in DaemonHealthService.\n- Simplified the structure of the tools object in the aiGetConfig function for better readability.\n- Ensured consistency in Tauri command invocations by removing unnecessary line breaks.\n
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
app/src-tauridown to a thin desktop host that only handles sidecar lifecycle and deep-link plumbing.reqwest) and updates capabilities accordingly.openhuman.service_*RPC so frontend can call through core directly.Problem
Solution
app/src-tauri/src/lib.rsto keep only:core_rpc_urlcommand for frontend base URL resolutionapp/src-tauri/src/commands,core_rpc.rs, andutils.tokio::net::TcpStream) instead of HTTPreqwestping.daemonHealthServicenow pollsopenhuman.health_snapshotviacallCoreRpcinstead of listening to Tauri-emittedopenhuman:healthevents.@tauri-apps/api/windowinstead of Rust invoke command.tauriCommands.tsnow use frontend APIs or direct core RPC.openhuman.service_daemon_host_get/openhuman.service_daemon_host_sethandlers in service schemas/ops.Submission Checklist
yarn typecheck,cargo checkroot +app/src-tauri)Impact
app/src-tauri.Related
invoke(...)paths in frontend (exchange_token,conscious_loop_run,runtime_*) with direct core RPC or frontend-native APIs where appropriate..husky/pre-pushto re-check after auto-fix (currently fails if initial format/lint fails even when fixed).