Add Epiphany GUI operator shell
This commit is contained in:
parent
d3840fad2e
commit
a2c44a52a3
23 changed files with 8188 additions and 17 deletions
253
apps/epiphany-gui/src/App.tsx
Normal file
253
apps/epiphany-gui/src/App.tsx
Normal file
|
|
@ -0,0 +1,253 @@
|
|||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { AlertTriangle, BriefcaseBusiness, ClipboardCheck, Database, FileText, GitBranch, RefreshCw } from "lucide-react";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import type { ArtifactBundle, OperatorSnapshot, StatusRequest } from "./types";
|
||||
|
||||
const roleOrder = ["implementation", "modeling", "verification", "reorientation"];
|
||||
|
||||
function text(value: unknown, fallback = "none"): string {
|
||||
if (value === null || value === undefined || value === "") {
|
||||
return fallback;
|
||||
}
|
||||
if (typeof value === "string") {
|
||||
return value;
|
||||
}
|
||||
if (typeof value === "number" || typeof value === "boolean") {
|
||||
return String(value);
|
||||
}
|
||||
return fallback;
|
||||
}
|
||||
|
||||
function listText(value: unknown, fallback = "none"): string {
|
||||
return Array.isArray(value) && value.length > 0 ? value.map(String).join(", ") : fallback;
|
||||
}
|
||||
|
||||
function statusClass(value: unknown): string {
|
||||
const lower = text(value).toLowerCase();
|
||||
if (lower.includes("blocked") || lower.includes("critical") || lower.includes("regather")) return "danger";
|
||||
if (lower.includes("needed") || lower.includes("review") || lower.includes("prepare") || lower.includes("high")) return "warn";
|
||||
if (lower.includes("completed") || lower.includes("ready") || lower.includes("continue") || lower.includes("pass")) return "ok";
|
||||
return "neutral";
|
||||
}
|
||||
|
||||
function useSnapshot() {
|
||||
const [snapshot, setSnapshot] = useState<OperatorSnapshot | null>(null);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
const [request, setRequest] = useState<StatusRequest>({});
|
||||
|
||||
async function refresh(nextRequest = request) {
|
||||
setLoading(true);
|
||||
setError(null);
|
||||
try {
|
||||
const result = await invoke<OperatorSnapshot>("load_operator_snapshot", { request: nextRequest });
|
||||
setSnapshot(result);
|
||||
} catch (err) {
|
||||
setError(err instanceof Error ? err.message : String(err));
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
void refresh({});
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
return { snapshot, loading, error, request, setRequest, refresh };
|
||||
}
|
||||
|
||||
export function App() {
|
||||
const { snapshot, loading, error, request, setRequest, refresh } = useSnapshot();
|
||||
const status = snapshot?.status;
|
||||
const scene = status?.scene?.scene ?? {};
|
||||
const pressure = status?.pressure?.pressure ?? {};
|
||||
const reorient = status?.reorient?.decision ?? {};
|
||||
const crrc = status?.crrc?.recommendation ?? {};
|
||||
const coordinator = status?.coordinator ?? {};
|
||||
const roles = useMemo(() => {
|
||||
const lanes = status?.roles?.roles;
|
||||
if (!Array.isArray(lanes)) return [];
|
||||
return [...lanes].sort((a, b) => roleOrder.indexOf(text(a.id)) - roleOrder.indexOf(text(b.id)));
|
||||
}, [status]);
|
||||
const jobs: any[] = Array.isArray(status?.jobs?.jobs) ? status.jobs.jobs : [];
|
||||
const roleResults = status?.roleResults ?? {};
|
||||
const reorientResult = status?.reorientResult ?? {};
|
||||
|
||||
return (
|
||||
<main className="shell">
|
||||
<header className="topbar">
|
||||
<div>
|
||||
<p className="eyebrow">Epiphany MVP</p>
|
||||
<h1>Operator Console</h1>
|
||||
</div>
|
||||
<button className="primaryButton" onClick={() => void refresh()} disabled={loading} title="Refresh status">
|
||||
<RefreshCw size={16} aria-hidden="true" />
|
||||
{loading ? "Refreshing" : "Refresh"}
|
||||
</button>
|
||||
</header>
|
||||
|
||||
<section className="controls" aria-label="Connection">
|
||||
<label>
|
||||
Thread ID
|
||||
<input
|
||||
placeholder="start ephemeral status thread"
|
||||
value={request.threadId ?? ""}
|
||||
onChange={(event) => setRequest({ ...request, threadId: event.target.value || undefined })}
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
Workspace
|
||||
<input
|
||||
placeholder={snapshot?.repoRoot ?? "repo root"}
|
||||
value={request.cwd ?? ""}
|
||||
onChange={(event) => setRequest({ ...request, cwd: event.target.value || undefined })}
|
||||
/>
|
||||
</label>
|
||||
</section>
|
||||
|
||||
{error && (
|
||||
<section className="notice dangerNotice" role="alert">
|
||||
<AlertTriangle size={18} aria-hidden="true" />
|
||||
<span>{error}</span>
|
||||
</section>
|
||||
)}
|
||||
|
||||
<section className="statusGrid" aria-label="Coordinator summary">
|
||||
<Panel title="Recommendation" icon={<ClipboardCheck size={18} />}>
|
||||
<div className={`actionBanner ${statusClass(coordinator.action ?? crrc.action)}`}>
|
||||
<strong>{text(coordinator.action ?? crrc.action, "unknown")}</strong>
|
||||
<span>{text(coordinator.targetRole ?? crrc.recommendedSceneAction)}</span>
|
||||
</div>
|
||||
<p className="reason">{text(coordinator.reason ?? crrc.reason, "No recommendation loaded yet.")}</p>
|
||||
<dl className="facts">
|
||||
<div><dt>Thread</dt><dd>{text(status?.threadId)}</dd></div>
|
||||
<div><dt>State</dt><dd>{text(scene.stateStatus)} rev {text(scene.revision)}</dd></div>
|
||||
<div><dt>Requires review</dt><dd>{text(coordinator.requiresReview)}</dd></div>
|
||||
</dl>
|
||||
</Panel>
|
||||
|
||||
<Panel title="Continuity" icon={<GitBranch size={18} />}>
|
||||
<dl className="facts">
|
||||
<div><dt>Pressure</dt><dd><Pill tone={statusClass(pressure.level)}>{text(pressure.level)}</Pill></dd></div>
|
||||
<div><dt>Prepare compaction</dt><dd>{text(pressure.shouldPrepareCompaction)}</dd></div>
|
||||
<div><dt>Reorient</dt><dd><Pill tone={statusClass(reorient.action)}>{text(reorient.action)}</Pill></dd></div>
|
||||
<div><dt>Reasons</dt><dd>{listText(reorient.reasons)}</dd></div>
|
||||
</dl>
|
||||
<p className="reason">{text(reorient.nextAction)}</p>
|
||||
</Panel>
|
||||
</section>
|
||||
|
||||
<section className="sectionBand">
|
||||
<SectionHeader title="Role Lanes" icon={<BriefcaseBusiness size={18} />} />
|
||||
<div className="cardGrid">
|
||||
{roles.map((role) => (
|
||||
<article className="laneCard" key={text(role.id)}>
|
||||
<div className="cardTopline">
|
||||
<h3>{text(role.title)}</h3>
|
||||
<Pill tone={statusClass(role.status)}>{text(role.status)}</Pill>
|
||||
</div>
|
||||
<p>{text(role.note)}</p>
|
||||
<span className="owner">{text(role.ownerRole)}</span>
|
||||
</article>
|
||||
))}
|
||||
{roles.length === 0 && <EmptyState label="No role lanes loaded." />}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="sectionBand twoColumn">
|
||||
<div>
|
||||
<SectionHeader title="Findings" icon={<FileText size={18} />} />
|
||||
<div className="stack">
|
||||
<Finding title="Modeling / Checkpoint" result={roleResults.modeling} />
|
||||
<Finding title="Verification / Review" result={roleResults.verification} />
|
||||
<Finding title="Reorientation" result={reorientResult} findingKey="finding" />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<SectionHeader title="Jobs" icon={<Database size={18} />} />
|
||||
<div className="stack">
|
||||
{jobs.map((job) => (
|
||||
<article className="jobRow" key={text(job.id)}>
|
||||
<div>
|
||||
<strong>{text(job.id)}</strong>
|
||||
<span>{text(job.kind)} · {text(job.ownerRole)}</span>
|
||||
</div>
|
||||
<Pill tone={statusClass(job.status)}>{text(job.status)}</Pill>
|
||||
</article>
|
||||
))}
|
||||
{jobs.length === 0 && <EmptyState label="No jobs loaded." />}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section className="sectionBand">
|
||||
<SectionHeader title="Artifact Bundles" icon={<FileText size={18} />} />
|
||||
<div className="artifactTable" role="table" aria-label="Artifact bundles">
|
||||
<div className="artifactHeader" role="row">
|
||||
<span>Name</span>
|
||||
<span>Files</span>
|
||||
<span>Path</span>
|
||||
</div>
|
||||
{(snapshot?.artifacts ?? []).map((artifact: ArtifactBundle) => (
|
||||
<div className="artifactRow" role="row" key={artifact.path}>
|
||||
<strong>{artifact.name}</strong>
|
||||
<span>{artifact.files.length}</span>
|
||||
<code title={artifact.path}>{artifact.path}</code>
|
||||
</div>
|
||||
))}
|
||||
{(snapshot?.artifacts ?? []).length === 0 && <EmptyState label="No dogfood artifact bundles found." />}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
function Panel({ title, icon, children }: { title: string; icon: React.ReactNode; children: React.ReactNode }) {
|
||||
return (
|
||||
<section className="panel">
|
||||
<SectionHeader title={title} icon={icon} />
|
||||
{children}
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
function SectionHeader({ title, icon }: { title: string; icon: React.ReactNode }) {
|
||||
return (
|
||||
<div className="sectionHeader">
|
||||
{icon}
|
||||
<h2>{title}</h2>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function Pill({ tone, children }: { tone: string; children: React.ReactNode }) {
|
||||
return <span className={`pill ${tone}`}>{children}</span>;
|
||||
}
|
||||
|
||||
function Finding({ title, result, findingKey = "finding" }: { title: string; result: any; findingKey?: string }) {
|
||||
const finding = result?.[findingKey];
|
||||
return (
|
||||
<article className="findingCard">
|
||||
<div className="cardTopline">
|
||||
<h3>{title}</h3>
|
||||
<Pill tone={statusClass(result?.status)}>{text(result?.status)}</Pill>
|
||||
</div>
|
||||
{finding ? (
|
||||
<>
|
||||
<p>{text(finding.summary ?? finding.nextSafeMove ?? finding.mode ?? finding.verdict)}</p>
|
||||
<dl className="facts compact">
|
||||
<div><dt>Verdict</dt><dd>{text(finding.verdict ?? finding.mode)}</dd></div>
|
||||
<div><dt>Next</dt><dd>{text(finding.nextSafeMove)}</dd></div>
|
||||
</dl>
|
||||
</>
|
||||
) : (
|
||||
<p>{text(result?.note, "No finding available.")}</p>
|
||||
)}
|
||||
</article>
|
||||
);
|
||||
}
|
||||
|
||||
function EmptyState({ label }: { label: string }) {
|
||||
return <p className="emptyState">{label}</p>;
|
||||
}
|
||||
10
apps/epiphany-gui/src/main.tsx
Normal file
10
apps/epiphany-gui/src/main.tsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import { App } from "./App";
|
||||
import "./styles.css";
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>,
|
||||
);
|
||||
397
apps/epiphany-gui/src/styles.css
Normal file
397
apps/epiphany-gui/src/styles.css
Normal file
|
|
@ -0,0 +1,397 @@
|
|||
:root {
|
||||
color: #172018;
|
||||
background: #f7f8f5;
|
||||
font-family:
|
||||
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
sans-serif;
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(240, 243, 237, 0.88), rgba(248, 249, 246, 1)),
|
||||
#f7f8f5;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(1440px, calc(100vw - 32px));
|
||||
margin: 0 auto;
|
||||
padding: 24px 0 36px;
|
||||
}
|
||||
|
||||
.topbar,
|
||||
.controls,
|
||||
.statusGrid,
|
||||
.twoColumn {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
grid-template-columns: 1fr auto;
|
||||
align-items: center;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin: 0 0 4px;
|
||||
color: #5f6b61;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: clamp(1.6rem, 3vw, 2.35rem);
|
||||
line-height: 1.08;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 0.94rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.primaryButton {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
min-height: 38px;
|
||||
border: 1px solid #244d3a;
|
||||
border-radius: 6px;
|
||||
padding: 0 14px;
|
||||
color: #f8fff8;
|
||||
background: #244d3a;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.primaryButton:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.68;
|
||||
}
|
||||
|
||||
.controls {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
color: #465047;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
min-height: 38px;
|
||||
border: 1px solid #ccd4ca;
|
||||
border-radius: 6px;
|
||||
padding: 0 11px;
|
||||
color: #172018;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.notice,
|
||||
.panel,
|
||||
.laneCard,
|
||||
.findingCard,
|
||||
.jobRow,
|
||||
.artifactTable {
|
||||
border: 1px solid #d9ded5;
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 1px 2px rgba(23, 32, 24, 0.04);
|
||||
}
|
||||
|
||||
.notice {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-bottom: 16px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.dangerNotice {
|
||||
border-color: #d9b1a4;
|
||||
color: #6b2418;
|
||||
background: #fff7f4;
|
||||
}
|
||||
|
||||
.statusGrid {
|
||||
grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.panel,
|
||||
.sectionBand {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.sectionBand {
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.sectionHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-height: 24px;
|
||||
margin-bottom: 12px;
|
||||
color: #263229;
|
||||
}
|
||||
|
||||
.actionBanner {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
min-height: 46px;
|
||||
border-radius: 8px;
|
||||
padding: 10px 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.actionBanner strong {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.actionBanner span {
|
||||
color: rgba(23, 32, 24, 0.68);
|
||||
font-size: 0.84rem;
|
||||
}
|
||||
|
||||
.ok {
|
||||
background: #e7f3eb;
|
||||
color: #1d5d39;
|
||||
}
|
||||
|
||||
.warn {
|
||||
background: #fff4d9;
|
||||
color: #76520b;
|
||||
}
|
||||
|
||||
.danger {
|
||||
background: #fde8e1;
|
||||
color: #8d2d1c;
|
||||
}
|
||||
|
||||
.neutral {
|
||||
background: #edf0f2;
|
||||
color: #39454b;
|
||||
}
|
||||
|
||||
.reason {
|
||||
color: #3e493f;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.facts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
margin: 14px 0 0;
|
||||
}
|
||||
|
||||
.facts.compact {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.facts div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
color: #667168;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 4px 0 0;
|
||||
overflow-wrap: anywhere;
|
||||
color: #172018;
|
||||
}
|
||||
|
||||
.pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 24px;
|
||||
max-width: 100%;
|
||||
border-radius: 999px;
|
||||
padding: 2px 9px;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.cardGrid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(180px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.laneCard,
|
||||
.findingCard,
|
||||
.jobRow {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.laneCard p,
|
||||
.findingCard p {
|
||||
min-height: 42px;
|
||||
margin-top: 10px;
|
||||
color: #435045;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.42;
|
||||
}
|
||||
|
||||
.owner {
|
||||
display: block;
|
||||
margin-top: 12px;
|
||||
color: #68726a;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.cardTopline,
|
||||
.jobRow,
|
||||
.artifactHeader,
|
||||
.artifactRow {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.cardTopline {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.twoColumn {
|
||||
grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
|
||||
}
|
||||
|
||||
.stack {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.jobRow {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.jobRow div {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.jobRow span {
|
||||
color: #657069;
|
||||
font-size: 0.82rem;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.artifactTable {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.artifactHeader,
|
||||
.artifactRow {
|
||||
grid-template-columns: minmax(180px, 0.6fr) 72px minmax(220px, 1fr);
|
||||
min-height: 42px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.artifactHeader {
|
||||
color: #606a62;
|
||||
background: #f0f3ef;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.artifactRow + .artifactRow {
|
||||
border-top: 1px solid #edf0eb;
|
||||
}
|
||||
|
||||
code {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
color: #36503f;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.emptyState {
|
||||
border: 1px dashed #cbd3c8;
|
||||
border-radius: 8px;
|
||||
padding: 14px;
|
||||
color: #69736b;
|
||||
background: #fbfcfa;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.statusGrid,
|
||||
.twoColumn,
|
||||
.controls {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.cardGrid {
|
||||
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.shell {
|
||||
width: min(100vw - 20px, 1440px);
|
||||
padding-top: 14px;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.cardGrid,
|
||||
.facts,
|
||||
.facts.compact,
|
||||
.artifactHeader,
|
||||
.artifactRow {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.artifactHeader {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.artifactRow {
|
||||
gap: 4px;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
}
|
||||
23
apps/epiphany-gui/src/types.ts
Normal file
23
apps/epiphany-gui/src/types.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
export interface StatusRequest {
|
||||
threadId?: string;
|
||||
cwd?: string;
|
||||
codexHome?: string;
|
||||
appServer?: string;
|
||||
}
|
||||
|
||||
export interface ArtifactBundle {
|
||||
name: string;
|
||||
path: string;
|
||||
files: string[];
|
||||
summaryPath?: string;
|
||||
finalStatusPath?: string;
|
||||
comparisonPath?: string;
|
||||
modifiedMillis?: number;
|
||||
}
|
||||
|
||||
export interface OperatorSnapshot {
|
||||
generatedAt: string;
|
||||
repoRoot: string;
|
||||
status: any;
|
||||
artifacts: ArtifactBundle[];
|
||||
}
|
||||
Reference in a new issue