Documentation
¶
Index ¶
- func BuildWorkspaceRuntime(ctx context.Context, opts RuntimeOptions) (*executor.Runtime, sdk.Backend, agentmodel.Finder, error)
- func ConfiguredAGUIDemoBackends(root *wscfg.Root) ([]sdk.AGUIDemoBackend, error)
- func DiscoverWorkspaceAgentIDs(workspaceRoot string) []string
- func NewAPIHandler(ctx context.Context, opts APIOptions) (http.Handler, error)
- func NewExposedMCPServer(ctx context.Context, rt *executor.Runtime, cfg *mcpexpose.ServerConfig, ...) (*http.Server, error)
- type APIOptions
- type RuntimeOptions
- type ToolCatalogWarmOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildWorkspaceRuntime ¶
func BuildWorkspaceRuntime(ctx context.Context, opts RuntimeOptions) (*executor.Runtime, sdk.Backend, agentmodel.Finder, error)
func ConfiguredAGUIDemoBackends ¶ added in v0.1.57
func ConfiguredAGUIDemoBackends(root *wscfg.Root) ([]sdk.AGUIDemoBackend, error)
Demo entries are operator-owned startup configuration, never browser-supplied URLs. Their anonymous upstream traffic does not carry the BFF session.
func NewAPIHandler ¶
Types ¶
type APIOptions ¶
type APIOptions struct {
PublishedWindowBindings *sdk.PublishedWindowBindings
ToolCatalogWarmup ToolCatalogWarmOptions
MCPUIResourceReader sdk.MCPUIResourceReader
MCPUIResourceContextBinder sdk.MCPUIResourceContextBinder
Version string
LayoutDefault []byte
NativeLayoutSource *resourcesvc.CapturedLayoutSource
MenuReader svcworkspace.LayoutMenuReader
Runtime *executor.Runtime
Client sdk.Backend
AgentFinder agentmodel.Finder
AgentIDs []string
AuthRuntime *svcauth.Runtime
SchedulerService *svcscheduler.Service
SchedulerOptions *sdk.SchedulerOptions
UIBridgeHandler http.Handler
AGUIDemoBackends []sdk.AGUIDemoBackend
}
type RuntimeOptions ¶
type RuntimeOptions struct {
WorkspaceRoot string
Defaults *execconfig.Defaults
SchedulerHeadless bool
SkipRegistryInitialize bool
RecordOOBAuthURL func(context.Context, string) error
ConfigureRuntime func(context.Context, *executor.Runtime, string)
// ConfigureBuilder registers trusted host authorization providers and
// mappings before workspace authorization mode is constructed.
ConfigureBuilder func(context.Context, *executor.Builder) error
}
type ToolCatalogWarmOptions ¶ added in v0.1.57
type ToolCatalogWarmOptions struct {
Disabled bool
ExcludedServers []string
Timeout time.Duration
Interval time.Duration
}
ToolCatalogWarmOptions controls proactive metadata preparation after the authentication middleware has established the caller's identity.
Click to show internal directories.
Click to hide internal directories.