chore: remove frontend/ scaffold
Generated web-ui scaffold removed; superseded by dogfooding runs and not part of the kernel.
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
# frontend/ — AGENTS.md
|
||||
|
||||
## Purpose
|
||||
|
||||
Early-stage React/TypeScript web UI for the CORREX server. Connects to the server's REST endpoints and WebSocket feed. Placeholder / exploratory state — not production-hardened.
|
||||
|
||||
## Ownership
|
||||
|
||||
Loosely maintained. Not on the critical path. The canonical operator UI is `apps/tui-go/` (Go/Bubble Tea TUI). This web UI is a secondary surface.
|
||||
|
||||
## Local Contracts
|
||||
|
||||
- Stack: React 18, TypeScript, `react-scripts` (Create React App).
|
||||
- Entry: `src/App.tsx`.
|
||||
- Structure: `src/components/`, `src/routes/`, `src/stores/`, `src/lib/`, `src/websocket/`, `src/visualizations/`.
|
||||
- Static assets: `static/`.
|
||||
- No backend lives here — all data comes from the Ktor server (`apps/server/`).
|
||||
- `docs/visual/ref/` is the canonical JS/TS mockup for look-and-feel reference.
|
||||
|
||||
## Work Guidance
|
||||
|
||||
- Mirror the WS protocol used by `apps/tui-go/` — both clients consume the same server feed.
|
||||
- Do not duplicate business logic here; keep components thin and data-driven.
|
||||
- Check `docs/visual/ref/` before designing new UI elements.
|
||||
|
||||
## Verification
|
||||
|
||||
```bash
|
||||
cd frontend && npm run build
|
||||
```
|
||||
|
||||
## Child DOX Index
|
||||
|
||||
No child AGENTS.md (leaf directory).
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"name": "correx-web-ui",
|
||||
"version": "1.0.0",
|
||||
"description": "Web client for CORREX orchestration kernel",
|
||||
"main": "./src/App.tsx",
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
import React from 'react';
|
||||
import SessionView from './components/session/SessionView';
|
||||
import TaskBoard from './components/task/TaskBoard';
|
||||
import WorkflowDebugger from './components/workflow/WorkflowDebugger';
|
||||
import EventTimeline from './components/state/EventTimeline';
|
||||
import { api } from './services/api';
|
||||
import { actions } from './services/actions';
|
||||
|
||||
const App: React.FC = () => {
|
||||
// Placeholder for routing or state management
|
||||
return (
|
||||
<div style={{ padding: '20px', fontFamily: 'sans-serif' }}>
|
||||
<h1>CORREX Web Client</h1>
|
||||
<p>Welcome to the orchestration kernel interface.</p>
|
||||
|
||||
{/* Basic component placeholders */}
|
||||
<SessionView api={api} />
|
||||
<TaskBoard api={api} />
|
||||
<WorkflowDebugger api={api} />
|
||||
<EventTimeline api={api} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default App;
|
||||
@@ -1,8 +0,0 @@
|
||||
import React from 'react';
|
||||
|
||||
const SessionView: React.FC<{ api: any }> = ({ api }) => {
|
||||
// Implementation in Step 3
|
||||
return <div>Session View Component</div>;
|
||||
};
|
||||
|
||||
export default SessionView;
|
||||
Reference in New Issue
Block a user