agent.run gains views: the agent may return an OpenUI Lang view of its answer through an optional view tool, read as steps.<id>.view. human.approve stores it as the task's plan_view, and the approval card renders it with the dashboard's own components, falling back to the plan text when there is no view or it does not parse. The feasibility prd step uses it.
47 lines
1.8 KiB
HTML
47 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Archie</title>
|
|
<script>
|
|
// Set before the first paint so a reload does not flash the wrong
|
|
// palette or layout. Kept in sync with the appearance Pinia store;
|
|
// blocked site data falls back to dark, comfortable spacing and the
|
|
// system motion preference.
|
|
(function () {
|
|
var theme = "dark";
|
|
try {
|
|
var storedTheme = localStorage.getItem("archie.theme");
|
|
if (storedTheme === "light") theme = "light";
|
|
if (storedTheme === "system") {
|
|
theme = matchMedia("(prefers-color-scheme: dark)").matches
|
|
? "dark"
|
|
: "light";
|
|
}
|
|
if (localStorage.getItem("archie.density") === "compact") {
|
|
document.documentElement.dataset.density = "compact";
|
|
}
|
|
if (localStorage.getItem("archie.motion") === "reduced") {
|
|
document.documentElement.dataset.motion = "reduced";
|
|
}
|
|
} catch (e) {
|
|
/* default stands */
|
|
}
|
|
document.documentElement.dataset.theme = theme;
|
|
})();
|
|
</script>
|
|
<script type="module" crossorigin src="/assets/index.js"></script>
|
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime.js">
|
|
<link rel="modulepreload" crossorigin href="/assets/PageHeader.js">
|
|
<link rel="modulepreload" crossorigin href="/assets/createLucideIcon.js">
|
|
<link rel="modulepreload" crossorigin href="/assets/badge.js">
|
|
<link rel="modulepreload" crossorigin href="/assets/input.js">
|
|
<link rel="stylesheet" crossorigin href="/assets/index.css">
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|