copilot

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package copilot provides the GitHub Copilot workflow adapter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct{}

Adapter converts between canonical Workflow and GitHub Copilot format.

func (*Adapter) EntryPointDir

func (a *Adapter) EntryPointDir() string

EntryPointDir returns the directory for the entry point.

func (*Adapter) EntryPointFile

func (a *Adapter) EntryPointFile() string

EntryPointFile returns the entry point filename for Copilot.

func (*Adapter) Generate

func (a *Adapter) Generate(workflow *core.Workflow, outputDir string) error

Generate creates GitHub Copilot workflow files from a Workflow.

func (*Adapter) GenerateEntryPoint

func (a *Adapter) GenerateEntryPoint(workflow *core.Workflow) ([]byte, error)

GenerateEntryPoint generates the copilot-instructions.md content.

func (*Adapter) Name

func (a *Adapter) Name() string

Name returns the adapter identifier.

func (*Adapter) RuleDetailsDir

func (a *Adapter) RuleDetailsDir() string

RuleDetailsDir returns the directory for rule details.

Jump to

Keyboard shortcuts

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