memoryruntime

package
v0.40.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 24 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 memoryruntime installs an isolated, pinned memory CLI. Installation establishes neither a running watcher nor index or agent-search readiness.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupported = errors.New("unsupported memory runtime target or mode")
	ErrUnsafe      = errors.New("unsafe runtime destination")
	ErrIntegrity   = errors.New("artifact integrity failure")
	ErrProbe       = errors.New("runtime verification failure")
)

Functions

This section is empty.

Types

type Failure

type Failure struct {
	Stage string
	Err   error
}

Failure identifies a recoverable setup stage without exposing child output.

func (*Failure) Error

func (f *Failure) Error() string

func (*Failure) Unwrap

func (f *Failure) Unwrap() error

type Options

type Options struct {
	Home, Mode string
	Progress   func(string)
}

Options identifies the service account. Home defaults to the current user's home; an explicit Home must be existing, absolute, canonical and owned by the caller, with no symlink components. Progress receives only finite stage names synchronously; callers must return promptly and must not reenter Install.

type Runtime

type Runtime struct {
	Launch, Python string
	Versions       map[string]string
}

Runtime contains permanent absolute launch locations and verified versions. Launch is the memsearch console script; Python is its managed interpreter.

func Install

func Install(ctx context.Context, o Options) (Runtime, error)

Install supports OpenAI and local modes on Ubuntu 24.04 amd64 with glibc >=2.39 and macOS arm64 >=26.6.2. It requires no credentials, starts no service and never resolves dependencies.

Jump to

Keyboard shortcuts

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