Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct {
Name string
Description string
Runner string
ScriptPath string
Args []string
WorkingDir string
Parameters map[string]Parameter
TimeoutSeconds int
SourcePath string
}
Definition is the validated, resolved form of one fabricated geo tool manifest.
func ValidateDefinition ¶
func ValidateDefinition(def Definition) (Definition, error)
ValidateDefinition normalizes and validates one fabricated geo tool definition.
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader loads fabricated geo tool manifests from the workspace.
func (*Loader) BuildSummary ¶
BuildSummary returns a system-prompt friendly summary of fabricated geo tool conventions and any installed workspace geo tools discovered from manifests.
func (*Loader) Load ¶
func (l *Loader) Load() ([]Definition, error)
Load discovers and validates all fabricated geo tool manifests.
type Parameter ¶
type Parameter struct {
Type string `yaml:"type"`
Description string `yaml:"description"`
Required bool `yaml:"required"`
}
Parameter defines one tool input parameter declared in a workspace manifest.
type Scaffold ¶
type Scaffold struct {
ToolName string
ManifestPath string
ScriptPath string
ManifestBody string
ScriptBody string
ValidationPassed bool
}
Scaffold contains a dry-run fabricated geo tool skeleton.
func BuildScaffold ¶
func BuildScaffold(workspacePath string, spec ScaffoldSpec) (*Scaffold, error)
BuildScaffold creates a validator-compliant fabricated geo tool skeleton without writing files.