@leotang92/dsh-claude-dashboard 0.0.0-stage → 0.1.1
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/LICENSE +27 -0
- package/NOTICE.md +25 -0
- package/README.md +21 -2
- package/cordis.patch.yml +7 -0
- package/docs/DETAIL.md +27 -0
- package/docs/DETAIL.zh.md +16 -0
- package/icon.svg +9 -0
- package/lib/client.js +1800 -0
- package/lib/index.js +878 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +69 -4
- package/skills/claude-dashboard/SKILL.md +495 -0
- package/skills/claude-dashboard/artifact-type/reference/admin-setup.md +106 -0
- package/skills/claude-dashboard/artifact-type/reference/dependent-calls.md +33 -0
- package/skills/claude-dashboard/artifact-type/reference/design-defaults.md +267 -0
- package/skills/claude-dashboard/artifact-type/reference/design-system.md +131 -0
- package/skills/claude-dashboard/artifact-type/reference/exporting.md +68 -0
- package/skills/claude-dashboard/artifact-type/reference/features.md +240 -0
- package/skills/claude-dashboard/artifact-type/reference/one-writer.md +104 -0
- package/skills/claude-dashboard/artifact-type/reference/read-aloud.md +118 -0
- package/skills/claude-dashboard/artifact-type/reference/remix.md +91 -0
- package/skills/claude-dashboard/artifact-type/reference/sources.md +234 -0
- package/skills/claude-dashboard/artifact-type/reference/visual-short-script.md +142 -0
- package/skills/claude-dashboard/artifact-type/reference/visual-short-skeleton.md +97 -0
- package/skills/claude-dashboard/artifact-type/reference/visual-short.md +227 -0
- package/skills/claude-dashboard/scripts/artifact.mjs +5541 -0
- package/skills/claude-dashboard/scripts/editor/assets/anthropicons-fizzy-lake-CPTdBYLV.woff2 +0 -0
- package/skills/claude-dashboard/scripts/editor/assets/index-BUtE2LuL.css +1 -0
- package/skills/claude-dashboard/scripts/editor/assets/index-DLvAt8Vr.js +553 -0
- package/skills/claude-dashboard/scripts/editor/comments.js +103 -0
- package/skills/claude-dashboard/scripts/editor/index.html +27 -0
- package/skills/claude-dashboard/scripts/editor/local-host.js +481 -0
- package/skills/claude-dashboard/scripts/editor/share-ui.js +208 -0
- package/skills/claude-dashboard/scripts/editor/third-party-licenses.txt +1141 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
This MIT License covers only the original plugin host code adapted from
|
|
2
|
+
Jim Liu 宝玉's baoyu-design DeepSeek Harness plugins, and the packaging work in
|
|
3
|
+
this repository. It does not cover material from Anthropic or third-party
|
|
4
|
+
open-source code listed in NOTICE.md, which keep their own terms.
|
|
5
|
+
|
|
6
|
+
MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 Jim Liu 宝玉
|
|
9
|
+
Copyright (c) 2026 tanglei168
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
package/NOTICE.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Notices
|
|
2
|
+
|
|
3
|
+
These DeepSeek Harness plugins package the design skills vendored from
|
|
4
|
+
[JimLiu/baoyu-design](https://github.com/JimLiu/baoyu-design), plus the
|
|
5
|
+
baoyu-design DeepSeek Harness plugin host (`lib/`, `cordis.patch.yml`,
|
|
6
|
+
`locale/`, `docs/`, `icon.svg`).
|
|
7
|
+
|
|
8
|
+
## 1. Plugin host and packaging: MIT
|
|
9
|
+
|
|
10
|
+
- Jim Liu 宝玉's DeepSeek Harness plugin host code (MIT).
|
|
11
|
+
- Packaging in this repository (MIT).
|
|
12
|
+
|
|
13
|
+
See LICENSE.
|
|
14
|
+
|
|
15
|
+
## 2. Material from Anthropic: not MIT
|
|
16
|
+
|
|
17
|
+
Skill instructions, Artifact-type reference docs, reconstructed editors, icon
|
|
18
|
+
fonts, and related material stay Anthropic's. This packaging grants no license
|
|
19
|
+
to that material. Full upstream terms:
|
|
20
|
+
https://github.com/JimLiu/baoyu-design/blob/main/NOTICE.md
|
|
21
|
+
|
|
22
|
+
## 3. Third-party open-source code
|
|
23
|
+
|
|
24
|
+
Editor bundles keep their own licenses in each skill's
|
|
25
|
+
`scripts/editor/third-party-licenses.txt` when present.
|
package/README.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @leotang92/dsh-claude-dashboard
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin that adds the **claude-dashboard** skill from
|
|
4
|
+
[this repository](https://github.com/tanglei168/T-skills): The agent builds data-backed dashboards and opens them in a local dashboard editor.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
In the DeepSeek Harness desktop app: **Plugins** → **Add plugin** → enter `@leotang92/dsh-claude-dashboard` in **Package name or
|
|
9
|
+
address** → **Install**, and turn the plugin on. From the command line, for a CLI profile such as `web`:
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
dsh plugin --profile web add @leotang92/dsh-claude-dashboard
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Then quit and reopen the app, start a new session, and type `/claude-dashboard`.
|
|
16
|
+
|
|
17
|
+
To pin a version: `@leotang92/dsh-claude-dashboard@0.1.1`.
|
|
18
|
+
|
|
19
|
+
## Source
|
|
20
|
+
|
|
21
|
+
Skill files come from `tools/claude-dashboard/` in this repository. The plugin host (`lib/`) is adapted from
|
|
22
|
+
baoyu-design's DeepSeek Harness plugins under MIT; Anthropic material stays Anthropic's. See NOTICE.md.
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# @leotang92/dsh-claude-dashboard bundle patch: installing the package (the Plugins page, or
|
|
2
|
+
# `dsh plugin --profile <name> add <spec>`) adds it to the profile's bundles,
|
|
3
|
+
# and this layer mounts its one plugin row, which registers the claude-dashboard
|
|
4
|
+
# skill with the profile's skill registry.
|
|
5
|
+
- insert:
|
|
6
|
+
- id: claude-dashboard
|
|
7
|
+
name: "@leotang92/dsh-claude-dashboard"
|
package/docs/DETAIL.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Claude Dashboard
|
|
2
|
+
|
|
3
|
+
Adds the **claude-dashboard** skill to DeepSeek Harness. Ask for a dashboard ("a dashboard of this sales CSV by month
|
|
4
|
+
and region") and the agent builds it as files in your workspace: a folder holding the datasets, the files they load
|
|
5
|
+
and the page. It then starts a local dashboard editor and gives you its link.
|
|
6
|
+
|
|
7
|
+
## Using it
|
|
8
|
+
|
|
9
|
+
- Ask for a dashboard, metrics page, KPI tracker or report in plain words, or type `/claude-dashboard` to call the
|
|
10
|
+
skill by name. Give it a CSV, TSV or JSON file, or ask it to gather the data.
|
|
11
|
+
- Open the link the agent gives you. In the desktop app it opens in the right sidebar's Browser, beside the
|
|
12
|
+
conversation (Settings → General → Open chat links in: **In-App Sidebar**, the default).
|
|
13
|
+
- The Sources panel shows where every number comes from, and downloads a source's rows as CSV. The agent's changes
|
|
14
|
+
show up in the page as it writes them.
|
|
15
|
+
- Comment on a chart, a number, a table or any other part of the page (Comment, or C). Tick **Send to Agent** and the
|
|
16
|
+
agent picks it up at once, even when the conversation is idle: it changes the dashboard and replies in the comment.
|
|
17
|
+
The comment also shows in the chat as a card; **View thread** on the card opens it in the editor. The box is there
|
|
18
|
+
while comments can reach the agent, which starts each time it gives you the link. After restarting the app, ask the
|
|
19
|
+
agent to open the dashboard again to bring it back.
|
|
20
|
+
- To change or refresh a dashboard later, ask the agent to revise its folder.
|
|
21
|
+
- A workspace that has its own `claude-dashboard` skill (in `.agents/skills/` or `.dsh/skills/`) uses that copy
|
|
22
|
+
instead of this plugin's.
|
|
23
|
+
|
|
24
|
+
## What runs where
|
|
25
|
+
|
|
26
|
+
The editor is a small server on 127.0.0.1 that the skill's script starts in the background, one per dashboard. It
|
|
27
|
+
reads and writes only that dashboard's folder. The desktop app's own Node runtime runs it; nothing else is installed.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Claude 数据看板
|
|
2
|
+
|
|
3
|
+
给 DeepSeek Harness 加上 **claude-dashboard** 技能。让 Agent 做一个数据看板("把这份销售 CSV 按月份和地区做成看板"),它会在工作区里把看板写成文件:一个文件夹,里面有数据集、数据集要加载的文件和页面。写完它会启动本地看板编辑器,把链接给你。
|
|
4
|
+
|
|
5
|
+
## 怎么用
|
|
6
|
+
|
|
7
|
+
- 直接用自然语言要看板、指标页、KPI 跟踪或报表,或者输入 `/claude-dashboard` 点名调用这个技能。可以给它一个 CSV、TSV 或 JSON 文件,也可以让它自己去找数据。
|
|
8
|
+
- 打开 Agent 给的链接。桌面版里它会在右侧栏的浏览器里打开,和对话并排(设置 → 通用 → 聊天链接打开方式:**应用内侧栏**,默认就是这个)。
|
|
9
|
+
- 来源面板(Sources)会显示每个数字是从哪里来的,还能把某个来源的数据下载成 CSV。Agent 写的改动会实时出现在页面上。
|
|
10
|
+
- 在页面上可以给图表、数字、表格或任何一块加评论(点评论按钮或按 C)。勾上 **Send to Agent** 发出去,Agent 会马上接手,对话空闲时也一样:它改好看板,再在评论里回复你。评论也会以卡片的形式出现在对话里,点卡片上的 **View thread**(中文界面是「查看评论」)会在编辑器里打开这条评论。这个勾选框只在评论能发给 Agent 时出现;Agent 每次给你编辑器链接时都会开始等评论。重启应用后,让 Agent 再打开一次这个看板就能恢复。
|
|
11
|
+
- 以后要修改或刷新数据,让 Agent 修改这个看板的文件夹即可。
|
|
12
|
+
- 如果工作区自己带了 `claude-dashboard` 技能(在 `.agents/skills/` 或 `.dsh/skills/` 里),这个工作区会用它自己那份,而不是插件里的。
|
|
13
|
+
|
|
14
|
+
## 运行方式
|
|
15
|
+
|
|
16
|
+
编辑器是技能脚本在后台启动的一个本地服务(127.0.0.1),一个看板一个,只读写这个看板自己的文件夹。用的是桌面版自带的 Node,不需要另外安装任何东西。
|
package/icon.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
|
|
2
|
+
<rect width="64" height="64" rx="14" fill="#D97757"/>
|
|
3
|
+
<rect x="11" y="13" width="42" height="38" rx="4" fill="#FFF7F2"/>
|
|
4
|
+
<rect x="16" y="18" width="14" height="3.5" rx="1.75" fill="#D97757"/>
|
|
5
|
+
<rect x="17" y="34" width="5" height="12" rx="1.5" fill="#E9B8A3"/>
|
|
6
|
+
<rect x="25" y="28" width="5" height="18" rx="1.5" fill="#D97757"/>
|
|
7
|
+
<rect x="33" y="31" width="5" height="15" rx="1.5" fill="#E9B8A3"/>
|
|
8
|
+
<rect x="41" y="24" width="5" height="22" rx="1.5" fill="#D97757"/>
|
|
9
|
+
</svg>
|