Commit Graph
56 Commits
Author SHA1 Message Date
luccast 90a2f9571c Add debug mode functionality to SettingsPanel and TRPC router
- Introduced a debug mode toggle in the SettingsPanel, allowing users to enable or disable debug logging.
- Updated the TRPC router to manage server-side debug mode state, including procedures to set and get the debug mode status.
- Enhanced event logging to output raw events and parsed actions when debug mode is enabled, improving troubleshooting capabilities.
2026-01-26 08:04:19 -05:00
luccast 282f1df100 Enhance SessionList component with collapsible sidebar functionality
- Added support for a collapsible sidebar in the SessionList component, allowing users to toggle the sidebar's visibility.
- Integrated responsive behavior to automatically collapse the sidebar on mobile devices.
- Updated the layout and styling to accommodate the new collapsed state, ensuring a seamless user experience.
- Refactored the component to include new props for managing the collapsed state and toggle functionality.
2026-01-25 23:17:17 -05:00
luccast b3b048dee8 Update README to credit author of Clawdbot integration 2026-01-25 22:59:51 -05:00
Luciano Castillo f18c104e2b Merge pull request #1 from luccast/luccast/retro-crab-ui
Luccast/retro crab UI
2026-01-25 22:58:19 -05:00
luccast 425a5a067e Update font sizes in ActionNode, SessionList, and SessionNode components for improved readability
- Increased font size from 9px to 11px in ActionNode and SessionNode components to enhance text visibility.
- Adjusted font size in SessionList for group indicator to maintain consistency across components.
2026-01-25 22:57:12 -05:00
luccast a28a4a4e6f Implement interactive crab animations in Home component
- Added state management for crab animations, allowing the crab to transition between idle, jumping, and attacking states based on user interactions.
- Enhanced the crab display with mouse event handlers for hover and click actions, improving interactivity.
- Updated the rendering logic to conditionally display the appropriate animation based on the current state.
2026-01-25 22:55:54 -05:00
luccast 193cf3ef39 Remove dbDevtools integration from the root route
- Deleted the dbDevtools plugin from the integration, streamlining the application structure.
- Removed associated imports and references to enhance code clarity and maintainability.
2026-01-25 22:52:30 -05:00
luccast 4de7756c18 Refactor components to use animated crab assets
- Replaced static crab logo and silhouette SVGs with `CrabIdleAnimation` in the Header, CrabNode, NotFound, Home, and Monitor components for enhanced visual appeal.
- Updated styling to maintain consistency with the new animated assets.
- Removed unused SVG components to streamline the codebase.
2026-01-25 22:49:38 -05:00
luccast 1f0f9e8419 Add crab animation assets and components
- Introduced new PNG assets for crab attack, idle, and jump animations.
- Created `FrameAnimation` component for handling frame-based animations.
- Implemented `CrabAttackAnimation`, `CrabIdleAnimation`, and `CrabJumpAnimation` components to utilize the new assets.
- Updated index file to export the new animation components for easy access.
2026-01-25 22:45:04 -05:00
luccast 3f35e21b07 Update panel-crab styling to use bg-linear-to-br for gradient background 2026-01-25 22:30:53 -05:00
luccast d1bdedb2cf Enhance UI and styling across components for a retro-futuristic theme
- Introduced a comprehensive retro-futuristic design system in styles.css, including custom theme colors, fonts, and glow effects.
- Updated Header component to feature a crab logo and arcade-style text, enhancing visual appeal.
- Refined ActionGraph and ActionNode components with improved color schemes and styling for better clarity and aesthetics.
- Enhanced SessionList and SettingsPanel with retro-themed elements and improved layout for a cohesive user experience.
- Implemented animations and transitions using Framer Motion for smoother interactions and visual feedback.
- Updated various components to utilize new design tokens and styles, ensuring consistency across the application.
2026-01-25 22:30:34 -05:00
luccast 5205021094 Refactor Header component and remove demo routes
- Updated Header component to replace the logo with a text-based link and an icon, enhancing visual appeal.
- Removed demo routes for TanStack DB, Query, and tRPC, streamlining the application structure and reducing unnecessary complexity.
2026-01-25 22:16:48 -05:00
luccast bf2f830e71 Refactor ActionGraph to group actions by sessionKey and connect them in sequence
- Replaced runId grouping with sessionKey grouping for actions, improving clarity in session management.
- Enhanced edge creation logic to connect actions in a chain per session, ensuring proper sequencing based on timestamps.
- Removed lifecycle event checks to streamline action processing and improve performance.
2026-01-25 22:07:38 -05:00
luccast 3b3d7488f6 Enhance session management in Clawdbot integration by mapping runId to sessionKey
- Introduced a runSessionMap to track runId to sessionKey mappings learned from chat events.
- Updated addAction function to utilize the mapped sessionKey for actions with lifecycle or invalid keys.
- Removed lifecycle event checks in the parser to streamline event handling.
2026-01-25 22:01:48 -05:00
luccast a5e49698ec Remove unnecessary console logging in ActionGraph and enhance Clawdbot parser to skip irrelevant lifecycle events
- Eliminated debug logging for session not found cases in ActionGraph to reduce console noise.
- Updated Clawdbot parser to skip lifecycle/internal events that do not belong to a session, improving event handling efficiency.
2026-01-25 21:58:04 -05:00
luccast 3ff4d294a5 Enhance ActionGraph session edge creation by validating session node existence
- Introduced a check to ensure session nodes exist before creating edges in the ActionGraph.
- Added logging for cases where a session node is not found, improving debugging and traceability of session connections.
2026-01-25 21:55:09 -05:00
luccast 1eb55309a6 Refactor session handling in MonitorPage to streamline status updates and remove redundant session creation logic
- Simplified session status updates by introducing `updateSessionStatus` function.
- Removed unnecessary checks and session creation logic for existing sessions, enhancing performance and clarity.
- Improved event handling for session updates in response to incoming data.
2026-01-25 21:51:10 -05:00
luccast 6f092e724e Enhance ActionNode and Clawdbot integration with improved event handling and UI updates
- Added support for new event types in ActionNode, including 'agent' and 'system', with corresponding icons and labels.
- Introduced a formatTime function for consistent timestamp formatting in the UI.
- Updated content truncation logic to handle longer messages more effectively.
- Enhanced session management in MonitorPage to ensure sessions are created for actions and updated based on status changes.
2026-01-25 21:45:43 -05:00
luccast 51b0a3afb9 Refactor chatEventToAction function in Clawdbot parser to improve content extraction and simplify message handling
- Removed unnecessary debug logging and streamlined the extraction of text content from various message formats.
- Enhanced handling of tool calls and results within content blocks, improving action type assignment.
- Updated session key parsing in protocol to accommodate new message format variations and clarify recipient identification.
2026-01-25 21:43:42 -05:00
luccast 20e2b0943e Improve content handling and logging in ActionNode and Clawdbot parser
- Updated ActionNode to safely handle various content types and improved truncation logic for better display.
- Enhanced chatEventToAction function in Clawdbot parser to extract content from different message formats and added debugging logs for event structure.
- Improved logging in TRPC router to include session keys for better traceability during event handling.
2026-01-25 21:37:53 -05:00
luccast 1692413f07 Enhance action handling in Clawdbot integration by adding support for delta actions and improving logging in TRPC router and MonitorPage.
- Updated `addAction` function to aggregate delta actions into a single streaming action per runId.
- Improved logging to filter out delta events in TRPC router, reducing console noise.
- Removed unnecessary console logs in MonitorPage during event subscription lifecycle.
2026-01-25 21:34:39 -05:00
luccast 2189a85146 Live Data: Add session update helper and enhance TRPC client with subscription support
- Introduced `updateSession` helper function to facilitate partial updates of session data.
- Updated TRPC client to use `splitLink` for handling subscriptions, improving real-time event management.
- Enhanced logging in TRPC router for better visibility during event subscriptions.
- Integrated real-time event subscription in MonitorPage to handle session updates and actions effectively.
2026-01-25 21:26:37 -05:00
luccast eec6c454cd Refactor ClawdbotClient and TRPC router to improve connection handling and reduce logging noise. Remove unnecessary console logs and streamline error handling in session management, enhancing clarity and performance. 2026-01-25 21:12:31 -05:00
luccast e9f13f8267 Implement polyfill for crypto.randomUUID in non-secure contexts to ensure UUID generation compatibility across environments. 2026-01-25 21:07:14 -05:00
luccast f9a1a94113 Refactor session upsert logic in MonitorPage by removing transaction handling, simplifying the process and enhancing logging for improved clarity during session management. 2026-01-25 21:03:51 -05:00
luccast 5b3b564842 Enhance session loading in MonitorPage by adding detailed logging for session retrieval and transaction commitment, improving debugging capabilities and visibility into session management. 2026-01-25 20:57:27 -05:00
luccast 3839566a87 Update presence count handling in ClawdbotRouter to safely access snapshot data and adjust session loading time in MonitorPage to 24 hours for historical queries, improving data accuracy and user experience. 2026-01-25 20:52:57 -05:00
luccast 15ed17a213 Refactor ClawdbotClient connection logic to streamline handling of ongoing connections, returning a mock response if already connected or connecting. Enhance logging in listSessions method to provide clearer insights into session retrieval and errors. 2026-01-25 20:50:44 -05:00
luccast f62fdef9a4 Enhance ClawdbotClient connection handling by adding checks for ongoing connections and improving error management. Update logging to reduce noise by filtering out specific event types during message reception. 2026-01-25 20:40:23 -05:00
luccast da5d0ad9b0 Enhance ClawdbotClient response handling to check for 'hello-ok' message type, improving connection success feedback and ensuring proper response management. 2026-01-25 20:21:37 -05:00
luccast 595674ca66 Update ClawdbotClient connection parameters to change mode from 'default' to 'cli', improving clarity in integration settings. 2026-01-25 20:15:15 -05:00
luccast 542742292b Update ClawdbotClient connection parameters to change mode from 'operator' to 'default', enhancing clarity and consistency in integration settings. 2026-01-25 20:14:01 -05:00
luccast 9c024cebe8 Add 'mode' field to ClawdbotClient connection parameters, setting it to 'operator' for improved clarity and alignment with integration requirements. 2026-01-25 20:09:12 -05:00
luccast a5163d7bac Remove 'mode' field from ClawdbotClient connection parameters to streamline the integration with the Crabwalk system, maintaining focus on essential fields for clarity and functionality. 2026-01-25 19:45:52 -05:00
luccast 5b2928a26d Update ClawdbotClient connection parameters to change client ID to 'cli', update platform to 'linux', and mode to 'operator'. Added role, scopes, caps, commands, permissions, locale, and userAgent fields for enhanced clarity and functionality in integration with the Crabwalk system. 2026-01-25 19:43:48 -05:00
luccast 6dc79e4623 Update ClawdbotClient connection parameters to change client ID from 'crabwalk-monitor' to 'clawdbot', improving clarity for integration with the Crabwalk system. 2026-01-25 19:42:15 -05:00
luccast 615db1cf4c Update ClawdbotClient connection parameters to reflect new client ID and platform settings. Changed client ID to 'crabwalk-monitor' and updated platform to 'node' with mode set to 'bot', enhancing clarity for integration with the Crabwalk system. 2026-01-25 19:40:27 -05:00
luccast 1fac87e974 Refactor ClawdbotClient to simplify connection parameters by removing the device object from the request frame. Updated connection handling to use only the authentication token, enhancing clarity and alignment with local connection requirements. 2026-01-25 19:38:26 -05:00
luccast f90aae83e9 Refactor ClawdbotClient to align challenge-response structure with documentation. Updated response to wrap parameters in a request frame with method "connect" and enhanced logging to capture more details in challenge response messages. 2026-01-25 19:35:49 -05:00
luccast 79003defa2 Remove unused HMAC-SHA256 import from ClawdbotClient. This change streamlines the code by eliminating unnecessary dependencies following recent authentication refactoring. 2026-01-25 19:33:52 -05:00
luccast 0035408755 Refactor ClawdbotClient challenge-response handling by removing HMAC-SHA256 signature generation for the timestamp. Updated response structure to align with documentation, ensuring the device object includes only the nonce. This change simplifies the authentication process while maintaining security. 2026-01-25 19:33:48 -05:00
luccast 265f8bcb1f Refactor ClawdbotClient challenge-response handling. Improved WebSocket state checks before sending responses and updated HMAC-SHA256 signing to include both nonce and timestamp. Enhanced logging for challenge response messages to aid in debugging. 2026-01-25 19:31:52 -05:00
luccast e793a46072 Update README.md for Clawdbot link correction and enhance clawdbot integration documentation. Refactor clawdbot exports for clearer client-server separation in the codebase. 2026-01-25 19:30:15 -05:00
luccast 4e9de39bc6 Implement challenge-response authentication in ClawdbotClient. Added handling for connect.challenge events, including HMAC-SHA256 signing of the nonce for secure connection establishment. Improved logging for received messages and connection events. 2026-01-25 19:27:44 -05:00
luccast b0ea10e9f5 Improve ClawdbotClient logging and connection handling. Added raw message logging for better debugging and updated WebSocket close event to log closure details. Disabled auto-reconnect for debugging purposes. 2026-01-25 19:23:26 -05:00
luccast 0a787fa485 Enhance ClawdbotClient with detailed logging for connection events and error handling. Added console logs for connection attempts, timeouts, WebSocket creation, message reception, and errors to improve debugging and monitoring capabilities. 2026-01-25 19:20:39 -05:00
luccast 64e28d03f9 Implement custom 404 Not Found page with navigation link and update document title to 'Crabwalk'. Added NotFound component to enhance user experience when a page is not found. 2026-01-25 19:14:16 -05:00
luccast fe2120fd8d Add CrabNode to ActionGraph for enhanced session visualization
- Introduced CrabNode to represent a central point in the ActionGraph.
- Updated nodeTypes to include CrabNode and modified rawNodes to always include it.
- Established connections from CrabNode to visible session nodes for better clarity.
- Adjusted layout logic to ensure proper positioning of nodes, especially when only the CrabNode is present.
- Updated MiniMap to visually distinguish CrabNode with a unique color.
2026-01-25 18:21:07 -05:00
luccast 642d424da5 Enhance ClawdbotClient connection handling with improved error management and timeout logic. Added timeout for WebSocket connection attempts and ensured proper cleanup on errors and message handling. This refactor aims to increase reliability during connection establishment and message processing. 2026-01-25 18:16:22 -05:00
luccast 2a0d93a197 Refactor dbDevtools and MonitorPage components to include loading states for improved user experience. Introduced DbInspectorWrapper and MonitorPageWrapper to manage client-only rendering and display loading indicators while data is being fetched. 2026-01-25 18:13:48 -05:00