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

agentvcs

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package agentvcs is the Agent VCS area (route /snapshots, as in the Web UI): the sessions that have agent commits, their commit log, the files each commit changed with a side-by-side diff viewer (MyGo ui/editor DiffView), revert of a commit or of single files, and the named project snapshots.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

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

View is the area's state (UI thread only).

func New

func New(a *app.Context) *View

New returns the Agent VCS view.

func (*View) Build

func (v *View) Build(c *ui.Context, r *ui.Route)

Build lays out the area.

func (*View) SelectCommit

func (v *View) SelectCommit(id string)

SelectCommit loads the files a commit changed.

func (*View) SelectSession

func (v *View) SelectSession(id string)

SelectSession shows the commit log of a session.

func (*View) Title

func (v *View) Title() string

Title is the header title.

Jump to

Keyboard shortcuts

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