Repository navigation
chore(nsh): sync upstream main and migrate Maka consumers - #6507
Merged
Merged
Conversation
Generated-by: Codex
3 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Synchronize the complete vendored NSH tree with
longbridge/nshmain ata5036af48ddc193b5023ece9b9196c76b8f8d3f5, consolidating previous selective imports into one recorded upstream baseline. Most of the 912-file diff comes from upstream source, components, tests and documentation; Maka workbench consumer changes are confined to two files.Migrate consumers to the current APIs (
ItemAlign,platform.desktop, and listener stop functions), while retaining TUI, input/IME ownership, dynamic module loading, and list publication/retirement behavior. Adopt the shared image loader with isolated inline-byte cache keys and stable asset-reader identities across reloads. Refresh provenance from original upstream bytes and document future synchronization inthird-party/nsh/SOURCE.md.Keep image reads queued without adopting upstream's 512-entry rejection, and preserve unrestricted local-file reads. HTTP downloads retain their existing 64 MiB boundary; the new image-clipboard API retains its 48 MiB boundary for the finite JS heap. Replace the arbitrary mount-operation threshold with a 5,000/50,000-item scaling comparison, and reuse upstream's pointer/keyboard behavior coverage.
Verification
Local validation covered Linux compilation and headless/unit behavior. Native window interaction, browser rendering and other operating-system runtimes were not exercised locally.
AI use
Tool(s) and scope: Codex assisted with upstream integration, API migrations, regression coverage, provenance and documentation. The commit carries
Generated-by: Codex.Checklist
Does this PR entail a change in behavior?