본문으로 건너뛰기
K

dsh-market-inline-comments

kid-wang/dsh-market-inline-comments

Read and post dsh-market plugin comments inline in DSH without opening GitHub in a browser.

설치

dsh plugin --profile web add github:kid-wang/dsh-market-inline-comments

README

DSH Market Inline Comments

Read and post comments for DSH-market plugins directly inside DeepSeek Harness (DSH). No browser jump to GitHub.

dsh-market shows a 评论 / Comments button on every plugin card, but opening it loads a giscus iframe from giscus.app. On networks where giscus.app is blocked or slow, clicking it appears to jump straight to the browser. This plugin replaces that behaviour with a fully in-app discussion panel: comments are fetched by the Host through api.github.com (Node fetch), and posting uses an authenticated GitHub GraphQL mutation — all without leaving DSH.

Install

From GitHub source:

dsh plugin --profile web add https://github.com/kid-wang/dsh-market-inline-comments

Or install the prebuilt tarball from the v0.1.2 Release:

dsh plugin --profile web add https://github.com/kid-wang/dsh-market-inline-comments/releases/download/v0.1.2/dsh-market-inline-comments-0.1.2.tgz

Or find DSH Market Inline Comments in the DSH-market plugin market / Discover tab and click Install.

How it works

  • Intercepts the marketplace card's 评论 button (and the repo link on the card) and opens an in-app dialog instead of the giscus iframe / browser.
  • Reads comments from the awesome-dsh-plugin/awesome-dsh-plugin GitHub Discussions thread whose title is plugin:<owner>/<repo>. This is the same thread the market, dshmarket.com and awesome-dsh-plugin.com show, so a plugin keeps a single conversation.
  • Reads work anonymously (GitHub allows 60 REST requests/hour per IP; results are cached in-process to stay within that budget).
  • Posting requires a GitHub Personal Access Token (classic with discussions write access, or a fine-grained token that can write discussions on awesome-dsh-plugin). Store it once in the dialog (GitHub 令牌 / GitHub token); it is kept in DSH's local credentials store, not in config files, and is only sent to api.github.com for the addDiscussionComment mutation.
  • To reply, click 回复 / Reply on a comment, type your text and press 发表 / Post.

What data leaves the machine

Comment text and the configured token go only to api.github.com. The token is stored in DSH's local credentials store and never sent to any third-party relay.

Requirements

  • DSH 0.2.x with the Web UI and the dsh-client-connection service.
  • dsh-market installed (the plugin decorates its plugin cards; it also works on the built-in Discover tab).
  • A GitHub account + PAT only if you want to post or reply.

License

MIT

관련 플러그인