session

package
v0.0.0-...-bdcdbac Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	LastProvider string `json:"last_provider"`
	LimitHit     bool   `json:"limit_hit"`
	RecentOutput string `json:"recent_output"`
	ResumeID     string `json:"resume_id,omitempty"`
	Cwd          string `json:"cwd,omitempty"`
	Timestamp    string `json:"timestamp"`
}

func LoadLast

func LoadLast() (*Session, error)

func (*Session) BuildContinuationPrompt

func (s *Session) BuildContinuationPrompt() string

func (*Session) ExtractResumeID

func (s *Session) ExtractResumeID()

func (*Session) Save

func (s *Session) Save()

Jump to

Keyboard shortcuts

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