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
import { afterEach, describe, expect, it } from "vitest";
import { voiceModeEndpoint } from "./embeddedDesktop";
type DesktopWindow = Window & {
__JARVIS_EMBEDDED_DESKTOP?: boolean;
pywebview?: { api?: unknown };
};
const host = window as DesktopWindow;
describe("voiceModeEndpoint", () => {
afterEach(() => {
delete host.__JARVIS_EMBEDDED_DESKTOP;
delete host.pywebview;
});
it("identifies an embedded desktop request", () => {
host.__JARVIS_EMBEDDED_DESKTOP = true;
expect(voiceModeEndpoint()).toBe("/api/settings/voice-mode?surface=desktop");
});
it("leaves an ordinary browser on the shared endpoint", () => {
expect(voiceModeEndpoint()).toBe("/api/settings/voice-mode");
});
});