Kaixxrua/dsh-aigc-radar0

dsh-aigc-radar

AIGC Radar for DeepSeek Harness — curated AI project search with native search cards, powered by the AIGC_NEWS library

包名
dsh-aigc-radar
版本
0.1.0
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Kaixxrua/dsh-aigc-radar

dsh-aigc-radar

AIGC Radar project search for DeepSeek Harness (dsh).

Stop rebuilding what already exists. While you plan and implement, the agent proactively checks the curated AIGC Radar library for mature, battle-tested projects that already solve your problem — before you write a line of code. Results render as native search cards in the dsh Web UI — not raw markdown — and survive session replay.

search_ai_projects rendering as a native search card in the dsh Web UI

What you get

ToolWhat it does
search_ai_projectsSearches the curated AIGC Radar library: GitHub projects above a 500-star floor, enriched with categories, bilingual (zh/en) tags and descriptions, and daily star-growth metrics
get_project_categoriesLists the category taxonomy (categories + subcategory counts) for filter discovery

Two routing layers make discovery automatic rather than opt-in:

  • Explicit discovery — ask "找个能做 deep research 的开源框架" and the agent comes back with starred, categorized results, no "use the tool" needed
  • Proactive reuse check — before the agent implements a major module or subsystem (auth, payments, workflow engines, search/indexing, protocol implementations, end-to-end RAG/Agent pipelines…), it runs one library check on its own initiative, so mature alternatives surface before anyone rebuilds them. Narrow work (bug fixes, renames, styling, CRUD) is deliberately excluded

Why a native plugin instead of the MCP server?

AIGC Radar also ships as an MCP server. Mounting it in dsh works, but the native plugin goes further:

  • Native web search cards — structured sources render as cards in the Web UI and are rebuilt faithfully on session replay (presentationMeta), which the MCP transport cannot express
  • Typed canonical output — the result is one validated JSON value, so Code Mode can compose it programmatically (await tools.search_ai_projects({ q: 'mcp' })) with full type inference
  • First-party prompt routing — the discovery-routing guidance lives in system-prompt assembly, not in MCP instructions that clients may truncate

Measured performance

The search tool is a single HTTPS call to the AIGC Radar public edge — the numbers below measure that full path, taken 2026-08-18 from a China home-broadband connection (GeoDNS → CN edge) with scripts/benchmark-search.sh (10 representative zh/en queries × 3 trials against https://aigcnews.cn/api/projects):

MetricValue
Search latency p50369 ms
Search latency p95412 ms
Curated projects served18,426 — every one above the 500-star admission bar
Taxonomy11 top-level categories, bilingual zh/en tags and descriptions

Index-quality benchmarks measured on the MCP interface — 3.5× faster than WebSearch end-to-end (7.4 s vs 25.8 s median) and 98.3% first-tool routing accuracy (59/60 trials) — live in the main repo's benchmark section; this plugin serves the same dataset over the same API, so those numbers carry over.

Install

Requires dsh (npx @deepseek-ai/dsh web).

dsh plugin --profile web add github:Kaixxrua/dsh-aigc-radar

Git installs run the package's prepare build, which pnpm ≥10 refuses until you allow it: copy the package key pnpm prints into the profile's pnpm-workspace.yaml:

allowBuilds:
  dsh-aigc-radar: true

then re-run the add. Pin a commit (github:Kaixxrua/dsh-aigc-radar#) if you want install-time immutability.

Verify without booting:

dsh --profile web --dump-config   # shows a "# == dsh-aigc-radar" layer

Configure

Defaults point at the public deployment. Override the row from your profile's cordis.patch.yml (a patch replaces the row's whole config):

- replace:
    - id: aigc-radar
      name: dsh-aigc-radar
      config:
        apiBase: 'https://aigcnews.cn'   # or your self-hosted AIGC_NEWS origin
        timeoutMs: 20000
        maxPageSize: 10

Develop

pnpm install
pnpm build        # tsdown → dist/
pnpm typecheck    # tsc --noEmit
pnpm smoke        # hits the live API through the built client

Load from a dsh source checkout without installing:

pnpm dsh --profile web --patch /path/to/dsh-aigc-radar/cordis.dev.yml

where cordis.dev.yml inserts the row by absolute path:

- insert:
    - id: aigc-radar
      name: /absolute/path/to/dsh-aigc-radar/dist/index.mjs

Data and attribution

Data provided by AIGC Radar — the public API your dsh instance calls is the same one behind the AIGCNEWS site and the AIGC Radar MCP server. The curated library only covers GitHub projects with 500+ stars; general non-AI GitHub search with direct-GitHub fallback remains an MCP-server capability by design.

License

MIT