Documentation
¶
Overview ¶
Package herdr reports Orb's interactive lifecycle to a containing Herdr pane.
Index ¶
- func Extension(binaryPath, paneID string) extensions.Factory
- func InPane() bool
- func IsPiIntegration(path string) bool
- func PiForegroundHint(paths []string) []string
- func WithPiLifecycle(factory extensions.Factory) extensions.Factory
- func WrapPiIntegration(path string, factory extensions.Factory) extensions.Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extension ¶
func Extension(binaryPath, paneID string) extensions.Factory
Extension returns the inert-until-TUI compatibility attachment.
func InPane ¶ added in v0.14.0
func InPane() bool
InPane reports whether this process runs inside a Herdr pane it can report to.
func IsPiIntegration ¶ added in v0.14.0
IsPiIntegration recognizes Herdr's managed integration, not an arbitrary file with the same name.
func PiForegroundHint ¶ added in v0.14.0
PiForegroundHint lets Herdr recognize the extension host running its pi integration as pi.
func WithPiLifecycle ¶ added in v0.14.0
func WithPiLifecycle(factory extensions.Factory) extensions.Factory
WithPiLifecycle claims ownership only after successful registration, including registry recreation.
func WrapPiIntegration ¶ added in v0.14.0
func WrapPiIntegration(path string, factory extensions.Factory) extensions.Factory
WrapPiIntegration hands lifecycle ownership to Herdr's managed pi integration once it registers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.