-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
141 lines (113 loc) · 5.42 KB
/
index.ts
File metadata and controls
141 lines (113 loc) · 5.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/**
* @module Effect
* @description
* Atomic Effect-TS services for Wind.
* This module exports all Effect services and composed layer stacks.
* All services now use atomic file structure for better organization and maintainability.
*/
// ============================================================================
// INDIVIDUAL SERVICES
// ============================================================================
// IPC (Inter-Process Communication)
export { IPCTag as IPC, IPCTauriLive, IPCElectronLive, IPCMockLive } from "./IPC.js";
export type { IPCService } from "./IPC.js";
// Sandbox (Preload globals)
export { Sandbox, SandboxLive, SandboxMockLive } from "./Sandbox/index.js";
export type { SandboxService } from "./Sandbox/index.js";
// Configuration
export {
Configuration,
ConfigurationLive,
ConfigurationWithSyncLive,
} from "./Configuration.js";
export type { ConfigurationService } from "./Configuration.js";
// Telemetry (Logging, Spans, Metrics)
export {
Telemetry,
TelemetryLive,
TelemetryMockLive,
withSpan,
withMetric,
} from "./Telemetry/index.js";
export type { TelemetryService } from "./Telemetry/index.js";
// Mountain (Backend connection & RPC)
export { Mountain, MountainLive, MountainMockLive } from "./Mountain/index.js";
export type {
MountainService,
MountainConnectionState,
SyncResource,
} from "./Mountain/index.js";
// MountainSync (Background synchronization)
export { MountainSyncTag, MountainSyncLive, MountainSyncMock } from "./MountainSync/index.js";
export type { MountainSyncService, SyncConfig, SyncStats, MountainSyncResult, SyncStatus } from "./MountainSync/index.js";
// Environment (System detection)
export { EnvironmentTag } from "./Environment/index.js";
export { EnvironmentLive } from "./Environment/index.js";
export { EnvironmentMock } from "./Environment/index.js";
export type { EnvironmentService, EnvironmentInfo, Platform, Architecture } from "./Environment/index.js";
// Health (Service health checks)
export { HealthTag, HealthLive, HealthMock } from "./Health/index.js";
export type { HealthService, ServiceHealth, SystemHealth, HealthStatus } from "./Health/index.js";
// Bootstrap (Orchestration of all stages)
export { BootstrapTag, BootstrapLive, BootstrapMock, runBootstrap } from "./Bootstrap/index.js";
export type { BootstrapService, BootstrapOptions, StageResult, BootstrapResult } from "./Bootstrap/index.js";
// Clipboard (System clipboard access)
export { ClipboardServiceTag, LiveClipboardServiceLayer, MockClipboardServiceLayer } from "./Clipboard.js";
export type { ClipboardService, ClipboardProblem } from "./Clipboard.js";
// ActivityBar (VSCode activity bar management)
export { ActivityBar, ActivityBarLive, ActivityBarMockLive } from "./ActivityBar/index.js";
export type { ActivityBarService, ActivityBarItem, CreateActivityBarItem, ActivityBarBadge } from "./ActivityBar/index.js";
// Panel (VSCode bottom panel management)
export { Panel, PanelLive, PanelMockLive } from "./Panel/index.js";
export type { PanelService, PanelView, CreatePanelView, PanelViewType } from "./Panel/index.js";
// Sidebar (VSCode sidebar management)
export { Sidebar, SidebarLive, SidebarMockLive } from "./Sidebar/index.js";
export type { SidebarService, SidebarPanel, CreateSidebarPanel } from "./Sidebar/index.js";
// StatusBar (VSCode status bar management)
export { StatusBar, StatusBarLive, StatusBarMockLive } from "./StatusBar/index.js";
export type { StatusBarService, StatusBarItem, CreateStatusBarItem } from "./StatusBar/index.js";
// Workbench (VSCode browser workbench integration)
export { WorkbenchIntegrationTag as Workbench, WorkbenchIntegrationLiveLayer as WorkbenchLive } from "../Workbench/index.js";
export type { WorkbenchIntegrationService,
WorkbenchState,
WorkbenchInitState,
WorkbenchIntegrationConfig,
ProviderRegistrationResult,
WorkspaceContext,
WorkbenchDiagnostics } from "../Workbench/index.js";
export { WorkbenchIntegrationErrorCode } from "../Workbench/index.js";
// ============================================================================
// LAYERS (For runtime composition)
// ============================================================================
export { TauriBaseLayer, TauriLiveLayer, TauriDevLayer } from "./Layers/Tauri.js";
// ============================================================================
// ERROR TYPES
// ============================================================================
// IPC errors
export { IPCInvokeError, IPCSendError, IPCSubscriptionError } from "./IPC.js";
// Configuration errors
export {
ConfigFetchError,
ConfigValidationError,
ConfigApplyError,
} from "./Configuration.js";
// Telemetry errors
export { TelemetryCollectionError } from "./Telemetry/index.js";
// Mountain errors
export {
MountainConnectionError,
MountainRPCError,
MountainSyncError,
MountainStateError,
} from "./Mountain/index.js";
// ActivityBar errors
export { ActivityBarItemNotFoundError, ActivityBarUpdateError } from "./ActivityBar/index.js";
// Panel errors
export { PanelViewNotFoundError, PanelUpdateError } from "./Panel/index.js";
// Sidebar errors
export { SidebarPanelNotFoundError, SidebarUpdateError } from "./Sidebar/index.js";
// StatusBar errors
export { StatusBarItemNotFoundError, StatusBarUpdateError } from "./StatusBar/index.js";
// FileSystem (VSCode-like file system access)
export { FileSystemProviderTag, FileSystemProviderLive } from "../FileSystem/index.js";
export type { FileSystemProviderService } from "../FileSystem/index.js";