Skip to content

Implement Hub features, mobile enhancements, and responsive styles - #2

Merged
CjLogic merged 11 commits into
mainfrom
dev
Aug 28, 2026
Merged

Implement Hub features, mobile enhancements, and responsive styles#2
CjLogic merged 11 commits into
mainfrom
dev

Conversation

@CjLogic

@CjLogic CjLogic commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

feat(UPDATES): Major updates across CrewCode especially for CrewCode Hub (Remote Access), CrewCoder Compatibility, and alot of QOL enhancements

CjLogic and others added 10 commits August 19, 2026 22:22
- Add hub-server.ts to handle HTTP server logic for CrewCode Hub.
- Introduce hub-store.ts for managing user, credential, session, and machine data with SQLite.
- Create hub.ts for CLI options parsing and server initialization.
- Implement remote-access-security.ts for rate limiting and origin validation.
- Add tests for hub functionality, remote access authentication, and security features.
- Ensure secure handling of sessions and credentials with appropriate error handling and validation.
- Ensure secure handling of sessions and credentials with appropriate error handling and validation.
…tor chat navigation shortcuts

- Previous Tab and Next Tab now behave as workspace-local back/forward history
- Prepared crewcode-plugin-api and crewcode-plugin-cli version 0.1.2.
- Added public publish metadata and Node >=18 engines.
- Fixed API ESM imports by emitting .js extensions.
- Upgraded Vite-compatible tooling:
 - @vitejs/plugin-react → 5.2.0
 - Vitest → 4.1.11
- Removed the xterm 5-only canvas addon and retained WebGL/built-in renderer fallback.
- Updated TypeScript module resolution for modern Vite packages.
- Regenerated package-lock.json.
- Added HubMachineIdentity interface for machine identity representation.
- Enhanced HubStore class with methods for creating, authenticating, and revoking machines.
- Introduced credential_digest column in machines table for secure credential storage.
- Implemented heartbeat functionality for machine status updates.
- Created hub-machine-enrollment module for managing machine credentials, including reading, writing, and validating credentials.
- Added tests for machine enrollment functionality to ensure security and correctness.
- Updated useWorkspaceTabs hook to manage active tabs more effectively across workspaces.
- Refactored App component to improve workspace tab handling and navigation history.
- Changed TypeScript configuration to use ESNext module for better compatibility.
…nd hub-relay-client

- Implement tests for `useGitSidebar` to verify isolated branch switching behavior.
- Add tests for `useProviderModels` to ensure fallback behavior during remote discovery.
- Create tests for `WebAgentChat` to validate execution custody and event handling.
- Introduce tests for `hub-relay-client` to cover connection management and event subscription.

feat: implement web bridge routes for persistent state management

- Add functionality to manage web bridge routes in local storage.
- Ensure routes are recoverable across module reloads without losing authority.

feat: enhance surface UI state management

- Introduce state management for surface UI to isolate open drawers per chat session.
- Implement functions to set and check the open state of surfaces.

feat: add worktree selection management for chat sessions

- Implement worktree selection isolation for chat sessions and Git workspace tabs.
- Provide functions to resolve selected worktrees based on session context.

feat: define shared hub relay types for consistent protocol handling

- Create shared types for hub relay communication, including connection tickets and control frames.

feat: started the browser-parity work.

Implemented/connected:

- Browser attachment upload path
- MCP registry loading and secure ID-only server selection
- GitHub status, PR listing, workflow runs, issues,
- create/merge/approve operations
- OpenAI/xAI browser voice using Brain-held keys
- Browser editor formatting through workspace Prettier
- Persistent Stop button and provider model fixes
… and recovery

- Added support for attachment uploads through the Brain workspace, allowing files to be uploaded in chunks.
- Introduced new RPC methods: `attachments.begin`, `attachments.chunk`, and `attachments.finish` for managing uploads.
- Implemented validation for attachment size and chunk sequence to ensure integrity during uploads.
- Enhanced error handling for attachment uploads, including digest verification and cleanup on failure.
- Updated tests to cover new attachment upload features and ensure proper functionality.
- Modified the UI to support attachment uploads and display relevant messages.
MobileShell (src/renderer/src/components/ui/MobileShell.tsx): numeric z-index (var() invalid for zIndex), stale closure in useMobileShell, proper drag reset, a11y, single-active-sheet logic.

Responsive CSS (styles.css bottom): app → 100dvh, no border on mobile, drawer becomes bottom sheet, terminal hidden on mobile (sheet-only), grid/composer/thread adapt, sheet keyframes.

PWA (src/renderer/index.html + src/renderer/public/ + public/): viewport-fit=cover, theme-color, manifest, 192/512 icons (from build/icons/512), sw.js cache-first + SW registration in main.tsx (browser only) — verified out/renderer/manifest.json & icons present.
- Implemented  method in web-rpc-client for handling conversation handoffs.
- Updated mission-control and system-monitor styles for improved mobile responsiveness.
- Introduced new mobile settings styles to enhance user experience on smaller screens.
- Added Tailwind CSS utility classes for better design consistency and responsiveness.
- Extended session type definitions to include  for branch provisioning.
- Implemented a Zustand store to manage YuHeard state transitions and notifications.
- Added methods for applying reports, completing states, and clearing pane states.
- Integrated sound notifications and OS notifications based on state changes.

style: enhance mobile responsiveness in Mission Control and Prompt Builder

- Adjusted styles for mobile layouts in Mission Control and Prompt Builder.
- Increased max height for side panels and improved button layouts for better usability on smaller screens.
- Implemented responsive design for various components to enhance user experience on phones and tablets.

style: update Canvas Mode styles for better mobile usability

- Modified styles for Canvas Mode to accommodate phone layouts, including FAB positioning and pane adjustments.
- Ensured touch targets are appropriately sized and actions are easily accessible.

style: add new animations to Tailwind CSS

- Introduced a new pop-in animation for UI elements to enhance visual feedback.

fix: extend PtyCreateOpts with YuHeard metadata

- Added agentId, autoWrap, and wrapAgentIds to PtyCreateOpts for better integration with YuHeard.

feat: define YuHeard types for shared protocol

- Created a new types file for YuHeard to standardize state management and communication between agents and the application.
- Included interfaces for reports, responses, and renderer events to facilitate IPC communication.
…nents

-Updated CrewCode Hub for Vps's
- added CrewCoder tasks compatibility
- added CrewCoder modes compatibility
- Updated git-sidebar.css to improve layout and responsiveness for mobile views, including adjustments to padding, height, and grid layouts.
- Introduced new styles for prompt-builder.css, including tab styles and improved search and item layouts for better usability on smaller screens.
- Enhanced styles in styles.css to support draggable session elements and improved disabled state visuals for buttons.
- Added new styles for turn-changes.css to ensure proper layout and usability on mobile devices.
- Updated index.ts to include new session and activity-related properties for better session management.
- Introduced crewcoder-types.ts and corresponding tests to manage CrewCoder modes and execution locks.
- Added yuheard-types.ts and tests to manage terminal tab behaviors and wrapping logic for various agents.
@CjLogic CjLogic self-assigned this Aug 28, 2026
@CjLogic
CjLogic merged commit 1c5fd63 into main Aug 28, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant