Skip to content

feat: lower opacity for thinking summaries#4610

Merged
rekram1-node merged 4 commits into
anomalyco:devfrom
remorses:feat/subtle-thinking
Nov 21, 2025
Merged

feat: lower opacity for thinking summaries#4610
rekram1-node merged 4 commits into
anomalyco:devfrom
remorses:feat/subtle-thinking

Conversation

@remorses

@remorses remorses commented Nov 21, 2025

Copy link
Copy Markdown
Contributor

Fixes #4542

Screenshot 2025-11-21 at 22 28 17 Screenshot 2025-11-21 at 22 36 04

Copilot AI review requested due to automatic review settings November 21, 2025 21:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the visual styling of thinking summaries in the TUI by making them more subtle while maintaining color saturation. Instead of blending syntax highlight colors with the background (which washes them out), it now uses transparency (alpha channel set to 100/255, approximately 39% opacity) to achieve a visually subtle appearance.

  • Adds a new generateSubtleSyntax function that creates a subtle variant of syntax highlighting by applying transparency
  • Updates the ReasoningPart component to use the new subtle syntax style
  • Refactors syntax rule generation into a shared getSyntaxRules helper function

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/opencode/src/cli/cmd/tui/context/theme.tsx Adds generateSubtleSyntax function and getSyntaxRules helper; exports subtleSyntax from theme context
packages/opencode/src/cli/cmd/tui/routes/session/index.tsx Updates ReasoningPart to use subtleSyntax instead of syntax and theme.textMuted for text color

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@remorses
remorses force-pushed the feat/subtle-thinking branch from 52c0388 to 82aafb5 Compare November 21, 2025 21:32
@remorses
remorses force-pushed the feat/subtle-thinking branch from 82aafb5 to ac90da5 Compare November 21, 2025 21:33
@remorses remorses changed the title feat: subtle thinking summaries feat: lower opacity for thinking summaries Nov 21, 2025
@rekram1-node
rekram1-node merged commit 1d7a930 into anomalyco:dev Nov 21, 2025
3 checks passed
adolago added a commit to adolago/zee that referenced this pull request Feb 11, 2026
Phase 1: Upgrade @mariozechner/pi-* packages from 0.49.3 to 0.52.9.
Adapts to breaking changes: ToolDefinition.execute signature reorder,
removed discoverAuthStorage/discoverModels exports (new pi-model-discovery
adapter), systemPrompt moved to session.agent.setSystemPrompt().

Phase 2: Port security and reliability fixes from OpenClaw delta-map.
- Sanitize WhatsApp accountId to prevent path traversal (anomalyco#4610)
- Normalize WhatsApp JIDs with device suffixes for allowlists (anomalyco#838)
- Add recordChannelActivity to sendReaction (#537)
- Harden SSH target handling: reject hostnames starting with dash,
  add "--" separator before userHost args, fix regex bug in
  sanitizeSshTarget (anomalyco#4001)
- Guard resolveUserPath against undefined input (anomalyco#10176)
- Update openclaw-delta-map.md: 21 items marked Done

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request Jun 14, 2026
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]: Decrease opacity of thinking summaries

3 participants