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

sessionrestore

package
v0.4.45 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) (capacp.SessionRestorer, error)

New returns a SessionRestorer for deps.sessionRestore on agent/acp-remote.

Types

type Config

type Config struct {
	// Strategy: resume | load | auto | skip | cursor (cursor = load for Cursor CLI).
	Strategy acpclient.RestoreStrategy `json:"strategy"`
}

Config selects the ACP session re-attach strategy for agent/acp-remote.

func (*Config) SetDefaults

func (c *Config) SetDefaults()

SetDefaults implements pluginkit.Defaulter.

func (*Config) Validate

func (c *Config) Validate() error

Validate implements pluginkit.Validator.

Jump to

Keyboard shortcuts

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