todo

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

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

Component represents the todo display component

func NewComponent

func NewComponent() *Component

NewComponent creates a new todo component

func (*Component) Render

func (c *Component) Render() string

Render renders the todo component

func (*Component) SetSize

func (c *Component) SetSize(width int)

SetSize sets the component width

func (*Component) SetTodos added in v1.5.2

func (c *Component) SetTodos(toolCall tools.ToolCall) error

SetTodos sets the todo builtin call, handles create_todo, create_todos, update_todo

type Todo

type Todo struct {
	ID          string `json:"id"`
	Description string `json:"description"`
	Status      string `json:"status"`
}

Todo represents a single todo item

Jump to

Keyboard shortcuts

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