Pular para o conteúdo principal
W

dsh-screen

william-jin-cmu/dsh-screen

Lets the agent read the app, title, URL and text of the window in front through the macOS Accessibility API, with opt-in on-device screen memory it can search.

Instalar

dsh plugin --profile web add github:william-jin-cmu/dsh-screen

README

dsh-screen

Lets a DeepSeek Harness agent see what is on your screen. It reads the text of the window you are looking at through the macOS Accessibility API, on this computer, and can optionally remember what you looked at so the agent can answer "what was I doing".

macOS only.

What the agent gets

ToolWhat it doesAvailable
screen_nowThe app, title, URL, selected text and text of the window in frontAlways
screen_timelineWhat you did, by app and window, over a periodWith memory on
screen_searchFull-text search over remembered screen textWith memory on
screen_getThe full text of one remembered entryWith memory on

The /screen command shows which permissions are granted and whether screen memory is on.

Install

Requires DSH >=0.2.1-rc.5 <0.3.0 and Node.js 22.19 or later.

dsh plugin --profile web add dsh-screen

In the desktop app, use Plugins > Add plugin and enter dsh-screen.

The helper runs as a child of DSH, so macOS asks for Accessibility for the app DSH runs in: your terminal for dsh web, or the DSH desktop app. Screen Recording is only needed for screenshots.

Settings

SettingDefaultMeaning
memoryfalseSample the window in front every few seconds and keep its text, in $DSH_HOME/screen/screen.db
intervalSeconds5How often screen memory samples
retentionDays30How long screen memory keeps what it recorded
ignoreAppsDSH's own windowsWhen one of these is in front, the window behind it is read instead
excludeAppsPassword managersBundle ids that are never read or remembered

Privacy

Nothing leaves the computer except what the agent puts in a model request after calling one of the tools. Screen memory is off until you turn it on, and the apps in excludeApps are never read.

Build

pnpm install
pnpm run pack   # dist/, bin/ and dsh-screen-0.1.0.tgz

Plugins relacionados