You've already forked agentic-coding-workflow
18 lines
455 B
Go
18 lines
455 B
Go
package handlers
|
|
|
|
// session/new method types (spec §5.4).
|
|
|
|
type SessionNewParams struct {
|
|
Cwd string `json:"cwd"`
|
|
McpServers []string `json:"mcpServers"` // MVP: no MCP, send empty slice
|
|
}
|
|
|
|
type SessionNewResult struct {
|
|
SessionID string `json:"sessionId"`
|
|
}
|
|
|
|
// BuildSessionNewParams returns standard session/new params.
|
|
func BuildSessionNewParams(cwd string) SessionNewParams {
|
|
return SessionNewParams{Cwd: cwd, McpServers: []string{}}
|
|
}
|