Documentation
¶
Index ¶
- func LoadWorkspaceWindow(ctx context.Context, windowKey string, target *metaSvc.TargetContext) (*forgeTypes.Window, error)
- func MergeWorkspaceForgeAssets(ctx context.Context, window *forgeTypes.Window) error
- func SetWorkspaceWindowEnricher(enricher WorkspaceWindowEnricher) func()
- type WorkspaceWindowEnricher
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.