session

package
v0.260507.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	SetRunning(id string) bool
	SetCompleted(id, response string) bool
	SetFailed(id, errMsg string) bool
}

Store receives session lifecycle transitions from the agentboot runner. remote/session.Manager implements this interface; the interface lives here so the runner has no dependency on the bot or remote layers.

The runner calls:

  • SetRunning after the process starts successfully
  • SetFailed if the process fails to start or Wait returns an error
  • SetCompleted if Wait returns without error

Jump to

Keyboard shortcuts

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