A TypeScript SDK for visible human and AI pointers in web and Electron applications.
Show where another participant is pointing. Let an assistant guide someone to a control and invoke an action the application has registered.
Website · Why Cursor · Architecture · Run the demo · Developer setup · Agent documentation · Documentation · Product icon
Status · The reference demo runs in a browser and Electron. Select an installed AI CLI in Electron or connect the browser to a loopback model server. Chat can guide the pointer to Settings or open the panel.
In a shared view, a visible pointer can show another participant’s current target or what an assistant is about to do. Pixel Brewery applications need the same interaction in a browser tab and an Electron window. A shared implementation gives those applications one way to position pointers and associate them with participants.
Each application supplies its own view identity, realtime connection and action handlers. A participant can indicate a settings control in a shared view. An assistant can point to the same control, then ask the application to open it through its registered action.
The TypeScript core owns pointer state and action requests. A browser library attaches that state to an application surface and draws the pointers. Electron uses the same library in its renderer. Angular, React, Vue and Svelte adapters connect the same controller to their component lifecycles.
flowchart LR
Transport[Host realtime transport] --> Core[Cursor core]
Assistant[Host assistant] --> Core
Core --> Browser[Browser renderer]
Browser --> Web[Web application]
Browser --> Electron[Electron renderer]
Core --> Actions[Registered host actions]
| Application need | SDK boundary |
|---|---|
| Show a participant’s pointer within the active view | Track current pointer state and render it within the registered surface |
| Position a pointer across viewport sizes | Resolve a shared surface position or a registered target in the receiving view |
| Guide a person to a control | Move the assistant pointer to a registered, visible target |
| Execute an allowed step | Invoke a registered handler through the host’s authorization decision |
| Integrate with four UI frameworks | Mount and dispose the same browser controller through thin adapters |
For Electron, run yarn demo:electron and complete the local connection setup in the app. For the browser, start the loopback model, then run the browser demo from the workspace root.
yarn demo:webOpen the reference view in two tabs, or pair the browser with yarn demo:electron. Move each pointer inside the shared view. Enter Zeig mir die Einstellungen to see the assistant indicate the control, then enter Öffne die Einstellungen to open its panel.
Use Node.js 24.15 or later and the pinned Yarn 4.18.1. Supply GITHUB_TOKEN in the calling environment with read access to Pixel Brewery’s GitHub Packages registry for the Mosaik catalog dependency.
corepack enable
yarn install --immutable
yarn agents:sync
yarn agents:check
yarn agents:mcp-checkStart with AGENTS.md. The project derives its architecture and design skills from pinned Pixel Brewery skills. Architecture applies to every repository task. UI decisions also use the project Designer and the local Mosaik catalog.
The workspace provides configuration for Codex, Claude Code, OpenCode, GitHub Copilot, Cursor IDE, Gemini CLI and VS Code. After editing the shared guidance, skills or MCP registry, regenerate the client files and run the drift check. Agent configuration guide
The host integration guide covers transport, target registration, authorization and framework adapters. The SDK API reference is generated from TypeScript declarations and TSDoc. Run yarn docs to update it and yarn docs:check to verify it. The testing guide covers the Vitest projects, browser and Electron specs, and live model verification.