RexYoung000/rex-harness--packages-example-greet ↗★ 0
@rex-harness/example-greet
用于工作区示例的极简 DSH 工具包,包含一个可配置问候语的 greet 工具。
AI 分析
核心用途是作为开发和学习 DSH 插件的极简示例。适合想要了解 DSH 工具绑定、配置覆盖等基础开发流程的插件开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RexYoung000/rex-harness#0632e036027f89ecef28769204c60104ae63178d&path:packages/example-greet說明文件
閱讀完整 README ↗@rex-harness/example-greet
Workspace example bundle: a greet tool with a configurable greeting.
pnpm plugin:add example-greet
pnpm dev
Ask the Web UI: Use the greet tool to greet Ada. Expected result: Hello, Ada!
Override the greeting in the profile cordis.patch.yml:
- id: rex-example-greet
name: '@rex-harness/example-greet'
config:
greeting: 'Hi {name}'