timetravel

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package timetravel provides an interactive bubbletea TUI for replaying a task's checkpoint history step-by-step.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(m *Model) error

Run launches the bubbletea program in alt-screen mode.

Types

type Model

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

Model is the bubbletea model for the time-travel TUI.

func New

func New(workDir string, taskID int, taskTitle string) (*Model, error)

New creates a Model loaded with all checkpoints for the given task. Returns an error if no checkpoints are found.

func (*Model) Init

func (m *Model) Init() tea.Cmd

func (*Model) Update

func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Model) View

func (m *Model) View() string

Jump to

Keyboard shortcuts

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