feat: add supervisor prototype with embedded frontend
This commit is contained in:
20
internal/session/models.go
Normal file
20
internal/session/models.go
Normal file
@ -0,0 +1,20 @@
|
||||
package session
|
||||
|
||||
import "supervisor/internal/domain"
|
||||
|
||||
type CreateSessionParams struct {
|
||||
Name string `json:"name"`
|
||||
AgentID string `json:"agentId"`
|
||||
Command string `json:"command"`
|
||||
}
|
||||
|
||||
type InputRequest struct {
|
||||
Input string `json:"input"`
|
||||
}
|
||||
|
||||
type ResizeRequest struct {
|
||||
Cols int `json:"cols"`
|
||||
Rows int `json:"rows"`
|
||||
}
|
||||
|
||||
type SessionSummary = domain.Session
|
||||
Reference in New Issue
Block a user