Help us shape the future of Go! Take the 2026 Go Developer Survey

todotool

package
v1.30.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(msg *types.Message, sessionState service.SessionStateReader) layout.Model

New creates a new unified todo component. This component handles create, create_multiple, list, and update operations. The TODOs are displayed in the sidebar.

Types

type SidebarComponent

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

SidebarComponent represents the todo display component for the sidebar

func NewSidebarComponent

func NewSidebarComponent() *SidebarComponent

func (*SidebarComponent) Render

func (c *SidebarComponent) Render() string

func (*SidebarComponent) SetSize

func (c *SidebarComponent) SetSize(width int)

func (*SidebarComponent) SetTodos

func (c *SidebarComponent) SetTodos(result *tools.ToolCallResult) error

Jump to

Keyboard shortcuts

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