Skip to content

feat(dsh): 写动作改为技能目录卡片按需加载 - #10

Merged
ceastld merged 1 commit into
mainfrom
feat/dsh-ondemand
Sep 17, 2026
Merged

ceastld merged 1 commit into
mainfrom
feat/dsh-ondemand

Conversation

@ceastld

@ceastld ceastld commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • DSH 插件不再在每次会话开头注入整份 write-action 说明
  • 通过 ctx.skills.register 把写动作注册为技能目录卡片,完整正文按需加载(skill({ name: \"write-action\" }) 或 /write-action)
  • 插件版本 0.2.4

Test plan

  • python -m unittest discover -s tests -v -p test_dsh*.py
  • python -m unittest discover -s tests -v -p test_install_clients.py
  • 重启 DSH 后新开对话,确认开头不再出现大段编写说明

- 不再在每次会话开头注入整份 write-action 说明
- 通过 ctx.skills.register 注册目录卡片,完整正文按需加载
- 验证:python -m unittest discover -s tests -v -p test_dsh*.py 与 test_install_clients.py 通过
@ceastld
ceastld merged commit b195770 into main Sep 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant