server

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverWorkspaceAgentIDs

func DiscoverWorkspaceAgentIDs(workspaceRoot string) []string

func NewAPIHandler

func NewAPIHandler(ctx context.Context, opts APIOptions) (http.Handler, error)

func NewExposedMCPServer

func NewExposedMCPServer(ctx context.Context, rt *executor.Runtime, cfg *mcpexpose.ServerConfig, authRuntime *svcauth.Runtime) (*http.Server, error)

Types

type APIOptions

type APIOptions struct {
	Version          string
	Runtime          *executor.Runtime
	Client           sdk.Client
	AgentFinder      agentmodel.Finder
	AgentIDs         []string
	AuthRuntime      *svcauth.Runtime
	SchedulerService *svcscheduler.Service
	SchedulerOptions *sdk.SchedulerOptions
}

type RuntimeOptions

type RuntimeOptions struct {
	WorkspaceRoot     string
	Defaults          *execconfig.Defaults
	SchedulerHeadless bool
	RecordOOBAuthURL  func(context.Context, string) error
	ConfigureRuntime  func(context.Context, *executor.Runtime, string)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL