Implements the full PRD (docs/prds/yaegi-plugin-system.md): repos can now define .archie/gate.go for diff-inspecting quality rules shell commands can't express, .archie/stages/*.go for custom pipeline steps, and skills can ship Go scripts run via a new run_go_script agent tool — all interpreted in-process with Yaegi, with panics recovered so a bad script can't take down the daemon. Hot reload (phase 4) needed no code: every loader reads from disk per call and every task gets a fresh clone, so nothing is ever cached to go stale.
20 lines
547 B
Go
20 lines
547 B
Go
// Code generated by 'yaegi extract github.com/samcharles93/archie-core/internal/gate'. DO NOT EDIT.
|
|
|
|
package gateextract
|
|
|
|
import (
|
|
"github.com/samcharles93/archie-core/internal/gate"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["github.com/samcharles93/archie-core/internal/gate/gate"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"Blocking": reflect.ValueOf(gate.Blocking),
|
|
|
|
// type definitions
|
|
"Finding": reflect.ValueOf((*gate.Finding)(nil)),
|
|
"GateContext": reflect.ValueOf((*gate.GateContext)(nil)),
|
|
}
|
|
}
|