HarnessRouter Community Edition: the self-hosted, Apache-2.0 edition of the unified interface for agent harnesses. Run Codex, Claude Code, Hermes, PI, DSH, and more through one API, with sessions, streaming, files, cancellation, and failure handling. Implements the Unified Harness Protocol (UHP), an open standard. Your keys, your infrastructure.
Python agent-apiagent-frameworkagent-harnessai-agentsai-infrastructurecoding-agentconformance-testingdeepseek-harnessharness-engineeringhermesllmopen-protocolopen-sourceopen-standardpi-coding-agentself-hosteduhpunified-apiunified-harness-protocolunified-interface
'use client';
// The design's toast: one short line at the bottom centre, gone after a few seconds.
import { useEffect, useState } from 'react';
const EVENT = 'hrui:toast';
export function toast(msg: string): void {
if (typeof window !== 'undefined') window.dispatchEvent(new CustomEvent(EVENT, { detail: msg }));
}
export function ToastHost() {
const [msg, setMsg] = useState('');
useEffect(() => {
let t: ReturnType<typeof setTimeout> | undefined;
const on = (e: Event) => {
setMsg(String((e as CustomEvent).detail || ''));
if (t) clearTimeout(t);
t = setTimeout(() => setMsg(''), 2600);
};
window.addEventListener(EVENT, on);
return () => { window.removeEventListener(EVENT, on); if (t) clearTimeout(t); };
}, []);
return <div className="toast" role="status" hidden={!msg}>{msg}</div>;
}