Skip to content

refactor(tool)!: rename date-picker type to date-range - #377

Merged
WH-2099 merged 1 commit into
langgenius:mainfrom
hjlarry:agent/rename-date-picker-to-date-range
Aug 7, 2026
Merged

refactor(tool)!: rename date-picker type to date-range#377
WH-2099 merged 1 commit into
langgenius:mainfrom
hjlarry:agent/rename-date-picker-to-date-range

Conversation

@hjlarry

@hjlarry hjlarry commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • rename DATE_PICKER to DATE_RANGE
  • change the tool parameter wire value from date-picker to date-range
  • preserve the existing { start, end } prompt schema

Why

This parameter represents a date range value, not a UI picker. date-range pairs directly with the existing date type and keeps presentation terminology out of the protocol.

Breaking change

This intentionally removes DATE_PICKER and date-picker without compatibility aliases. SDK v0.10.1 included the previous name, so consumers using it must update Python enum references and plugin YAML manifests.

Related

Validation

  • uv run pytest tests/entities/test_tool.py tests/interfaces/agent/test_agent.py -q (9 passed)
  • full test suite (209 passed)
  • uv lock --check
  • Ruff format and lint checks
  • git diff --check

@WH-2099
WH-2099 merged commit 28d1d22 into langgenius:main Aug 7, 2026
5 of 7 checks 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.

2 participants