workapi

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 23 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 workapi is the engine's API for ideas, pursuits and evidence: twelve methods, typed once, each change one command with its event.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods

func Methods(get func(ctx context.Context, repo string) (*state.State, error)) []api.Method

Methods returns the twelve methods, reading and changing the state get opens for the repo each call names.

func PersonOnly

func PersonOnly(method string) bool

PersonOnly reports whether method is one only a person may call: a pursuit is started and stopped by people (people-pursue).

func Refusal

func Refusal(method, agent string) string

Refusal is what a command says when method is called inside agent's session.

func StateOptions

func StateOptions() state.Options

StateOptions registers the evidence poll and its retention in every repo's state, with GitHub as the forge, for the engine to run with.

Types

This section is empty.

Jump to

Keyboard shortcuts

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