Skip to content

feat: add configurable render_ui tool registration (#276) - #281

Merged
wang-kaopu merged 2 commits into
omdsh-dev:mainfrom
wang-kaopu:fix/issue-276-render-ui-tool
Oct 11, 2026
Merged

wang-kaopu merged 2 commits into
omdsh-dev:mainfrom
wang-kaopu:fix/issue-276-render-ui-tool

Conversation

@wang-kaopu

@wang-kaopu wang-kaopu commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add the renderUiTool plugin option, enabled by default.
  • When set to false, skip registering render_ui while keeping validate_dsh_ui available.
  • Hide render_ui guidance from the system prompt and nothing_delivered correction when the tool is disabled.
  • Preserve dsh-ui fence rendering, session panels, /panel, historical render_ui tool views, and independent fenceFeedback behavior.
  • Document the option in English and Chinese.

Closes #276

Validation

  • pnpm exec vitest run tests/plugin-genui.spec.ts tests/fence-feedback.spec.ts — passed (87 tests)
  • pnpm run check — passed (TypeScript, 1041 tests, build, standalone check)

@wang-kaopu
wang-kaopu merged commit 7ff0cf5 into omdsh-dev:main Oct 11, 2026
7 checks passed
@wang-kaopu
wang-kaopu deleted the fix/issue-276-render-ui-tool branch October 11, 2026 06:44
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.

建议:[Feature] 提供开关以单独关闭 render_ui 的工具注册

1 participant