wrapper

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package wrapper captures privacy-safe lifecycle evidence around arbitrary CLIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Project string
	Agent   string
	Command []string
	Input   io.Reader
	Output  io.Writer
	Errors  io.Writer
}

type Result

type Result struct {
	SessionID string
	ExitCode  int
	Duration  time.Duration
}

func Run

func Run(ctx context.Context, service *app.Service, config Config) (Result, error)

Run records lifecycle metadata only. Arguments, environment and process output are intentionally never persisted because they can contain user content or secrets.

Jump to

Keyboard shortcuts

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