DSH Personal Agent: A macOS Personal Assistant Plugin That Integrates Calendar, Reminders, and Email Drafts into DSH

Introduction

When building a daily assistant in DSH, the common practice is to write scripts separately or ask the model to only talk about “suggestions,” but rarely integrating with local Calendar, Reminders, Notes, and Mail. Once email involves “forwarding,” the permissions required and the risk of accidental operations are relatively high. Below is an introduction to the client plugin dsh-personal-agent released by maintainer alexz949 (GitHub: alexz949/dsh-personal-agent): it adds a Personal agent preset to DeepSeek Harness, reading and writing Apple ecosystem apps via a small Helper application; new schedules and reminders must be agreed upon on the DSH confirmation card; email reads only synchronized content and saves drafts or reply drafts, never sending. Additionally, there is a “Today” sticky note pinned to the main conversation, Markdown work logs by week, as well as the homepage and overview page entered at startup. The plugin is in an early version, only supports macOS; personas and interfaces are currently primarily in Chinese (the README states the English version is on the roadmap), while the tool itself is language-agnostic.

Overview

dsh-personal-agent is a DSH personal assistant plugin for macOS (SkillHub category: Client). It injects a client UI into the DSH desktop version and mounts a toolset for interacting with the Apple ecosystem. It also reuses DSH’s built-in capabilities such as files, web search, sandbox bash, schedule, Office, skills, and memory, and optionally drives headless Chrome via Playwright MCP.

Runtime environment requirements (from README):

  • macOS 14 or later.
  • DeepSeek Harness desktop 0.2.2-rc.3 or newer 0.2.x (package.json engines.dsh is >=0.2.2-rc.3 <0.3.0).
  • Node.js 20+ and Xcode command line tools required when building from source.

Current npm package version is 0.21.7, license MIT.

Core Features

Use Apple Apps via Helper

The plugin accesses system capabilities through the Personal Agent Helper small application:

  • Read calendars and reminders; new activities or reminders are only created after passing the DSH confirmation card.
  • Add to-dos and mark them complete in the Reminders list named “assistant” (configurable), without deleting reminders.
  • Search, read, and create notes within a specified Notes folder.
  • Read Apple Mail synchronized emails, save drafts and reply drafts, without sending emails.

When first involving Calendar, Reminders, Notes, or Mail, the Helper will open and macOS will pop up a permission request; permissions are bound to Helper code signing, so rebuilding after modifying helper/ may require re-authorization.

“Today” Sticky Note

A fixed “Today” sticky note is displayed above the main conversation, showing daily highlights and quick questions; it can be dragged to the left or right and remembers its position; clicking it collapses it into a small capsule that can be expanded again; it makes way when the left sidebar expands. The assistant crosses out or appends entries via today_update throughout the day.

Tasks with Unified State

Each task has a stable ID, which can be associated with sources (e.g., email Message-ID), next steps, wait-for targets, and completion conditions; the same email will not generate duplicate tasks. Responsibility division: Reminders handles the completion and expiration of associated reminders, Calendar handles events, the plugin’s tasks.json only stores links and context, and the “Today” sticky note is the view. task_list checks Reminders and Mail first, so checking off reminders in system apps or sending emails directly will be distinguished from “save drafts only”; when a check fails, it explains instead of uniformly reporting completion.

Rescheduling and Recurring

Supports reminders_update, calendar_update (including relative moves like “remind me tomorrow” or “delay a week”), and attempts to keep the time of day across Daylight Saving Time; moved reminders will not ring at the old time again. Repeat rules support day/week/month/year and end date or count; recurring events have options for “only this” or “this and after.” You can stop a repeating sequence early, or use calendar_update’s repeat to keep one and stop the rest. calendar_delete can delete a single event, one week of a recurring event, or “this and after”; the card will display the scope of impact, and deleted calendar events cannot be recovered. Changes display old and new values, as well as conflicts and free slots for the day on the confirmation card; duplicate submissions of the same request will not create another activity or reminder.

Weekly Journal

A Markdown file for each week (path example: journal/2026/2026-W46.md), divided into sections by day; at the end of the week, a “Weekly Summary” is appended at the top, and a monthly summary is provided; quarterly and annual summaries can be written upon request. Daily entries are not deleted.

Speaking Styles (Personalities)

Six built-in styles: Assistant (default), Professional, Efficient, Partner, Straightforward, and Tsundere; warmth, list, and emoji can be adjusted. You can set the default in the workspace AGENTS.md or switch during the conversation.

Research Assistance

Provides arxiv_search, bib_add (to append entries to BibTeX/JabRef libraries), and a read-only research sub-agent ask_research for the main agent to delegate to for searching.

Action Log and Home Page

Various operations (activities, reminders, to-dos, drafts, notes, BibTeX, completion reminders, and note changes) are appended to a plain text log. Upon startup, the startup page is shown first, followed by the main conversation (left sidebar is collapsed by default); the Assistant (overview) page shows daily highlights, recent conversations, and recent actions.

Optional Browser Automation

Presets can launch Playwright MCP from ~/.dsh/mcp/playwright; the browser window only appears when login is needed. Installation examples can be found in the “Settings” section below.

Installation and Enablement

The plugin runs with the current DSH process and the macOS permissions obtained by the Helper. Before installing, please read the repository source code, LICENSE, and SECURITY.md to ensure they meet your security requirements.

Install from npm (Recommended as entry point)

In DSH, open Plugins → Add plugin, enter dsh-personal-agent; or execute the following in the terminal:

"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" plugin --profile desktop add dsh-personal-agent

After installation, exit and reopen DSH (after ⌘Q and then restart). The package includes pre-built universal Helpers (Apple Silicon and Intel).

Install from Plugin Index

In Plugins → Discover (DSH experimental custom plugin marketplace), add the index source:

https://raw.githubusercontent.com/alexz949/dsh-personal-agent/main/market.json

Then install from the index.

The README also provides a way to link a cloned repository directory into the desktop profile; to update, execute the build in that directory and restart DSH. Specific commands are in the Install → From source section of the repository README.

First Run

  1. Prepare workspace: Copy template/ from the repository to a private location, and fill in the “This user’s setup” section in shared/USER_PROFILE.md and agents/life/AGENTS.md (email, folders, default persona, etc.). Do not put notes, logs, or personal profiles in public repositories.
  2. Connect to DSH: Add agents/life as a DSH workspace and start a conversation with the Personal preset; the first time you enter the home page, it will ask which workspace to use.
  3. Grant permissions: Allow Calendar, Reminders, Notes, and Mail access via the prompts in the Helper and macOS dialog boxes.
  4. Optional: Create a list named Assistant in Reminders for use by todo_add, or change to another list name in the configuration.

Settings

Optional configuration file path: ~/.dsh/personal-agent/config.json, the environment variable PERSONAL_AGENT_CONFIG can override the path.

{
  "todoList": "Assistant",
  "notesFolder": "Assistant",
  "bibLibrary": "~/Documents/JabRef/library.bib",
  "actionLog": "~/.dsh/personal-agent/actions.md",
  "browserProfile": "~/.dsh/mcp/playwright/profile",
  "tasksFile": "~/.dsh/personal-agent/tasks.json"
}

bib_add is only provided when bibLibrary is set.

When enabling Playwright MCP, you can first install the dependencies (example from README):

mkdir -p ~/.dsh/mcp/playwright && cd ~/.dsh/mcp/playwright && npm install @playwright/mcp

On Apple Silicon, if Homebrew’s Node is not at /usr/local/bin/node, you need to adjust the command in the preset mcp-browser configuration (see the truncated Browser automation section in the README).

Typical Usage (Conversational Side)

The following capabilities are triggered by tool names under the Personal preset; specific phrasing is determined by the agent and persona, and the README does not provide fixed dialogue templates; common paths include:

  • Ask the assistant to summarize the status of Reminders, Mail, and tasks.json based on task_list, and then update the “Today” sticky note (today_update).
  • Create calendar events or reminders only after agreeing on the confirmation card (use reminders_update / calendar_update for relative rescheduling).
  • Ask the assistant to search arXiv (arxiv_search) or write entries to BibTeX (bib_add).
  • When a web login flow is needed, enable Playwright MCP as needed.

The weekly journal file is automatically maintained with the correct path structure by the plugin; quarterly and annual summaries need to be generated when requested in natural language.

Applicability and Notes

Who is it for: Users already using DSH desktop 0.2.x on macOS 14+ who want Calendar, Reminders, Notes, and email drafts to collaborate on the same screen with the same conversational assistant, and who need confirmation card constraints for write operations.

Not suitable or needs to be known:

  • Cannot be used on non-macOS platforms (package.json os is only darwin).
  • The plugin is in an early stage; the interface and personas are primarily in Chinese.
  • Email cannot be forwarded; it is only suitable for reading emails and draft circulation.
  • The permissions for the plugin and Helper are equivalent to the local access scope you grant; third-party plugins are not from the DeepSeek / Fang Yuan official app store; SkillHub is a community directory, please audit the code and dependencies yourself before installing.

Conclusion

dsh-personal-agent brings the personal assistant on DSH down to macOS native apps and auditable confirmation flows, and uses the “Today” sticky note, weekly journal, and home page to reduce switching costs. For more information, see the SkillHub directory page alexz949/dsh-personal-agent and the GitHub repository alexz949/dsh-personal-agent.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye