PrismDesk

User Guide

This guide walks you through PrismDesk’s isolated browser shell, page perception, local SQL charts, model routing, and privacy controls.


1. Interface Overview

The desktop window is organized into four clean regions: Top Browser Shell, Main Web Viewport, Right AI Sidebar (or Plugin Panel), and Top Overlay Modals.

1.1 Top Browser Shell

  • Workspace Switcher (top-left pill): Switch or create isolated workspaces (e.g. “Production”, “Staging”). Each workspace uses a separate Session Partition so Cookies, LocalStorage, and IndexedDB never bleed across accounts.
  • Multi-Tab Bar: Right-click any tab to reload, duplicate, pin, pause/resume AI perception, hibernate to free memory, or open DevTools. Background tabs automatically freeze timers after 15 minutes and release renderer memory after 30 minutes.
  • Omnibox & Privacy Indicator: Toggle the left “AI Readable / Privacy Paused” badge per tab, or enter regular URLs and built-in routes (prism://start, prism://demo).
  • Quick Toolbar: Plugin Market, MCP Tools, PrismFlow Automation, Demo Page, Global Privacy Kill-Switch (shield icon), Bookmarks & History, Theme Switcher (Light / Dark / System), and Settings.

1.2 Right AI Sidebar

  • Resizable Width: Drag the left divider freely between 360px and 720px.
  • Context Bar: Click “Capture Page” (L1 DOM/tables + L2 CDP JSON + optional L3 screenshot) or keep auto-capture enabled. Expand captured tables and click “Locate” to trigger L4 smooth-scroll element highlighting on the original page.

2. Models & Privacy Routing

With no API keys configured, PrismDesk automatically runs in Built-In Demo Mode so you can test cross-iframe table capture, real local SQL queries, ECharts 5 export, and HITL approvals right away.

2.1 Connecting Any of 20 Built-In Providers

  1. Open Settings → Model Providers.
  2. Enable or add providers across three categories:
    • Cloud Vendors: OpenAI, Anthropic (Claude), Google Gemini, DeepSeek, Qwen, Zhipu GLM, Moonshot (Kimi), Volcengine (Doubao), MiniMax, xAI (Grok), Azure OpenAI.
    • Relays & Gateways: OpenRouter, SiliconFlow, OpenCode Go / Zen.
    • Local & Private Endpoints: Ollama (127.0.0.1:11434/v1), LM Studio (127.0.0.1:1234/v1), vLLM / LiteLLM, Magpie local gateway, or any custom OpenAI-compatible API.
  3. Click Fetch Models and Test Connection. All API keys are encrypted via Windows DPAPI or macOS Keychain (safeStorage) and never saved in plaintext.

2.2 DLP Redaction & Domain Locking

  • Automatic DLP Redaction: Strips JWTs, API keys (sk-... / ghp_...), phone numbers, national IDs, and optional emails before sending context to public models, displaying a live redaction count badge.
  • Domain Model Locking: Map sensitive domains (e.g. *.finance.corp) to your local Ollama or private vLLM endpoint, or block AI perception entirely.

3. 5-Minute First-Launch Walkthrough

  1. Test L1 Cross-Iframe Capture + Local SQL + ECharts 5
    • Click “Demo Page” in the top bar to open the built-in alert console (Ant Design table + embedded iframe deployment table + password redaction test).
    • Click “Capture Page” in the sidebar, verify both tables are detected, and click “Locate” to observe L4 highlighting.
    • Run the preset SQL prompt to inspect exact WASM SQL output and test PNG / CSV / SQL export buttons.
  2. Test HITL Write Approval & Audit Trail
    • Trigger the preset incident-ticket prompt to pause on the HITL Approval Card.
    • Click “Edit Parameters” to revise JSON fields inline, then click Approve or Reject and inspect the redacted record under MCP Tools → Audit Logs.

4. Frequently Asked Questions

  • Q: Why does my local Ollama connection fail? Ensure ollama serve is running locally and the selected model name matches ollama list, then use Fetch Models and Test Connection inside Settings.
  • Q: Does L2 network sniffing conflict with DevTools? No. Opening DevTools automatically and gracefully detaches PrismDesk’s CDP debugger on that tab.
  • Q: Can AI ever read password inputs on web pages? No. L1 hard-skips every type="password" and type="hidden" input at the extraction boundary, while L2 strips auth tokens from captured query strings.
  • Q: Where is my history and data stored? Everything stays locally on your machine inside PrismDesk’s local SQLite database — nothing is uploaded to any third-party cloud.