Skip to content

Enhance tool descriptions, system prompt sections, copy buttons, and …#22

Merged
curtisalexander merged 1 commit intomainfrom
claude/enhance-tool-descriptions-jD681
Mar 2, 2026
Merged

Enhance tool descriptions, system prompt sections, copy buttons, and …#22
curtisalexander merged 1 commit intomainfrom
claude/enhance-tool-descriptions-jD681

Conversation

@curtisalexander
Copy link
Owner

…layout

  • Add exampleArgs and defaultToolPolicy fields to SystemMessageDescription and ExtractedTool structs, rendering them as structured sections in the Tools Used panel (System Message, Function Description, Example Arguments)
  • Add defaultToolPolicy badge (auto-allowed, requires permission, disabled) next to each tool name in the Tools Used panel
  • Add copy button for Bash/command tool calls via data-copy-text attribute and JS click handler
  • Parse XML-tagged sections in system prompts (e.g. , ) into collapsible blocks for structured reading
  • Expand container max-width from 860px to 1200px and remove max-height constraint on system-prompt-content to eliminate horizontal scrollbars
  • Add CSS for all new elements with proper dark mode support
  • Bump version to 0.12.0 across Cargo.toml, pyproject.toml, init.py, and README.md
  • Add 8 new tests covering XML parsing, copy button, tag formatting, command extraction, container width, and system prompt rendering

https://claude.ai/code/session_014CHK6ESA8AJoFz9MG7Bw15

…layout

- Add exampleArgs and defaultToolPolicy fields to SystemMessageDescription
  and ExtractedTool structs, rendering them as structured sections in the
  Tools Used panel (System Message, Function Description, Example Arguments)
- Add defaultToolPolicy badge (auto-allowed, requires permission, disabled)
  next to each tool name in the Tools Used panel
- Add copy button for Bash/command tool calls via data-copy-text attribute
  and JS click handler
- Parse XML-tagged sections in system prompts (e.g. <system-reminder>,
  <example>) into collapsible blocks for structured reading
- Expand container max-width from 860px to 1200px and remove max-height
  constraint on system-prompt-content to eliminate horizontal scrollbars
- Add CSS for all new elements with proper dark mode support
- Bump version to 0.12.0 across Cargo.toml, pyproject.toml, __init__.py,
  and README.md
- Add 8 new tests covering XML parsing, copy button, tag formatting,
  command extraction, container width, and system prompt rendering

https://claude.ai/code/session_014CHK6ESA8AJoFz9MG7Bw15
@curtisalexander curtisalexander merged commit 306b1cc into main Mar 2, 2026
1 check passed
@curtisalexander curtisalexander deleted the claude/enhance-tool-descriptions-jD681 branch March 2, 2026 23:30
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