跪拜 Guibai
← Back to the summary

Tree New Bee: Postman-Style API Debugging for DeepSeek Harness

Tree New Bee API Requests

A Postman-like HTTP interface debugging plugin running in DSH (DeepSeek Harness). The left sidebar provides a unified entry point, allowing you to construct requests, view responses, and manage collections/environments/history in the panel, with all data stored locally in the browser.

Plugin Information

Technologies Used

Layer Technology
Plugin framework DSH Cordis bundle (cordis.patch.yml inserts Loader line)
Host part ESM apply(ctx), registers /api/dsh-tree-new-bee-api-client/request route via ctx.connection.fetch.register
HTTP requests Node.js built-in fetch + AbortController timeout control, zero third-party dependencies
Client part Frontend module registered via window.__ModuleLoader__, React without JSX (React.createElement)
UI styles Inline <style> in components (marked with data-plugin-css), uses DSH theme tokens, automatically adapts to light/dark themes
Internationalization ctx.locale.register/ bind, bilingual Chinese and English (zh / en)
Local storage Browser localStorage, collections, history, environments, custom headers all persisted
Data parsing Standard URL / searchParams, JSON formatting via JSON.parse/stringify

Features

1. Request Construction and Sending

2. Response Viewing

3. Collection Management (Postman-style tree)

4. Environment Management (Variable Substitution)

5. Common Request Headers

6. History

Data Storage

All stored in browser localStorage, keys:

Directory Structure

dsh-tree-new-bee-api-client/
├── package.json          # manifest, bundle config, client injection declaration
├── cordis.patch.yml      # Loader insertion line
├── index.js              # Host part: HTTP request routing
├── client.js             # Client part: complete UI and interaction
├── locale/
│   ├── zh.json           # Chinese display metadata
│   └── en.json           # English display metadata
├── icon.svg              # plugin icon
└── README.md             # this document

Installation and Usage

  1. Install via the plugin manager, entering: https://github.com/gougou1993/dsh-tree-new-bee-api-client.git or @oakzhong/dsh-tree-new-bee-api-client image.png

image.png

  1. Click "Tree New Bee API Requests" in the left sidebar

  2. Enter the request URL and method, fill in Params / Headers / Body as needed

  3. Click "Send" to view the response

  4. Use collections to save common requests and environments to manage variables for different servers

  5. Operation interface image.png Request header settings: image.png