@leotang92/dsh-claude-slides 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 +26 -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 +68 -4
- package/skills/claude-slides/SKILL.md +224 -0
- package/skills/claude-slides/artifact-type/reference/craft.md +185 -0
- package/skills/claude-slides/artifact-type/reference/deck-files.md +48 -0
- package/skills/claude-slides/artifact-type/reference/diagram-recipes.md +60 -0
- package/skills/claude-slides/artifact-type/reference/diagrams.md +109 -0
- package/skills/claude-slides/artifact-type/reference/fonts.md +91 -0
- package/skills/claude-slides/artifact-type/reference/format.md +95 -0
- package/skills/claude-slides/artifact-type/reference/google-fonts-families.json +1 -0
- package/skills/claude-slides/artifact-type/reference/google-fonts-notices.json +1 -0
- package/skills/claude-slides/artifact-type/reference/google-fonts-reserved.json +1 -0
- package/skills/claude-slides/artifact-type/reference/images.md +77 -0
- package/skills/claude-slides/artifact-type/reference/layout.md +100 -0
- package/skills/claude-slides/artifact-type/reference/photo-library.md +32 -0
- package/skills/claude-slides/artifact-type/reference/questions.md +72 -0
- package/skills/claude-slides/artifact-type/reference/styles.md +41 -0
- package/skills/claude-slides/artifact-type/reference/view-state.md +77 -0
- package/skills/claude-slides/scripts/artifact.mjs +3785 -0
- package/skills/claude-slides/scripts/editor/artifact-type/reference/google-fonts-families.json +1 -0
- package/skills/claude-slides/scripts/editor/artifact-type/reference/google-fonts-notices.json +1 -0
- package/skills/claude-slides/scripts/editor/artifact-type/reference/google-fonts-reserved.json +1 -0
- package/skills/claude-slides/scripts/editor/assets/anthropicons-fizzy-lake-D4byUNVq.woff2 +0 -0
- package/skills/claude-slides/scripts/editor/assets/index-7OEzB54c.js +3778 -0
- package/skills/claude-slides/scripts/editor/assets/index-DX-X-CY8.css +1 -0
- package/skills/claude-slides/scripts/editor/assets/woff2-decoder-BvG5IStQ.js +17 -0
- package/skills/claude-slides/scripts/editor/index.html +17 -0
- package/skills/claude-slides/scripts/editor/node/compiler.cjs +284636 -0
- package/skills/claude-slides/scripts/editor/node/third-party-licenses.txt +1926 -0
- package/skills/claude-slides/scripts/editor/share-ui.js +208 -0
- package/skills/claude-slides/scripts/editor/third-party-licenses.txt +1693 -0
- package/skills/claude-slides/scripts/server.mjs +5195 -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-slides
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin that adds the **claude-slides** skill from
|
|
4
|
+
[this repository](https://github.com/tanglei168/T-skills): The agent writes editable slide decks as files and opens them in a local slide editor.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
In the DeepSeek Harness desktop app: **Plugins** → **Add plugin** → enter `@leotang92/dsh-claude-slides` 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-slides
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Then quit and reopen the app, start a new session, and type `/claude-slides`.
|
|
16
|
+
|
|
17
|
+
To pin a version: `@leotang92/dsh-claude-slides@0.1.1`.
|
|
18
|
+
|
|
19
|
+
## Source
|
|
20
|
+
|
|
21
|
+
Skill files come from `tools/claude-slides/` 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-slides 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-slides
|
|
4
|
+
# skill with the profile's skill registry.
|
|
5
|
+
- insert:
|
|
6
|
+
- id: claude-slides
|
|
7
|
+
name: "@leotang92/dsh-claude-slides"
|
package/docs/DETAIL.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Claude Slides
|
|
2
|
+
|
|
3
|
+
Adds the **claude-slides** skill to DeepSeek Harness. Ask for a slide deck ("make a 10-slide deck on our Q3 results")
|
|
4
|
+
and the agent writes it as files in your workspace: a folder with `project/deck.json` and one HTML file per slide. It
|
|
5
|
+
then starts a local slide editor and gives you its link.
|
|
6
|
+
|
|
7
|
+
## Using it
|
|
8
|
+
|
|
9
|
+
- Ask for a deck in plain words, or type `/claude-slides` to call the skill by name.
|
|
10
|
+
- Open the link the agent gives you. In the desktop app it opens in the right sidebar's Browser, beside the
|
|
11
|
+
conversation (Settings → General → Open chat links in: **In-App Sidebar**, the default).
|
|
12
|
+
- In the editor you can present, retype text, drag elements, and export PDF, HTML, or PowerPoint (.pptx). Your edits
|
|
13
|
+
are saved back into the same files, and the agent's changes show up in the page as it writes them.
|
|
14
|
+
- Comment on anything in the editor (Comment, or C). Tick **Send to Agent** and the agent picks it up at once, even when
|
|
15
|
+
the conversation is idle: it changes the slide and replies in the comment. The comment also shows in the chat as a
|
|
16
|
+
card; **View thread** on the card opens it in the editor. The box is there while comments can reach the agent, which
|
|
17
|
+
starts each time it gives you the link. After restarting the app, ask the agent to open the deck again to bring it
|
|
18
|
+
back.
|
|
19
|
+
- To change a deck later, ask the agent to revise the folder that holds its `project/deck.json`.
|
|
20
|
+
- A workspace that has its own `claude-slides` skill (in `.agents/skills/` or `.dsh/skills/`) uses that copy instead
|
|
21
|
+
of this plugin's.
|
|
22
|
+
|
|
23
|
+
## What runs where
|
|
24
|
+
|
|
25
|
+
The editor is a small server on 127.0.0.1 that the skill's script starts in the background, one per deck. It reads
|
|
26
|
+
and writes only that deck'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-slides** 技能。让 Agent 做一份幻灯片("做一份 10 页的三季度业绩汇报"),它会在工作区里把幻灯片写成文件:一个文件夹,里面是 `project/deck.json` 和每页一个 HTML 文件。写完它会启动本地幻灯片编辑器,把链接给你。
|
|
4
|
+
|
|
5
|
+
## 怎么用
|
|
6
|
+
|
|
7
|
+
- 直接用自然语言要幻灯片,或者输入 `/claude-slides` 点名调用这个技能。
|
|
8
|
+
- 打开 Agent 给的链接。桌面版里它会在右侧栏的浏览器里打开,和对话并排(设置 → 通用 → 聊天链接打开方式:**应用内侧栏**,默认就是这个)。
|
|
9
|
+
- 编辑器里可以放映、改字、拖动元素,导出 PDF、HTML 或 PowerPoint(.pptx)。你的修改会存回同一批文件;Agent 写的改动也会实时出现在页面上。
|
|
10
|
+
- 在编辑器里可以给任何元素加评论(点评论按钮或按 C)。勾上 **Send to Agent** 发出去,Agent 会马上接手,对话空闲时也一样:它改好那一页,再在评论里回复你。评论也会以卡片的形式出现在对话里,点卡片上的 **View thread**(中文界面是「查看评论」)会在编辑器里打开这条评论。这个勾选框只在评论能发给 Agent 时出现;Agent 每次给你编辑器链接时都会开始等评论。重启应用后,让 Agent 再打开一次这份幻灯片就能恢复。
|
|
11
|
+
- 以后要改,让 Agent 修改那个装着 `project/deck.json` 的文件夹即可。
|
|
12
|
+
- 如果工作区自己带了 `claude-slides` 技能(在 `.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="12" y="15" width="40" height="27" rx="3" fill="#FFF7F2"/>
|
|
4
|
+
<rect x="17" y="21" width="18" height="3.5" rx="1.75" fill="#D97757"/>
|
|
5
|
+
<rect x="17" y="28" width="26" height="2.5" rx="1.25" fill="#E9B8A3"/>
|
|
6
|
+
<rect x="17" y="33" width="21" height="2.5" rx="1.25" fill="#E9B8A3"/>
|
|
7
|
+
<rect x="30.5" y="42" width="3" height="7" fill="#FFF7F2"/>
|
|
8
|
+
<rect x="22" y="48" width="20" height="3" rx="1.5" fill="#FFF7F2"/>
|
|
9
|
+
</svg>
|