Documentation
¶
Overview ¶
Package agentstorage owns authorization and canonical resolution for paths supplied through user, run, and MCP surfaces. Framework-trusted storage operations use the low-level storage package directly.
Index ¶
- type Caller
- type ListRoot
- type Operation
- type ResolvedPath
- type Service
- func (s *Service) FilterList(ctx context.Context, caller Caller, agentID uuid.UUID, paths []string) ([]ResolvedPath, error)
- func (s *Service) ListRoots(ctx context.Context, caller Caller, agentID uuid.UUID) ([]ListRoot, error)
- func (s *Service) Resolve(ctx context.Context, caller Caller, agentID uuid.UUID, path string, ...) (ResolvedPath, error)
- func (s *Service) ResolveForRun(ctx context.Context, agentID, runID uuid.UUID, path string, op Operation) (ResolvedPath, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListRoot ¶
type ListRoot struct {
ResolvedPath
DirectoryPath string
Description string
}
type ResolvedPath ¶
Click to show internal directories.
Click to hide internal directories.