Phase 1 of the hexagonal-architecture plan (dtoro/oikos plans/2026-08-15-hexagonal-architecture.md). Moves the delivery stack for the control-room UI into its own repo with its own pipeline: - web/ — Svelte 5 SPA, verbatim (vendor/ included) - desktop/ — Wails v3 wrapper, updateURL repointed to dtoro/oikos-web releases - compose/ — Dockerfile + Caddyfile, verbatim (the /wails/* 404 and asset no-fallback quirks are load-bearing) - docker-compose.yml — single web service, same 8091:80 publish, mem/cpu limits, and restart policy as the oikos stack's web service - scripts/deploy.sh — mirrors oikos deploy essentials: CI-green gate, TOCTOU guard, version-tagged oikos-web:v$VERSION, prune to 3 - cmd/webhook + scripts/install-webhook.sh — standalone push-to-deploy receiver on :9798 (env-only secrets, no Infisical dependency) - CI: the web job from oikos's ci.yml + the desktop build/release workflow, path-adjusted Own VERSION (0.33.0) with the same bump-on-main rule; starts above oikos's 0.32.x so the desktop updater sees an upgrade.
49 lines
1.7 KiB
HTML
49 lines
1.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Orby · Web component example</title>
|
|
<link rel="stylesheet" href="./example.css" />
|
|
<script type="module" src="../src/web-component-register.js"></script>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>Web component</h1>
|
|
<p>
|
|
Drop the dependency-free custom element into a page, then drive its
|
|
attributes or call the forwarded engine methods.
|
|
</p>
|
|
<div class="glyph-stage">
|
|
<joan-glyph
|
|
id="glyph"
|
|
sprite="ai.ambient-thinking"
|
|
seed="self-service-component"
|
|
resolution="68"
|
|
orb-boundary="gestalt"
|
|
></joan-glyph>
|
|
</div>
|
|
<div class="actions" role="group" aria-label="Choose a semantic state">
|
|
<button type="button" data-sprite="ai.ambient-idle">Ambient ready</button>
|
|
<button type="button" data-sprite="ai.ambient-thinking">Thinking</button>
|
|
<button type="button" data-sprite="status.success">Done</button>
|
|
</div>
|
|
<p id="stateStatus" role="status">Current state: ai.ambient-thinking</p>
|
|
</main>
|
|
|
|
<script type="module">
|
|
const glyph = document.querySelector("#glyph");
|
|
const status = document.querySelector("#stateStatus");
|
|
|
|
document.querySelectorAll("[data-sprite]").forEach((button) => {
|
|
button.addEventListener("click", async () => {
|
|
const sprite = button.dataset.sprite;
|
|
status.textContent = `Transitioning to ${sprite}…`;
|
|
await glyph.transitionTo(sprite);
|
|
status.textContent = `Current state: ${sprite}`;
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|