config

package
v0.0.0-...-0d071d5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package config handles ecosystem config loading and remote resolution.

Remote resolution uses codeload.github.com tarballs (same mechanism as bizshuk/skills svc/plugin/fetch.go), which requires no authentication and has no rate-limiting issues unlike raw.githubusercontent.com.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRemoteRef

func IsRemoteRef(path string) bool

IsRemoteRef returns true if path looks like a remote reference (GitHub owner/repo shorthand or HTTPS URL) rather than a local file.

func ResolveRemote

func ResolveRemote(remoteRef, cacheDir string) (string, error)

ResolveRemote resolves a remote GitHub reference to a local ecosystem config file path. It first checks the cache directory; a cached file is reused as-is. Otherwise it downloads the repo tarball from codeload.

remoteRef is either:

Types

type EcosystemConfig

type EcosystemConfig struct {
	Apps      []process.AppConfig `json:"apps"`
	Workflows []workflow.Config   `json:"workflows"`
}

EcosystemConfig is the top-level config structure

func Load

func Load(path string) (*EcosystemConfig, error)

Load parses an ecosystem config file (.js or .json)

Directories

Path Synopsis
Package wizard owns ecosystem configuration authoring: prompts, the generated app and workflow declarations, merge policy, and JS/JSON rendering.
Package wizard owns ecosystem configuration authoring: prompts, the generated app and workflow declarations, merge policy, and JS/JSON rendering.

Jump to

Keyboard shortcuts

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