Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(office): give the coding floor the agents office's footprint
rubenluetke10-beep687f7ba0ce1d
diff --git a/jarvis/ui/web/frontend/src/components/society/office/officeLayout.test.ts b/jarvis/ui/web/frontend/src/components/society/office/officeLayout.test.tsindex e59b16b722..2e04d04d9b 100644--- a/jarvis/ui/web/frontend/src/components/society/office/officeLayout.test.ts+++ b/jarvis/ui/web/frontend/src/components/society/office/officeLayout.test.ts@@ -128,9 +128,9 @@ describe("office layout", () => {expect(layout.furniture.some((f) => f.room === "lead" || f.room === "wardrobe")).toBe(false);expect(layout.spots.some((s) => s.room === "focus")).toBe(true);expect(layout.spots.some((s) => s.room === "server")).toBe(true);- // The coding floor is wider (Mission Control's aisle), but the lobby is the- // same: the elevator stands at the same spot relative to the west edge.+ // Both floors share one footprint, and the elevator stands at the same spot on each.const below = buildOfficeLayout(roster);+ expect(layout.bounds).toEqual(below.bounds);const lift = (l: typeof layout) => l.checkpoints.find((c) => c.id === "elevator")!;expect(lift(layout).z).toBe(lift(below).z);expect(lift(layout).x - layout.bounds.minX).toBeCloseTo(lift(below).x - below.bounds.minX);diff --git a/jarvis/ui/web/frontend/src/components/society/office/officeLayout.ts b/jarvis/ui/web/frontend/src/components/society/office/officeLayout.tsindex 761dadda50..f11f0ecfd1 100644--- a/jarvis/ui/web/frontend/src/components/society/office/officeLayout.ts+++ b/jarvis/ui/web/frontend/src/components/society/office/officeLayout.ts@@ -16,9 +16,9 @@* holds a quiet focus zone · the team room · a server room instead of the lead* office and the wardrobe. It has no lead desks and only the elevator and* break-room checkpoints — nothing there creates or dresses society agents.- * Its centre aisle is wider and holds Mission Control: a screen on a floor- * stand between the two department columns, where new coding agents are- * started and several can be briefed at once.+ * It has exactly the agents office's footprint; its centre aisle holds+ * Mission Control: a screen on a floor stand between the two department+ * columns, where new coding agents are started and several can be briefed at once.*/import type { AgentRunState, AgentTier } from "../data";@@ -199,8 +199,6 @@ const DEPT_MARGIN_X = 1.1;const DEPT_HEADER_Z = 1.8;const DEPT_FOOTER_Z = 0.8;const AISLE = 3.2;-/** The coding floor's centre aisle: wide enough for Mission Control with a walkway on both sides. */-export const MISSION_AISLE = 5.6;/** How far round Mission Control's screen the person can use it, from its centre (metres). */export const MISSION_REACH = 1.5;const EDGE = 1.6;@@ -372,7 +370,9 @@ export function buildOfficeLayout(agents: readonly OfficeAgentInput[], options:if (groups.length === 1 && groups[0].members.length === 0) groups.length = 0;while (groups.length < MIN_DEPARTMENTS) groups.push({ label: "", members: [] });- const centreAisle = coding ? MISSION_AISLE : AISLE;+ // Both floors share one footprint: the elevator ride never changes the size of the world.+ // Mission Control's screen (1.4 m) fits the normal aisle with a walkway on each side.+ const centreAisle = AISLE;const floorWidth = COLUMNS * DEPT_WIDTH + (COLUMNS - 1) * centreAisle;const minX = -floorWidth / 2;const maxX = floorWidth / 2;