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
feat(ui): the storefront drawer says where an install would reach
Haralddafe90e1f3a1
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.jsonindex cd1dd4b9e3..6c43d944e2 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json@@ -4621,6 +4621,14 @@"landed_skill": "Liegt jetzt unter Skills und ist sofort einsatzbereit.","landed_wallpaper": "Liegt jetzt unter Hintergrund — auswählen, um es zu setzen.","landed_needs_connect": "Installiert, aber noch nicht nutzbar: es muss noch verbunden werden.",+ "sends_data_to": "Sobald verbunden, gehen Anfragen und dein Zugriffstoken an:",+ "runs_command": "Sobald verbunden, läuft dieser Befehl auf deinem Rechner:",+ "metadata_only": "Nur Metadaten — das ergänzt keinen Server und führt keinen Befehl aus.",+ "sign_in_method": "Anmeldeweg",+ "portable_skill": "Portabler Skill — läuft auch in",+ "portable_any": "anderen Agenten, die SKILL.md lesen",+ "license": "Lizenz",+ "seed_conflict": "Ein Plugin dieses Namens liegt der App schon bei. Dieses hier ersetzt es.","landed_open": "Zeig es mir"}}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.jsonindex 2878cd330d..5f055959e7 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json@@ -4621,6 +4621,14 @@"landed_skill": "It is in Skills now and can be used right away.","landed_wallpaper": "It is in Wallpaper now — pick it to apply it.","landed_needs_connect": "Installed, but not usable yet: it still needs to be connected.",+ "sends_data_to": "Once connected, requests and your access token go to:",+ "runs_command": "Once connected, this command runs on your computer:",+ "metadata_only": "Metadata only — this adds no server and runs no command.",+ "sign_in_method": "Sign-in method",+ "portable_skill": "Portable skill — also runs in",+ "portable_any": "other agents that read SKILL.md",+ "license": "Licence",+ "seed_conflict": "A plugin of this name already ships with the app. Installing this one replaces it.","landed_open": "Show me"}}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.jsonindex 2bbaa9aed7..5159a9b5b0 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json@@ -4621,6 +4621,14 @@"landed_skill": "Ya está en Skills y se puede usar enseguida.","landed_wallpaper": "Ya está en Fondo de pantalla: elígelo para aplicarlo.","landed_needs_connect": "Instalado, pero todavía no se puede usar: falta conectarlo.",+ "sends_data_to": "Una vez conectado, las peticiones y tu token de acceso van a:",+ "runs_command": "Una vez conectado, este comando se ejecuta en tu ordenador:",+ "metadata_only": "Solo metadatos: no añade ningún servidor ni ejecuta ningún comando.",+ "sign_in_method": "Forma de iniciar sesión",+ "portable_skill": "Skill portable: también funciona en",+ "portable_any": "otros agentes que leen SKILL.md",+ "license": "Licencia",+ "seed_conflict": "La app ya trae un plugin con este nombre. Instalar este lo sustituye.","landed_open": "Muéstramelo"}}diff --git a/jarvis/ui/web/frontend/src/views/MarketplaceView.test.tsx b/jarvis/ui/web/frontend/src/views/MarketplaceView.test.tsxindex c1bbe8de6f..cc768234d2 100644--- a/jarvis/ui/web/frontend/src/views/MarketplaceView.test.tsx+++ b/jarvis/ui/web/frontend/src/views/MarketplaceView.test.tsx@@ -60,6 +60,8 @@ const INDEX: CommunityResponse = {version: "1.0.0",source_url: "https://github.com/PersonalJarvis/marketplace/tree/main/plugins/sentry",auth: { mode: "hosted_mcp_oauth_dcr" },+ // Exactly the shape the live index serves for this entry.+ mcp_server: { transport: "http", url: "https://mcp.sentry.dev/mcp" },installed: false,},],@@ -199,6 +201,43 @@ describe("MarketplaceView", () => {expect(screen.getByText("Three Bullet Brief")).toBeTruthy();});+ it("says where a plugin would send data before it can be installed", async () => {+ installFetchMock();+ renderView();+ await screen.findByText("Sentry");++ fireEvent.click(screen.getByText("Sentry"));++ // The destination is spelled out verbatim — a file listing alone does not+ // tell anybody where their access token ends up.+ expect(+ await screen.findByText(/requests and your access token go to/i),+ ).toBeTruthy();+ expect(screen.getByText("https://mcp.sentry.dev/mcp")).toBeTruthy();+ expect(screen.getByText("OAuth sign-in")).toBeTruthy();+ });++ it("names the command a stdio plugin would run", async () => {+ installFetchMock({+ plugins: [+ {+ ...INDEX.plugins[0],+ name: "local-tool",+ id: "local-tool",+ display_name: "Local Tool",+ auth: undefined,+ mcp_server: { transport: "stdio", install: ["npx", "-y", "some-server"] },+ },+ ],+ });+ renderView();++ fireEvent.click(await screen.findByText("Local Tool"));++ expect(await screen.findByText(/runs on your computer/i)).toBeTruthy();+ expect(screen.getByText("npx -y some-server")).toBeTruthy();+ });+it("shows the published files before install is reachable", async () => {installFetchMock();renderView();diff --git a/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx b/jarvis/ui/web/frontend/src/views/MarketplaceView.tsxindex 644a255365..6c32e52c61 100644--- a/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx+++ b/jarvis/ui/web/frontend/src/views/MarketplaceView.tsx@@ -77,6 +77,23 @@ interface Entry {/** A plugin whose manifest this client could not read. */broken?: boolean;problem?: string | null;+ /**+ * Where installing this would eventually send data, or what it would run.+ *+ * The whole reason the drawer exists: the registry auto-merges submissions+ * that pass automated checks, so the only honest consent is showing the+ * destination verbatim before the button is pressed — the same three cases+ * the plugin consent dialog spells out (hosted URL / stdio argv / neither).+ */+ mcp?: { transport?: string; url?: string; install?: string[] } | null;+ /** How connecting works, once installed. Plugins only. */+ authMode?: string | null;+ /** A plugin the shipped seed catalog already carries under this name. */+ seedConflict?: boolean;+ /** Skills only: a portable Agent Skill states the agents it also runs in. */+ portableAgents?: string[] | null;+ /** Wallpapers only. */+ license?: string | null;}/** Where an installed entry of this kind now lives in the app. */@@ -104,6 +121,9 @@ function pluginEntry(p: CommunityPluginWire): Entry {logoColor: /^[0-9a-fA-F]{6}$/.test(raw) ? `#${raw}` : null,broken: !p.valid,problem: p.error ?? null,+ mcp: p.mcp_server ?? null,+ authMode: p.auth?.mode ?? null,+ seedConflict: Boolean(p.seed_conflict),};}@@ -118,6 +138,7 @@ function skillEntry(s: CommunitySkillWire): Entry {categories: s.categories ?? [],sourceUrl: s.source_url,installed: Boolean(s.installed),+ portableAgents: s.flavor === "portable" ? (s.compatible_agents ?? []) : null,};}@@ -133,6 +154,7 @@ function wallpaperEntry(w: CommunityWallpaperWire): Entry {sourceUrl: w.source_url,installed: Boolean(w.installed),thumbUrl: w.thumb_url ?? w.raw_url ?? null,+ license: w.license ?? null,};}@@ -807,6 +829,8 @@ function EntryDrawer({{t("marketplace.unreviewed_note")}</p>+ <Destination entry={entry} t={t} />+{entry.sourceUrl && (<Buttonvariant="outline"@@ -895,6 +919,82 @@ function EntryDrawer({);}+/**+ * What installing this would actually reach.+ *+ * A plugin is a door to somebody else's service: the hosted URL its requests+ * and access token go to, or the command it would run on this computer. The+ * plugin consent dialog has always said this verbatim, and now that the drawer+ * is a second way to install, it has to say it too — a file listing alone does+ * not tell anybody where their data ends up.+ */+function Destination({ entry, t }: { entry: Entry; t: Translate }) {+ const rows: { label: string; value?: string; code?: string }[] = [];++ if (entry.kind === "plugin") {+ const mcp = entry.mcp;+ if (mcp?.transport === "stdio") {+ rows.push({+ label: t("marketplace.runs_command"),+ code: (mcp.install ?? []).join(" "),+ });+ } else if (mcp?.url) {+ rows.push({ label: t("marketplace.sends_data_to"), code: mcp.url });+ } else {+ rows.push({ label: t("marketplace.metadata_only") });+ }+ const auth = entry.authMode ? AUTH_MODE_LABEL[entry.authMode] : undefined;+ if (auth) rows.push({ label: t("marketplace.sign_in_method"), value: auth });+ }++ if (entry.portableAgents) {+ rows.push({+ label: t("marketplace.portable_skill"),+ value:+ entry.portableAgents.length > 0+ ? entry.portableAgents.join(", ")+ : t("marketplace.portable_any"),+ });+ }++ if (entry.license) {+ rows.push({ label: t("marketplace.license"), value: entry.license });+ }++ if (rows.length === 0) return null;++ return (+ <div className="space-y-2">+ {entry.seedConflict && (+ <p className="flex items-start gap-2 rounded-lg border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-xs text-amber-700 dark:text-amber-300">+ <AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0" />+ {t("marketplace.seed_conflict")}+ </p>+ )}+ {rows.map((row) => (+ <div key={row.label}>+ <p className="mb-1 text-xs font-medium text-foreground">{row.label}</p>+ {row.code && (+ <code className="block break-all rounded-md border border-border bg-muted/40 px-2 py-1.5 text-xs text-foreground">+ {row.code}+ </code>+ )}+ {row.value && <p className="text-xs text-muted-foreground">{row.value}</p>}+ </div>+ ))}+ </div>+ );+}++/** Mirrors the plugin consent dialog's labels — one vocabulary for one act. */+const AUTH_MODE_LABEL: Record<string, string> = {+ pat_paste: "Personal access token",+ oauth_device_flow: "Device sign-in",+ hosted_mcp_oauth_dcr: "OAuth sign-in",+ oauth_pkce_loopback: "OAuth sign-in",+ hosted_mcp_allowlist: "Account allowlist",+};+/*** Where the thing landed — and the way to it.*diff --git a/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx b/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsxindex 6595cbdadd..bb4520ee64 100644--- a/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx+++ b/jarvis/ui/web/frontend/src/views/PluginsCommunity.tsx@@ -102,6 +102,8 @@ export interface CommunityWallpaperWire {raw_url?: string | null;/** The small preview the registry publishes next to the full image. */thumb_url?: string | null;+ /** SPDX id the publisher declared for the artwork. */+ license?: string | null;theme?: string | null;installed: boolean;}