context

package
v0.12.0-beta Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Snapshot the active raid workspace for agent / `raid context` consumption.

Index

Constants

View Source
const (
	RecentStatusCompleted   = lib.RecentStatusCompleted
	RecentStatusInterrupted = lib.RecentStatusInterrupted
)

Recent status values surfaced via Workspace.Recent.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command = lib.WorkspaceCommand

Command is a profile command, exposed as name + short description, plus an optional Steps outline derived from named tasks.

type Recent

type Recent = lib.RecentEntry

Recent describes a previously executed `raid <command>` invocation.

type Repo

type Repo = lib.WorkspaceRepo

Repo describes a single repository in the workspace snapshot.

type Snapshot

type Snapshot = lib.WorkspaceContext

Snapshot is the full `raid context` payload — producer identity (name, version, websiteUrl, generatedAt) plus the inline Workspace state.

func Get

func Get() Snapshot

Get returns a snapshot of the currently loaded workspace context.

type Step

type Step = lib.WorkspaceStep

Step describes one named task inside a command's task sequence.

type Tool

type Tool = lib.WorkspaceTool

Tool is a built-in `raid` subcommand exposed for agent discovery.

type Workspace

type Workspace = lib.Workspace

Workspace is the inline workspace state nested inside a Snapshot: profile, environment, repositories, user commands, and recent runs.

Jump to

Keyboard shortcuts

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