Commit Graph
282 Commits
Author SHA1 Message Date
Steven EnamakelandGitHub 37991fc567 refactor: split tauri host from openhuman_core runtime (#43)
* chore: add Cargo.toml and Cargo.lock for rust-core workspace

- Introduced a new workspace for the rust-core module with its own Cargo.toml.
- Added Cargo.lock to manage dependencies for the rust-core module.
- Updated .gitignore to exclude the target directory generated by Cargo.
- Modified GitHub Actions workflow to build from the new rust-core path instead of src-tauri.

* feat: enhance memory and authentication models in rust-core

- Added new `memory` module to handle persistent memory operations for skills, including methods for storing and querying skill data.
- Introduced `models` module with `auth` and `socket` submodules to manage user session and socket connection states.
- Updated `lib.rs` to include new modules and ensure proper integration within the rust-core workspace.
- Modified `eslint.config.js` to ignore target directories in linting processes.

* feat: integrate Tauri and QuickJS support in rust-core

- Added `tauri` and `rquickjs` as optional dependencies in `Cargo.toml` to enable Tauri integration and JavaScript execution.
- Introduced `CronScheduler` and `PingScheduler` modules for managing scheduled tasks and health checks for skills.
- Implemented `MemoryState` struct for shared app-state management in the memory client.
- Updated the runtime module to include new schedulers and ensure proper integration with Tauri features.
- Enhanced the skill registry to support new functionalities related to skill management and communication.

* chore: update ESLint configuration and refactor Rust module imports

- Added 'rust-core/**' to ESLint ignore list to streamline linting processes.
- Refactored import paths in Rust modules to directly reference the `memory` module, enhancing clarity and maintainability.
- Improved formatting in JavaScript files for better readability and consistency.

* refactor: rename rust-core to openhuman-core and update dependencies

- Renamed the `rust-core` module to `openhuman-core` across all files for consistency.
- Updated `Cargo.lock` to include `openhuman-core` as a new dependency and removed `rust-core`.
- Adjusted import paths in the codebase to reflect the new module name, ensuring all references are updated.
- Enhanced the Tauri integration by modifying dependencies in `src-tauri/Cargo.toml` to point to `openhuman-core`.

* refactor: simplify platform detection using match statements

- Replaced multiple if-else statements with match expressions in `current_platform`, `get_platform`, and `register` functions for improved readability and maintainability.
- Removed unnecessary conditional compilation for Android and iOS in the `SocketManager` and `tauri_bridge` modules, streamlining the codebase.
- Enhanced the `send_notification` function to handle platform checks more efficiently.

* refactor: update platform detection to use std::env::consts

- Replaced `cfg!(target_os = "os_name")` checks with `std::env::consts::OS` for improved clarity and consistency across the codebase.
- Added `rppal` as an optional dependency in `Cargo.toml` for Raspberry Pi support.
- Cleaned up platform-specific code in various modules, enhancing maintainability.

* refactor: streamline platform-specific code and improve readability

- Replaced conditional compilation with `std::env::consts::OS` checks in various modules to enhance clarity and maintainability.
- Simplified platform detection logic in `available_disk_space_mb`, `ensure_arduino_cli`, and `open_in_brave` functions.
- Updated `screenshot_command_exists` test to conditionally skip based on the operating system.
- Cleaned up unnecessary `#[cfg]` attributes, focusing on a more consistent approach across the codebase.

* feat: introduce comprehensive AI configuration and memory management

- Added multiple configuration files for OpenHuman AI, including `AGENTS.md`, `BOOTSTRAP.md`, `CONSCIOUS_LOOP.md`, `IDENTITY.md`, `MEMORY.md`, `README.md`, `SOUL.md`, `TOOLS.md`, and `USER.md` to define agent roles, onboarding processes, identity, memory management, and tool capabilities.
- Implemented an encryption layer for AI memory storage in `encryption.rs`, utilizing AES-256-GCM for secure data handling.
- Updated `lib.rs` to include the new AI module structure, enhancing the overall architecture and maintainability of the codebase.

* refactor: update dependencies and configuration for improved structure

- Removed `android_logger` and related packages from `Cargo.lock` and `Cargo.toml`, streamlining the dependency list.
- Adjusted the `APP_IDENTIFIER` constant in `config.rs` to reflect the new application identifier.
- Updated resource paths in `tauri.conf.json` for better organization.
- Enhanced platform-specific dependency management in `Cargo.toml` for clarity and maintainability.

* fix(core): gate ai module behind tauri-host feature

* refactor: update AI loading mechanisms and improve platform handling

- Refactored the AI configuration loading in `loader.ts` and `tools/loader.ts` to utilize Tauri commands for desktop environments, enhancing performance and reliability.
- Updated paths for AI markdown files to reflect the new `rust-core` structure.
- Introduced a new end-to-end test for Tauri command interactions in `tauriCoreBridge.e2e.test.ts`.
- Cleaned up platform-specific code across various modules, ensuring a more consistent approach to handling desktop and web contexts.

* feat: add sidecar core binary build and staging for Tauri bundler

- Implemented build steps for the sidecar core binary in multiple workflows, targeting both x86_64-unknown-linux-gnu and aarch64-apple-darwin architectures.
- Added staging steps to copy the built binaries into the Tauri resources directory, ensuring proper integration for application bundling.
- Updated relevant workflows to enhance the build process and streamline artifact management.

* refactor: enhance AI loading logic for Tauri integration

- Updated `loader.ts` and `tools/loader.ts` to prioritize Tauri commands for loading configurations in desktop environments, with a fallback to bundled markdown files for web contexts.
- Adjusted test mocks to reflect the new file paths for tools markdown.
- Improved test setup to mock Tauri API behavior accurately.

* docs: update CLAUDE.md and remove Android build scripts from package.json

- Added a new section in CLAUDE.md detailing the runtime scope, clarifying that Tauri is desktop-only and should not include mobile or web branches.
- Removed Android development and build scripts from package.json to streamline the project for desktop platforms only.

* refactor: streamline import statements and enhance test mock structure

- Reordered import statements in `loader.ts` and `tools/loader.ts` for consistency.
- Simplified mock implementation in `tauriCoreBridge.e2e.test.ts` to improve readability and maintainability.
- Added external binary configuration in `build.rs` to support resource management during local builds.

* test: stabilize core/unit test paths and tauri build-test config

* chore: update subproject commit reference in skills

* chore: update Tauri build configuration to include custom environment variable

- Modified the Tauri build command in the GitHub Actions workflow to set a custom configuration for updater artifacts, enhancing the build process for the x86_64-unknown-linux-gnu target.
2026-03-27 13:30:32 -07:00
Mega MindandGitHub 527aa03821 Intelligence and Conscious Layer (#40)
* feat: implement Conscious Loop for proactive actionable item extraction

- Introduced a new background process that periodically recalls skill memory and extracts actionable items using LLM.
- Created `CONSCIOUS_LOOP.md` for LLM prompt structure and guidelines.
- Added `useConsciousItems` hook to manage and fetch actionable items from the `conscious` memory namespace.
- Updated `Intelligence` page to integrate and display actionable items from the Conscious Loop.
- Enhanced error handling and event emissions for better UI feedback during analysis runs.

* docs: update Conscious Loop documentation and enhance command structure

- Added detailed descriptions for `ConsciousLoopStartedEvent`, `ConsciousLoopCompletedEvent`, and `ConsciousLoopErrorEvent`.
- Expanded function documentation for `conscious_loop_run` and `conscious_loop_run_inner`, including parameters and logic flow.
- Introduced `conscious_loop_timer` details and error handling improvements.
- Modified `memory.rs` to expose `extract_namespaces_from_documents` as `pub(crate)`.
- Updated `mod.rs` and `lib.rs` to include new commands and timer setup.
- Clarified design decisions and event protocol for better understanding of the Conscious Loop functionality.
2026-03-27 08:17:30 -07:00
cyrus c4b261529d Refactor: improve code readability with consistent formatting in handlers, migration logic, and skill generation scripts. 2026-03-27 18:13:04 +05:30
cyrus 70bfd7231a Refactor error handling and deduplicate error events
Updated error handling in chat commands to reduce redundant event emissions by logging errors instead. Enhanced error reporting for HTTP client and inference response failures. Added frontend logic to prevent duplicate error messages in the UI.
2026-03-27 18:09:39 +05:30
cyrus 9668f2ed23 fix: sync selected thread state and messages view updates
- Ensured the `messages` view updates when a new message is added to the currently selected thread.
- Simplified `useEffect` logic in `Conversations.tsx` to always set the selected thread for consistent message synchronization.
- Removed redundant `setSelectedThread` call during message dispatch to prevent state management issues.
2026-03-27 17:53:02 +05:30
Steven Enamakel 4ed30b279c refactor: streamline Conversations component by removing unused thread handling functions
- Eliminated several functions related to thread selection, creation, deletion, and purging to simplify the Conversations component.
- Introduced a new variable to manage the selected thread's tool timeline, enhancing the component's state management.
- Improved code readability by reducing complexity and focusing on essential functionality.
2026-03-26 19:43:01 -07:00
Steven Enamakel 129e227074 chore: update OpenHuman version to 0.49.12 and refine release workflow
- Bumped OpenHuman version in Cargo.lock from 0.49.11 to 0.49.12.
- Cleaned up the release workflow by standardizing argument formatting for better consistency across platforms.
- Made minor formatting adjustments in Conversations component for improved readability.
2026-03-26 19:40:36 -07:00
Steven EnamakelandGitHub 4dffd9526e Simplify Conversations to a single default thread (#22)
* refactor: update Conversations component and routing logic

- Replaced the Conversations component rendering in AppRoutes with a redirect to the conversations list.
- Simplified the Conversations component by removing unused imports and state variables.
- Introduced default thread creation logic to ensure a conversation is always available.
- Streamlined the effect hooks for managing thread selection and message fetching.

* refactor: remove TDLib integration and clean up related code

- Eliminated TDLib-related code and comments across multiple files to streamline the project.
- Updated build logic to remove unnecessary checks for TDLib resources.
- Refined comments for clarity regarding background service shutdown and storage mechanisms.
- Adjusted the QuickJS runtime support module to reflect the removal of TDLib integration.

* refactor conversations to single default thread UI
2026-03-26 19:38:51 -07:00
Steven EnamakelandGitHub 5d6c9e7333 refactor: replace OpenClaw AI config flow and standardize PR template (#21)
* refactor: update AI configuration handling and remove OpenClaw integration

- Replaced OpenClaw context injection with direct AI configuration retrieval methods.
- Introduced new functions for fetching and refreshing AI configuration, enhancing modularity.
- Cleaned up the AIPanel component to utilize the new configuration structure.
- Removed obsolete OpenClaw-related files and logic to streamline the codebase.
- Added new TODO items for future enhancements in the documentation.

* docs: add PR template and update AI authoring rules

- Introduced a new pull request template in `.github/pull_request_template.md` to standardize PR submissions.
- Updated CLAUDE.md to require the use of the new PR template for all pull requests.
- Added a rule in AGENTS.md specifying that agents must adhere to the PR template when suggesting content.

* chore: update subproject commit and refine pre-push script

- Updated the subproject commit reference in the skills directory.
- Refined the pre-push script to improve formatting and linting checks, ensuring automatic fixes are applied when issues are detected.

* refactor: improve label formatting in AIPanel component

- Adjusted label formatting in the AIPanel component for better readability by breaking long lines into multiple lines.
- Ensured consistent styling for labels related to personality, safety rules, tools, and skills overview.
2026-03-26 19:35:23 -07:00
Steven EnamakelandGitHub bfaabd3b86 fix/rename (#20)
* chore: update AlphaHuman version to 0.49.3 and configure updater plugin in tauri.conf.json

- Bumped the AlphaHuman package version in Cargo.lock to 0.49.3.
- Added updater configuration in tauri.conf.json to enable automatic updates with specified endpoints.

* refactor: rename AlphaHuman to OpenHuman across the codebase

- Updated all instances of "AlphaHuman" to "OpenHuman" in comments, tooltips, and constants to reflect the new branding.
- Adjusted relevant documentation and prompts to ensure consistency with the new name.

* refactor: update documentation and configurations to reflect OpenHuman branding

- Replaced all instances of "AlphaHuman" with "OpenHuman" in documentation, comments, and configuration files to ensure consistency with the new branding.
- Updated deep link URLs and related authentication flows to use the new "openhuman://" scheme.
- Adjusted paths and references in the skills system and other related files to align with the new project name.te

* refactor: standardize OpenHuman references and update configurations

- Replaced all instances of "AlphaHuman" with "OpenHuman" across documentation, comments, and configuration files to maintain branding consistency.
- Updated URLs and paths to reflect the new "openhuman://" scheme.
- Adjusted environment variable names and related settings to align with the new project identity.
- Enhanced documentation for clarity and accuracy regarding the OpenHuman framework.r

* chore: update subproject commit reference in skills directory

* refactor: update backend URL to reflect new service domain

- Changed default backend URL from "https://api.openhuman.xyz" to "https://api.tinyhumans.ai" in both JavaScript and Rust configuration files.
- Ensured consistency across the codebase regarding the new backend service endpoint.

* feat: introduce identity and migration modules for OpenHuman

- Added a new identity module to support AIEOS v1.1 JSON format, including structures for identity, psychology, linguistics, motivations, capabilities, physicality, history, and interests.
- Implemented a migration module to facilitate data migration from OpenClaw memory, including SQLite and Markdown sources, with detailed reporting on migration statistics and warnings.
- Established utility functions for handling multimodal content and image processing within the OpenHuman framework.
- Enhanced the agent system with new dispatcher and classifier functionalities to improve tool management and message classification.

* chore: remove Android project files and configurations

- Deleted various Android project files including .editorconfig, .gitignore, build.gradle.kts, gradle.properties, and others to clean up the project structure.
- Removed all related resources, layouts, and source files from the Android app directory to streamline the codebase.
- This cleanup is part of a larger effort to refactor and simplify the project structure.

* refactor: update login flow and remove Telegram integration

- Removed the TelegramLoginButton component and its references from the OAuthLoginSection, streamlining the login options.
- Updated the AppRoutes to remove the login route, reflecting changes in the authentication flow.
- Enhanced the RotatingTetrahedronCanvas component with improved geometry and lighting effects for better visual presentation.
- Adjusted the TypewriterGreeting component's styling for consistency.
- Cleaned up the Welcome page to integrate the OAuthLoginSection directly, improving user experience.

* chore: update subproject commit reference in skills directory

* chore: update test configurations and improve test assertions

- Modified test scripts in package.json to use a specific Vitest configuration file for consistency.
- Updated assertions in loader tests to ensure loading durations are non-negative.
- Enhanced tool loading tests to clarify expected behavior regarding localStorage and cache management.
- Adjusted agent tool registry tests to improve error handling and ensure accurate statistics.
- Refined device detection tests to reflect updated fallback URLs.

* fix: enhance parameter formatting and remove unused components

- Updated the `formatParameters` function to handle cases where schema properties are empty, returning a more informative response.
- Deleted the `DownloadScreen` component and associated device detection utilities to streamline the codebase and remove unused functionality.
- Adjusted tests to reflect changes in the tool loading and agent tool registry, ensuring accuracy in assertions.

* chore: simplify Vitest configuration by removing unused include patterns

- Updated the Vitest configuration to remove unnecessary test file patterns, streamlining the test setup for better clarity and maintainability.

* refactor: update paths and comments for AI configuration and file watching

- Modified Vite configuration to ignore only the `src-tauri` directory.
- Updated logging messages to reflect the correct path for writing AI configuration files.
- Adjusted fetch calls in the file watcher to use the new path for `TOOLS.md`.
- Revised comments and logic in Rust code to clarify the handling of AI configuration file paths, including legacy fallback options.

* chore: remove unused updater secrets from GitHub Actions workflow

- Deleted UPDATER_GIST_URL and UPDATER_GIST_ID environment variables from the package-and-publish workflow, streamlining the configuration.

* chore: comment out Vitest thresholds for clarity

- Commented out the thresholds section in the Vitest configuration to improve clarity and maintainability, as it is currently not in use.

* ran formatter

* chore: update updater public key in tauri configuration

- Replaced the existing public key in the updater plugin configuration with a new value to ensure proper functionality and security.

* chore: update ESLint configuration and refactor components

- Added `localStorage` and `sessionStorage` as readonly globals in ESLint configuration for better linting support.
- Removed unused imports from `SkillsPanel.tsx` to clean up the code.
- Changed the type of `watcherInterval` in `file-watcher.ts` for improved type safety.
- Refactored toast management logic in `Intelligence.tsx` to enhance clarity and maintainability.
- Simplified import statements in `IntelligenceProvider.tsx` for consistency.
- Streamlined object property shorthand in `agentToolRegistry.ts` for cleaner code.

* refactor: improve error handling and type safety in Intelligence component

- Enhanced toast notification logic to defer state updates, preventing potential issues with setState in effects.
- Updated the source filter dispatch to use a more specific type for improved type safety.

* refactor: enhance type safety across various components and services

- Updated type definitions from `any` to `unknown` in multiple files to improve type safety and prevent potential runtime errors.
- Refactored state management in `TauriCommandsPanel` to use more specific types.
- Adjusted context and parameters in several interfaces to ensure consistent typing.
- Added ESLint directive to `polyfills.ts` for intentional global assignments.
- Streamlined type handling in utility functions and API responses for better clarity and maintainability.

* refactor: streamline import statements and improve code clarity

- Consolidated import statements in `agentToolRegistry.ts` and `intelligenceSlice.ts` for better readability.
- Simplified the `createTestStore` function in `test-utils.tsx` to enhance code conciseness.
- Cleaned up the `isExecutionStepProgressEvent` function in `intelligence-chat-api.ts` for improved clarity and maintainability.
2026-03-26 17:04:46 -07:00
Steven Enamakel 036e91c45f chore: update workflows and configuration for project rebranding
- Removed Telegram-related environment variables from workflows.
- Updated GitHub repository references in workflows to reflect new project ownership.
- Changed default skills GitHub repository in configuration to align with rebranding.
2026-03-26 14:40:16 -07:00
M3gA-Mind 7b072dfa70 refactor: streamline message handling in Conversations component
- Reorganized imports for better clarity and consistency.
- Removed unnecessary parameter from `handleSendMessageWeb` function to simplify its signature.
- Updated error handling in `sendMessage` thunk to enhance readability by consolidating the dispatch call for error responses.
2026-03-26 23:25:19 +05:30
M3gA-Mind a4d0c3a8cb refactor: enhance tool discovery by excluding read-only tools
- Introduced a utility function to identify read-only tools in both TypeScript and Rust implementations.
- Updated tool discovery logic to filter out read-only tools, ensuring only actionable tools are included in the skill definitions.
- Improved comments for clarity regarding the handling of tool data from the memory layer.
2026-03-26 23:01:45 +05:30
cyrus b289023fb8 feat: add Developer Options panel with tools for skills, AI configuration, Tauri console, and memory debugging
- Introduced new `DeveloperOptionsPanel` to group developer tools in the settings.
- Moved existing tools (Skills, AI Configuration, Tauri Commands, Memory Debug) into the new panel.
- Updated navigation flow and cleaned up conditional rendering for development-only features.
2026-03-26 19:03:03 +05:30
cyrus 3e76689c24 feat: replace optimistic message removal with error response handling
- Updated error handling in `threadSlice` to add agent responses instead of removing user messages.
- Simplified Redux actions by consolidating error handling logic for failed message transmissions.
- Ensured conversation flow consistency by providing fallback error messages to users.
2026-03-26 18:40:18 +05:30
Cyrus GrayandGitHub 1201c905a6 Merge pull request #12 from graycyrus/develop
feat: Intelligence Page
2026-03-26 16:52:34 +05:30
cyrus 563b94b627 refactor: remove ChatModal and related logic in favor of simplified task completion flow
- Deleted `ChatModal` component and its integrations across the codebase.
- Removed Redux `createChatSession` logic and associated APIs.
- Updated task completion flow to bypass AI-driven conversation orchestration.
- Streamlined `Intelligence` page by eliminating unused chat-related state and props.
2026-03-26 16:51:19 +05:30
cyrus 693fb1b8d7 feat: add ActionableCard and ChatModal for enhanced interaction and task orchestration
- Introduced `ActionableCard` component for rendering actionable insights with completion, snooze, and dismiss functionality.
- Added `ChatModal` component to support AI-driven conversations, task execution, and real-time orchestration.
- Implemented snooze portal, priority styling, and typing indicators to enhance UX.
- Integrated WebSocket-based messaging and backend task execution with progress tracking.
2026-03-26 16:46:33 +05:30
Steven EnamakelandGitHub 8740d8d8c7 Fix/wednesday patches (#11) 2026-03-26 00:30:39 -07:00
M3gA-Mind 8c06cac27a refactor: update Welcome and Onboarding components for improved structure and clarity
- Made the `isWeb` prop optional in the Welcome component for better flexibility.
- Simplified the Welcome page layout by consolidating the header into a single line.
- Removed unused Lottie animation references from the Onboarding component to streamline the code.
2026-03-26 00:11:47 +05:30
cyrus 96bd359ad2 refactor: simplify Welcome page layout and update button styling
- Streamlined component structure for improved readability and maintainability.
- Updated button design with a primary style and rounded corners.
- Adjusted layout to focus on central content alignment and animation.
2026-03-25 22:56:34 +05:30
cyrus a110a367b0 refactor: rebrand AlphaHuman to OpenHuman across the codebase
- Updated all references to `AlphaHuman` in UI text, deep link handlers, configuration files, and comments.
- Replaced links, filenames, and identifiers to align with the new `OpenHuman` branding.
- Ensured consistency in code comments, documentation, and test cases.
2026-03-25 22:54:27 +05:30
cyrus f37c6f2def Refactor Welcome page UI and update interaction flow.
Simplified the Welcome page layout and styling for improved readability and design consistency. Replaced OAuth login button with a contextual action button directing users based on platform (`Download OpenHuman` or `Continue`). Removed unused dependencies and cleaned up the `package.json` file.
2026-03-25 22:30:38 +05:30
M3gA-Mind ec86559382 Update @tauri-apps/api to version 2.10.0 in package.json and yarn.lock; add detailed documentation for memory inference flow in new markdown file; refactor Login component to remove unnecessary isWeb prop; enhance Skills component with improved skill filtering and synchronization UI. 2026-03-25 17:19:37 +05:30
M3gA-Mind ab93e68545 Merge remote-tracking branch 'substream/feat/api-calls-migration' into develop 2026-03-25 12:59:34 +05:30
M3gA-Mind 32a2499d92 Merge remote-tracking branch 'upstream/develop' into develop 2026-03-25 12:13:32 +05:30
Steven EnamakelandGitHub aacfd45057 Fix/monday patches (#7)
* Update Welcome page to integrate OAuth provider and adjust branding

- Added OAuthProviderButton to the Welcome component for Google authentication.
- Updated the branding from AlphaHuman to OpenHuman in the FeaturesStep component.
- Removed unnecessary Lottie animation from the Onboarding page for a cleaner layout.
- Changed the backend URL to point to the new API endpoint for TinyHumans.

* Refactor routing and sidebar components for improved clarity

- Commented out the Mnemonic route and related logic in AppRoutes for future consideration.
- Updated MiniSidebar to comment out the Invite Friends section.
- Removed unused navigation logic and upgrade call-to-action from the Home page.
- Adjusted Onboarding navigation to redirect to Home instead of Mnemonic.

* Comment out unused settings menu items for future consideration in SettingsHome component

* Add core process and RPC functionality for Alphahuman

- Introduced new binaries: `alphahuman-core` and `alphahuman-cli` for core process management and command-line interaction.
- Implemented `CoreProcessHandle` for managing the lifecycle of the core process.
- Added `core_rpc` module for handling RPC requests and responses.
- Created `core_server` module to manage core server logic and routing.
- Updated `alphahuman` commands to utilize the new RPC structure for health checks, security policies, and configuration management.
- Refactored existing code to streamline interactions with the core process and improve overall architecture.

* Update dependencies and enhance CLI functionality

- Added `clap` for command-line argument parsing in the `alphahuman-cli`.
- Updated `Cargo.lock` and `Cargo.toml` to include `clap` and its features.
- Refactored `alphahuman-cli` to utilize structured command handling with subcommands.
- Improved core process management and logging in `core_process.rs`.
- Enhanced routing and error handling in `core_server.rs` with new root and not found handlers.
- Updated various commands in `alphahuman.rs` to ensure core process is running before executing RPC calls.

* Enhance service management and CLI functionality

- Added new functions for daemon program arguments and command line construction in the service module.
- Updated macOS and Linux installation functions to dynamically generate program arguments and command lines.
- Introduced a new `Reinstall` command in the CLI for easier service management.
- Refactored service command handling to utilize local service functions for improved clarity and maintainability.

* Refactor daemon references to agent in components and hooks

- Updated terminology from "Daemon" to "Agent" in MiniSidebar, DaemonHealthPanel, and TauriCommandsPanel for consistency.
- Modified useDaemonHealth hook to probe agent status and handle agent lifecycle management.
- Introduced new agent server status interface and function in Tauri commands for improved status checking.
- Adjusted related comments and error handling to reflect the changes in terminology.

* Refactor Home component and enhance macOS service management

- Updated Home component to navigate to in-app conversations instead of opening a Telegram bot link.
- Improved macOS service management by implementing modern lifecycle commands and adding compatibility fallbacks for service control.
- Introduced new utility functions for handling macOS GUI domain and service targets.

* Refactor Home component to enhance navigation

- Removed SkillsGrid component and replaced it with a button that navigates to the Skills page.
- Improved layout with additional margin for better spacing in the Home component.

* Refactor SkillProvider and enhance memory bridge functionality

- Removed Gmail and Notion state synchronization functions from SkillProvider to streamline the component.
- Introduced a new memory bridge in the QuickJS library for skills to send memory payloads to the backend.
- Updated SkillContext to include an app handle for better integration with memory operations.
- Enhanced state management in the Rust backend to support memory insertion from skills.

* Enhance memory insertion functionality and update QuickJS integration

- Added support for additional parameters in the `store_skill_sync` method, including `source_type`, `metadata`, `priority`, `created_at`, `updated_at`, and `document_id`.
- Refactored the `memory_insert` operation to accept a structured input, improving validation and error handling for title and content.
- Updated the JavaScript memory bridge to simplify the insertion process by removing the provider parameter and directly using metadata.
- Enhanced logging for successful memory insertions to improve traceability.

* Update subproject reference in skills module

* Implement skill synchronization UI enhancements

- Introduced a new `skillsSyncUi.ts` module to manage synchronization UI state for skills.
- Updated `Skills.tsx` to utilize the new synchronization state, providing visual feedback during sync operations.
- Refactored sync handling in `SkillCard` to improve user experience with progress indicators and messages.
- Added unit tests for the synchronization UI state logic to ensure correct behavior across various scenarios.
2026-03-24 23:22:09 -07:00
M3gA-Mind b25434de04 Update dependencies and refactor Login component
- Downgraded @tauri-apps/api to version 2.9.1 and updated @tauri-apps/cli to 2.9.6 in package.json.
- Added three.js library with version 0.183.2.
- Modified Login component to accept isWeb prop and refactored its structure for improved user experience.
- Updated build.rs for local builds and adjusted memory client references in memory module.
- Updated Welcome component to navigate to login based on isWeb prop.
2026-03-25 11:49:08 +05:30
Steven EnamakelandGitHub 37318bc73d fix: stabilize daemon service lifecycle and align Agent Status UI (#6)
* Update Welcome page to integrate OAuth provider and adjust branding

- Added OAuthProviderButton to the Welcome component for Google authentication.
- Updated the branding from AlphaHuman to OpenHuman in the FeaturesStep component.
- Removed unnecessary Lottie animation from the Onboarding page for a cleaner layout.
- Changed the backend URL to point to the new API endpoint for TinyHumans.

* Refactor routing and sidebar components for improved clarity

- Commented out the Mnemonic route and related logic in AppRoutes for future consideration.
- Updated MiniSidebar to comment out the Invite Friends section.
- Removed unused navigation logic and upgrade call-to-action from the Home page.
- Adjusted Onboarding navigation to redirect to Home instead of Mnemonic.

* Comment out unused settings menu items for future consideration in SettingsHome component

* Add core process and RPC functionality for Alphahuman

- Introduced new binaries: `alphahuman-core` and `alphahuman-cli` for core process management and command-line interaction.
- Implemented `CoreProcessHandle` for managing the lifecycle of the core process.
- Added `core_rpc` module for handling RPC requests and responses.
- Created `core_server` module to manage core server logic and routing.
- Updated `alphahuman` commands to utilize the new RPC structure for health checks, security policies, and configuration management.
- Refactored existing code to streamline interactions with the core process and improve overall architecture.

* Update dependencies and enhance CLI functionality

- Added `clap` for command-line argument parsing in the `alphahuman-cli`.
- Updated `Cargo.lock` and `Cargo.toml` to include `clap` and its features.
- Refactored `alphahuman-cli` to utilize structured command handling with subcommands.
- Improved core process management and logging in `core_process.rs`.
- Enhanced routing and error handling in `core_server.rs` with new root and not found handlers.
- Updated various commands in `alphahuman.rs` to ensure core process is running before executing RPC calls.

* Enhance service management and CLI functionality

- Added new functions for daemon program arguments and command line construction in the service module.
- Updated macOS and Linux installation functions to dynamically generate program arguments and command lines.
- Introduced a new `Reinstall` command in the CLI for easier service management.
- Refactored service command handling to utilize local service functions for improved clarity and maintainability.

* Refactor daemon references to agent in components and hooks

- Updated terminology from "Daemon" to "Agent" in MiniSidebar, DaemonHealthPanel, and TauriCommandsPanel for consistency.
- Modified useDaemonHealth hook to probe agent status and handle agent lifecycle management.
- Introduced new agent server status interface and function in Tauri commands for improved status checking.
- Adjusted related comments and error handling to reflect the changes in terminology.

* Refactor Home component and enhance macOS service management

- Updated Home component to navigate to in-app conversations instead of opening a Telegram bot link.
- Improved macOS service management by implementing modern lifecycle commands and adding compatibility fallbacks for service control.
- Introduced new utility functions for handling macOS GUI domain and service targets.

* Refactor Home component to enhance navigation

- Removed SkillsGrid component and replaced it with a button that navigates to the Skills page.
- Improved layout with additional margin for better spacing in the Home component.
2026-03-24 21:04:19 -07:00
Steven Enamakel 248921606e Refactor Welcome page and update branding
- Changed branding from AlphaHuman to OpenHuman across the application.
- Simplified Welcome component by removing unnecessary props and restructuring layout for improved clarity.
- Updated the footer message to reflect the new branding and removed versioning details.
- Enhanced user navigation by replacing the button with a link to the login page.
2026-03-24 19:03:33 -07:00
cyrus a373e5de3c feat: migrate conversation orchestration to Rust-side Tauri commands
- Added `chat_send` and `chat_cancel` Tauri commands for backend-driven conversation loops.
- Moved agentic loop logic from frontend to Rust, optimizing performance and reducing frontend responsibilities.
- Implemented event protocol (`chat:tool_call`, `chat:tool_result`, `chat:done`, `chat:error`) to communicate loop progress to the frontend.
- Introduced AI config loading, OpenClaw context building, and cancellation support for chat requests.
2026-03-23 23:48:43 +05:30
Cyrus GrayandGitHub 7c909e512a Merge pull request #5 from graycyrus/develop
sync branches
2026-03-23 15:36:23 +05:30
Mega MindandGitHub 2955fd4eec Refactor testing scripts in package.json and update dependencies (#4)
- Simplified test scripts in package.json by removing specific config references for vitest.
- Updated @tauri-apps/api dependency version to 2.10.1.
- Removed unused dependencies from yarn.lock and updated Cargo.toml and Cargo.lock for tinyhumansai to version 0.1.4.
- Enhanced memory management in Conversations and Login components by ensuring async token synchronization.
- Introduced recall_memory command in Tauri for improved context retrieval from memory.
2026-03-20 20:26:18 -07:00
Steven Enamakel a1f2cdb71a remove FeedbackCard, FeedbackDetailModal, FeedbackKanban, and FeedbackList components 2026-03-20 19:54:59 -07:00
cyrus 8f4bef70c2 refactor: replace injectAll with injectOpenClawContext for streamlined context injection
- Removed `injectAll`, `injectSoulIntoMessage`, and `injectToolsIntoMessage` along with their utilities.
- Added `injectOpenClawContext` as the new single context injection system.
- Updated context injection logic across Redux, APIs, and Tauri commands.
- Deleted SOUL and TOOLS injection code, aligning with the new OpenClaw approach.
2026-03-20 19:15:19 +05:30
cyrus 77a960daf4 refactor: remove ManagementModal and unused tool update logic
- Deleted `ManagementModal` component and its associated state and handlers.
- Removed unused `updateToolsDocumentation` and `forceToolsCacheRefresh` logic.
- Simplified `Skills` page by eliminating unnecessary modal-related code.
2026-03-20 18:02:18 +05:30
cyrus 5287a76407 refactor: replace ManagementModal with navigation to /skills
- Removed `ManagementModal` handling and its associated state and logic.
- Updated click action in `SkillsGrid` to navigate to the `/skills` page.
- Adjusted overlay text to reflect the new navigation behavior.
2026-03-20 17:58:02 +05:30
cyrus 03664c9402 feat: implement Skills page with dynamic skill management
- Added `Skills.tsx` to introduce a new page for managing skills.
- Integrated skill discovery, status visualization, and sorting logic.
- Enabled skill-specific actions like sync and setup modal handling.
- Improved management workflow through a dedicated `ManagementModal`.
2026-03-20 17:49:23 +05:30
cyrus 1d34d77ead fix: resolve duplicate Skills sidebar entry
- Removed redundant entry for the `Skills` menu item in `MiniSidebar.tsx`.
2026-03-20 17:49:09 +05:30
cyrus 5239322ac9 refactor: simplify Intelligence page content and layout
- Removed unused skill-related logic, state management, and components.
- Updated page design to display a concise "coming soon" message.
- Added `/skills` route and sidebar link for future skill management.
2026-03-20 17:48:31 +05:30
cyrus 2dec6f3b6f feat: filter developer-only settings based on IS_DEV flag
- Added `devOnly` property to specific settings menu items.
- Ensured `mainMenuItems` filters out dev-only items unless `IS_DEV` is true.
- Improved user experience by hiding developer-specific settings in production.
2026-03-20 17:43:54 +05:30
cyrus 5b9a088141 Refactor: centralize development environment check with IS_DEV
Replaces scattered environment checks with the centralized `IS_DEV` constant from `config.ts`. This improves consistency and simplifies maintenance by reducing redundancy across multiple files.
2026-03-20 17:38:28 +05:30
cyrus e1145123db feat: add timeout handling for API requests, inference, and tools
- Introduced configurable `timeout` option in `ApiClient` to prevent long-hanging requests.
- Added safety timeout in `Conversations` to clear loading states in case of prolonged processing.
- Integrated timeouts for inference API and tool executions to handle unresponsive operations gracefully.
- Improved error handling for timeout scenarios with user-friendly error messages and state cleanup.
2026-03-20 17:33:21 +05:30
Steven Enamakel 703deba688 feat: enhance landing page and configuration for improved user experience
- Updated next.config.ts to pin Turbopack root to the app directory for better workspace management.
- Modified package.json scripts to use Webpack during development and build processes.
- Refactored postcss.config.mjs to set the base path for Tailwind CSS.
- Replaced CSS imports in globals.css with Tailwind directives for better styling management.
- Introduced RotatingTetrahedronCanvas component for dynamic visual effects on the Welcome page.
- Revamped Welcome page layout to include the new canvas and improve overall design and user engagement.
2026-03-19 23:10:18 -07:00
M3gA-Mind 3a88a6d599 Merge remote-tracking branch 'upstream/develop' into feat/cleanup/dmg 2026-03-19 11:47:55 +05:30
M3gA-Mind 232767c19a feat: integrate TinyHumans memory client for skill data synchronization
- Added `syncMemoryClientToken` utility to synchronize JWT token with the TinyHumans memory client after user login and Redux rehydration.
- Updated `PersistGate` in `App.tsx` to call `syncMemoryClientToken` on lift.
- Modified `SkillManagementPanel` to use `triggerSync` for skill management instead of stopping and starting skills.
- Implemented memory commands in Tauri for initializing and querying the TinyHumans memory client.
- Enhanced skill instance handling to persist sync data and clear memory on OAuth revocation.
- Introduced a new memory module to manage skill data synchronization effectively.
2026-03-18 17:05:16 +05:30
M3gA-Mind 5fb37c326a feat: enhance billing panel with auto-recharge and credit management features
- Added auto-recharge settings management, including fetching, updating, and toggling auto-recharge functionality.
- Integrated credit balance and team usage retrieval to provide users with real-time financial insights.
- Implemented card management features, allowing users to add, update, and delete saved payment methods.
- Updated API interactions to support new endpoints for credits and auto-recharge functionalities.
- Improved user experience with loading states and error handling for credit-related operations.
2026-03-18 15:10:05 +05:30
cyrus fd5eba17ba Remove TDLib build scripts and manager implementation
Eliminated `build-tdlib-from-source.sh`, `download-tdlib.sh`, and the `TdLibManager` implementation, effectively removing local TDLib management. Transitioning away from local TDLib usage simplifies code and infrastructure by relying on alternative methods or prebuilt libraries.
2026-03-17 23:08:58 +05:30
M3gA-Mind bf0f8e6da9 Enhance billing and credits management in the application
- Added new commands in `package.json` for building macOS x64 applications.
- Updated `TOOLS.md` to reflect the latest tool statistics and improved formatting.
- Refactored `BillingPanel` to include credit balance and team usage state management, with loading indicators and top-up functionality.
- Integrated budget usage tracking in `Conversations` page, displaying budget status and a top-up call-to-action when funds are depleted.
- Updated `creditsApi` to include new endpoints for fetching team usage and handling credit top-ups, with improved data structures for credit balance and transactions.
- Simplified onboarding steps by removing the invite code step and adjusting the animation sequence.

These changes improve user experience by providing better visibility into billing and usage, as well as streamlining the onboarding process.
2026-03-16 18:10:57 +05:30
Cyrus GrayandGitHub 03b213e3bb Merge pull request #175 from M3gA-Mind/feat/dmg-cyrus
Sync Setup Improvement
2026-03-14 11:55:58 +05:30