inbox

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 30 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package inbox is the f10 inbox command: the questions driven agents wait on, listed, answered, or walked in a terminal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnswerAsk

func AnswerAsk(ctx context.Context, w io.Writer, dir, token string, values []string, by string, d Deliverer) error

AnswerAsk answers token's open ask in the inbox in dir with d moving it on, served in process: the inbox command's answer for a test's inbox.

func AsksAlias

func AsksAlias() *cli.Command

AsksAlias is the inbox under its old name, hidden, for a session started before a same-version local rebuild: its hooks.json still runs f10 asks hook against the new binary. Drop it in v0.68.

func Command

func Command() *cli.Command

Command is the inbox noun: the questions driven agents wait on, listed, answered or walked in a terminal.

func InboxContext

func InboxContext(dir, stateDir, session, event, root string) []byte

InboxContext is the hook's output: the untold open asks, outside the session's own checkout, as additional context; nothing when none.

func ListAsks

func ListAsks(ctx context.Context, w io.Writer, dir string, now time.Time, asJSON bool) error

ListAsks prints the inbox in dir, served in process: the inbox command's list for a test's inbox.

func WalkAsks

func WalkAsks(ctx context.Context, w io.Writer, in *bufio.Reader, dir string, d Deliverer) error

WalkAsks walks the inbox in dir with d moving answers on, served in process: the inbox command's walk for a test's inbox.

Types

type AskList

type AskList struct {
	Open     []askView `json:"open"`
	Answered []askView `json:"answered"`
}

type Deliverer

type Deliverer = agents.Deliverer

A Deliverer moves a claimed answer on (agents.Deliverer).

Jump to

Keyboard shortcuts

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