Skip to content

[Feature Request] Architecture and UX Improvement #1260

@dataCenter430

Description

@dataCenter430

Questions

Hi, @Wendong-Fan Eigent-ai team.
I took a deep look and found some potential issues for architecture, UX, backend and infrastructure on Eigent.

  1. Electron single-instance lock in dev
  • requestSingleInstanceLock() can cause dev server to exit when a second instance starts.
  1. Layout visibility race
  • setWaitingBackend() can briefly show the install screen after content has already rendered.
  1. Zustand hydration
  • Persisted auth may hydrate after the first render, causing temporary redirects or flicker.
  1. Norate limiting
  • Endpoints are not rate-limited, increasing abuse and Dos risk.
  1. CORS configuration
  • Missing or overly permissive CORS can allow unwanted origins
  1. Backend API keys in env
  • API keys and config are set in os.environ per request.

I'm confident that they will be addressed by me.
Please assign it to me, so I can implement the improvements soon.
Thanks

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions