Commit Graph
554 Commits
Author SHA1 Message Date
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
Cyrus GrayandGitHub 48c7c8610c Merge pull request #184 from M3gA-Mind/feat/cleanup/dmg 2026-03-19 12:21:10 +05:30
M3gA-Mind 3a88a6d599 Merge remote-tracking branch 'upstream/develop' into feat/cleanup/dmg 2026-03-19 11:47:55 +05:30
M3gA-Mind a0654c0b67 feat: add macOS build scripts and update input schema handling
- Introduced new build scripts for macOS targeting Intel architecture, including options for debug and release builds.
- Updated input schema handling in the skill instance to ensure consistent naming with the `inputSchema` property for better compatibility with JSON serialization.
2026-03-19 11:37:41 +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 8eaf682d83 remove: deprecated QuickJS runtime and associated libraries
- Deleted `bootstrap.js`, `qjs_ops`, and `mod.rs` from QuickJS runtime module.
- Removed unused QuickJS-related code, including APIs for browser-like shims, IndexedDB, WebSocket, TDLib, and OAuth.
- Simplified project structure by eliminating redundant QuickJS dependencies.
2026-03-17 23:09:37 +05:30
cyrus bdb9e407a8 chore: remove unused Telegram API type definitions to reduce file size and cleanup 2026-03-17 23:09:09 +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
cyrus 3393bb25c0 Merge remote-tracking branch 'upstream/main' into develop
# Conflicts:
#	package.json
#	src-tauri/.gitignore
2026-03-17 16:39:41 +05:30
Cyrus GrayandGitHub 3dfc38b9c5 Merge pull request #178 from M3gA-Mind/feat/dmg-cyrus
Enhance billing and credits management in the application
2026-03-16 21:54:40 +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
github-actions[bot] baf6fb6928 chore: bump version to 0.49.0 2026-03-15 13:21:31 +00:00
Steven Enamakel 4bce89c5de feat: add comprehensive documentation for architecture, MVP, teams API, and TODOs
- Introduced detailed architecture documentation outlining the cross-platform capabilities and high-level design of AlphaHuman.
- Added MVP specification for the Telegram-based Agent Assistant, detailing phased development plans and core functionalities.
- Created a complete reference for the Teams API, covering team management, member management, invite management, and billing management endpoints.
- Included a TODO file to track future enhancements and features for the project.
- Removed outdated example skill files for better clarity and maintenance.
2026-03-15 06:18:55 -07:00
cyrus cd2198223b Merge remote-tracking branch 'upstream/develop' into develop 2026-03-14 12:14:00 +05:30
cyrus bb467bf28a refactor: reformat and enhance Notion database utilities
- Improve readability and consistency of code with updated formatting for imports, function signatures, and error handling.
- Refactor error-handling logic for API version fallback and logging for better maintainability.
- Enhance descriptive metadata and troubleshooting guidance in `queryDatabaseTool`.
- Consolidate helper methods for resolving data source IDs and API requests.
- Maintain strict backward compatibility for all database-related functionalities.
2026-03-14 12:07:45 +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
M3gA-Mind 30109ee1e3 Merge remote-tracking branch 'upstream/develop' into feat/dmg-cyrus 2026-03-14 04:33:53 +05:30
M3gA-Mind 5d2fbc9e47 Refactor Gmail email handling and improve HTTP client management
- Updated `gmailSlice` to replace `GmailEmailSummary` with `GmailEmailBatch`, enhancing email data structure.
- Modified `SkillProvider` to dispatch emails as `GmailEmailBatch | null`.
- Improved HTTP client management in `ops_net.rs` by implementing a shared client for fetch calls, optimizing connection handling and timeout management.
- Enhanced deep link handling in `desktopDeepLinkListener.ts` to trigger synchronization after OAuth completion.
2026-03-14 04:33:03 +05:30
Cyrus GrayandGitHub 90e9b14f63 Merge pull request #174 from graycyrus/develop
Refactor formatting and improve code consistency
2026-03-13 20:59:12 +05:30
cyrus 178178fc87 Refactor formatting and improve code consistency
Updated function and parameter formatting for better readability and maintainability. Improved documentation clarity in `TOOLS.md` and ensured code consistency across files by aligning indentation and syntax styles.
2026-03-13 20:57:55 +05:30
Cyrus GrayandGitHub 4e24ef9dd3 Merge pull request #173 from graycyrus/develop
Feat: Log Out & Clear App Data
2026-03-13 20:11:31 +05:30
cyrusandClaude 3a1751cff1 enhance: implement complete nuclear reset with skills database clearing
- Add clearAllSkillsData() method to SkillManager for comprehensive data clearing
- Enhance nuclear reset to clear both frontend state and skills databases
- Update confirmation modal with detailed warning about data being deleted:
  • App settings and conversations
  • Email data from Gmail
  • Chat history from Telegram
  • Cached files from Notion
  • All other skills data
- Improve loading feedback: "Clearing All Data..." during operation
- Update button text to "Log Out & Clear Everything" for clarity
- Add graceful error handling for skills clearing with fallback to basic reset
- Import skillManager in SettingsHome for skills data clearing integration

The enhanced nuclear reset now provides true comprehensive data clearing
that wipes both application state and skills databases (emails, chats,
cached files) for complete fresh start experience.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-13 20:06:24 +05:30
cyrusandClaude 0040dc5c89 fix: implement nuclear reset for complete app data clearing
- Add "Log Out & Clear App Data" combined button in settings page
- Implement nuclear reset using window.location.href redirect for complete state clearing
- Fix incomplete data clearing where Redux state remained in memory after logout
- Remove manual Redux dispatching and navigation in favor of page redirect approach
- Clean up unused imports (clearToken, useAppDispatch, useNavigate)
- Add confirmation modal with amber warning styling and proper error handling
- Ensure skills connections (Gmail, Telegram, Notion) show as disconnected after clearing
- Use window.localStorage and window.sessionStorage for ESLint compliance

The nuclear reset approach guarantees complete application state reset by redirecting
to login page after clearing all storage, eliminating issues where skills remained
connected in UI despite data clearing operations.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-13 19:24:01 +05:30
Cyrus GrayandGitHub 0a9d5c538a Merge pull request #172 from graycyrus/develop
fix: resolve race condition and message persistence bugs in conversat…
2026-03-13 18:28:34 +05:30
cyrusandClaude 0233e721c0 fix: resolve race condition and message persistence bugs in conversations
- Fix race condition where agent responses went to wrong threads when users switched conversations
- Add activeThreadId state to track which thread is currently sending/receiving messages
- Implement single active conversation pattern to prevent concurrent message sending
- Fix optimistic message persistence bug where user messages disappeared after conversation switch
- Replace optimistic messaging with immediate persistent storage for user messages
- Add clear UI feedback when other conversations are active with disabled inputs
- Ensure responses always go to original sending thread regardless of current selection
- Simplify addInferenceResponse logic by removing complex retroactive user message handling
- Add proper error handling for failed message sends with cleanup of persisted messages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-13 18:21:41 +05:30
Cyrus GrayandGitHub ddc326bb26 Merge pull request #169 from M3gA-Mind/feat/dmg-cyrus
Fixing Notion,Gmail and Syncing
2026-03-12 14:53:06 +05:30
M3gA-Mind a2a81ee9c1 Enhance Notion metadata synchronization and update tool documentation
- Updated `syncNotionMetadataToBackend` to include additional Notion data (pages and summaries) for backend integration.
- Refactored `syncNotionStateToSlice` to handle profile, pages, and summaries more effectively.
- Revised `TOOLS.md` to improve clarity and organization of parameters for Gmail and Notion tools.
- Added new entries to `.gitignore` for prebuilt TDLib files.
2026-03-12 05:05:26 +05:30
M3gA-Mind 78160ac05f Merge remote-tracking branch 'substream/feat/gmail-fixes' into feat/dmg-cyrus 2026-03-12 01:41:05 +05:30
cyrus 8e2e68fc69 remove: deprecated agent loop tests and GitHub tool documentation
- Deleted `agentLoop.test.ts` as part of cleanup for deprecated agent loop service and related components.
- Reduced `TOOLS.md` size by removing documentation for 100+ outdated GitHub tools.
- Updated `forceToolsCacheRefresh` to use `async` for consistency.
- Simplified `threadSlice` message synchronization logic.
2026-03-11 17:39:23 +05:30
cyrus d8f79dbd2c Refactor OAuth login URLs and improve deep link handling.
Updated OAuth provider login URLs to use "responseType=json" for development mode. Enhanced deep link handling by adding support for an additional "key" parameter to distinguish token types.
2026-03-11 17:18:55 +05:30
cyrus 32171347c3 log(conversations): add tool execution result logging for debugging 2026-03-10 20:30:10 +05:30
cyrus e8513721b8 feat(gmail): add connection-status debugging tool and improve error handling/logging
- Implemented `gmail-connection-status` tool for diagnosing Gmail OAuth connection issues, skill state, and API connectivity.
- Enhanced error handling with improved JSON parse error detection for API responses.
- Updated logging for better diagnostics and traceability in API interactions.
2026-03-10 19:45:56 +05:30
cyrus 025e93e2ba chore(skills): update skills file 2026-03-10 19:45:45 +05:30
cyrus 4169b6dcae Disable unnecessary health monitoring log
Commented out a redundant health monitoring log in the `alphahuman` module to reduce clutter. Additionally, fixed an issue in `package.json` where the `test:unit:watch` script had an incorrect command.
2026-03-10 19:11:00 +05:30
Cyrus GrayandGitHub b5774817ea Merge pull request #168 from graycyrus/develop
working
2026-03-10 13:25:33 +05:30
cyrus 8be4852c54 Merge remote-tracking branch 'megamind/feat/set-tool-call' into develop 2026-03-10 11:31:32 +05:30
M3gA-Mind 01c6fd9421 refactor: streamline JSON formatting and enhance documentation clarity
- Consolidated JSON structure in `.mcp.json` and `.claude/mcp.json` for improved readability.
- Updated `CLAUDE.md` and other documentation files to enhance formatting consistency and clarity.
- Improved the organization of agent roles and initialization procedures in `AGENTS.md`, `BOOTSTRAP.md`, and `IDENTITY.md`.
- Enhanced user understanding and personalization strategies in `USER.md` and `MEMORY.md`.
- Refined tool generation scripts for better error handling and output formatting in `discover-tools.js` and `openClaw-formatter.js`.
2026-03-10 05:31:26 +05:30
M3gA-Mind 65baaaced5 feat: enhance Conversations component with detailed logging and tool call execution
- Updated the inference request structure to improve type safety and added comprehensive logging for both requests and responses.
- Modified tool call execution to handle only the latest tool call while sending placeholders for previous calls.
- Implemented error handling for tool results, ensuring proper logging and formatting of error messages.
- Introduced a timeout parameter for network requests in the ops_net module to enhance request reliability.
2026-03-10 05:24:16 +05:30
M3gA-Mind 9436fdef1c Merge remote-tracking branch 'substream/develop' into feat/set-tool-call 2026-03-10 03:29:31 +05:30
cyrus bd3b93523a feat: add agent tool registry types and update tool schema mapping
- Introduced `AgentToolSchema` and `AgentToolExecution` interfaces to define tool registry types based on ZeroClaw compatibility.
- Added `IAgentToolRegistry` interface to provide type-safe operations for managing and executing tools.
- Updated `agentToolRegistry.ts` to explicitly map tool schemas to the `function` type for improved type consistency.
2026-03-10 02:32:39 +05:30
cyrus e0af9e923d log: enhance runtime logging and tool filtering for debugging
- Added detailed logging for tool schema generation, tool execution, and runtime state checks to improve traceability.
- Enhanced Gmail/Notion tool filtering with additional
2026-03-10 02:00:58 +05:30