memory

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 12 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 memory owns optional mdkb discovery and note access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasMCPConfig

func HasMCPConfig(args []string) bool

func Override

func Override(runner string, args []string) string

Override names the job's MCP configuration that agentcron must preserve.

func Preamble

func Preamble(job string, ownConfig string) string

Types

type Client

type Client struct{ Binary, Root string }

func Resolve

func Resolve(binary, root string) (Client, error)

Resolve finds the executable using resolved configuration values or PATH.

func (Client) Args

func (c Client) Args(args ...string) []string

func (Client) Ensure

func (c Client) Ensure(ctx context.Context, job, schedule, runner string) error

func (Client) Inject

func (c Client) Inject(runner, dir string, args []string) ([]string, error)

Inject returns runner flags; command runners receive only the memory environment.

func (Client) Run

func (c Client) Run(ctx context.Context, args ...string) ([]byte, error)

Run bounds helper processes and kills their whole group on cancellation.

func (Client) Status

func (c Client) Status(ctx context.Context) Health

type Health

type Health struct {
	Present       bool
	Version, Root string
	Initialised   bool
}

Jump to

Keyboard shortcuts

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