npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@snowlocked/dsh-k8s-console

v0.4.3

Published

DSH K8s 控制台插件:管理 kubeconfig,点击即开会话 Tab(同一集群可开多个),每个会话含「kubectl 命令控制台」与「AI 对话」两个子页;AI 复用 DSH 自身模型配置。

Downloads

86

Readme

dsh-k8s-console

DSH(DeepSeek Harness)K8s 控制台插件:kubeconfig 管理 + 集群会话工作区。

  • ➕ 添加 kubeconfig(粘贴内容 / 导入本机文件路径),列表展示 context / API server
  • ✎ 编辑:改名 / 直接改 YAML / 从本机文件重新导入(按 id 覆盖同一条目,解析失败自动回滚保留原内容)
  • 点击列表项即新建会话 Tab(重复点击同一集群会再开一个独立会话,不定位旧 Tab)
  • 每个会话 2 个子页:
    • ⌨️ 命令控制台:所选 context/namespace 下执行 kubectl,SSE 流式输出,可中止/超时; 支持 | grep / head / tail / sort / wc -l 管道过滤(进程内实现,非 shell);命令历史持久化
    • 💬 AI 对话:多轮对话生成命令 / 解释输出,回复内命令可一键发到控制台执行; AI 模型复用 DSH 自身配置(界面按需选模型,无需重复填 Key)
  • 🕘 对话历史持久化:AI 对话逐条落盘(<DSH_HOME>/dsh-k8s/history/),刷新/重启后可 关键词搜索、展开查看、载入继续追问、单条删除
  • 对话内只读工具 k8s_kubeconfigs / k8s_query(支持管道过滤),主对话 AI 可直接查集群

构建与安装见仓库根 README;本目录为可发布/可链接安装形态:

# 开发/自用(先 build 生成 lib/)
dsh plugin --profile web add "link:D:\path\to\dsh-plugin-k8s\plugins\dsh-plugin-k8s"
# 或发布后
dsh plugin --profile web add @snowlocked/dsh-k8s-console

安装后重启 dsh web,左侧栏底部出现「K8s」入口。