# jeffkatz/visual-line-interface architecture

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

- Interactive diagram: https://gitdiagram.com/jeffkatz/visual-line-interface
- Repository: https://github.com/jeffkatz/visual-line-interface

## Overview

Visual Line Interface is a visual workstation for configuring and previewing software scaffolds, managing packages and runtimes, and composing development workflows. Users enter through the app shell, configure a project and its stack, inspect generated commands/configuration and rename plans, then use package, runtime, workflow, and operations workspaces. The frontend also connects to a local API for host probes, npm data, and optional AI assistance. Edges follow the README, excerpted calls, or SOURCE INDEX references; unsampled implementation details are not inferred.

Main entry points: [`src/App.tsx`](https://github.com/jeffkatz/visual-line-interface/blob/main/src/App.tsx) (Application Shell), [`src/components/screens/ProjectStudioScreen.tsx`](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/ProjectStudioScreen.tsx) (Project Studio), [`server.ts`](https://github.com/jeffkatz/visual-line-interface/blob/main/server.ts) (Local API Server), [`src/services/aiClient.ts`](https://github.com/jeffkatz/visual-line-interface/blob/main/src/services/aiClient.ts) (AI API Client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Workstation UI"]
  node_app["Application Shell<br/>[App.tsx]"]
  node_navigation["Navigation &amp; Inspector"]
  node_docs_settings["Docs &amp; Settings"]
  node_palette["Command Palette<br/>[CommandPalette.tsx]"]
end

subgraph group_scaffolding["Project Scaffolding"]
  node_project["Project Studio"]
  node_catalog["Scaffold Catalog<br/>[studioCatalog.ts]"]
  node_advisor["Stack &amp; Prompt Advisor<br/>[stackAdvisor.ts]"]
  node_rename["Bulk File Rename"]
  node_packages["Package Studio"]
end

subgraph group_operations["Runtime Operations"]
  node_runtime["Runtime Manager"]
  node_workflow["Workflow Builder"]
  node_operations_screen["Operations Centre"]
  node_charts["Telemetry Charts<br/>[StudioCharts.tsx]"]
end

subgraph group_integrations["API Integrations"]
  node_ai_client["AI API Client<br/>[aiClient.ts]"]
  node_system_client["System &amp; npm Client<br/>[systemClient.ts]"]
  node_server["Local API Server<br/>[server.ts]"]
end

subgraph group_shared["Shared Capabilities"]
  node_ai_panel["AI Stack Architect"]
  node_provider_catalog["AI Provider Catalog<br/>[aiProviders.ts]"]
  node_types["Studio Domain Types<br/>[studio.ts]"]
end

node_developer(("Developer"))
node_host["Local Host"]
node_npm_registry["npm Registry"]
node_ai_providers["AI Providers"]

node_developer -->|"uses"| node_app
node_app -->|"renders"| node_navigation
node_app -->|"routes to"| node_project
node_app -->|"routes to"| node_packages
node_app -->|"routes to"| node_runtime
node_app -->|"routes to"| node_workflow
node_app -->|"routes to"| node_operations_screen
node_app -->|"routes to"| node_docs_settings
node_app -->|"renders"| node_palette
node_project -->|"synthesizes preview"| node_catalog
node_project -->|"requests recommendations"| node_advisor
node_project -->|"configures renames"| node_rename
node_project -->|"hosts panel"| node_ai_panel
node_packages -->|"searches packages"| node_system_client
node_runtime -.->|"probes host"| node_system_client
node_workflow -->|"uses scaffold data"| node_catalog
node_operations_screen -->|"requests diagnostics"| node_ai_client
node_operations_screen -->|"renders telemetry"| node_charts
node_ai_panel -->|"requests assistance"| node_ai_client
node_ai_panel -->|"uses recommendations"| node_advisor
node_rename -->|"requests rename advice"| node_ai_client
node_app -->|"fetches probe"| node_system_client
node_app -->|"fetches provider status"| node_ai_client
node_ai_client -->|"calls AI endpoints"| node_server
node_system_client -->|"calls local endpoints"| node_server
node_server -->|"probes system"| node_host
node_server -->|"queries registry"| node_npm_registry
node_server -->|"routes AI requests"| node_ai_providers
node_provider_catalog -->|"supplies provider options"| node_ai_panel
node_provider_catalog -->|"supplies provider settings"| node_docs_settings

click node_app "https://github.com/jeffkatz/visual-line-interface/blob/main/src/App.tsx"
click node_navigation "https://github.com/jeffkatz/visual-line-interface/tree/main/src/components/layout"
click node_project "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/ProjectStudioScreen.tsx"
click node_catalog "https://github.com/jeffkatz/visual-line-interface/blob/main/src/data/studioCatalog.ts"
click node_advisor "https://github.com/jeffkatz/visual-line-interface/blob/main/src/data/stackAdvisor.ts"
click node_rename "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/studio/BulkFileRenamePanel.tsx"
click node_packages "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/PackageStudioScreen.tsx"
click node_runtime "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/RuntimeManagerScreen.tsx"
click node_workflow "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/WorkflowBuilderScreen.tsx"
click node_operations_screen "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/OperationsCentreScreen.tsx"
click node_charts "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/charts/StudioCharts.tsx"
click node_docs_settings "https://github.com/jeffkatz/visual-line-interface/tree/main/src/components/screens"
click node_palette "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/studio/CommandPalette.tsx"
click node_ai_panel "https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/studio/AiArchitectPanel.tsx"
click node_ai_client "https://github.com/jeffkatz/visual-line-interface/blob/main/src/services/aiClient.ts"
click node_system_client "https://github.com/jeffkatz/visual-line-interface/blob/main/src/services/systemClient.ts"
click node_server "https://github.com/jeffkatz/visual-line-interface/blob/main/server.ts"
click node_provider_catalog "https://github.com/jeffkatz/visual-line-interface/blob/main/src/data/aiProviders.ts"
click node_types "https://github.com/jeffkatz/visual-line-interface/blob/main/src/types/studio.ts"

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_app,node_navigation,node_docs_settings,node_palette toneBlue
class node_project,node_catalog,node_advisor,node_rename,node_packages toneAmber
class node_runtime,node_workflow,node_operations_screen,node_charts toneMint
class node_ai_client,node_system_client,node_server toneRose
class node_ai_panel,node_provider_catalog,node_types,node_developer,node_host,node_npm_registry,node_ai_providers toneIndigo
```

## Components

### Workstation UI

- [Application Shell](https://github.com/jeffkatz/visual-line-interface/blob/main/src/App.tsx): `src/App.tsx`
- [Navigation & Inspector](https://github.com/jeffkatz/visual-line-interface/tree/main/src/components/layout): `src/components/layout`
- [Docs & Settings](https://github.com/jeffkatz/visual-line-interface/tree/main/src/components/screens): `src/components/screens`
- [Command Palette](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/studio/CommandPalette.tsx): `src/components/studio/CommandPalette.tsx`

### Project Scaffolding

- [Project Studio](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/ProjectStudioScreen.tsx): `src/components/screens/ProjectStudioScreen.tsx`
- [Scaffold Catalog](https://github.com/jeffkatz/visual-line-interface/blob/main/src/data/studioCatalog.ts): `src/data/studioCatalog.ts`
- [Stack & Prompt Advisor](https://github.com/jeffkatz/visual-line-interface/blob/main/src/data/stackAdvisor.ts): `src/data/stackAdvisor.ts`
- [Bulk File Rename](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/studio/BulkFileRenamePanel.tsx): `src/components/studio/BulkFileRenamePanel.tsx`
- [Package Studio](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/PackageStudioScreen.tsx): `src/components/screens/PackageStudioScreen.tsx`

### Runtime Operations

- [Runtime Manager](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/RuntimeManagerScreen.tsx): `src/components/screens/RuntimeManagerScreen.tsx`
- [Workflow Builder](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/WorkflowBuilderScreen.tsx): `src/components/screens/WorkflowBuilderScreen.tsx`
- [Operations Centre](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/screens/OperationsCentreScreen.tsx): `src/components/screens/OperationsCentreScreen.tsx`
- [Telemetry Charts](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/charts/StudioCharts.tsx): `src/components/charts/StudioCharts.tsx`

### API Integrations

- [AI API Client](https://github.com/jeffkatz/visual-line-interface/blob/main/src/services/aiClient.ts): `src/services/aiClient.ts`
- [System & npm Client](https://github.com/jeffkatz/visual-line-interface/blob/main/src/services/systemClient.ts): `src/services/systemClient.ts`
- [Local API Server](https://github.com/jeffkatz/visual-line-interface/blob/main/server.ts): `server.ts`

### Shared Capabilities

- [AI Stack Architect](https://github.com/jeffkatz/visual-line-interface/blob/main/src/components/studio/AiArchitectPanel.tsx): `src/components/studio/AiArchitectPanel.tsx`
- [AI Provider Catalog](https://github.com/jeffkatz/visual-line-interface/blob/main/src/data/aiProviders.ts): `src/data/aiProviders.ts`
- [Studio Domain Types](https://github.com/jeffkatz/visual-line-interface/blob/main/src/types/studio.ts): `src/types/studio.ts`

### Other components

- **Developer**
- **Local Host**
- **npm Registry**
- **AI Providers**

## Connections

- Developer → Application Shell: uses (evidence: `README.md`)
- Application Shell → Navigation & Inspector: renders (evidence: `src/App.tsx`)
- Application Shell → Project Studio: routes to (evidence: `src/App.tsx`)
- Application Shell → Package Studio: routes to (evidence: `src/App.tsx`)
- Application Shell → Runtime Manager: routes to (evidence: `src/App.tsx`)
- Application Shell → Workflow Builder: routes to (evidence: `src/App.tsx`)
- Application Shell → Operations Centre: routes to (evidence: `src/App.tsx`)
- Application Shell → Docs & Settings: routes to (evidence: `src/App.tsx`)
- Application Shell → Command Palette: renders (evidence: `src/App.tsx`)
- Project Studio → Scaffold Catalog: synthesizes preview (evidence: `README.md`)
- Project Studio → Stack & Prompt Advisor: requests recommendations (evidence: `README.md`)
- Project Studio → Bulk File Rename: configures renames (evidence: `src/components/screens/ProjectStudioScreen.tsx`)
- Project Studio → AI Stack Architect: hosts panel (evidence: `src/components/screens/ProjectStudioScreen.tsx`)
- Package Studio → System & npm Client: searches packages (evidence: `src/components/screens/PackageStudioScreen.tsx`)
- Runtime Manager → System & npm Client: probes host
- Workflow Builder → Scaffold Catalog: uses scaffold data (evidence: `src/components/screens/WorkflowBuilderScreen.tsx`)
- Operations Centre → AI API Client: requests diagnostics (evidence: `src/components/screens/OperationsCentreScreen.tsx`)
- Operations Centre → Telemetry Charts: renders telemetry (evidence: `src/components/screens/OperationsCentreScreen.tsx`)
- AI Stack Architect → AI API Client: requests assistance (evidence: `src/components/studio/AiArchitectPanel.tsx`)
- AI Stack Architect → Stack & Prompt Advisor: uses recommendations (evidence: `src/components/studio/AiArchitectPanel.tsx`)
- Bulk File Rename → AI API Client: requests rename advice (evidence: `src/components/studio/BulkFileRenamePanel.tsx`)
- Application Shell → System & npm Client: fetches probe (evidence: `src/App.tsx`)
- Application Shell → AI API Client: fetches provider status (evidence: `src/App.tsx`)
- AI API Client → Local API Server: calls AI endpoints (evidence: `README.md`)
- System & npm Client → Local API Server: calls local endpoints (evidence: `README.md`)
- Local API Server → Local Host: probes system (evidence: `README.md`)
- Local API Server → npm Registry: queries registry (evidence: `README.md`)
- Local API Server → AI Providers: routes AI requests (evidence: `README.md`)
- AI Provider Catalog → AI Stack Architect: supplies provider options (evidence: `src/components/studio/AiArchitectPanel.tsx`)
- AI Provider Catalog → Docs & Settings: supplies provider settings (evidence: `src/components/screens/SecondaryManagementScreens.tsx`)
