Commit Graph
74 Commits
Author SHA1 Message Date
luccast b78122a9f4 Refactor styles and enhance ActionGraph, ActionNode, and SettingsPanel components
- Simplified styles in the ActionGraph and ActionNode components by removing unnecessary border styles for a cleaner look.
- Updated ActionNode to improve text sizing for better readability and consistency.
- Enhanced SettingsPanel by streamlining button styles and removing redundant border properties, improving overall UI consistency.
- Adjusted layout properties in the SessionList component to enhance responsiveness and visual appeal.
2026-01-26 14:16:30 -05:00
luccast 1b323b3ae3 Add react-markdown dependency and integrate Markdown rendering in ActionNode component
- Added `react-markdown` as a dependency to enable Markdown rendering.
- Updated the `ActionNode` component to display full content using Markdown when expanded, enhancing content presentation.
- Adjusted styles for the Markdown content to ensure readability and visual consistency within the component.
2026-01-26 14:01:12 -05:00
Luciano Castillo ba00a952ea Refactor SessionList component and update styles
- Modified the SessionList component to adjust layout and improve responsiveness based on the collapsed state.
- Updated footer icon links and hover styles for better visual consistency and interaction.
- Removed unused hover styles for the footer icon, streamlining the CSS.
2026-01-26 13:47:03 -05:00
Luciano Castillo 1b3b687600 Add lobster icon to CrabNode component and update styles
- Introduced a new lobster icon in place of the animated crab, enhancing visual representation.
- Updated styles for the lobster icon to improve interactivity and appearance.
- Adjusted the Handle component's z-index for better layering in the UI.
2026-01-26 13:37:09 -05:00
Luciano Castillo 0a195e4e73 Update SessionList component with corrected link to user profile
- Changed the href attribute in the SessionList component from an incorrect user profile link to the correct one for improved navigation.
2026-01-26 12:57:10 -05:00
Luciano Castillo d7e79bee5d Add footer icons and enhance SessionList and SettingsPanel styles
- Introduced a new footer icon component with hover effects for improved user interaction.
- Updated SessionList component to include the new footer icon and refined styling for better visual consistency.
- Adjusted SettingsPanel header styles for improved typography and layout.
- Ensured consistent use of quotation marks and formatting across the codebase.
2026-01-26 12:55:33 -05:00
luccast d3538dab88 Refactor chaser crab behavior in ActionGraph component
- Updated chaser crab state management to include new states: 'wandering' and 'jumping', enhancing movement dynamics.
- Simplified the animation loop for crab movement, implementing step-based updates for smoother animations.
- Improved target detection logic for the chaser crab, allowing it to chase newly added or moved nodes effectively.
- Enhanced click handling for the chaser crab, enabling jump animations and state transitions based on user interaction.
- Refined the ChaserCrabNode component to accommodate new states and improve click event handling.
2026-01-26 10:07:19 -05:00
luccast cd4e164314 Update styles and versioning in SettingsPanel and Home components; enhance .gitignore
- Removed font size and line height from .font-console in styles.css for cleaner typography.
- Updated version number from v3.0 to v1.0.1 in SettingsPanel and Home components for consistency.
- Added .tanstack/tmp/* to .gitignore to prevent tracking of temporary files in the TanStack directory.
2026-01-26 09:20:27 -05:00
luccast e5f390d599 Add JetBrains Mono font files and update styles
- Introduced JetBrains Mono font files (Regular, Medium, SemiBold, Bold) to the project.
- Updated styles.css to include local font-face definitions for JetBrains Mono.
- Replaced 'Space Mono' with 'JetBrains Mono' in the font stack for improved typography consistency.
2026-01-26 09:13:50 -05:00
luccast 0ec6f2530f Remove unused development tools from RootDocument component
- Eliminated TanStackRouterDevtools and associated devtoolsPlugins from the RootDocument, streamlining the component.
- Simplified the structure of the RootDocument to enhance performance and maintainability.
2026-01-26 09:08:35 -05:00
luccast 7ffc975884 Enhance action handling and visualization in Clawdbot integration
- Introduced new action types: 'start', 'streaming', and 'complete' to improve event tracking and state management.
- Updated ActionGraph component to apply edge styling based on action type, enhancing visual representation of action flows.
- Modified ActionNode to display state labels and metadata for completed actions, improving user feedback.
- Refined addAction function to handle new action types and associated metadata, ensuring accurate session tracking.
- Enhanced chatEventToAction and agentEventToAction functions to map new action types and extract relevant metadata.
2026-01-26 09:02:24 -05:00
luccast 14e2eeabe0 Refactor chaser crab logic in ActionGraph component
- Simplified the initialization of the chaser crab node by using a static position and default state on mount.
- Enhanced the animation loop to directly update the chaser crab's position and state, improving performance and clarity.
- Updated the node management to ensure the chaser crab is preserved during layout changes, maintaining its behavior and state.
- Cleaned up dependencies in useEffect hooks for better performance and readability.
2026-01-26 08:58:03 -05:00
luccast ea308967ee Implement chaser crab functionality in ActionGraph component
- Added state management for chaser crab, including position, target, and behavior states (idle, running, attacking).
- Integrated chaser crab into the ActionGraph layout, allowing it to dynamically chase new nodes.
- Removed the ChaserCrab component, consolidating functionality directly within ActionGraph for improved performance and maintainability.
- Enhanced animation loop for chaser crab movement and attack logic, improving interaction dynamics.
2026-01-26 08:55:03 -05:00
luccast 36f806897c Refactor ActionGraph component to include ReactFlowProvider and enhance structure
- Introduced ActionGraphInner as a separate component to utilize ReactFlow hooks.
- Added ChaserCrab overlay to display additional node information.
- Wrapped ActionGraph in ReactFlowProvider for improved context management.
- Updated layout and styling for better visual consistency.
2026-01-26 08:49:44 -05:00
luccast d044a3dc4d Update .gitignore to include documents directory and ensure routeTree.gen.ts is tracked
- Added 'documents/*' to .gitignore to prevent tracking of all files in the documents directory.
- Ensured 'src/routeTree.gen.ts' is explicitly listed for tracking, maintaining clarity in ignored files.
2026-01-26 08:40:26 -05:00
luccast 35aecf42d0 Add log collection feature to SettingsPanel and TRPC router
- Implemented log collection functionality in the SettingsPanel, allowing users to start/stop recording events and view the count of collected logs.
- Enhanced the TRPC router with procedures for managing log collection state, downloading collected logs, and clearing logs.
- Updated MonitorPage to handle log collection state and integrate new log management features, improving event tracking and user experience.
2026-01-26 08:31:38 -05:00
luccast 54a0a23359 Enhance agent event handling in Clawdbot integration
- Added support for lifecycle events in the agentEventToAction function, distinguishing between 'start' and 'end' phases.
- Updated sessionKey handling to prioritize the event's sessionKey over the stream.
- Implemented filtering to skip system events and assistant streams in parseEventFrame, focusing on lifecycle events for session management.
- Introduced session status updates based on event phases, improving session tracking.
2026-01-26 08:23:20 -05:00
luccast bc0b610e72 Remove Header component and update layout for full-screen display
- Deleted the Header component to simplify the application structure.
- Adjusted layout in the RootDocument and Home components to utilize full-screen height, enhancing the visual experience.
- Ensured consistent styling across components by updating height calculations.
2026-01-26 08:08:52 -05:00
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