gateway

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 137 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const DefaultListenAddr = "localhost:8090"

DefaultListenAddr is the default gateway listen address.

View Source
const DefaultMCPProbeStaleAfter = 5 * time.Minute

DefaultMCPProbeStaleAfter bounds how long an MCP probe remains fresh.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, cfg Config) error

Serve starts the agent gateway HTTP server and blocks until shutdown.

Types

type Config

type Config struct {
	CopilotStudioBaseURL           string
	CopilotStudioAudience          string
	GuardrailStubURL               string
	CodingGitHubClientID           string
	CodingGitHubClientSecret       string
	CodingGitHubEncryptionKey      string
	DelegationNamespace            string
	GatewayServiceAccountName      string
	GatewayServiceAccountNamespace string
	DelegationGatewayURL           string
	Addr                           string
	PostgresDSN                    string
	ExternalJWTJWKSURL             string
	ExternalJWTIssuer              string
	ExternalJWTAudience            string
	InternalK8sTokenAudience       string
	TargetOverride                 string
	FilesystemTargetOverride       string
	AgentImage                     string
	AgentTraceEndpoint             string
	OpenBaoAddr                    string
	OpenBaoSecretMountPath         string
	OpenBaoK8sAuthRole             string
	OpenBaoK8sAuthMountPath        string
	OpenBaoK8sAuthTokenPath        string
	MCPProbeStaleAfter             time.Duration
	AllowedWebOrigins              []string
	SkillStore                     skill.Config
}

Config describes how to start the gateway.

type Service

type Service struct {
	gatewayapi.Unimplemented
	// contains filtered or unexported fields
}

Service implements the agent gateway HTTP API.

func (*Service) AdoptCodingWorktree added in v0.22.0

func (s *Service) AdoptCodingWorktree(w http.ResponseWriter, r *http.Request, projectId string)

AdoptCodingWorktree registers only a freshly verified project worktree.

func (*Service) CreateAgent

func (s *Service) CreateAgent(w http.ResponseWriter, r *http.Request)

CreateAgent handles POST /api/agent.

func (*Service) CreateAgentDirectory

func (s *Service) CreateAgentDirectory(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

CreateAgentDirectory handles POST /api/agent/{agentName}/fs/directory.

func (*Service) CreateAgentFile

func (s *Service) CreateAgentFile(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

CreateAgentFile handles POST /api/agent/{agentName}/fs/file.

func (*Service) CreateAgentTool added in v0.28.0

func (s *Service) CreateAgentTool(w http.ResponseWriter, r *http.Request, agentName string)

CreateAgentTool adds a trusted script using the agent's use permission.

func (*Service) CreateCodingProject added in v0.22.0

func (s *Service) CreateCodingProject(w http.ResponseWriter, r *http.Request)

CreateCodingProject records a personal repository without provisioning a checkout.

func (*Service) CreateCopilotStudioIntegration added in v0.37.0

func (s *Service) CreateCopilotStudioIntegration(w http.ResponseWriter, r *http.Request, _ gatewayapi.CreateCopilotStudioIntegrationParams)

CreateCopilotStudioIntegration binds an authenticated Microsoft caller to one workspace.

func (*Service) CreateDashboard

CreateDashboard validates and stores an immutable dashboard definition.

func (*Service) CreateGuardrailConnection added in v0.31.0

func (s *Service) CreateGuardrailConnection(w http.ResponseWriter, r *http.Request, _ gatewayapi.CreateGuardrailConnectionParams)

CreateGuardrailConnection creates a detector transport.

func (*Service) CreateGuardrailPolicy added in v0.31.0

func (s *Service) CreateGuardrailPolicy(w http.ResponseWriter, r *http.Request, _ gatewayapi.CreateGuardrailPolicyParams)

CreateGuardrailPolicy saves a reusable ordered policy.

func (*Service) CreateInferencePool

func (s *Service) CreateInferencePool(w http.ResponseWriter, r *http.Request, params gatewayapi.CreateInferencePoolParams)

CreateInferencePool handles POST /api/inference/pool.

func (*Service) CreateInferenceProvider

func (s *Service) CreateInferenceProvider(w http.ResponseWriter, r *http.Request, params gatewayapi.CreateInferenceProviderParams)

CreateInferenceProvider handles POST /api/inference/provider.

func (*Service) CreateInferenceProviderOAuthTicket

func (s *Service) CreateInferenceProviderOAuthTicket(w http.ResponseWriter, r *http.Request, params gatewayapi.CreateInferenceProviderOAuthTicketParams)

CreateInferenceProviderOAuthTicket handles POST /api/inference/provider/oauth-ticket.

func (*Service) CreateMCPConnection

func (s *Service) CreateMCPConnection(w http.ResponseWriter, r *http.Request, params gatewayapi.CreateMCPConnectionParams)

CreateMCPConnection handles POST /api/mcp-connection.

func (*Service) CreateSandbox

func (s *Service) CreateSandbox(w http.ResponseWriter, r *http.Request, params gatewayapi.CreateSandboxParams)

CreateSandbox handles POST /api/sandbox.

func (*Service) CreateSkill

func (s *Service) CreateSkill(w http.ResponseWriter, r *http.Request, params gatewayapi.CreateSkillParams)

CreateSkill handles POST /api/skill.

func (*Service) CreateWorkflow

func (s *Service) CreateWorkflow(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath)

CreateWorkflow handles POST /api/workflow/{agentName}.

func (*Service) CreateWorkflowEvaluation added in v0.25.0

func (s *Service) CreateWorkflowEvaluation(w http.ResponseWriter, r *http.Request, agentName, workflowName string)

CreateWorkflowEvaluation compares model executions on the same workflow and input.

func (*Service) CreateWorkflowRun

func (s *Service) CreateWorkflowRun(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, scheduleName gatewayapi.WorkflowScheduleName)

CreateWorkflowRun handles POST /api/workflow/{agentName}/{workflowName}/schedule/{scheduleName}/run.

func (*Service) CreateWorkflowSchedule

func (s *Service) CreateWorkflowSchedule(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName)

CreateWorkflowSchedule handles POST /api/workflow/{agentName}/{workflowName}/schedule.

func (*Service) CreateWorkspace

func (s *Service) CreateWorkspace(w http.ResponseWriter, r *http.Request)

CreateWorkspace handles POST /api/workspace.

func (*Service) DeleteAgent

func (s *Service) DeleteAgent(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

DeleteAgent handles DELETE /api/agent/{agentName}.

func (*Service) DeleteAgentEntry

DeleteAgentEntry handles DELETE /api/agent/{agentName}/fs/entry.

func (*Service) DeleteAgentMutableSkills

func (s *Service) DeleteAgentMutableSkills(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, _ gatewayapi.DeleteAgentMutableSkillsParams)

DeleteAgentMutableSkills handles DELETE /api/agent/{agentName}/skill.

func (*Service) DeleteAgentShare

func (s *Service) DeleteAgentShare(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, shareID gatewayapi.AgentShareIDPath)

DeleteAgentShare handles DELETE /api/agent/{agentName}/share/{shareId}.

func (*Service) DeleteAgentTool added in v0.28.0

func (s *Service) DeleteAgentTool(w http.ResponseWriter, r *http.Request, agentName, toolName string, params gatewayapi.DeleteAgentToolParams)

DeleteAgentTool removes only the definition the caller reviewed.

func (*Service) DeleteCodingProject added in v0.22.0

func (s *Service) DeleteCodingProject(w http.ResponseWriter, r *http.Request, projectId string)

DeleteCodingProject stops project work and removes its managed files on every agent.

func (*Service) DeleteDashboard

DeleteDashboard removes a dashboard definition and all stored data.

func (*Service) DeleteGuardrailConnection added in v0.31.0

func (s *Service) DeleteGuardrailConnection(w http.ResponseWriter, r *http.Request, name string, _ gatewayapi.DeleteGuardrailConnectionParams)

DeleteGuardrailConnection removes an unreferenced connection.

func (*Service) DeleteGuardrailPolicy added in v0.31.0

func (s *Service) DeleteGuardrailPolicy(w http.ResponseWriter, r *http.Request, name string, _ gatewayapi.DeleteGuardrailPolicyParams)

DeleteGuardrailPolicy deletes an unreferenced policy.

func (*Service) DeleteImmutableSkills

func (s *Service) DeleteImmutableSkills(w http.ResponseWriter, r *http.Request, params gatewayapi.DeleteImmutableSkillsParams)

DeleteImmutableSkills handles DELETE /api/skill.

func (*Service) DeleteInferencePool

DeleteInferencePool handles DELETE /api/inference/pool/{poolName}.

func (*Service) DeleteInferenceProvider

DeleteInferenceProvider handles DELETE /api/inference/provider/{providerName}.

func (*Service) DeleteMCPConnection

DeleteMCPConnection handles DELETE /api/mcp-connection/{name}.

func (*Service) DeleteSandbox

func (s *Service) DeleteSandbox(w http.ResponseWriter, r *http.Request, sandboxName gatewayapi.SandboxName, params gatewayapi.DeleteSandboxParams)

DeleteSandbox handles DELETE /api/sandbox/{sandboxName}.

func (*Service) DeleteSecret

func (s *Service) DeleteSecret(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

DeleteSecret handles POST /api/secret/{agentName}/delete.

func (*Service) DeleteSkill

func (s *Service) DeleteSkill(w http.ResponseWriter, r *http.Request, skillName gatewayapi.SkillNamePath, params gatewayapi.DeleteSkillParams)

DeleteSkill handles DELETE /api/skill/{skillName}.

func (*Service) DeleteWorkflowEvaluation added in v0.25.2

func (s *Service) DeleteWorkflowEvaluation(w http.ResponseWriter, r *http.Request, agentName, workflowName string, id uuid.UUID)

DeleteWorkflowEvaluation hides the evaluation while its worker removes owned resources.

func (*Service) DeleteWorkflowRun

func (s *Service) DeleteWorkflowRun(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, runName gatewayapi.WorkflowRunName)

DeleteWorkflowRun handles DELETE /api/workflow/{agentName}/{workflowName}/run/{runName}.

func (*Service) DeleteWorkflowSchedule

func (s *Service) DeleteWorkflowSchedule(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, scheduleName gatewayapi.WorkflowScheduleName)

DeleteWorkflowSchedule handles DELETE /api/workflow/{agentName}/{workflowName}/schedule/{scheduleName}.

func (*Service) DeleteWorkflows

func (s *Service) DeleteWorkflows(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath)

DeleteWorkflows handles DELETE /api/workflow/{agentName}.

func (*Service) DeliverWorkflowSession added in v0.33.0

func (s *Service) DeliverWorkflowSession(w http.ResponseWriter, r *http.Request, agent, workflowName, name string)

DeliverWorkflowSession hands the root a reference to canonical OpenCode execution history.

func (*Service) DiscoverGuardrailConnectionResources added in v0.31.0

func (s *Service) DiscoverGuardrailConnectionResources(w http.ResponseWriter, r *http.Request, name string, _ gatewayapi.DiscoverGuardrailConnectionResourcesParams)

DiscoverGuardrailConnectionResources browses a single page using an authorized saved connection. It never accepts credentials or arbitrary provider URLs.

func (*Service) EnsureTenant

func (s *Service) EnsureTenant(w http.ResponseWriter, r *http.Request)

EnsureTenant handles PUT /api/tenant.

func (*Service) ExportAgentMutableSkills

func (s *Service) ExportAgentMutableSkills(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, _ gatewayapi.ExportAgentMutableSkillsParams)

ExportAgentMutableSkills handles POST /api/agent/{agentName}/skill/export.

func (*Service) ExportExternalAgentTraces added in v0.36.0

func (s *Service) ExportExternalAgentTraces(w http.ResponseWriter, r *http.Request)

ExportExternalAgentTraces applies the inference grant before accepting native telemetry.

func (*Service) ExportImmutableSkills

func (s *Service) ExportImmutableSkills(w http.ResponseWriter, r *http.Request, params gatewayapi.ExportImmutableSkillsParams)

ExportImmutableSkills handles POST /api/skill/export.

func (*Service) GetAgentOwner

func (s *Service) GetAgentOwner(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

GetAgentOwner handles GET /api/agent/{agentName}/owner.

func (*Service) GetAgentTool added in v0.28.0

func (s *Service) GetAgentTool(w http.ResponseWriter, r *http.Request, agentName, toolName string)

GetAgentTool reads an uploaded definition for users who can use its agent.

func (*Service) GetAppMCPGraph added in v0.30.0

func (s *Service) GetAppMCPGraph(w http.ResponseWriter, r *http.Request, clientID string, params gatewayapi.GetAppMCPGraphParams)

GetAppMCPGraph counts actual native tool executions within the selected Workspace.

func (*Service) GetAppOperation added in v0.30.0

func (s *Service) GetAppOperation(w http.ResponseWriter, r *http.Request, clientID string, operationID int64)

GetAppOperation retrieves one operation and its payload using the complete viewer scope.

func (*Service) GetAppTraceChart added in v0.30.0

func (s *Service) GetAppTraceChart(w http.ResponseWriter, r *http.Request, clientID string, params gatewayapi.GetAppTraceChartParams)

GetAppTraceChart aggregates the complete requested range independently of pagination.

func (*Service) GetChatSessionPreference

func (s *Service) GetChatSessionPreference(w http.ResponseWriter, r *http.Request)

GetChatSessionPreference handles GET /api/chat-session-preference.

func (*Service) GetChatSessionState added in v0.35.0

func (s *Service) GetChatSessionState(w http.ResponseWriter, r *http.Request, agent string, session string)

GetChatSessionState reads shared state without relying on sidebar filters.

func (*Service) GetCodingOperation added in v0.22.0

func (s *Service) GetCodingOperation(w http.ResponseWriter, r *http.Request, operationId string)

GetCodingOperation reads a persisted result on any gateway replica.

func (*Service) GetCodingProject added in v0.22.0

func (s *Service) GetCodingProject(w http.ResponseWriter, r *http.Request, projectId string)

GetCodingProject includes threads only on agents the caller can use.

func (*Service) GetCodingThread added in v0.22.0

func (s *Service) GetCodingThread(w http.ResponseWriter, r *http.Request, agentName, sessionId string)

GetCodingThread returns a binding for a session on an accessible agent.

func (*Service) GetCopilotStudioIntegration added in v0.37.0

func (s *Service) GetCopilotStudioIntegration(w http.ResponseWriter, r *http.Request, id string, _ gatewayapi.GetCopilotStudioIntegrationParams)

GetCopilotStudioIntegration returns one workspace's environment connection.

func (*Service) GetDashboard

GetDashboard returns one dashboard definition and its widget revisions.

func (*Service) GetDelegatedCatalog added in v0.30.0

func (s *Service) GetDelegatedCatalog(w http.ResponseWriter, r *http.Request)

GetDelegatedCatalog returns current compatibility for the caller's approved models.

func (*Service) GetDelegationCatalog added in v0.29.0

func (s *Service) GetDelegationCatalog(w http.ResponseWriter, r *http.Request, params gatewayapi.GetDelegationCatalogParams)

GetDelegationCatalog discovers exact capabilities under current Workspace permissions.

func (*Service) GetEffectiveGuardrails added in v0.31.0

func (s *Service) GetEffectiveGuardrails(w http.ResponseWriter, r *http.Request, _ gatewayapi.GetEffectiveGuardrailsParams)

GetEffectiveGuardrails previews the authoritative baseline plus applicable additions.

func (*Service) GetEventTrailEvent

GetEventTrailEvent handles GET /api/event-trail-event/{eventId}.

func (*Service) GetGuardrailConnection added in v0.31.0

func (s *Service) GetGuardrailConnection(w http.ResponseWriter, r *http.Request, name string, _ gatewayapi.GetGuardrailConnectionParams)

GetGuardrailConnection reads one owned connection.

func (*Service) GetGuardrailEvent added in v0.31.0

func (s *Service) GetGuardrailEvent(w http.ResponseWriter, r *http.Request, eventID string, _ gatewayapi.GetGuardrailEventParams)

GetGuardrailEvent returns one evaluation with captured content gated by Lens access.

func (*Service) GetGuardrailEventChart added in v0.31.0

func (s *Service) GetGuardrailEventChart(w http.ResponseWriter, r *http.Request, params gatewayapi.GetGuardrailEventChartParams)

GetGuardrailEventChart counts interventions over the complete selected range.

func (*Service) GetGuardrailPolicy added in v0.31.0

func (s *Service) GetGuardrailPolicy(w http.ResponseWriter, r *http.Request, name string, _ gatewayapi.GetGuardrailPolicyParams)

GetGuardrailPolicy reads one policy.

func (*Service) GetGuardrailSettings added in v0.31.0

func (s *Service) GetGuardrailSettings(w http.ResponseWriter, r *http.Request, _ gatewayapi.GetGuardrailSettingsParams)

GetGuardrailSettings reads organization-owned settings from either scope.

func (*Service) GetInferencePool

GetInferencePool handles GET /api/inference/pool/{poolName}.

func (*Service) GetInferencePoolUsage

GetInferencePoolUsage handles GET /api/inference/pool/{poolName}/usage.

func (*Service) GetInferenceProvider

GetInferenceProvider handles GET /api/inference/provider/{providerName}.

func (*Service) GetInferenceProviderUsage

func (s *Service) GetInferenceProviderUsage(w http.ResponseWriter, r *http.Request, providerName gatewayapi.InferenceProviderNamePath, params gatewayapi.GetInferenceProviderUsageParams)

GetInferenceProviderUsage handles GET /api/inference/provider/{providerName}/usage.

func (*Service) GetMCPConnection

GetMCPConnection handles GET /api/mcp-connection/{name}.

func (*Service) GetMCPGraph

func (s *Service) GetMCPGraph(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.GetMCPGraphParams)

GetMCPGraph handles GET /api/lens/{agentName}/mcp/graph.

func (*Service) GetSkillReferences

func (s *Service) GetSkillReferences(w http.ResponseWriter, r *http.Request, skillName gatewayapi.SkillNamePath, params gatewayapi.GetSkillReferencesParams)

GetSkillReferences handles GET /api/skill/{skillName}/references.

func (*Service) GetSpanDetail

func (s *Service) GetSpanDetail(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, sessionID string, traceID gatewayapi.TraceID, spanID gatewayapi.SpanID)

GetSpanDetail handles GET /api/lens/{agentName}/{sessionID}/trace/{traceID}/span/{spanID}.

func (*Service) GetTenant

func (s *Service) GetTenant(w http.ResponseWriter, r *http.Request)

GetTenant handles GET /api/tenant.

func (*Service) GetWorkflow

func (s *Service) GetWorkflow(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName)

GetWorkflow handles GET /api/workflow/{agentName}/{workflowName}.

func (*Service) GetWorkflowEvaluation added in v0.25.0

func (s *Service) GetWorkflowEvaluation(w http.ResponseWriter, r *http.Request, agentName, workflowName string, id uuid.UUID, params gatewayapi.GetWorkflowEvaluationParams)

GetWorkflowEvaluation returns results, with native evidence on request.

func (*Service) GetWorkflowRun

func (s *Service) GetWorkflowRun(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, runName gatewayapi.WorkflowRunName)

GetWorkflowRun handles GET /api/workflow/{agentName}/{workflowName}/run/{runName}.

func (*Service) GetWorkspace

func (s *Service) GetWorkspace(w http.ResponseWriter, r *http.Request, workspaceID gatewayapi.WorkspaceIDPath)

GetWorkspace handles GET /api/workspace/{workspaceId}.

func (*Service) ImportImmutableSkills

func (s *Service) ImportImmutableSkills(w http.ResponseWriter, r *http.Request, params gatewayapi.ImportImmutableSkillsParams)

ImportImmutableSkills handles POST /api/skill/import.

func (*Service) ImportMutableSkills

func (s *Service) ImportMutableSkills(w http.ResponseWriter, r *http.Request, _ gatewayapi.ImportMutableSkillsParams)

ImportMutableSkills handles POST /api/agent/skill/import.

func (*Service) InvokeWorkflowWebhook

func (s *Service) InvokeWorkflowWebhook(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, params gatewayapi.InvokeWorkflowWebhookParams)

InvokeWorkflowWebhook handles POST /api/workflow/{agentName}/{workflowName}/webhook.

func (*Service) ListAgentAccessTargets

func (s *Service) ListAgentAccessTargets(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

ListAgentAccessTargets handles GET /api/agent/{agentName}/access-targets.

func (*Service) ListAgentDashboards

func (s *Service) ListAgentDashboards(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListAgentDashboardsParams)

ListAgentDashboards lists dashboards owned by one Agent.

func (*Service) ListAgentModelCatalog added in v0.25.0

func (s *Service) ListAgentModelCatalog(w http.ResponseWriter, r *http.Request, agentName string)

ListAgentModelCatalog exposes branding for models available through the agent, without requiring permission to list or administer their providers.

func (*Service) ListAgentMutableSkills

ListAgentMutableSkills handles GET /api/agent/{agentName}/skill.

func (*Service) ListAgentShares

func (s *Service) ListAgentShares(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListAgentSharesParams)

ListAgentShares lists grants and their capabilities for an agent.

func (*Service) ListAgentTools added in v0.28.0

func (s *Service) ListAgentTools(w http.ResponseWriter, r *http.Request, agentName string)

ListAgentTools reads live definitions and rollout state so pending tool changes remain visible before the agent summary catches up.

func (*Service) ListAgentWorkflowSchedules

func (s *Service) ListAgentWorkflowSchedules(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, params gatewayapi.ListAgentWorkflowSchedulesParams)

ListAgentWorkflowSchedules handles GET /api/workflow/{agentName}/schedule.

func (*Service) ListAgents

func (s *Service) ListAgents(w http.ResponseWriter, r *http.Request, params gatewayapi.ListAgentsParams)

ListAgents handles GET /api/agent.

func (*Service) ListAppSessions added in v0.30.0

func (s *Service) ListAppSessions(w http.ResponseWriter, r *http.Request, clientID string, params gatewayapi.ListAppSessionsParams)

ListAppSessions lists native conversation IDs using workspace observability authorization.

func (*Service) ListAppSpans added in v0.30.0

func (s *Service) ListAppSpans(w http.ResponseWriter, r *http.Request, clientID string, traceID gatewayapi.TraceID, params gatewayapi.ListAppSpansParams)

ListAppSpans lists operation metadata within the authenticated app and Workspace.

func (*Service) ListAppTraces added in v0.30.0

func (s *Service) ListAppTraces(w http.ResponseWriter, r *http.Request, clientID string, params gatewayapi.ListAppTracesParams)

ListAppTraces lists scoped app traces without requiring a runtime session.

func (*Service) ListChatBackground added in v0.33.0

func (s *Service) ListChatBackground(w http.ResponseWriter, r *http.Request, agent, session string)

ListChatBackground classifies internal turns by persisted native message identity.

func (*Service) ListChatInputs added in v0.22.0

func (s *Service) ListChatInputs(w http.ResponseWriter, r *http.Request, agent string, session string)

ListChatInputs returns the shared queue and only the caller's recovered drafts.

func (*Service) ListChatSessions

func (s *Service) ListChatSessions(w http.ResponseWriter, r *http.Request, params gatewayapi.ListChatSessionsParams)

ListChatSessions handles GET /api/chat-session.

func (*Service) ListCodingOperations added in v0.22.0

func (s *Service) ListCodingOperations(w http.ResponseWriter, r *http.Request)

ListCodingOperations restores running and recent results after navigation.

func (*Service) ListCodingProjects added in v0.22.0

func (s *Service) ListCodingProjects(w http.ResponseWriter, r *http.Request)

ListCodingProjects lists only projects owned by the caller in this workspace.

func (*Service) ListCodingRefs added in v0.22.0

func (s *Service) ListCodingRefs(w http.ResponseWriter, r *http.Request, projectId string, params gatewayapi.ListCodingRefsParams)

ListCodingRefs serves cached repository discovery without waiting for GitHub.

func (*Service) ListCodingRepositories added in v0.22.0

func (s *Service) ListCodingRepositories(w http.ResponseWriter, r *http.Request, params gatewayapi.ListCodingRepositoriesParams)

ListCodingRepositories lists repositories using only the caller's installation access.

func (*Service) ListCopilotStudioAgents added in v0.37.0

func (s *Service) ListCopilotStudioAgents(w http.ResponseWriter, r *http.Request, id string, params gatewayapi.ListCopilotStudioAgentsParams)

ListCopilotStudioAgents pages discovered identities without loading conversation history.

func (*Service) ListCopilotStudioIntegrations added in v0.37.0

func (s *Service) ListCopilotStudioIntegrations(w http.ResponseWriter, r *http.Request, params gatewayapi.ListCopilotStudioIntegrationsParams)

ListCopilotStudioIntegrations lists a bounded page of environment connections.

func (*Service) ListDashboardTableRows

ListDashboardTableRows returns one page of validated table rows.

func (*Service) ListDashboards

func (s *Service) ListDashboards(w http.ResponseWriter, r *http.Request, params gatewayapi.ListDashboardsParams)

ListDashboards lists dashboards visible in the selected Workspace.

func (*Service) ListEventTrailEvents

func (s *Service) ListEventTrailEvents(w http.ResponseWriter, r *http.Request, params gatewayapi.ListEventTrailEventsParams)

ListEventTrailEvents handles POST /api/event-trail-event.

func (*Service) ListFileObservability

func (s *Service) ListFileObservability(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListFileObservabilityParams)

ListFileObservability handles raw file events for one Agent.

func (*Service) ListFileObservabilitySummary

func (s *Service) ListFileObservabilitySummary(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListFileObservabilitySummaryParams)

ListFileObservabilitySummary handles aggregated file events for one Agent.

func (*Service) ListGuardrailConnections added in v0.31.0

func (s *Service) ListGuardrailConnections(w http.ResponseWriter, r *http.Request, _ gatewayapi.ListGuardrailConnectionsParams)

ListGuardrailConnections lists scoped and explicitly inherited connections.

func (*Service) ListGuardrailEventSources added in v0.31.0

func (s *Service) ListGuardrailEventSources(w http.ResponseWriter, r *http.Request, _ gatewayapi.ListGuardrailEventSourcesParams)

ListGuardrailEventSources lists available sources in the authorized scope.

func (*Service) ListGuardrailEvents added in v0.31.0

func (s *Service) ListGuardrailEvents(w http.ResponseWriter, r *http.Request, params gatewayapi.ListGuardrailEventsParams)

ListGuardrailEvents returns retained interventions within the caller's authorized scope.

func (*Service) ListGuardrailPolicies added in v0.31.0

func (s *Service) ListGuardrailPolicies(w http.ResponseWriter, r *http.Request, _ gatewayapi.ListGuardrailPoliciesParams)

ListGuardrailPolicies lists optional and mandatory scoped policies.

func (*Service) ListImmutableSkillSummaries

func (s *Service) ListImmutableSkillSummaries(w http.ResponseWriter, r *http.Request, params gatewayapi.ListImmutableSkillSummariesParams)

ListImmutableSkillSummaries handles GET /api/skill/summary.

func (*Service) ListImmutableSkillVersions

func (s *Service) ListImmutableSkillVersions(w http.ResponseWriter, r *http.Request, skillName gatewayapi.SkillNamePath, params gatewayapi.ListImmutableSkillVersionsParams)

ListImmutableSkillVersions handles GET /api/skill/{skillName}/version.

func (*Service) ListInferenceModelSuggestions

func (s *Service) ListInferenceModelSuggestions(w http.ResponseWriter, r *http.Request, catalogProvider string, params gatewayapi.ListInferenceModelSuggestionsParams)

ListInferenceModelSuggestions handles the provider model-catalog endpoint.

func (*Service) ListInferencePools

func (s *Service) ListInferencePools(w http.ResponseWriter, r *http.Request, params gatewayapi.ListInferencePoolsParams)

ListInferencePools handles GET /api/inference/pool.

func (*Service) ListInferenceProviderCatalog

func (s *Service) ListInferenceProviderCatalog(w http.ResponseWriter, r *http.Request, params gatewayapi.ListInferenceProviderCatalogParams)

ListInferenceProviderCatalog handles GET /api/inference/provider/catalog.

func (*Service) ListInferenceProviders

func (s *Service) ListInferenceProviders(w http.ResponseWriter, r *http.Request, params gatewayapi.ListInferenceProvidersParams)

ListInferenceProviders handles GET /api/inference/provider.

func (*Service) ListLensApps added in v0.30.0

func (s *Service) ListLensApps(w http.ResponseWriter, r *http.Request)

ListLensApps lists apps with approved selections or telemetry in the active Workspace.

func (*Service) ListMCPConnections

func (s *Service) ListMCPConnections(w http.ResponseWriter, r *http.Request, params gatewayapi.ListMCPConnectionsParams)

ListMCPConnections handles GET /api/mcp-connection.

func (*Service) ListNetworkObservability

func (s *Service) ListNetworkObservability(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListNetworkObservabilityParams)

ListNetworkObservability handles raw network events for one Agent.

func (*Service) ListNetworkObservabilitySummary

func (s *Service) ListNetworkObservabilitySummary(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListNetworkObservabilitySummaryParams)

ListNetworkObservabilitySummary handles aggregated network events for one Agent.

func (*Service) ListProcessObservability

func (s *Service) ListProcessObservability(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListProcessObservabilityParams)

ListProcessObservability handles raw process events for one Agent.

func (*Service) ListProcessObservabilitySummary

func (s *Service) ListProcessObservabilitySummary(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListProcessObservabilitySummaryParams)

ListProcessObservabilitySummary handles aggregated process events for one Agent.

func (*Service) ListSandboxes

func (s *Service) ListSandboxes(w http.ResponseWriter, r *http.Request, params gatewayapi.ListSandboxesParams)

ListSandboxes handles GET /api/sandbox.

func (*Service) ListSecrets

func (s *Service) ListSecrets(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, params gatewayapi.ListSecretsParams)

ListSecrets handles GET /api/secret/{agentName}.

func (*Service) ListSkills

func (s *Service) ListSkills(w http.ResponseWriter, r *http.Request, params gatewayapi.ListSkillsParams)

ListSkills handles GET /api/skill.

func (*Service) ListSpans

func (s *Service) ListSpans(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, sessionID string, traceID gatewayapi.TraceID, params gatewayapi.ListSpansParams)

ListSpans handles GET /api/lens/{agentName}/{sessionID}/trace/{traceID}/span.

func (*Service) ListTraceSessions

func (s *Service) ListTraceSessions(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, sessionID string, params gatewayapi.ListTraceSessionsParams)

ListTraceSessions handles GET /api/lens/{agentName}/{sessionID}/trace.

func (*Service) ListWorkflowEvaluations added in v0.25.0

func (s *Service) ListWorkflowEvaluations(w http.ResponseWriter, r *http.Request, agentName, workflowName string)

ListWorkflowEvaluations lists recent comparisons without loading transcripts into the UI.

func (*Service) ListWorkflowRuns

func (s *Service) ListWorkflowRuns(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, params gatewayapi.ListWorkflowRunsParams)

ListWorkflowRuns handles GET /api/workflow/{agentName}/{workflowName}/run.

func (*Service) ListWorkflowSchedules

func (s *Service) ListWorkflowSchedules(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, params gatewayapi.ListWorkflowSchedulesParams)

ListWorkflowSchedules handles GET /api/workflow/{agentName}/{workflowName}/schedule.

func (*Service) ListWorkflowSummaries

func (s *Service) ListWorkflowSummaries(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath)

ListWorkflowSummaries handles GET /api/workflow/{agentName}.

func (*Service) ListWorkflowWebhookTriggers

func (s *Service) ListWorkflowWebhookTriggers(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, params gatewayapi.ListWorkflowWebhookTriggersParams)

ListWorkflowWebhookTriggers handles GET /api/workflow/{agentName}/webhook.

func (*Service) ListWorkspaceInheritedResources

func (s *Service) ListWorkspaceInheritedResources(w http.ResponseWriter, r *http.Request, workspaceID gatewayapi.WorkspaceIDPath, resourceType gatewayapi.InheritedResourceTypePath, params gatewayapi.ListWorkspaceInheritedResourcesParams)

ListWorkspaceInheritedResources handles GET /api/workspace/{workspaceId}/inherited-resource/{resourceType}.

func (*Service) ListWorkspaceMemberCandidates

func (s *Service) ListWorkspaceMemberCandidates(w http.ResponseWriter, r *http.Request)

ListWorkspaceMemberCandidates handles GET /api/workspace/member-candidate.

func (*Service) ListWorkspaces

func (s *Service) ListWorkspaces(w http.ResponseWriter, r *http.Request, params gatewayapi.ListWorkspacesParams)

ListWorkspaces handles GET /api/workspace.

func (*Service) PatchWorkflowRunNodeStatus

func (s *Service) PatchWorkflowRunNodeStatus(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, runName gatewayapi.WorkflowRunName, nodeName gatewayapi.WorkflowNodeName)

PatchWorkflowRunNodeStatus handles PATCH /api/workflow/{agentName}/{workflowName}/run/{runName}/nodes/{nodeName}/status.

func (*Service) PatchWorkflowRunStatus

func (s *Service) PatchWorkflowRunStatus(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, runName gatewayapi.WorkflowRunName)

PatchWorkflowRunStatus handles PATCH /api/workflow/{agentName}/{workflowName}/run/{runName}/status.

func (*Service) PrepareCodingCheckout added in v0.22.0

func (s *Service) PrepareCodingCheckout(w http.ResponseWriter, r *http.Request)

PrepareCodingCheckout prepares or reuses an owned checkout for native sessions.

func (*Service) PreviewImmutableSkillImport

func (s *Service) PreviewImmutableSkillImport(w http.ResponseWriter, r *http.Request, params gatewayapi.PreviewImmutableSkillImportParams)

PreviewImmutableSkillImport handles POST /api/skill/import/preview.

func (*Service) PreviewMutableSkillImport

func (s *Service) PreviewMutableSkillImport(w http.ResponseWriter, r *http.Request, _ gatewayapi.PreviewMutableSkillImportParams)

PreviewMutableSkillImport handles POST /api/agent/skill/import/preview.

func (*Service) PublishDashboardData

PublishDashboardData validates and stores one idempotent widget update.

func (*Service) PutSecret

PutSecret handles POST /api/secret/{agentName}.

func (*Service) QueryDashboard

QueryDashboard reads chart data for a dashboard over one time range.

func (*Service) ReadAgentFile

ReadAgentFile handles GET /api/agent/{agentName}/fs/file.

func (*Service) ReadAgentFileRaw

ReadAgentFileRaw handles GET /api/agent/{agentName}/fs/raw.

func (*Service) ReauthenticateInferenceProviderOAuthTicket added in v0.32.0

func (s *Service) ReauthenticateInferenceProviderOAuthTicket(w http.ResponseWriter, r *http.Request, providerName gatewayapi.InferenceProviderNamePath, params gatewayapi.ReauthenticateInferenceProviderOAuthTicketParams)

ReauthenticateInferenceProviderOAuthTicket binds subscription sign-in to an existing provider.

func (*Service) ReauthenticateMCPConnection added in v0.32.0

ReauthenticateMCPConnection replaces credentials while preserving connection references.

func (*Service) RefreshCodingRepository added in v0.22.0

func (s *Service) RefreshCodingRepository(w http.ResponseWriter, r *http.Request, projectId string, params gatewayapi.RefreshCodingRepositoryParams)

RefreshCodingRepository schedules a refresh without extending the UI request.

func (*Service) RefreshInferenceProviderModels

func (s *Service) RefreshInferenceProviderModels(w http.ResponseWriter, r *http.Request, providerName gatewayapi.InferenceProviderNamePath, params gatewayapi.RefreshInferenceProviderModelsParams)

RefreshInferenceProviderModels handles GET /api/inference/provider/{providerName}/models.

func (*Service) RenameAgentEntry

func (s *Service) RenameAgentEntry(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

RenameAgentEntry handles POST /api/agent/{agentName}/fs/rename.

func (*Service) RenameCodingProject added in v0.22.0

func (s *Service) RenameCodingProject(w http.ResponseWriter, r *http.Request, projectId string)

RenameCodingProject renames a project owned by the caller.

func (*Service) ReplaceWorkspaceInheritedResources

func (s *Service) ReplaceWorkspaceInheritedResources(w http.ResponseWriter, r *http.Request, workspaceID gatewayapi.WorkspaceIDPath, resourceType gatewayapi.InheritedResourceTypePath)

ReplaceWorkspaceInheritedResources handles PUT /api/workspace/{workspaceId}/inherited-resource/{resourceType}.

func (*Service) ResolveWorkspaceSlug

func (s *Service) ResolveWorkspaceSlug(w http.ResponseWriter, r *http.Request, workspaceSlug gatewayapi.WorkspaceSlugPath)

ResolveWorkspaceSlug handles GET /api/workspace/slug/{workspaceSlug}.

func (*Service) RetryWorkspace

func (s *Service) RetryWorkspace(w http.ResponseWriter, r *http.Request, workspaceID gatewayapi.WorkspaceIDPath)

RetryWorkspace handles POST /api/workspace/{workspaceId}/retry.

func (*Service) RunCodingGit added in v0.22.0

func (s *Service) RunCodingGit(w http.ResponseWriter, r *http.Request, worktreeId string)

RunCodingGit runs checkout operations under the project lock.

func (*Service) SetWorkflowLock added in v0.34.0

func (s *Service) SetWorkflowLock(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName)

SetWorkflowLock changes workflow protection only for a live browser user with agent Use access.

func (*Service) StartCodingOperation added in v0.22.0

func (s *Service) StartCodingOperation(w http.ResponseWriter, r *http.Request)

StartCodingOperation persists intent before returning; the browser does not own execution and resubmitting a lost response cannot repeat a remote write.

func (*Service) StatAgentFile

StatAgentFile handles GET /api/agent/{agentName}/fs/stat.

func (*Service) SubmitChatInput added in v0.22.0

func (s *Service) SubmitChatInput(w http.ResponseWriter, r *http.Request, agent string, session string)

SubmitChatInput durably records intent before acknowledging the composer.

func (*Service) SuggestCodingText added in v0.22.0

func (s *Service) SuggestCodingText(w http.ResponseWriter, r *http.Request, agentName, sessionId string)

SuggestCodingText drafts source-control text without tools or chat history.

func (*Service) TransferAgentOwner

func (s *Service) TransferAgentOwner(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

TransferAgentOwner handles PUT /api/agent/{agentName}/owner.

func (*Service) UpdateAgent

func (s *Service) UpdateAgent(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

UpdateAgent handles PUT /api/agent/{agentName}.

func (*Service) UpdateAgentTool added in v0.28.0

func (s *Service) UpdateAgentTool(w http.ResponseWriter, r *http.Request, agentName, toolName string)

UpdateAgentTool replaces source or metadata using the caller's resource version.

func (*Service) UpdateChatInput added in v0.22.0

func (s *Service) UpdateChatInput(w http.ResponseWriter, r *http.Request, agent string, session string, id string)

UpdateChatInput changes an unsent message under authorship and revision checks.

func (*Service) UpdateChatSession added in v0.33.0

func (s *Service) UpdateChatSession(w http.ResponseWriter, r *http.Request, agent string, session string)

UpdateChatSession persists shelf changes without changing provider history.

func (*Service) UpdateChatSessionPreference

func (s *Service) UpdateChatSessionPreference(w http.ResponseWriter, r *http.Request)

UpdateChatSessionPreference handles PUT /api/chat-session-preference.

func (*Service) UpdateCodingProjectPreference added in v0.22.0

func (s *Service) UpdateCodingProjectPreference(w http.ResponseWriter, r *http.Request, projectId string)

UpdateCodingProjectPreference remembers the agent for this personal project.

func (*Service) UpdateCopilotStudioIntegration added in v0.37.0

func (s *Service) UpdateCopilotStudioIntegration(w http.ResponseWriter, r *http.Request, id string, _ gatewayapi.UpdateCopilotStudioIntegrationParams)

UpdateCopilotStudioIntegration changes policy assignments and availability without moving its identity.

func (*Service) UpdateGuardrailConnection added in v0.31.0

func (s *Service) UpdateGuardrailConnection(w http.ResponseWriter, r *http.Request, name string, _ gatewayapi.UpdateGuardrailConnectionParams)

UpdateGuardrailConnection updates a detector transport without exposing credentials.

func (*Service) UpdateGuardrailPolicy added in v0.31.0

func (s *Service) UpdateGuardrailPolicy(w http.ResponseWriter, r *http.Request, name string, _ gatewayapi.UpdateGuardrailPolicyParams)

UpdateGuardrailPolicy updates an owned policy.

func (*Service) UpdateGuardrailSettings added in v0.31.0

func (s *Service) UpdateGuardrailSettings(w http.ResponseWriter, r *http.Request, _ gatewayapi.UpdateGuardrailSettingsParams)

UpdateGuardrailSettings changes the mandatory organization baseline.

func (*Service) UpdateInferencePool

UpdateInferencePool handles PUT /api/inference/pool/{poolName}.

func (*Service) UpdateInferenceProvider

UpdateInferenceProvider handles PUT /api/inference/provider/{providerName}.

func (*Service) UpdateSandbox

func (s *Service) UpdateSandbox(w http.ResponseWriter, r *http.Request, sandboxName gatewayapi.SandboxName, params gatewayapi.UpdateSandboxParams)

UpdateSandbox handles PUT /api/sandbox/{sandboxName}.

func (*Service) UpdateSkill

func (s *Service) UpdateSkill(w http.ResponseWriter, r *http.Request, skillName gatewayapi.SkillNamePath, params gatewayapi.UpdateSkillParams)

UpdateSkill handles PUT /api/skill/{skillName}.

func (*Service) UpdateWorkflowEvaluation added in v0.25.0

func (s *Service) UpdateWorkflowEvaluation(w http.ResponseWriter, r *http.Request, agentName, workflowName string, id uuid.UUID)

UpdateWorkflowEvaluation judges retained executions with a selected model.

func (*Service) UpdateWorkflowSchedule

func (s *Service) UpdateWorkflowSchedule(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName, scheduleName gatewayapi.WorkflowScheduleName)

UpdateWorkflowSchedule handles PUT /api/workflow/{agentName}/{workflowName}/schedule/{scheduleName}.

func (*Service) UpdateWorkspaceLifecycle

func (s *Service) UpdateWorkspaceLifecycle(w http.ResponseWriter, r *http.Request, workspaceID gatewayapi.WorkspaceIDPath)

UpdateWorkspaceLifecycle handles PATCH /api/workspace/{workspaceId}/lifecycle.

func (*Service) UpsertAgentShare

func (s *Service) UpsertAgentShare(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

UpsertAgentShare handles POST /api/agent/{agentName}/share.

func (*Service) WatchAgents

func (s *Service) WatchAgents(w http.ResponseWriter, r *http.Request)

WatchAgents handles POST /api/agent/watch.

func (*Service) WatchChatSessions

func (s *Service) WatchChatSessions(w http.ResponseWriter, r *http.Request)

WatchChatSessions handles GET /api/chat-session/watch.

func (*Service) WatchCoding added in v0.22.0

func (s *Service) WatchCoding(w http.ResponseWriter, r *http.Request)

WatchCoding sends invalidations; reconnecting readers obtain persisted state.

func (*Service) WatchExternalAgents added in v0.30.0

func (s *Service) WatchExternalAgents(w http.ResponseWriter, r *http.Request, _ gatewayapi.WatchExternalAgentsParams)

WatchExternalAgents streams revisions while the caller retains external-use authority.

func (*Service) WatchInferencePools

func (s *Service) WatchInferencePools(w http.ResponseWriter, r *http.Request, params gatewayapi.WatchInferencePoolsParams)

WatchInferencePools handles POST /api/inference/pool/watch.

func (*Service) WatchInferenceProviders

func (s *Service) WatchInferenceProviders(w http.ResponseWriter, r *http.Request, params gatewayapi.WatchInferenceProvidersParams)

WatchInferenceProviders handles POST /api/inference/provider/watch.

func (*Service) WatchMCPConnections

func (s *Service) WatchMCPConnections(w http.ResponseWriter, r *http.Request, params gatewayapi.WatchMCPConnectionsParams)

WatchMCPConnections handles POST /api/mcp-connection/watch.

func (*Service) WatchSecrets

func (s *Service) WatchSecrets(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

WatchSecrets handles POST /api/secret/{agentName}/watch.

func (*Service) WatchWorkflowRuns

func (s *Service) WatchWorkflowRuns(w http.ResponseWriter, r *http.Request, agtName gatewayapi.AgentNamePath, workflowName gatewayapi.WorkflowName)

WatchWorkflowRuns handles POST /api/workflow/{agentName}/{workflowName}/run/watch.

func (*Service) WriteAgentFile

func (s *Service) WriteAgentFile(w http.ResponseWriter, r *http.Request, agentName gatewayapi.AgentNamePath)

WriteAgentFile handles PUT /api/agent/{agentName}/fs/file.

func (*Service) WriteAgentFileRaw

WriteAgentFileRaw handles PUT /api/agent/{agentName}/fs/raw.

Directories

Path Synopsis
dashboard
db
Package filesystem serves confined access to an agent workspace.
Package filesystem serves confined access to an agent workspace.
Package gatewayapi provides primitives to interact with the openapi HTTP API.
Package gatewayapi provides primitives to interact with the openapi HTTP API.
db

Jump to

Keyboard shortcuts

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