bundle

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ManifestFile = "manifest.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type InstalledSkill

type InstalledSkill struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Digest  string `json:"digest"`
}

type Manifest

type Manifest struct {
	Skills []ManifestSkill `json:"skills"`
}

type ManifestSkill

type ManifestSkill struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Path    string `json:"path"`
	Digest  string `json:"digest"`
}

type Result

type Result struct {
	Skills []InstalledSkill `json:"skills"`
}

func Bootstrap

func Bootstrap(ctx context.Context, state *skillstate.Store, manager *skills.Manager, bundleDir string) (Result, error)

Bootstrap 安装并激活 Release 随附的 Skill Bundle。 包校验、安装、激活和内置清单提交按顺序执行;已有版本会先备份并由官方包替换,失败时完整回滚。

Jump to

Keyboard shortcuts

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