integrations

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package integrations provides authenticated development-time access to an agent's bound connections and MCP servers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

Backend executes already-authorized operations through Airlock's credential brokers.

type ConnectionResult

type ConnectionResult struct {
	StatusCode int
	Headers    map[string][]string
	Body       []byte
}

type Info

type Info struct {
	Type        string
	Slug        string
	Description string
	Configured  bool
}

type MCPTools

type MCPTools struct {
	Tools        []wire.MCPToolSchema
	Instructions string
}

type Service

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

func New

func New(database *db.DB, backend Backend) *Service

func (*Service) CallMCPTool

func (s *Service) CallMCPTool(ctx context.Context, p authz.Principal, agentID uuid.UUID, slug string, req wire.MCPToolCallRequest) (wire.MCPToolCallResponse, error)

func (*Service) List

func (s *Service) List(ctx context.Context, p authz.Principal, agentID uuid.UUID) ([]Info, error)

func (*Service) ListMCPTools

func (s *Service) ListMCPTools(ctx context.Context, p authz.Principal, agentID uuid.UUID, slug string) (MCPTools, error)

func (*Service) RequestConnection

func (s *Service) RequestConnection(ctx context.Context, p authz.Principal, agentID uuid.UUID, slug string, req wire.ProxyRequest) (ConnectionResult, error)

Jump to

Keyboard shortcuts

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