feat(workstate): UI live-state des conversations/délégations (Lot A frontend)

Ajoute le port et l'adaptateur workState (+ mock) côté frontend, le type domaine
associé, et la feature `workstate` (panneau ProjectWorkStatePanel + hook
useProjectWorkState) consommant le read-model live exposé par le backend.
Intègre le panneau dans ProjectsView. Tests verts (workstate + projects).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-20 18:06:28 +02:00
parent aae18499a9
commit 17685a08e1
11 changed files with 397 additions and 1 deletions

View File

@ -25,6 +25,7 @@ import { TauriMemoryGateway } from "./memory";
import { TauriEmbedderGateway } from "./embedder";
import { TauriGitGateway } from "./git";
import { TauriPermissionGateway } from "./permission";
import { TauriWorkStateGateway } from "./workState";
function notImplemented(what: string): never {
const err: GatewayError = {
@ -57,6 +58,7 @@ export function createTauriGateways(): Gateways {
memory: new TauriMemoryGateway(),
embedder: new TauriEmbedderGateway(),
permission: new TauriPermissionGateway(),
workState: new TauriWorkStateGateway(),
};
}
@ -74,4 +76,5 @@ export {
TauriEmbedderGateway,
TauriGitGateway,
TauriPermissionGateway,
TauriWorkStateGateway,
};