context

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "ui/context"

Variables

This section is empty.

Functions

This section is empty.

Types

type GetInput

type GetInput struct {
	ClientID  string `json:"clientId,omitempty"`
	WindowID  string `json:"windowId,omitempty"`
	WindowKey string `json:"windowKey,omitempty"`
}

type GetOutput

type GetOutput struct {
	ConversationID  string                  `json:"conversationId,omitempty"`
	ClientID        string                  `json:"clientId,omitempty"`
	FocusedWindowID string                  `json:"focusedWindowId,omitempty"`
	Selected        *uireg.SnapshotSelected `json:"selected,omitempty"`
	Windows         []WindowContext         `json:"windows,omitempty"`
	RecentEvents    []uireg.UIEvent         `json:"recentEvents,omitempty"`
}

type Service

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

func New

func New(bridge *forgeuisvc.Service) *Service

func (*Service) Method

func (s *Service) Method(name string) (svc.Executable, error)

func (*Service) Methods

func (s *Service) Methods() svc.Signatures

func (*Service) Name

func (s *Service) Name() string

type WindowContext

type WindowContext struct {
	Window         *uireg.WindowSnapshot `json:"window,omitempty"`
	DataSourceRefs []string              `json:"dataSourceRefs,omitempty"`
	Surface        *uireg.WindowSurface  `json:"surface,omitempty"`
}

Jump to

Keyboard shortcuts

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