Commit Graph
544 Commits
Author SHA1 Message Date
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
cyrus cae9f7335c remove: deprecated agent system files and types
- Removed unused `agent.ts` system types, agent loop service (`agentLoop.ts`), corresponding UI components (`AgentExecutionPanel.tsx`), and tests (`agentSlice.test.ts`).
- Cleaned up related imports and ensured no functionality depends on the deprecated files.
2026-03-10 01:12:31 +05:30
cyrus ae187de9d1 feat: introduce agent system types, execution panel, and service tests
- Added new `AgentSystem` types to support enhanced agent execution, tool tracking, API compatibility, and integration with thread system.
- Developed `AgentExecutionPanel` React component for detailed real-time monitoring of agent execution status and history.
- Created comprehensive tests for `AgentLoopService` covering execution flow, tool integration, error handling, and timeout scenarios.
2026-03-10 00:40:00 +05:30
M3gA-Mind e24db395b8 feat: integrate Notion skill support into Conversations and SkillProvider
- Added Notion context building functionality to Conversations component, enhancing user messages with relevant Notion workspace information.
- Implemented synchronization of Notion pages and summaries in SkillProvider, ensuring state consistency with the Notion skill.
- Expanded Notion slice to include new state properties for pages and summaries, along with corresponding actions for state management.
- Enhanced type definitions for Notion-related data structures to improve type safety and clarity.
2026-03-09 21:15:47 +05:30
M3gA-Mind f91e409a0d Enhance development scripts and improve tool documentation
- Updated `package.json` scripts for better error handling and streamlined execution of Tauri commands.
- Added a new `gmail-skill-integration.md` document detailing the Gmail skill integration process, including OAuth2 flow and tool definitions.
- Improved formatting and consistency in `TOOLS.md` for better readability and clarity.
- Enhanced logging in skill management and transport layers for better debugging and monitoring of tool calls.
2026-03-09 19:27:48 +05:30
Cyrus GrayandGitHub 675335d1fe Merge pull request #164 from graycyrus/feature/tools-injection-system
Feature/tools injection system
2026-03-06 16:25:18 +05:30
cyrus 48eb31922d Reduce toolset by removing Telegram integration
The toolset has been streamlined to eliminate the Telegram integration, reducing the total tools from 152 to 104 and integrations from 4 to 3. This change simplifies the environment by focusing on the remaining three integrations.
2026-03-06 16:09:56 +05:30
cyrusandClaude c00ba2f045 feat: implement automatic TOOLS.md cache synchronization with bundled-only loading
- Remove GitHub remote loading to eliminate 404 errors in development
- Implement automatic cache invalidation when TOOLS.md is updated
- Add file watcher system for real-time cache refresh
- Create useToolsUpdates hook for reactive UI components
- Ensure AI Config page immediately reflects updated tool data
- Auto-dispatch tools-updated events for seamless UI synchronization

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-06 16:09:36 +05:30
Cyrus GrayandGitHub 323bc5eb72 Merge pull request #162 from graycyrus/feature/tools-injection-system
docs: add TODO for AI config repository to fix 404 fallback errors
2026-03-05 21:52:00 +05:30
cyrusandClaude 35662f051d docs: add TODO for AI config repository to fix 404 fallback errors
Document expected 404 behavior in AI configuration system where loaders
attempt GitHub remote fetch first, then gracefully fallback to bundled files.

Details:
- Console shows "Failed to load resource: 404" during Settings → AI Config refresh
- Affects: soul/loader.ts and tools/loader.ts GitHub URL attempts
- Fallback works correctly, 404s are cosmetic console warnings
- TODO: Setup public AI config repository for clean remote loading

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-05 21:50:49 +05:30
Cyrus GrayandGitHub 8cfcfc582e Merge pull request #161 from graycyrus/feature/tools-injection-system
feat: tools.md file realtime update
2026-03-05 21:50:10 +05:30