Versions in this module Expand all Collapse all v2 v2.16.1 Nov 27, 2026 v2.16.0 Nov 27, 2026 v2.15.0 Nov 25, 2026 v2.14.0 Nov 22, 2026 v2.13.0 Nov 22, 2026 v2.12.0 Nov 20, 2026 v2.11.2 Nov 18, 2026 v2.11.1 Nov 17, 2026 v2.11.0 Nov 17, 2026 v2.10.0 Nov 16, 2026 v2.9.0 Nov 9, 2026 Changes in this version + const BPDisabled + const BPException + const BPLine + const BPPending + const BPResolved + const BPSkipped + const BPUnresolved + const ByAgent + const ByUI + const Channel + const DriverHere + const DriverIDE + const ModeAuto + const ModeProxy + const ModeStandalone + const ReasonDetached + const ReasonEngineClosed + const ReasonIDEClosed + const ReasonIDEUnreachable + const ReasonIdleDetached + const ReasonStopped + func ValidMode(m string) bool + type AgentCall struct + Args string + At time.Time + DurationMS int64 + OK bool + Result string + Seq int + SessionID string + Tool string + type Breakpoint struct + File string + Function string + HitCount int + ID string + Line int + State string + Type string + type Broadcaster interface + Broadcast func(channel, eventName string, payload any) + type Config struct + Addr string + AllowControl bool + AllowEval bool + IDEAddr string + IdleTimeout time.Duration + Mode string + PauseOnFirstLine bool + type Frame struct + File string + Level int + Line int + Type string + Where string + type Info struct + AgentCalls int + ClosedAt *time.Time + ClosedReason string + Driver string + Engine string + EntryFile string + ID string + IDEConnected bool + IDEKey string + IdleDeadline *time.Time + Kind string + Language string + LastContinuationAg string + LastContinuationBy *string + LastFile string + LastLine int + PausedAt *time.Time + StartedAt time.Time + State string + Target string + type Module struct + func New(cfg Config) *Module + func (m *Module) Name() string + func (m *Module) OnInit(db *sql.DB) error + func (m *Module) RegisterMCPTools(server *sdkmcp.Server) + func (m *Module) RegisterMigrations(migrator *storage.Migrator) error + func (m *Module) RegisterProtectedRoutes(mux *http.ServeMux, auth func(http.Handler) http.Handler) + func (m *Module) SetBroadcaster(b Broadcaster) + func (m *Module) TCPServers() []tcp.ServerConfig + func (m *Module) Type() string + type Proxy struct + func NewProxy(ideAddr string) *Proxy + func (p *Proxy) AddBreakpoint(bp SavedBreakpoint) (SavedBreakpoint, error) + func (p *Proxy) BreakpointsChanged() + func (p *Proxy) Dismiss(id string) error + func (p *Proxy) Files(q string, limit int) []string + func (p *Proxy) HandleConnection(engine net.Conn) + func (p *Proxy) RemoveBreakpoint(id int64) error + func (p *Proxy) Session(id string) (*Session, error) + func (p *Proxy) Sessions() []*Session + func (p *Proxy) SetNotify(fn func(event string, payload any)) + func (p *Proxy) SetSettings(st Settings) error + func (p *Proxy) Settings() Settings + type SavedBreakpoint struct + Condition string + CreatedAt time.Time + Enabled bool + Exception string + File string + ID int64 + Line int + Source string + Type string + type Session struct + Engine string + FileURI string + ID string + IDEKey string + Language string + StartedAt time.Time + func (s *Session) AgentLog() []AgentCall + func (s *Session) Closed() bool + func (s *Session) Command(name, args string, data []byte) ([]byte, error) + func (s *Session) Continue(cmd, by, agent string) error + func (s *Session) Info() Info + func (s *Session) Paused() bool + func (s *Session) Read(name, args string) ([]byte, error) + func (s *Session) SessionBreakpoints(list []SavedBreakpoint) []SessionBreakpoint + type SessionBreakpoint struct + HitCount int + ResolvedLine int + State string + type Settings struct + Mode string + PauseOnFirstLine bool + type SourceLine struct + Line int + Text string + type StackFrame struct + Vendor bool + type Var struct + Children []Var + Class string + Facet string + FullName string + Name string + NumChildren int + Page int + PageSize int + Size int + Type string + Value *string