@snowlocked/dsh-k8s-console 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/lib/client.js +396 -164
- package/lib/index.js +19 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,9 +5,13 @@ DSH(DeepSeek Harness)**K8s 控制台**插件:kubeconfig 管理 + 集群会
|
|
|
5
5
|
- ➕ 添加 kubeconfig(粘贴内容 / 导入本机文件路径),列表展示 context / API server
|
|
6
6
|
- 点击列表项即**新建会话 Tab**(重复点击同一集群会再开一个独立会话,不定位旧 Tab)
|
|
7
7
|
- 每个会话 2 个子页:
|
|
8
|
-
- ⌨️ **命令控制台**:所选 context/namespace 下执行 kubectl,SSE
|
|
8
|
+
- ⌨️ **命令控制台**:所选 context/namespace 下执行 kubectl,SSE 流式输出,可中止/超时;
|
|
9
|
+
支持 `| grep / head / tail / sort / wc -l` 管道过滤(进程内实现,非 shell);命令历史持久化
|
|
9
10
|
- 💬 **AI 对话**:多轮对话生成命令 / 解释输出,回复内命令可一键发到控制台执行;
|
|
10
11
|
AI 模型复用 DSH 自身配置(界面按需选模型,无需重复填 Key)
|
|
12
|
+
- 🕘 **对话历史持久化**:AI 对话逐条落盘(`<DSH_HOME>/dsh-k8s/history/`),刷新/重启后可
|
|
13
|
+
关键词搜索、展开查看、载入继续追问、单条删除
|
|
14
|
+
- 对话内只读工具 `k8s_kubeconfigs` / `k8s_query`(支持管道过滤),主对话 AI 可直接查集群
|
|
11
15
|
|
|
12
16
|
构建与安装见仓库根 README;本目录为可发布/可链接安装形态:
|
|
13
17
|
|