dsh-catalan
在终端中运行以下命令:
dsh plugin install uckkk/dsh-catalan
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 终端中运行 dsh plugin install uckkk/dsh-catalan 即可完成安装,项目完整源码地址为 https://github.com/uckkk/dsh-catalan。
插件介绍
Catalan numbers appear constantly in combinatorics, algorithm analysis, and everyday coding tasks such as parenthesis matching, binary tree enumeration, and polygon triangulation. dsh-catalan packages the computation as a native dsh session tool, so you can retrieve a value in a single prompt without reaching for a formula sheet or a throwaway script.
The plugin is written in pure Node.js with zero network dependencies. Once installed, it registers itself as an in-session tool automatically, requiring no configuration and no external service.
It is a handy fit for developers who need Catalan numbers in prompt workflows, for quick combinatorial lookups, or for anyone who would rather skip an extra line of boilerplate inside a dsh conversation.
使用场景
- 在 dsh 会话中快速查询某个 n 对应的卡塔兰数值
- 算法题或笔试前快速验证 Catalan 序列的第 k 项
- 讨论括号匹配、二叉树计数等组合问题时直接取值
适合人员
- 需要组合数学数值速查的算法与竞赛开发者
- 在 dsh 工作流中嵌入数学工具、不想额外起脚本的工程师
- 学习卡特兰数、希望直接调用而非手写公式的学生