app

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package app exposes the types used by the UI for app-level events. The actual application wiring is done by the workspace adapter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLSPStates

func GetLSPStates() map[string]LSPClientInfo

GetLSPStates returns the current state of all LSP clients (stub — LSP not wired).

Types

type LSPClientInfo

type LSPClientInfo struct {
	Name            string
	State           lsp.ServerState
	Error           error
	DiagnosticCount int
	ConnectedAt     time.Time
}

LSPClientInfo holds information about an LSP client's state.

type LSPEvent

type LSPEvent struct {
	Type            LSPEventType
	Name            string
	State           lsp.ServerState
	Error           error
	DiagnosticCount int
}

LSPEvent represents an event in the LSP system.

type LSPEventType

type LSPEventType string

LSPEventType represents the type of LSP event.

const (
	LSPEventStateChanged       LSPEventType = "state_changed"
	LSPEventDiagnosticsChanged LSPEventType = "diagnostics_changed"
)

type UpdateAvailableMsg

type UpdateAvailableMsg struct {
	CurrentVersion string
	LatestVersion  string
	IsDevelopment  bool
}

UpdateAvailableMsg is sent when a new version of the application is available.

Jump to

Keyboard shortcuts

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