window

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadWorkspaceWindow

func LoadWorkspaceWindow(ctx context.Context, windowKey string, target *metaSvc.TargetContext) (*forgeTypes.Window, error)

LoadWorkspaceWindow loads a workspace-owned Forge window and merges the workspace-declared dialogs and datasources onto it so every consumer sees the same effective surface truth.

func MergeWorkspaceForgeAssets

func MergeWorkspaceForgeAssets(ctx context.Context, window *forgeTypes.Window) error

MergeWorkspaceForgeAssets merges workspace dialogs and datasources into the supplied window without overwriting window-owned declarations.

func SetWorkspaceWindowEnricher added in v0.1.18

func SetWorkspaceWindowEnricher(enricher WorkspaceWindowEnricher) func()

SetWorkspaceWindowEnricher installs the process-level workspace extension hook and returns a cleanup function suitable for tests and server shutdown.

Types

type WorkspaceWindowEnricher added in v0.1.18

type WorkspaceWindowEnricher func(context.Context, *forgeTypes.Window) error

WorkspaceWindowEnricher lets the host application attach optional generic workspace extensions after the base Forge window, dialogs, and data sources have been resolved. Agently Core deliberately does not own extension schemas.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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