Skip to content

Input0 v0.4.0

Choose a tag to compare

@github-actions github-actions released this 01 May 16:00

Bug Fixes

  • tighten optimize_text_with_options visibility to pub(crate)
  • clean up debounce timer on unmount and i18n the modal labels
  • preview_custom_prompt mirrors actual runtime path by toggle state

Code Refactoring

  • cache template regex and dedupe history limit constant
  • tighten OptimizeOptions visibility and document semantics
  • align default custom-prompt template with production prompt

Features

  • 更新系统提示生成逻辑,支持中英文动态生成及优化提示词
  • add custom_prompt_enabled and custom_prompt fields
  • add template engine for custom prompt placeholders
  • add safety footer and custom-prompt branch in build_system_prompt
  • add optimize_text_with_options for custom-prompt and clipboard
  • wire custom prompt and clipboard into optimize_text path
  • add get_default_prompt_template and preview_custom_prompt
  • sync custom_prompt_enabled and custom_prompt to settings store
  • add custom prompt strings (zh + en)
  • add CustomPromptPanel with toggle, tag chips, textarea, preview
  • wire Custom tab into SettingsPage
  • show default prompt with placeholders in custom editor
  • expose all six placeholders in default custom prompt template
  • v3 — pluggable structuring module + custom-path parity

Styling

  • align custom prompt strings to 4-space indent