Documentation
¶
Overview ¶
Package execmodel holds shared DTOs that cross the codexexecgateway↔handlers package boundary. Both packages import it to avoid an import cycle and to eliminate field-by-field adapter translation that silently drops new fields.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectedExecutor ¶
type ConnectedExecutor struct {
ExeID string `json:"exe_id"`
Description string `json:"description"`
DefaultCwd string `json:"default_cwd"`
IsDefault bool `json:"is_default"`
LastSeenAt *time.Time `json:"last_seen_at,omitempty"`
}
ConnectedExecutor is the join shape returned by workspace listing and /api/exec-gateway/connected endpoints.
type Executor ¶
type Executor struct {
ExeID string `json:"exe_id"`
UserID string `json:"user_id"`
DisplayName string `json:"display_name,omitempty"`
Description string `json:"description,omitempty"`
DefaultCwd string `json:"default_cwd,omitempty"`
RegisteredAt time.Time `json:"registered_at"`
LastSeenAt *time.Time `json:"last_seen_at,omitempty"`
}
Executor is the persistent identity of a codex-exec node.
Click to show internal directories.
Click to hide internal directories.