dsh-linear-desk: View Linear Issues in DeepSeek Harness

Introduction

When developing agents in DeepSeek Harness, a common pain point is: you frequently need to switch to Linear’s web app to check issue details, then go back to DSH to write code or debug. This switching not only breaks your flow but also disconnects the conversation trajectory from the issue context. DSH’s philosophy is “everything is a plugin”—plugins can extend the capabilities of the main application. The dsh-linear-desk plugin introduced below is exactly this kind of plugin. It embeds Linear’s issue list and details directly into DeepSeek Harness as a sidebar panel, so you can browse and triage issues without ever leaving the application.

Plugin Scope and Core Capabilities

dsh-linear-desk is a DeepSeek Harness plugin maintained by i2v-ai. It leverages Linear MCP tools to provide a sidebar panel within DeepSeek Harness, allowing users to view open issues assigned to them inside DSH—without opening browser tabs or manually bookmarking pages.

Core features include:

  • Issue list & filtering: Sidebar entry “Linear desk”. The default view is assigned to me + open, sorted by status, priority, and last updated. Supports filtering by team, state, priority, and more.
  • Issue details: View description, recent comments, parent issue, sub-issues, relations, attachments, and the full property grid in the detail column.
  • Quick session launch: Convert an issue into a session draft. The draft is pre-filled with issue information and is not auto-sent.
  • Markdown copy: Copy the issue summary as Markdown, making it easy to paste into prompts or handoff notes.
  • Keyboard navigation: Navigate the list with j/k or arrow keys, focus search with /, refresh the list with r/Cmd+R/Ctrl+R (without reloading the page), and exit search with Esc.
  • Accessibility & system appearance: Respects system appearance settings, supports Reduce Motion and Increase Contrast, is screen-reader friendly, and keeps focus rings visible.

Installation & Activation

In DeepSeek Harness, run the installation command with admin privileges:

plugin_manager install_bundle dsh-linear-desk

After installation, you may see application: "restart-required" and restartReason: "unmanaged-plugin" reported, even if the plugin is already active. You can verify with the following command:

plugin_manager list_plugins

Confirm that the include:linear-desk entry shows enabled: true and fiberPhase: active. Refresh the page to see the “Linear desk” entry in the sidebar.

Other installation methods (from the documentation):

  • Specific version: plugin_manager install_bundle dsh-linear-desk@0.1.0
  • Git repository: plugin_manager install_bundle github:i2v-ai/dsh-linear-desk
  • Local path: plugin_manager install_bundle /absolute/path/to/dsh-linear-desk

After making local modifications to Host code, you can achieve hot-reload by toggling the plugin:

plugin_manager set_plugin include:linear-desk enabled=false
plugin_manager set_plugin include:linear-desk enabled=true

To replace the installed JavaScript bundle, a host application restart is required.

Connecting to Linear

The panel requires a working Linear MCP connection, with the following priority:

  1. A connected mcp-linear (serverName: linear, tool names mcp__linear__*).
  2. The plugin’s own registered linear_desk, which connects to Linear’s official read-only endpoint https://mcp.linear.app/mcp/readonly (only registered when no Linear tools are available).

When using the second path and no key is stored, a Linear API Key input field will appear in the panel header. Create a personal API Key in Linear (Settings → Security & access → Personal API keys), paste it in, and you’ll be connected immediately. The key is stored in the host’s credential store and injected via the ${credential:LINEAR_API_KEY} transport template. The panel itself does not store or echo the key.

If you prefer to connect to Linear MCP yourself, you can add the following to your personal cordis.patch.yml:

- insert:
    - id: mcp-linear
      name: '@deepseek-ai/dsh-mcp-client'
      config:
        serverName: linear
        transport: streamable-http
        url: https://mcp.linear.app/mcp/readonly
        headers:
          Authorization: Bearer ${credential:LINEAR_API_KEY}

If a connection cannot be established, the panel header will display a red status indicator and a helpful message rather than a blank page.

The panel communicates with the host via the following routes (the current version is read-only):

  • GET /linear-desk/: Panel page.
  • GET /linear-desk/api/health: Tool prefix, MCP server status, credential status.
  • GET /linear-desk/api/locales: Returns { locales, fallback }.
  • GET /linear-desk/api/bootstrap: Calls whoami and list_teams to fetch the workspace and team list.
  • GET /linear-desk/api/issues: Calls list_issues, supporting view, team, state, priority, query, and limit parameters.
  • GET /linear-desk/api/issue?id=: Calls get_issue and list_comments, and additionally queries parent and sub-issues.
  • POST /linear-desk/api/credential: Stores LINEAR_API_KEY; an empty value removes the stored key.

state=open is a panel-composed value: Linear’s state parameter only accepts a single state, so the host fetches a larger page and locally filters out completed and cancelled issues.

Capabilities and Limitations

  • Read-only issue data: The current version only supports viewing issues. It does not support changing state, commenting, assigning, or creating issues. The only write operation is the API Key storage route.
  • Connection priority: Prefers a connected mcp-linear; falls back to the plugin-registered linear_desk if none is available.
  • In-memory caching: List cache 60 seconds, detail cache 30 seconds, workspace bootstrap cache 10 minutes.
  • No trajectory logging: Panel calls are executed via ctx.tools.execute and do not generate session logs or conversation trajectories.
  • Shared MCP connection: Shares a single MCP connection with the agent; refreshes are throttled to avoid conflicts.
  • Cross-workspace limitation: The current credential cannot read issues from other workspaces. Cross-workspace issues are displayed as ID links only.

Multi-language Support

English and Chinese are built in by default. Adding a new language requires two steps:

  1. Copy assets/i18n/en.json to assets/i18n/<lang>.json and translate the values, preserving {n} and {s} placeholders.
  2. Add the locale code to LOCALES in lib/index.js and to LABELS in lib/client.js.

The panel queries the host for available locales and falls back in the order English → original key, avoiding blank UI elements.

Use Cases and Cautions

This plugin is well-suited for users who are developing agents or debugging sessions in DeepSeek Harness and need to frequently check Linear issue details. The plugin runs with the permissions of the current DSH process, so it is recommended to review the source code and license before installing.

Summary

dsh-linear-desk provides a read-only Linear issue browsing and triage entry point in the DeepSeek Harness sidebar. It communicates with the host through Linear MCP tools and supports features such as filtering, detail views, quick session launch, and Markdown copying. It is ideal for developers who need to continuously track their issue list within DSH.

  • Directory page: https://www.skillhub.cn/plugins/i2v-ai/dsh-linear-desk
  • GitHub: https://github.com/i2v-ai/dsh-linear-desk
羽毛球分组比赛记分
小程序二维码

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

Xiaoye