Skip to content

Conversation

@vreshch
Copy link
Contributor

@vreshch vreshch commented Feb 1, 2026

Summary

  • Add npm run dev:web command that starts both frontend (Vite) and backend (Express) for browser-based development
  • Server uses core handlers from @agentage/core for consistent behavior with Electron app
  • Auth disabled in web mode (returns null) for easy local development
  • All 19 GET endpoints working and validated

Changes

  • packages/server: Refactored to use createCoreHandlers, createTaskHandlers, and createFlagsService
  • packages/shared: Fixed HTTP transport to handle empty query params for both z.void() and object schemas
  • packages/shared: Fixed API spec route ordering (/inbox/sources before /inbox/:id)
  • tests: Added Playwright navigation tests for projects, setup, taskboard, settings pages

Configuration

# Start web dev mode (default port 3001 for API, 5173 for frontend)
npm run dev:web

# Custom configuration
PORT=4000 CONFIG_PATH=/path/to/config npm run dev:web

Test plan

  • All 19 GET endpoints return 200 OK
  • Playwright navigation tests pass (5 tests)
  • Existing smoke tests pass (2 tests)
  • Manual testing of projects page in browser
  • Manual testing of adding/removing projects

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

📸 Screenshot Report

🔴 11 changed

Assessment

All 11 screenshots across every major section of the app have changed with identical pixel counts (21,879 pixels each), which is highly suspicious and suggests a systematic issue rather than intentional changes. Without access to the git diff to confirm expected modifications, this pattern of uniform changes across all screens indicates a potential regression or unintended global styling change that requires immediate investigation.

Preview

home-screenshots-linux.png

chat-screenshots-linux.png

agents-screenshots-linux.png

account-screenshots-linux.png

inbox-screenshots-linux.png

Changed Screens

Page Pixels Changed % Resized
account-screenshots-linux.png 21,879 2.137% No
agents-screenshots-linux.png 21,879 2.137% No
chat-screenshots-linux.png 21,879 2.137% No
home-screenshots-linux.png 21,879 2.137% No
inbox-screenshots-linux.png 21,879 2.137% No
projects-screenshots-linux.png 21,879 2.137% No
resources-connections-screenshots-linux.png 21,879 2.137% No
resources-context-screenshots-linux.png 21,879 2.137% No
resources-models-screenshots-linux.png 21,879 2.137% No
resources-tools-screenshots-linux.png 21,879 2.137% No
settings-screenshots-linux.png 21,879 2.137% No

vreshch and others added 6 commits February 1, 2026 02:55
- Add CONFIG_PATH env var support for server configuration
- Disable auth in web dev mode (auth:getUser returns null)
- Add configPath to SystemInfoResponseSchema
- Add Playwright navigation tests for projects, setup, taskboard, settings
- Add config, flags, preferences handlers with defaults
- Add project CRUD handlers with persistence to CONFIG_PATH
- Add git status detection for projects
- Auto-create config directory on startup
- All endpoints now functional for web dev mode
- Use createCoreHandlers and createTaskHandlers from @agentage/core
- Use createFlagsService for feature flags
- Fix HTTP transport to handle empty query params correctly
  - Try undefined first for z.void() schemas, fall back to {} for object schemas
- Fix inbox route ordering so /inbox/sources registers before /inbox/:id
- Add missing context and github handlers for web mode
- Fix EventBus.publish call (was using non-existent emit method)
- Fix context:get return type to match ContextConfigSchema
- Fix context:scanProject to return discoveredFiles instead of files
- Fix context:generate to return instructions/tokensUsed
- Fix github:getUser to return { user: null } instead of null
- Remove unnecessary type assertion in http.ts
- Add comment to empty cancel function to satisfy eslint
- Simplify tsconfig.json (remove NodeNext module resolution)
Add the ui.agent preferences block to preferences:get and preferences:update
handlers to match the new schema from master merge.
@vreshch vreshch force-pushed the feature/support-of-web-dev-version branch from f16b76e to 4a3616e Compare February 1, 2026 01:55
@vreshch vreshch merged commit adf16df into master Feb 1, 2026
6 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.

2 participants