provider

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package provider implements agent.ToolProvider for Facet's native toolbox.

This is the NATIVE binding path: it registers Facet's video-production tools directly with the Compa kernel, paying no subprocess or protocol cost to host itself.

The three projection shapes:

F-SKILL  -- external-agent CLI uses toolbox tools via skill guidance
F-APP    -- Compa kernel with this provider (native, in-process)
F-MOD    -- Compa kernel with module-v2 projection (detached host)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MountBundleGuidance added in v1.1.0

func MountBundleGuidance(loop *agent.AgentLoop, bundleDir string, entries ...string) error

MountBundleGuidance mounts guidance from a verified installed bundle.

func MountGuidance

func MountGuidance(loop *agent.AgentLoop) error

MountGuidance composes Facet's canonical core and selected packs through the kernel's prompt extension contract. No second prompt engine or copied skills.

Types

type FacetToolProvider

type FacetToolProvider struct {
	// contains filtered or unexported fields
}

FacetToolProvider implements agent.ToolProvider by wrapping Facet's native toolbox operations as Compa-compatible tools.

func NewBundleToolProvider added in v1.1.0

func NewBundleToolProvider(bundleDir string, entries ...string) *FacetToolProvider

NewBundleToolProvider creates a provider whose guidance tools read only from a verified installed bundle.

func NewFacetToolProvider

func NewFacetToolProvider() *FacetToolProvider

NewFacetToolProvider creates a new Facet tool provider.

func (*FacetToolProvider) RegisterTools

func (p *FacetToolProvider) RegisterTools(
	workspace string,
	register func(agent.Tool),
) ([]string, func(string) (string, string, []string))

RegisterTools contributes all enabled Facet tools to the Compa agent.

Jump to

Keyboard shortcuts

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