Preface¶
When building agents or handling long conversations in DeepSeek Harness, a common practice is to open a separate browser tab to read news or throw links into the conversation for the model to summarize. The conversation context and reading interface are often separated in two places, leading to high switching costs; for paper content, relying solely on summaries makes it difficult to read locally with a layout close to the original.
Below is an introduction to the community plugin lukema95/dsh-news (npm package name @lukema/dsh-news, version 0.1.2, MIT License). It embeds ShellPulse’s AI news feed within Harness: the right sidebar tab and the left navigation full-page entry share a common implementation; the list features Chinese titles and summaries, and the details support AI interpretation, arXiv original text reading, and text selection explanation. The maintainer is lukema95. It is categorized as Web Tools in the SkillHub Plugin Directory (GitHub stars were 0 at the time of writing).
What is it¶
In short: A DeepSeek Harness plugin for the ShellPulse news source—the right sidebar feed, arXiv reader, and explanation/translation capabilities for selected content all revolve around the current session workspace.
The data source is https://api.shellpulse.xyz (the apiBase can be changed in the profile). The browser does not connect to the public API directly: Harness page origins may be changing loopback ports or file://, and ShellPulse production environments use an origin whitelist for CORS; therefore, the host side proxies and forwards requests on a same-origin path /shellpulse.
Core Features¶
Interface Entry and Views¶
- Right Sidebar Tab: Paired with Files / Browser / Terminal, so the conversation doesn’t disappear while reading news.
- Left Navigation “AI News”: Opens the same information stream in the main column full-page; use this entry when you don’t want the conversation to take up half the width.
- Five Views: News (
all, with “Load More”), Featured (featured), Hot (hot, Top 20 on the server), Tutorials (all&category=tutorials), and Papers (all&source_prefix=arxiv-). There is also category filtering filled from/api/meta. The backend excludes tutorials and papers from the regularallbased on a policy (2026-11-15), so the latter two categories have independent tabs. The Papers tab covers allarxiv-*sources and intentionally omitscategory(to avoid missing items and mixing in news).
List and Details¶
- List rows contain the publisher icon, source, relative time, number of sources, Hot/Featured tags (if present), and AI score (
llm_quality× 100). - About half of the entries have 16:9 thumbnails (extracted from the first publisher image in the summary markdown/HTML); if no image exists or the CDN rejects requests without a referrer, it remains a text-only row.
- Clicking an item requests
/api/item/{id}; the details display the title, model summary,body_zh(usebodyif unavailable), category, and Open Original / Copy Link; the list view and filters are preserved after returning. - Requests
/api/feed/headevery 60 seconds; if there is new content, a “N new items” banner is displayed. On failure, the last successful list is retained and marked as expired.
AI Actions Linked to Session¶
The details page provides AI Interpretation and Chat with AI: prompts are sent to the current session input box via standard inputActions and sent after user confirmation; if the input box is unbound, it copies to the clipboard instead and prompts.
The host registers a shellpulse_article tool (ctx.tools.register + JSON Schema, independent of @deepseek-ai/*), returning the article title, source, summary, and body (Chinese translation prioritized) to the model, consistent with what is seen on the panel, without needing to re-scrape the publisher page.
arXiv Original Text and Highlighting¶
Load Original uses GET /shellpulse/paper?id=…: parses the arXiv ID, reads the abs page version number, prioritizes https://arxiv.org/html/<id>v<n>, and falls back to ar5iv.labs.arxiv.org if no HTML exists. The HTML and arXiv style sheets are attached to a shadow root to preserve layout like MathML; images are rewritten via a whitelist to /shellpulse/img?u=…, where the host validates the domain, image/* type, 8 MB limit, and caches for one hour. Both host and client perform dual cleaning before rendering to prevent scripts and third-party redirects.
Selecting text within the paper (including inside the shadow root) allows clicking Explain This, which sends a POST /shellpulse/explain to the model configured by the user in Harness (ctx.llm) to return a Chinese explanation, without going through the ShellPulse server.
Proxy and Security Boundaries (Host Side)¶
Browser: fetch('/shellpulse/feed?view=hot')
│
Host: ctx.webServer.register({ kind: 'prefix', path: '/shellpulse' })
├─ GET /shellpulse/feed → https://api.shellpulse.xyz/api/feed
├─ GET /shellpulse/meta → /api/meta
├─ GET /shellpulse/head → /api/feed/head
├─ GET /shellpulse/item/:id → /api/item/:id
├─ GET /shellpulse/img?u=… → Publisher image (arXiv related domains)
├─ GET /shellpulse/paper?id=… → arXiv HTML + style sheet
└─ GET /shellpulse/icon?u=… → Publisher favicon
Every request first goes through the Connection fence (ctx.connection.requestRejection); only GET/HEAD is allowed; query parameters are whitelisted (e.g., limit ≤ 50, hours ≤ 720); default 45-second in-memory cache (configurable cacheSeconds, 0 to disable, max 600).
Installation and Enable¶
Execute in the plugin source code directory (command from the official README):
dsh plugin --profile <profile> add link:$PWD
Or in Harness: Plugins → Add Plugin, paste the absolute path of this directory. Enable the bundle; reload the host and refresh the page when the profile does not hot-reload.
Entry points:
- Left navigation AI News (full page in main column);
- Right sidebar + (guide → AI News) narrow tab.
Environment Requirements (package.json): Node >=20, DSH >=0.2.2-rc.1 <0.3.0.
Configuration¶
Can be added in the profile patch (read once when the plugin is activated; reloading the host is required after changes):
- insert:
- id: shellpulse-news
name: '@lukema/dsh-news'
config:
apiBase: https://api.shellpulse.xyz # Change deployment address, or http://127.0.0.1:8000
cacheSeconds: 45 # 0 to turn off host cache (max 600)
llmProvider: deepseek-official # Model used for AI translation
llmModel: deepseek-flash
Typical Usage¶
- After installing and enabling, open AI News from the right sidebar or left navigation and switch between Hot / Featured / Papers tabs to browse.
- Click an item to enter details; for deep reading, use AI Interpretation or Chat with AI to put structured prompts into the current session (send manually).
- For paper items, Load Original in the details to read under the shadow DOM layout; use Explain This on selected paragraphs (uses the locally configured LLM, same-origin session, and rate-limited).
- If the agent side prompts to call
shellpulse_article, you can obtain the body consistent with the details, facilitating analysis and follow-up questions.
First time use: The bottom panel will automatically expand once per browser profile (dsh.shellpulse.news.intro.v1), and will remain closed afterwards.
Use Cases and Notes¶
Suitable for: Developers who want to browse the ShellPulse Chinese news feed in Harness, follow hot topics and arXiv while chatting, and don’t want to repeatedly paste links into separate tabs.
Privacy and Permissions (excerpted from README): List thumbnails can be accessed directly by the browser from the publisher CDN (without referrer); explanation/translation of selected segments are sent to the user’s configured model. No ShellPulse API key is needed. The plugin runs with the current dsh host process permissions; read the source code and license before installing.
Limitations:
- The public API has no search; the panel has no search box.
- The Papers tab depends on the backend source_prefix; ShellPulse deployments before 2026-11-17 ignore this parameter, and the tab may degrade into a mixed category=papers stream.
- The right sidebar requires a session; without a session, the tab cannot be mounted.
The community plugin directory SkillHub has no official affiliation with DeepSeek / Hypersphere; the DSH ecosystem advocates “everything is a plugin,” and this article is for technical introduction only.
Conclusion¶
lukema95/dsh-news brings ShellPulse’s news feed, arXiv original text reading, and session-side AI actions into the same workspace in Harness, using the host proxy to solve CORS and external link security. For further understanding of implementation and issue feedback, see GitHub: https://github.com/lukema95/dsh-news; Directory page: https://www.skillhub.cn/plugins/lukema95/dsh-news.