target

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package target resolves and dispatches built-in target adapters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capabilities

func Capabilities(adapter Adapter) []model.CapabilityRule

Capabilities returns an adapter's capability rules.

func Render

func Render(adapter Adapter, input model.TargetRenderInput) (model.TargetPlan, []model.Diagnostic)

Render renders one explicit target request through adapter after validation.

Types

type Adapter

type Adapter struct {
	Target         model.TargetID
	FormatRevision int
	Capabilities   []model.CapabilityRule
	// contains filtered or unexported fields
}

Adapter describes one built-in target format and its renderer.

func Resolve

func Resolve(target model.TargetID) (Adapter, []model.Diagnostic)

Resolve returns the built-in adapter for target.

Directories

Path Synopsis
Package antigravity renders normalized packages as Antigravity CLI plugins.
Package antigravity renders normalized packages as Antigravity CLI plugins.
Package claude renders normalized packages for Claude Code.
Package claude renders normalized packages for Claude Code.
Package codex renders normalized packages as Codex plugins.
Package codex renders normalized packages as Codex plugins.
Package copilot renders normalized packages for GitHub Copilot.
Package copilot renders normalized packages for GitHub Copilot.
Package cursor renders normalized packages as Cursor plugins.
Package cursor renders normalized packages as Cursor plugins.
Package grok renders normalized packages for Grok Build.
Package grok renders normalized packages for Grok Build.
Package hookdecision renders a canonical decision-hook process wrapper into vendor protocols.
Package hookdecision renders a canonical decision-hook process wrapper into vendor protocols.
Package marketplace builds target-neutral marketplace catalog entries.
Package marketplace builds target-neutral marketplace catalog entries.
Package packageoutput renders installable target package roots.
Package packageoutput renders installable target package roots.
Package pi renders normalized packages for Pi.
Package pi renders normalized packages for Pi.
Package plugin renders the common single-package native plugin skill subset.
Package plugin renders the common single-package native plugin skill subset.
Package skills renders the common native skill subset for target adapters.
Package skills renders the common native skill subset for target adapters.

Jump to

Keyboard shortcuts

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