dshbase

插件目录 / Developer / dsh-plugin-pkgseek

dsh-plugin-pkgseek

已验证 · 实测可装 web-casa

✓ 持续维护 2 位贡献者 基于 3 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-20最近推送
跨平台平台

功能简介

PkgSeek Linux package, command and CVE intelligence as native DeepSeek Harness (dsh) tools

✅
我们的评价
可用 — 实测通过,早期项目

PkgSeek Linux package, command and CVE intelligence as native DeepSeek Harness (dsh) tools 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-plugin-pkgseek

npm version
ci

PkgSeek Linux package, command and CVE
intelligence as native DeepSeek Harness
(DSH) tools — plus a system-prompt segment that tells the agent when to use them.

The plugin is a thin adapter over PkgSeek's public MCP-over-HTTP endpoint: at
load time it fetches tools/list and registers one native DSH tool per
definition (names prefixed pkgseek_), so tools go through the same approval,
guard and logging pipeline as built-in tools. Every call is forwarded as
tools/call to the hosted API — all tools are read-only and need no API key.

Install

# interactive (web) profile
dsh plugin --profile web add dsh-plugin-pkgseek
# one-shot (headless) profile — dsh run uses this one
dsh plugin --profile headless add dsh-plugin-pkgseek

web and headless are separate profiles; install into both if you use both.
The package is published on npm as
dsh-plugin-pkgseek;
dsh plugin add resolves it from the registry. Installing from the GitHub
source also works (dsh plugin --profile web add github:web-casa/dsh-plugin-pkgseek).

The published manifest declares support for DSH >=0.1.0-rc.7 <0.2.0 on both
the web and Desktop clients. That declaration lets a strict Cordis v4 catalog
verify exact registry evidence; it does not by itself grant marketplace or
Microsoft Store approval.

Verification

The plugin was smoke-tested against a live dsh 0.1.0-rc.7 headless
profile: it loaded, fetched tools/list from the production API,
registered pkgseek_resolve_install, the model called it, and the session
log shows the API answer (sudo apt install ripgrep) flowing back through
tools/call. Unit tests cover the JSON-RPC client, the schema adapter, the
offline snapshot and the config surface (npm test).

Configuration

All settings are optional and live in the plugin's config: row:

- id: pkgseek
  name: dsh-plugin-pkgseek
  config:
    apiBase: https://api.pkgseek.com   # any PkgSeek API deployment
    timeoutMs: 20000                   # per-request timeout
    promptGuidance: true               # register the usage-guidance prompt section
    refreshTools: true                 # refresh tools/list at load (snapshot fallback)
    enabledTools: []                   # allowlist of unprefixed names; empty = all

If the live tools/list fails at load time (offline, API down), the plugin
registers from its bundled snapshot and tool calls fail individually with a
clear error instead of breaking the profile.

Tools

22 read-only tools, registered with the pkgseek_ prefix:

  • Command/tool intelligence: pkgseek_search_tools, pkgseek_get_tool,
    pkgseek_resolve_install, pkgseek_identify_binary,
    pkgseek_query_file_provides, pkgseek_compare_distros, pkgseek_get_context
  • Error & command doctor: pkgseek_diagnose_linux_error, pkgseek_lint_command,
    pkgseek_explain_command, pkgseek_suggest_fix
  • Packages: pkgseek_search_packages, pkgseek_get_package,
    pkgseek_compare_package_versions, pkgseek_get_package_history
  • Vulnerabilities: pkgseek_search_vulnerabilities, pkgseek_get_vulnerability
  • Lifecycle & migration: pkgseek_check_release_lifecycle,
    pkgseek_get_distro_lifecycle, pkgseek_compare_distro_releases,
    pkgseek_plan_distro_migration
  • Meta: pkgseek_get_repository_health

Development

npm install
npm run sync-tools   # refresh tools.snapshot.json from the live endpoint
npm test             # build + node --test

Layout: src/mcp-client.ts (JSON-RPC over HTTP), src/adapter.ts (MCP tool
definitions → defineTool), src/prompt.ts (guidance section),
src/index.ts (wiring, config schema).

Release

Releases are deliberately manual. An authorized maintainer dispatches the
publish.yml workflow from main, enters the exact unpublished
package.json version, and types PUBLISH. The workflow installs locked
dependencies without lifecycle scripts, runs the tests, packs the tested
artifact, then publishes it through npm Trusted Publishing (GitHub Actions
OIDC). It has no npm write token and does not run for pushes or tags.

The npm trusted-publisher binding is restricted to
web-casa/dsh-plugin-pkgseek, publish.yml, and the npm-publish
environment. Configure required reviewers for that GitHub environment and
protect the default branch before delegating release authority; the workflow's
manual confirmation is not a substitute for an independent review policy.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-plugin-pkgseek」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:web-casa/dsh-plugin-pkgseek

Headless(CLI)profile:

dsh plugin --profile headless add github:web-casa/dsh-plugin-pkgseek

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →