facadebridge

package
v1.0.0-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package facadebridge carries the few in-module hooks that sibling packages (the MCP go-sdk adapter) need from a *pulse.Pulse without the root facade exporting its engine handle. The root package installs every hook in an init function; this package imports nothing from the root, so there is no cycle.

Index

Constants

This section is empty.

Variables

View Source
var CohortScanDisabled func(p any) bool

CohortScanDisabled reports whether the feature profile a *pulse.Pulse was built with sets behaviour.disable_cohort_scan. The MCP adapter ORs it into its own Config.DisableCohortScan. Anything other than a *pulse.Pulse returns false. Installed by the root package's init.

View Source
var ExtensionsSnapshot func(p any) *descx.ExtensionsSnapshot

ExtensionsSnapshot returns the read-only extension projection a *pulse.Pulse was built with. The argument is typed any because this package cannot import the root; passing anything other than a *pulse.Pulse returns nil. Installed by the root package's init.

View Source
var InstanceSnapshot func(p any) *descx.InstanceSnapshot

InstanceSnapshot returns the no-execute instance view (resolved feature set + extension projection) a *pulse.Pulse was built with. The MCP adapter consults it to register only the tools, prompts and resources the instance offers. A profile-free Pulse returns an unscoped snapshot (every name enabled); anything other than a *pulse.Pulse returns nil, which is also unscoped. Installed by the root package's init.

View Source
var Logger func(p any) *slog.Logger

Logger returns the *slog.Logger a *pulse.Pulse was built with (Options.Logger), or nil. The MCP adapter logs its startup cohort scan through it. Anything other than a *pulse.Pulse returns nil. Installed by the root package's init.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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