dsh-genoffice-captain: GenOffice Task List and Workflow Orchestration Entry Point

Introduction

When working with GenOffice-related XLSX task lists in DSH, the common approach is to manually open GenOffice or to decide “who is responsible for orchestration” among multiple sessions yourself. When you have several active sessions open simultaneously, simply triggering a skill does not automatically distinguish between the “single session direct connection” and “designate an orchestration session first” paths.

The community plugin dsh-genoffice-captain (maintainer rajpaulsingh6-stack, author Rajpaul Singh) addresses this. When a session invokes skills related to the GenOffice task list, it directly launches GenOffice in a single-session context; in a multi-session context, it first pops up a DESIGNATE THE CAPTAIN panel, allowing you to select an orchestration session or choose not to perform orchestration.

What is this

dsh-genoffice-captain is a workflow-type plugin for DeepSeek Harness (DSH) (current package version 0.1.0, MIT License). Its positioning can be summarized as: responsible for launching GenOffice when triggering GenOffice task list skills, and providing a Captain (orchestration session) designation interface in multi-session scenarios.

The plugin comes with two built-in skills. Upon first startup, if the corresponding files are missing under ~/.dsh/skills, they will be copied as valid DSH names (genoffice-xlsx-tasklist, genoffice-xlsx-tasklist-orchestration), and existing copies will not be overwritten.

Core Features

Trigger Conditions

The plugin logic is activated under any of the following conditions:

  • Your message explicitly mentions a skill: GenOffice_XLSX_Tasklist, /GenOfficeXLSXTasklistOrchestration, or the DSH-side names /genoffice-xlsx-tasklist, /genoffice-xlsx-tasklist-orchestration
  • The agent loads any of the above skills via the skill tool

Single Session: Direct GenOffice Launch

When there is only one active session, the plugin launches (or brings to front) GenOffice without popping up any additional interface.

Multi-Session: DESIGNATE THE CAPTAIN Panel

When multiple active sessions exist, a panel opens in the right quarter of the window (the session sidebar on the left remains visible) titled DESIGNATE THE CAPTAIN, containing:

  • No Orchestration switch
  • Dropdown list: Lists currently open and active sessions (sorted by name and “age”; ● indicates running, ○ indicates idle; includes sessions used within the last 6 hours, sub-agents are excluded)
  • Sessions without a title are displayed as Untitled session <id>, and the working directory is only shown in the tooltip

Behavioral Key Points:

  1. If No Orchestration is turned on and confirmed, GenOffice launches without a Captain; this selection is recorded in the current session, and subsequent triggers in the same session will directly launch GenOffice.
  2. After clicking Designate, the selected session is renamed to ⭐ <title> (or ⭐ Captain if untitled), and the star of any previous Captain is removed; a message starting with /genoffice-xlsx-tasklist-orchestration is queued to that session (so that DSH loads the orchestration skill), and then GenOffice is launched.
  3. If a Captain already exists, the agent loading the skill again will not reopen the panel; however, if triggered by your manual input of the skill name, the panel will still open.

Local API & Security Notes

The plugin provides /api/genoffice-captain/* routes, responding only to loopback requests; launching GenOffice requires a POST with a custom header to prevent other web pages from triggering it randomly. Implementation-wise, it only launches the GenOffice application and does not execute arbitrary text from messages.

Environment & Dependencies

  • DSH: Requires DSH Web or DSH Desktop. The README states it has been tested on macOS with DSH Desktop 2.0.13 (dsh 0.1.5-rc.2) and DSH Web (dsh 0.1.5-rc.3).
  • GenOffice: Requires GenOffice installed locally.
  • macOS: /Applications/GenOffice.app
  • Windows: %LOCALAPPDATA%\Programs\GenOffice\GenOffice.exe
  • Linux: /opt/GenOffice/genoffice, /usr/bin/genoffice, /usr/local/bin/genoffice, or ~/Applications/GenOffice.AppImage
  • Other paths can be configured via the GENOFFICE_PATH environment variable
  • Node: The plugin requires Node >= 20; it is pure JavaScript, with no dependencies and no build steps.

Installation & Activation

For DSH Web or any CLI profile, use the command from the official documentation:

dsh plugin --profile web add github:rajpaulsingh6-stack/dsh-genoffice-captain

For DSH Desktop, profiles are managed by the application. You need to install the package in the profile directory and register it in the bundle list, then restart DSH Desktop:

cd ~/.dsh/profiles/desktop
pnpm add github:rajpaulsingh6-stack/dsh-genoffice-captain
# then add "dsh-genoffice-captain" to dsh.profile.bundles in package.json

Direct installation from GitHub does not require build permissions. The plugin runs with the permissions of the current dsh process; it is recommended to review the repository source code and MIT License before installation.

Typical Usage

  1. Install and restart DSH (Desktop requires completing the dsh.profile.bundles configuration).
  2. Trigger the task list skill in a session (e.g., send /genoffice-xlsx-tasklist, or have the agent load GenOffice_XLSX_Tasklist).
  3. Only one active session: GenOffice should be launched or brought to the foreground.
  4. Multiple active sessions: In the DESIGNATE THE CAPTAIN panel:
    • If orchestration is not needed this time, turn on No Orchestration and launch GenOffice;
    • If orchestration is needed, select the target session in the dropdown and click Designate; the session will show a ⭐ prefix in the sidebar and receive a message related to the orchestration skill.
  5. The panel displays the bundled skills information detected by the plugin; if skill files are missing, the plugin automatically copies them to ~/.dsh/skills (without overwriting existing files).

The maintainer provides a self-check command in the repository:

node test.mjs

Use Cases & Notes

Suitable for: Developers who already use GenOffice XLSX task list skills in DSH and frequently work with parallel multi-sessions, wishing to unify “who orchestrates and who connects directly to GenOffice”.

Notes:

  • Multi-session list rules (running/idle, active within 6 hours, exclusion of sub-agents) are subject to the README; Captain naming and message queuing behavior are implemented by the plugin. Orchestration logic relies on the bundled genoffice-xlsx-tasklist-orchestration skill (orchestration ideas partly borrowed from community projects like sub-agents / Orca; see repository NOTICE.md for details).
  • GenOffice is a Genspark product and has no official affiliation with this plugin or the DSH community directory; the community plugin directory is an independent site and is not an official DeepSeek / High-Flyer app store.
  • Stars, versions, and compatibility information are subject to GitHub and the directory page; do not assume extra configuration items without verifying the source code.

Conclusion

dsh-genoffice-captain strings together the triggering of GenOffice task list skills with “single session direct connection / multi-session captain selection first” into a workflow, reducing the steps for manually coordinating orchestration sessions in multi-window DSH.

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

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

Xiaoye