# syndromatic-ltd/syncloudos architecture

> Architecture diagram of the GitHub repository syndromatic-ltd/syncloudos, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/syndromatic-ltd/syncloudos
- Repository: https://github.com/syndromatic-ltd/syncloudos
- Video tour (about a minute): https://gitdiagram.com/syndromatic-ltd/syncloudos/video

## Overview

SynCloudOS is a TypeScript/React framework for desktop-style browser applications. The main path is an app author defining a checked bundle and routes, then the host discovering and launching it into the runtime, where the AppKit-style NSE layer presents controls and windows; FX frameworks provide device and media capabilities. The graph preserves documented framework layers and major runtime branches. Several subsystems are represented by their exact enclosing directories because their implementation files were not sampled; edges rely on README statements or shown imports, not inferred folder structure.

Main entry points: [`src/SynCloudOS/SynCloudOS.ts`](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/SynCloudOS.ts) (Runtime Host), [`src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx`](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx) (Launcher Board), [`src/NSE/NSE.ts`](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/NSE/NSE.ts) (NSE Kit), [`src/SynCloudOS/AppSDK/index.ts`](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/AppSDK/index.ts) (App SDK)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["App Authoring"]
  node_bundle["App Bundle"]
  node_identity["Bundle Identity"]
  node_app_sdk["App SDK<br/>[index.ts]"]
  node_routes["Route Session<br/>[appSdkRoutePort.ts]"]
  node_route_outlet["Route Outlet<br/>[RouteOutlet.tsx]"]
end

subgraph group_runtime["Runtime Services"]
  node_host["Runtime Host<br/>[SynCloudOS.ts]"]
  node_runtime_types["Runtime Contracts"]
  node_fx_contracts["FX Lifecycle"]
  node_documents["Documents and Undo"]
  node_windowing["Window Manager"]
end

subgraph group_presentation["Interface and Shell"]
  node_nse["NSE Kit<br/>[NSE.ts]"]
  node_nse_host["NSE Host Composition<br/>[hostComposition.ts]"]
  node_nse_sdk["NSE SDK Entry<br/>[sdkPackageEntry.ts]"]
  node_react_bindings["React Bindings<br/>[index.ts]"]
  node_webspring_controller["Webspring Controller"]
  node_launcher["Launcher"]
  node_board["Launcher Board"]
  node_application["Shell Application<br/>[WSApplication.ts]"]
  node_icon["App Icon View<br/>[WSIconView.tsx]"]
  node_surface["Shell Surface<br/>[WSSurface.ts]"]
  node_transitions["Shell Transitions"]
  node_shell_types["Shell View Model<br/>[webspringTypes.ts]"]
end

subgraph group_capabilities["FX Capabilities"]
  node_dispatch["Dispatch Queues<br/>[DFXQueue.ts]"]
  node_audio["Audio Framework<br/>[AUFXAudioEngine.ts]"]
  node_image["Image Processing"]
  node_haptics["Haptics Framework<br/>[HFXHapticEngine.ts]"]
  node_device_fx["Device FX Suites"]
end

node_developer(("App Developer"))
node_user(("App User"))

node_developer -->|"authors"| node_bundle
node_bundle -->|"uses SDK"| node_app_sdk
node_app_sdk -->|"identifies bundle"| node_identity
node_app_sdk -->|"defines routes"| node_routes
node_routes -->|"renders routes"| node_route_outlet
node_user -->|"chooses app"| node_launcher
node_launcher -->|"launches app"| node_webspring_controller
node_webspring_controller -->|"uses runtime"| node_host
node_webspring_controller -->|"uses shell"| node_application
node_launcher -->|"presents board"| node_board
node_board -->|"shows icons"| node_icon
node_board -->|"styles surface"| node_surface
node_board -->|"computes transitions"| node_transitions
node_board -->|"uses view model"| node_shell_types
node_host -->|"exposes runtime"| node_runtime_types
node_host -->|"hosts application kit"| node_nse
node_nse -->|"uses host composition"| node_nse_host
node_nse -->|"exports kit"| node_nse_sdk
node_react_bindings -->|"binds runtime"| node_host
node_host -->|"provides documents"| node_documents
node_host -->|"provides windows"| node_windowing
node_host -->|"defines FX lifecycle"| node_fx_contracts
node_audio -->|"uses lifecycle"| node_fx_contracts
node_haptics -->|"uses lifecycle"| node_fx_contracts
node_audio -.->|"uses queues"| node_dispatch
node_host -->|"offers capabilities"| node_device_fx
node_user -->|"uses application"| node_nse
node_image -->|"uses browser adapter"| node_host

click node_bundle "https://github.com/syndromatic-ltd/syncloudos/tree/master/src/SynCloudOS/AppSDK"
click node_identity "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/Identity/bundleIdentifier.mjs"
click node_app_sdk "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/AppSDK/index.ts"
click node_routes "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/Routing/appSdkRoutePort.ts"
click node_route_outlet "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/AppSDK/RouteOutlet.tsx"
click node_host "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/SynCloudOS.ts"
click node_runtime_types "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/Runtime/runtimeInstanceTypes.ts"
click node_fx_contracts "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/fxRuntimeContracts.ts"
click node_documents "https://github.com/syndromatic-ltd/syncloudos/tree/master/src/SynCloudOS/Documents"
click node_windowing "https://github.com/syndromatic-ltd/syncloudos/tree/master/src/SynCloudOS/Windows"
click node_nse "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/NSE/NSE.ts"
click node_nse_host "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/NSE/hostComposition.ts"
click node_nse_sdk "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/NSE/sdkPackageEntry.ts"
click node_react_bindings "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOSReact/index.ts"
click node_webspring_controller "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WebspringController.ts"
click node_launcher "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WSLauncherViewController.tsx"
click node_board "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx"
click node_application "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WSApplication.ts"
click node_icon "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WSIconView.tsx"
click node_surface "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WSSurface.ts"
click node_transitions "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/Webspring.transitions.ts"
click node_shell_types "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/webspringTypes.ts"
click node_dispatch "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/FX/DispatchFX/DFXQueue.ts"
click node_audio "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/FX/AudioFX/AUFXAudioEngine.ts"
click node_image "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/FX/ImageFX/IFXRenderPipeline.ts"
click node_haptics "https://github.com/syndromatic-ltd/syncloudos/blob/master/src/FX/HapticsFX/HFXHapticEngine.ts"
click node_device_fx "https://github.com/syndromatic-ltd/syncloudos/tree/master/src/FX"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_bundle,node_identity,node_app_sdk,node_routes,node_route_outlet,node_user toneBlue
class node_host,node_runtime_types,node_fx_contracts,node_documents,node_windowing toneAmber
class node_nse,node_nse_host,node_nse_sdk,node_react_bindings,node_webspring_controller,node_launcher,node_board,node_application,node_icon,node_surface,node_transitions,node_shell_types toneMint
class node_dispatch,node_audio,node_image,node_haptics,node_device_fx toneRose
class node_developer toneIndigo
```

## Components

### App Authoring

- [App Bundle](https://github.com/syndromatic-ltd/syncloudos/tree/master/src/SynCloudOS/AppSDK): `src/SynCloudOS/AppSDK`
- [Bundle Identity](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/Identity/bundleIdentifier.mjs): `src/SynCloudOS/Identity/bundleIdentifier.mjs`
- [App SDK](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/AppSDK/index.ts): `src/SynCloudOS/AppSDK/index.ts`
- [Route Session](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/Routing/appSdkRoutePort.ts): `src/SynCloudOS/Routing/appSdkRoutePort.ts`
- [Route Outlet](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/AppSDK/RouteOutlet.tsx): `src/SynCloudOS/AppSDK/RouteOutlet.tsx`

### Runtime Services

- [Runtime Host](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/SynCloudOS.ts): `src/SynCloudOS/SynCloudOS.ts`
- [Runtime Contracts](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/Runtime/runtimeInstanceTypes.ts): `src/SynCloudOS/Runtime/runtimeInstanceTypes.ts`
- [FX Lifecycle](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOS/fxRuntimeContracts.ts): `src/SynCloudOS/fxRuntimeContracts.ts`
- [Documents and Undo](https://github.com/syndromatic-ltd/syncloudos/tree/master/src/SynCloudOS/Documents): `src/SynCloudOS/Documents`
- [Window Manager](https://github.com/syndromatic-ltd/syncloudos/tree/master/src/SynCloudOS/Windows): `src/SynCloudOS/Windows`

### Interface and Shell

- [NSE Kit](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/NSE/NSE.ts): `src/NSE/NSE.ts`
- [NSE Host Composition](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/NSE/hostComposition.ts): `src/NSE/hostComposition.ts`
- [NSE SDK Entry](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/NSE/sdkPackageEntry.ts): `src/NSE/sdkPackageEntry.ts`
- [React Bindings](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/SynCloudOSReact/index.ts): `src/SynCloudOSReact/index.ts`
- [Webspring Controller](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WebspringController.ts): `src/Webspring/WebspringController.ts`
- [Launcher](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WSLauncherViewController.tsx): `src/Webspring/WSLauncherViewController.tsx`
- [Launcher Board](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx): `src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx`
- [Shell Application](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WSApplication.ts): `src/Webspring/WSApplication.ts`
- [App Icon View](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WSIconView.tsx): `src/Webspring/WSIconView.tsx`
- [Shell Surface](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/WSSurface.ts): `src/Webspring/WSSurface.ts`
- [Shell Transitions](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/Webspring.transitions.ts): `src/Webspring/Webspring.transitions.ts`
- [Shell View Model](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/Webspring/webspringTypes.ts): `src/Webspring/webspringTypes.ts`

### FX Capabilities

- [Dispatch Queues](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/FX/DispatchFX/DFXQueue.ts): `src/FX/DispatchFX/DFXQueue.ts`
- [Audio Framework](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/FX/AudioFX/AUFXAudioEngine.ts): `src/FX/AudioFX/AUFXAudioEngine.ts`
- [Image Processing](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/FX/ImageFX/IFXRenderPipeline.ts): `src/FX/ImageFX/IFXRenderPipeline.ts`
- [Haptics Framework](https://github.com/syndromatic-ltd/syncloudos/blob/master/src/FX/HapticsFX/HFXHapticEngine.ts): `src/FX/HapticsFX/HFXHapticEngine.ts`
- [Device FX Suites](https://github.com/syndromatic-ltd/syncloudos/tree/master/src/FX): `src/FX`

### Other components

- **App Developer**
- **App User**

## Connections

- App Developer → App Bundle: authors (evidence: `README.md`)
- App Bundle → App SDK: uses SDK (evidence: `README.md`)
- App SDK → Bundle Identity: identifies bundle (evidence: `src/Webspring/WSLauncherViewController.tsx`)
- App SDK → Route Session: defines routes (evidence: `src/SynCloudOS/AppSDK/index.ts`)
- Route Session → Route Outlet: renders routes (evidence: `src/SynCloudOS/AppSDK/hooks/useRouter.ts`)
- App User → Launcher: chooses app (evidence: `README.md`)
- Launcher → Webspring Controller: launches app (evidence: `src/Webspring/WebspringController.ts`)
- Webspring Controller → Runtime Host: uses runtime (evidence: `src/Webspring/WebspringController.ts`)
- Webspring Controller → Shell Application: uses shell (evidence: `src/Webspring/WebspringController.ts`)
- Launcher → Launcher Board: presents board (evidence: `src/Webspring/WSLauncherViewController.tsx`)
- Launcher Board → App Icon View: shows icons (evidence: `src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx`)
- Launcher Board → Shell Surface: styles surface (evidence: `src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx`)
- Launcher Board → Shell Transitions: computes transitions (evidence: `src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx`)
- Launcher Board → Shell View Model: uses view model (evidence: `src/Webspring/Contents/Views/WSBoardViewController/WSBoardViewController.tsx`)
- Runtime Host → Runtime Contracts: exposes runtime (evidence: `src/SynCloudOS/SynCloudOS.ts`)
- Runtime Host → NSE Kit: hosts application kit (evidence: `README.md`)
- NSE Kit → NSE Host Composition: uses host composition
- NSE Kit → NSE SDK Entry: exports kit (evidence: `README.md`)
- React Bindings → Runtime Host: binds runtime (evidence: `src/SynCloudOSReact/index.ts`)
- Runtime Host → Documents and Undo: provides documents (evidence: `README.md`)
- Runtime Host → Window Manager: provides windows (evidence: `README.md`)
- Runtime Host → FX Lifecycle: defines FX lifecycle (evidence: `src/SynCloudOS/fxRuntimeContracts.ts`)
- Audio Framework → FX Lifecycle: uses lifecycle (evidence: `src/FX/AudioFX/AUFXAudioEngine.ts`)
- Haptics Framework → FX Lifecycle: uses lifecycle (evidence: `src/SynCloudOS/fxRuntimeContracts.ts`)
- Audio Framework → Dispatch Queues: uses queues
- Runtime Host → Device FX Suites: offers capabilities (evidence: `README.md`)
- App User → NSE Kit: uses application (evidence: `README.md`)
- Image Processing → Runtime Host: uses browser adapter
