Skip to content

fix(ui): update OpenTUI color renderer#407

Merged
benvinegar merged 2 commits into
mainfrom
fix/opentui-color-shift
Jun 9, 2026
Merged

fix(ui): update OpenTUI color renderer#407
benvinegar merged 2 commits into
mainfrom
fix/opentui-color-shift

Conversation

@benvinegar

Copy link
Copy Markdown
Member

Summary

  • Bump @opentui/core and @opentui/react from 0.1.88 to 0.1.89 to pick up upstream native renderer color/background fixes.
  • Update the lockfile for the matching OpenTUI native packages.
  • Document the user-visible fix in the changelog.

Fixes #399.

Testing

  • bun run typecheck
  • bun run lint
  • bun test

This PR description was generated by Pi using OpenAI GPT-5

@socket-security

socket-security Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​opentui/​core@​0.1.88 ⏵ 0.1.898510092 +198100
Updated@​opentui/​react@​0.1.88 ⏵ 0.1.8998 +110010098100

View full report

@socket-security

socket-security Bot commented Jun 9, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @opentui/core is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package.jsonnpm/@opentui/core@0.1.89

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@opentui/core@0.1.89. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@greptile-apps

greptile-apps Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR bumps @opentui/core and @opentui/react from 0.1.88 to 0.1.89 to pick up a native renderer fix for color and background rendering in light/dark themes. The lockfile is updated consistently for all six platform-specific native binaries, and the fix is documented in the [Unreleased] section of the changelog.

  • package.json: Version constraint for @opentui/core and @opentui/react raised to ^0.1.89.
  • bun.lock: All six platform native packages (darwin-arm64, darwin-x64, linux-arm64, linux-x64, win32-arm64, win32-x64) updated to 0.1.89 with new hashes; @opentui/react's pinned peer dependency on @opentui/core also updated to 0.1.89.
  • CHANGELOG.md: Entry added under the [Unreleased] > Fixed section, correctly formatted and placed.

Confidence Score: 5/5

Safe to merge — a narrow patch-version bump with a consistent lockfile update and well-placed changelog entry.

The change touches only the OpenTUI dependency version in package.json, the generated lockfile, and the changelog. All six platform-specific native binaries are updated to the matching version with new hashes, and @opentui/react's internal pinned reference to @opentui/core is also bumped correctly. The changelog entry is correctly placed under [Unreleased] > Fixed and matches the format of the surrounding entries. There are no logic changes, no migration concerns, and no inconsistencies between the declared and resolved versions.

No files require special attention.

Important Files Changed

Filename Overview
package.json Bumps @opentui/core and @opentui/react from ^0.1.88 to ^0.1.89; no other changes.
bun.lock Lockfile updated for all six platform-specific native binaries and both JS packages to 0.1.89 with correct hashes; @opentui/react's pinned core dependency also updated.
CHANGELOG.md Changelog entry correctly added under [Unreleased] > Fixed; format matches existing entries.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[package.json] -->|declares 0.1.89| B[opentui-core 0.1.89]
    A -->|declares 0.1.89| C[opentui-react 0.1.89]
    C -->|pinned peer dep| B
    B --> D[core-darwin-arm64 0.1.89]
    B --> E[core-darwin-x64 0.1.89]
    B --> F[core-linux-arm64 0.1.89]
    B --> G[core-linux-x64 0.1.89]
    B --> H[core-win32-arm64 0.1.89]
    B --> I[core-win32-x64 0.1.89]
    J[bun.lock] -->|pins all packages with hashes| B
    J --> C
Loading

Reviews (1): Last reviewed commit: "fix(ui): update OpenTUI color renderer" | Re-trigger Greptile

@benvinegar benvinegar force-pushed the fix/opentui-color-shift branch from cf1f722 to 3fee10b Compare June 9, 2026 19:03
@benvinegar

Copy link
Copy Markdown
Member Author

Refs #399

@benvinegar benvinegar merged commit a688d1a into main Jun 9, 2026
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.

The UI colors are very strange

1 participant