cmd

package
v0.0.0-...-481e254 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 62 Imported by: 1 module, 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type SkillResult

type SkillResult struct {
	Name         string `json:"name"`
	Title        string `json:"title"`
	Instructions string `json:"instructions"`
}

SkillResult is returned by the skill command.

type TraceStartResult

type TraceStartResult struct {
	SpanID   string `json:"span_id"`
	Name     string `json:"name"`
	Type     string `json:"type"`
	Parent   string `json:"parent,omitempty"`
	Recorded bool   `json:"recorded"`
}

TraceStartResult is the output of `trace start`.

type TraceStopResult

type TraceStopResult struct {
	SpanID   string `json:"span_id"`
	Status   string `json:"status"`
	Recorded bool   `json:"recorded"`
}

TraceStopResult is the output of `trace stop`.

type VersionCheckResult

type VersionCheckResult struct {
	Status           string `json:"status"`                      // "match" | "mismatch" | "missing" | "upgrade_needed" | "unsupported_format"
	InstalledVersion string `json:"installed_version,omitempty"` // the installed skills version from project settings (or the legacy version file); empty when missing
	CurrentVersion   string `json:"current_version"`             // the running binary's version
	Action           string `json:"action,omitempty"`            // set on any non-match: instruction to relay to the user
}

VersionCheckResult is returned by the version check command. The "error": false discriminant is injected by the output writer — never declared on the struct.

Jump to

Keyboard shortcuts

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