Skip to content

build: Run Disktree with Cargo and use NSH Git main - #1

Merged
huacnlee merged 3 commits into
mainfrom
use-nsh-git-main
Oct 18, 2026
Merged

huacnlee merged 3 commits into
mainfrom
use-nsh-git-main

Conversation

@huacnlee

@huacnlee huacnlee commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

Launch Disktree from the repository root with cargo run. The development launcher bundles the current TSX sources and opens the native window with the in-process Rust scanner. Source changes load on the next launch; the shell launcher forwards to Cargo.

Follow NSH Git main, with Cargo.lock recording the shared runtime and bundler revision (e716cdf). Resolve the CLI toolchain from that same Cargo checkout, and keep release packaging on bundled resources with the development feature disabled.

Merge the latest main branch while retaining its Rust scanner, reorganized source tree, release fixes, and regression tests. The native scanner library remains compatible with NSH's generated CLI hosts: registry core dependencies use the Git core for direct Cargo builds and the host's core inside generated workspaces.

Test Plan

  • Launched root cargo run --locked, scanned the test directory with the Rust scanner, and inspected the populated native window.
  • Passed 13 Rust scanner unit tests and the ignored 650,000-file index test.
  • Passed the installer regression test and the JSX interaction test against the real Rust scanner (navigation, refresh, and isolated fixture removal).
  • Passed the packaged-configuration Cargo check, clippy for all targets, formatting, Python syntax checks, and Git whitespace/conflict checks.
  • Full release packaging and Linux compilation were not run.

huacnlee and others added 2 commits October 18, 2026 23:30
Resolve the native runtime through Cargo and build the packaging CLI from
the same checkout. Remove the old source pin and hover patch now that
hover events are available upstream.

Co-authored-by: Codex <[email protected]>
Add a root Cargo workspace and compile TSX directly in the development
launcher. Start an authenticated Python scanner with the native window
and clean it up on exit. Keep packaged resources behind the release
build configuration and update the packaging and development workflows.

Co-authored-by: Codex <[email protected]>
@huacnlee huacnlee changed the title build: Depend on NSH Git main build: Run Disktree with Cargo and use NSH Git main Oct 18, 2026
Keep the in-process Rust scanner and reorganized UI from main while
retaining Git main dependencies and root cargo run support. Resolve the
CLI toolchain from Cargo and share the correct core with generated hosts.

Co-authored-by: Codex <[email protected]>
@huacnlee
huacnlee merged commit 9bc84ad into main Oct 18, 2026
@huacnlee
huacnlee deleted the use-nsh-git-main branch October 18, 2026 15:41
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.

1 participant