mcp_dodder

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(utility command.Utility, repo *local_working_copy.Repo) error

Types

type Bridge

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

func MakeBridge

func MakeBridge(utility command.Utility) Bridge

func (Bridge) RunCommand

func (b Bridge) RunCommand(
	ctx context.Context,
	cmdName string,
	cliArgs []string,
	maxBytes int,
) (BridgeResult, error)

type BridgeResult

type BridgeResult struct {
	Stdout    string
	Stderr    string
	Truncated bool
	BytesSeen int
}

type LimitingWriter

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

func MakeLimitingWriter

func MakeLimitingWriter(maxBytes int) *LimitingWriter

func (*LimitingWriter) BytesKept

func (w *LimitingWriter) BytesKept() int

func (*LimitingWriter) BytesSeen

func (w *LimitingWriter) BytesSeen() int

func (*LimitingWriter) Reset

func (w *LimitingWriter) Reset()

func (*LimitingWriter) String

func (w *LimitingWriter) String() string

func (*LimitingWriter) Truncated

func (w *LimitingWriter) Truncated() bool

func (*LimitingWriter) Write

func (w *LimitingWriter) Write(p []byte) (n int, err error)

func (*LimitingWriter) WriteString

func (w *LimitingWriter) WriteString(s string) (n int, err error)

Source Files

  • bridge.go
  • limiting_writer.go
  • prompts.go
  • resources.go
  • server.go
  • tag_index.go
  • type_index.go

Jump to

Keyboard shortcuts

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