todotool

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 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.SessionState) 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