Help us shape the future of Go! Take the 2026 Go Developer Survey

manager

package
v0.1.57 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBrowserExecutionRequired  = shared.ErrBrowserExecutionRequired
	WithTTL                      = shared.WithTTL
	WithHandlerFactory           = shared.WithHandlerFactory
	WithClientFactory            = shared.WithClientFactory
	WithCookieJar                = shared.WithCookieJar
	WithCookieJarProvider        = shared.WithCookieJarProvider
	WithAuthRoundTripper         = shared.WithAuthRoundTripper
	WithAuthRoundTripperProvider = shared.WithAuthRoundTripperProvider
	WithUserIDExtractor          = shared.WithUserIDExtractor
	WithCredentialResolver       = shared.WithCredentialResolver
	WithProviderRegistry         = shared.WithProviderRegistry
	WithAuthBindingStore         = shared.WithAuthBindingStore
	WithToolCatalogReadSnapshot  = shared.WithToolCatalogReadSnapshot
	WithPersistentToolCatalog    = shared.WithPersistentToolCatalog
)

Functions

func WithNamesMemo added in v0.1.57

func WithNamesMemo(ctx context.Context) context.Context

WithNamesMemo establishes a detached, request-local inventory snapshot. The manager still checks effective actor and credential scope on each read.

func WithRequestCatalog added in v0.1.57

func WithRequestCatalog(next http.Handler) http.Handler

WithRequestCatalog shares configuration/catalog preparation within one HTTP operation. It never persists selected resource bytes or tool-call results.

Types

type AuthBindingStore added in v0.1.29

type AuthBindingStore = shared.AuthBindingStore

func NewAuthBindingStore added in v0.1.29

func NewAuthBindingStore(state workspace.StateStore) *AuthBindingStore

type AuthRTProvider

type AuthRTProvider = shared.AuthRTProvider

type DefinitionReader added in v0.1.57

type DefinitionReader = shared.DefinitionReader

RepoProvider loads MCP client options from the Agently workspace repo ($AGENTLY_WORKSPACE/mcp). DefinitionReader supplies authored definitions through the same catalog path.

type JarProvider

type JarProvider = shared.JarProvider

type LinkRequiredError added in v0.1.57

type LinkRequiredError = mcpauth.LinkRequiredError

LinkRequiredError is the stable delegated-MCP re-link outcome. The alias makes Agently's typed result available to embedding hosts without giving them access to the internal auth package or a transport-specific error.

func LinkRequired added in v0.1.57

func LinkRequired(err error) (*LinkRequiredError, bool)

LinkRequired returns the typed re-link outcome from an error chain.

type MCPAuthBinding added in v0.1.29

type MCPAuthBinding = shared.MCPAuthBinding

type Manager

type Manager = shared.Manager

func New

func New(provider Provider, options ...Option) (*Manager, error)

New keeps application state selection in Core while returning the one shared pool instance. No manager or provider is reconstructed for an operation.

type Option

type Option = shared.Option

func WithTokenProvider added in v0.1.8

func WithTokenProvider(provider token.Provider) Option

type Provider

type Provider = shared.Provider

type RepoProvider

type RepoProvider struct {
	// contains filtered or unexported fields
}

func NewRepoProvider

func NewRepoProvider(opts ...RepoProviderOption) *RepoProvider

func (*RepoProvider) BindDefinitionReader added in v0.1.57

func (p *RepoProvider) BindDefinitionReader(reader DefinitionReader, names []string) error

These methods expose only provider lifecycle/configuration to the shared pool.

func (*RepoProvider) BrowserOptions added in v0.1.57

func (p *RepoProvider) BrowserOptions(ctx context.Context, name string) (*mcpcfg.MCPClient, error)

BrowserOptions reads public execution routing before token/cookie state or environment/resource providers are attached by ordinary server Options.

func (*RepoProvider) CatalogNames added in v0.1.57

func (p *RepoProvider) CatalogNames(ctx context.Context) ([]string, error)

Names lists configured MCP server definitions without performing discovery.

func (*RepoProvider) DefinitionGeneration added in v0.1.57

func (p *RepoProvider) DefinitionGeneration(ctx context.Context) string

func (*RepoProvider) DefinitionReaderBound added in v0.1.57

func (p *RepoProvider) DefinitionReaderBound() bool

func (*RepoProvider) Names added in v0.1.33

func (p *RepoProvider) Names(ctx context.Context) ([]string, error)

Names includes dynamically published tool connections as well as roots.

func (*RepoProvider) Options

func (p *RepoProvider) Options(ctx context.Context, name string) (*mcpcfg.MCPClient, error)

func (*RepoProvider) ReservedLocalName added in v0.1.57

func (p *RepoProvider) ReservedLocalName(name string) bool

type RepoProviderOption

type RepoProviderOption func(*RepoProvider)

RepoProviderOption configures RepoProvider.

func WithRepoDefinitionReader added in v0.1.57

func WithRepoDefinitionReader(reader DefinitionReader) RepoProviderOption

WithRepoDefinitionReader selects one reader; supplied-reader errors never fall back to the legacy repository. Manager binding reserves local names first.

func WithRepoStateStore

func WithRepoStateStore(ss workspace.StateStore) RepoProviderOption

WithRepoStateStore injects a StateStore for resolving state directories.

type SkillsClient added in v0.1.51

type SkillsClient = shared.SkillsClient

type UserIDExtractor

type UserIDExtractor = shared.UserIDExtractor

type VisibleCatalogPartition added in v0.1.57

type VisibleCatalogPartition = shared.VisibleCatalogPartition

Jump to

Keyboard shortcuts

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