server

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package server exposes wingman as an ACP server. External clients (Zed, other IDEs) speak the ACP protocol over the subprocess stdio; this adapter translates each ACP RPC into a call on a *coder.Agent.

One coder.Agent is held per cwd (workspace) and refcounted by session. Inside a workspace, all sessions share model + effort — wingman's design — even though ACP clients expect per-session selection. The wider design picks "shared" over per-session because the wingman UX has always been agent-wide.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, in io.Reader, out io.Writer) error

Types

type Server

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

func (*Server) Cancel

func (s *Server) Cancel(_ context.Context, params acpsdk.CancelNotification) error

func (*Server) CloseSession

func (*Server) Initialize

func (*Server) ListSessions

func (*Server) LoadSession

func (*Server) NewSession

func (*Server) Prompt

func (*Server) ResumeSession

Jump to

Keyboard shortcuts

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