unpack

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnpackModelKit

func UnpackModelKit(ctx context.Context, opts *UnpackOptions) error

UnpackModelKit performs the core unpacking logic for a ModelKit.

Types

type UnpackOptions

type UnpackOptions struct {
	options.NetworkOptions
	ConfigHome     string
	UnpackDir      string
	Filters        []string
	FilterConfs    []kitfile.FilterConf
	ModelRef       *registry.Reference
	Overwrite      bool
	IgnoreExisting bool
	IncludeRemote  bool
	// SkillOptions configures --as-skill behavior. When non-nil, prompt layers
	// containing SKILL.md are installed as agent skills instead of being
	// unpacked to their original paths.
	SkillOptions *skill.SkillInstallOptions
}

UnpackOptions represents the configuration for unpacking operations. This is the main options structure used by both command and library interfaces.

Jump to

Keyboard shortcuts

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