feat: the workspace at /workspace; Настройки show the assistant's model as set, key included, and PostgreSQL's fields only when chosen, its two buttons on one line; pages come in softly

This commit is contained in:
redtea committed 2026-10-16 09:30:19 +03:00
1 parent 352b016384
commit 6db78399ac
10 files changed
+48 -24

No files matched your search

+2 -1
View File
@@ -227,7 +227,8 @@ func (s *Server) Handler() http.Handler {
// Panel (admin-only).
mux.Handle("GET /{$}", s.requireAdmin(s.handleDashboard))
mux.Handle("GET /terminal", s.requireAdmin(s.handleShell))
mux.Handle("GET /workspace", s.requireAdmin(s.handleShell))
mux.Handle("GET /terminal", s.requireAdmin(s.handleShell)) // the old address
mux.Handle("GET /agents/{id}/terminal", s.requireAdmin(s.handleShell))
mux.Handle("GET /agents/{id}/{kind}", s.requireAdmin(s.handleShell)) // files
mux.Handle("GET /agents/{id}/forwards", s.requireAdmin(s.handleForwardsPage))