hostintegration

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDocument

type ConfigDocument = contracts.ConfigDocument

func ApplyConfigPatch

func ApplyConfigPatch(doc ConfigDocument, host string, patch ConfigPatch) (ConfigDocument, error)

ApplyConfigPatch applies host-scoped config writes without mutating the input document or sibling host entries.

type ConfigPatch

type ConfigPatch = contracts.ConfigPatch

type ExternalCompatibility

type ExternalCompatibility = contracts.ExternalCompatibility

func HonchoExternalCompatibility

func HonchoExternalCompatibility() ExternalCompatibility

HonchoExternalCompatibility returns the current public Honcho-compatible tool names while keeping the implementation service named Goncho.

type HookBundlePlan added in v0.3.1

type HookBundlePlan struct {
	Host           string         `json:"host"`
	Event          string         `json:"event"`
	Command        []string       `json:"command"`
	PayloadSchema  map[string]any `json:"payload_schema"`
	RedactionClass string         `json:"redaction_class"`
	OutputPath     string         `json:"output_path"`
	InstallStatus  string         `json:"install_status"`
}

HookBundlePlan describes a generated hook artifact without writing it. Host connectors can render these plans into host-specific scripts only after the operator reviews the output and host smoke coverage exists.

func BuildHookBundlePlan added in v0.3.1

func BuildHookBundlePlan(host, outputDir string) []HookBundlePlan

BuildHookBundlePlan returns non-mutating hook bundle plans for every host-neutral event accepted by service.CaptureHostHook.

type Input

type Input = contracts.Input

type Mapping

type Mapping = contracts.Mapping

func Map

func Map(input Input) Mapping

Map translates host config concepts to the current internal Goncho service contract. Unsupported fields are returned as diagnostics instead of being silently widened or accepted.

type RuntimeConfig

type RuntimeConfig = contracts.RuntimeConfig

type SillyTavernInput

type SillyTavernInput = contracts.SillyTavernInput

type SillyTavernMapping

type SillyTavernMapping = contracts.SillyTavernMapping

func MapSillyTavern

func MapSillyTavern(input SillyTavernInput) SillyTavernMapping

MapSillyTavern maps the SillyTavern-specific Honcho integration controls into Goncho's host compatibility fixture surface.

type UnsupportedMapping

type UnsupportedMapping = contracts.UnsupportedMapping

Directories

Path Synopsis
Package config applies host-scoped host integration config changes.
Package config applies host-scoped host integration config changes.
Package contracts contains host-integration value types shared across host adapters and the root compatibility facade.
Package contracts contains host-integration value types shared across host adapters and the root compatibility facade.
Package mapping translates generic host config concepts into Goncho's internal host-integration contract.
Package mapping translates generic host config concepts into Goncho's internal host-integration contract.
Package policy contains shared host mapping defaults and session-key rules.
Package policy contains shared host mapping defaults and session-key rules.

Jump to

Keyboard shortcuts

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