Monitoring Agent Inference While Browsing News: DS-NewsTop Sidebar Architecture and Setup for DSH Desktop

Hands-on engineering review of DS-NewsTop, a hotlist sidebar plugin for DeepSeek Harness Desktop. Built on Cordis to aggregate 19 developer and tech platforms, featuring 60-second in-memory caching, zero background polling overhead, and complete installation guide.

Monitoring Agent Inference While Browsing News: DS-NewsTop Sidebar Architecture and Setup for DSH Desktop

Running long-running tasks locally. For example, having an Agent refactor an entire subsystem. Model inference often requires waiting two to three minutes. Switching to a primary web browser to check feeds? Attention quickly drifts away. By the time focus returns, the exact diff review context is lost. What if a lightweight collapsible sidebar lived inside the AI client? Watch terminal logs on the right, skim community discussions on the left. Fold away when done, leaving the main workspace clear.

The open-source plugin DS-NewsTop addresses this workflow. Crafted specifically for DSH Desktop, it leverages the Cordis modular runtime to dock multi-platform feeds directly inside the client activity bar.

DS-NewsTop sidebar multi-platform feed interface

1. Architecture Breakdown: Same-Origin Gateway and Zero Polling Trade-offs

Before installing this plugin into DSH, I first checked whether it contained any timer loops.

The concern was practical. Last year I installed a similar feed extension that ran fetches every 90 seconds across a dozen endpoints concurrently. I was running local 7B model quantization at the time, and cooling fans immediately spun up. Since then, whenever an extension advertises real-time feeds, I search its source code for setInterval first.

DS-NewsTop has no background polling timers. It issues network requests only when the panel opens, and goes completely silent once collapsed. That factor alone determined whether I would keep it docked permanently.

Request pathways are strictly consolidated. The frontend only talks to the local host interface: /dsh-hot-list/items?id=sourceID The frontend queries this local endpoint exclusively. The host runtime fetches from fixed upstream targets. Upstream URLs are defined as hardcoded constants in host code, ignoring arbitrary query parameters. I did not think much about this initially, until considering the SSRF attack surface: What if the endpoint accepted arbitrary URLs? It would become an open proxy, easily abused to scan internal network interfaces.

A 60-second in-memory cache is a welcome convenience. Opening and closing panels repeatedly hits local memory directly, without issuing extra outbound requests.

Data flows through two primary pipelines: Eighteen mainstream platforms like GitHub, Hacker News, V2EX, and Zhihu route through the open-source NewsNow aggregation service. A dedicated parser handles the Appinn community discovery channel Markdown feed, filtering pinned moderation guidelines and extracting top shared tools.

If an upstream node returns a 502 error, the interface preserves previously fetched items and shows an inline retry button. The first time NewsNow jittered, I was pleasantly surprised that the cached list remained intact rather than breaking into a blank screen.


2. Compatibility Matrix and Measured Hardware Footprint

After running for three hours, did memory leak? Was CPU usage noticeable? Memory and CPU were tracked via macOS Activity Monitor without specialized profilers, so these figures serve as ballpark engineering references.

Benchmark Environment

Measured Performance and Resource Ledger

In terms of RAM, resident footprint stabilized within a 40MB to 50MB delta after cold start. Over three hours of continuous use, no memory creep was observed. By comparison, keeping seven news tabs open in Chrome 128 registered roughly 1.1GB to 1.3GB in Activity Monitor. However, tab counts and background tab throttling vary widely, so this comparison serves only as a rough magnitude contrast.

For CPU, readings in the sampling window stayed consistently at 0.0. A reading of 0.0 does not mean absolute zero, merely that utilization fell below the monitor resolution threshold. What I can confirm is that no visible background spikes occurred, and the machine fan stayed silent all afternoon.

Evaluation MetricMulti-Tab Browser FeedsDS-NewsTop SidebarNotes and Technical Boundary
Resident RAM DeltaRoughly 1.1GB to 1.3GBHost RAM rises by roughly 45MBBypasses multi-process browser overhead
Idle CPU BehaviorOccasional 1% script spikesActivity Monitor reading stays at 0.0Below tool resolution, no activity spikes
Network Egress TimingPeriodic polling every two minutesRequests fire only on manual view/refreshConserves bandwidth for Agent traffic
UI Theme AdaptationRequires third-party dark extensionsAutomatically inherits DSH CSS variablesSupports light, dark, and auto sync
Ecosystem CompatibilityAny standard web browserStrictly bound to DSH Desktop CordisCannot install directly on VS Code or Cursor

Note the clear engineering boundary: This plugin is built around the Cordis modular runtime inside DSH Desktop. It is not an extension on the VS Code marketplace and cannot run inside generic VS Code forks. Non-DSH users seeking a similar setup must port the card UI against NewsNow APIs independently. Do not attempt direct installation elsewhere.


3. Practical Deployment: Three Steps to Sidebar Integration

To configure the extension inside DSH Desktop 2.0.18, follow these terminal steps:

1. Install NPM Package Dependency

Launch DSH Desktop. Open the internal terminal from the application menu, navigating to the default desktop profile directory:

cd ~/.dsh/profiles/desktop
pnpm add [email protected]

Alternatively, download the release tgz archive from GitHub Releases and install via absolute file path.

2. Register Bundle in Profile Configuration

Open package.json in the current profile directory. Locate the dsh.profile.bundles array, appending dsh-hot-list while keeping default official bundles intact:

{
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-hot-list"
      ]
    }
  }
}

Verify JSON syntax carefully. Missing curly braces or trailing commas have tripped up many users, preventing the desktop profile from loading.

3. Restart and Verify Sidebar Entrance

Completely quit and reopen DSH Desktop. The hotlist icon appears in the primary left activity bar. Click to launch the sidebar panel. The top-right gear icon allows toggling 19 data sources, with 14 active by default. Preferences persist directly to local desktop storage.


4. Acceptance Checklist

Check the following four verification items:

💬 Discussion

GitHub Powered