Skip to content

✨ Yazi in server-shell-setup + about-system web dashboard - #110

Merged
vtempest merged 2 commits into
masterfrom
claude/laughing-franklin-vhwfif
Sep 26, 2026
Merged

vtempest merged 2 commits into
masterfrom
claude/laughing-franklin-vhwfif

Conversation

@vtempest

Copy link
Copy Markdown
Collaborator

Two independent commits, one per package.

✨ feat(server-shell-setup): Yazi component

  • New yazi component (menu item 15, --components yazi, included in all).
  • Arch, macOS, and Termux use the distro package. Alpine tries the apk first and falls back to the musl release if that fails. Debian/Ubuntu and Fedora/RHEL have no official package, so they install the official prebuilt GitHub release (x86_64 or aarch64) into /usr/local/bin. Also installs file, which Yazi needs.
  • Adds the upstream y wrapper for bash, fish, and nushell, so quitting Yazi cds the shell to the last directory. It uses the script's managed blocks, so re-runs are idempotent.
  • README and skill updated.
  • Not run on a real box. This package has no CI. I checked it with bash -n and with --components yazi --dry-run on Ubuntu 24.04, which took the release path.

✨ feat(about-system): about-system web

  • about-system web [--port 3777] [--host 127.0.0.1] (or PORT=) serves a React + shadcn/ui dashboard, plus GET /api/info, which returns the same JSON as --json.
  • The dashboard has usage bars for memory and disk, grouped cards that match the desktop app, a filter box, light/dark mode, and auto-refresh every 10s. It works at phone width.
  • It binds to localhost by default. --host 0.0.0.0 prints a warning that system details are exposed.
  • The UI source is in web/ and bun run build builds it to dist/web. The UI deps are devDependencies bundled at build time, so the CLI gains no runtime deps. Version bumped to 0.10.0.
  • New src/web-server.test.ts covers the API route, content types, 405 on other methods, and path-traversal protection.

Validation

  • about-system: bun run build ✅, bun run test ✅ (73/73), tsc -p web/tsconfig.json ✅, turbo run build --filter=about-system ✅. I also ran the real server and loaded it in Chromium at desktop, dark, and mobile sizes with no console errors.
  • Already failing before this PR: bun run readmes:check reports 3 stale headers on master (about-system, git0, open-when-ready). For about-system, bun run readmes adds a second badge block instead of replacing the existing one, so I left it alone. Root tsc also has 2 type errors in the existing cache.test.ts and platform.test.ts.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FKYoWGtDmgddZR8KGYE5C5


Generated by Claude Code

Installs yazi on every supported platform: distro package on Arch,
Alpine (release fallback), macOS and Termux; the official prebuilt
release on Debian/Ubuntu and Fedora/RHEL. Adds a `y` wrapper for bash,
fish and nushell that cds into the last directory on quit, and includes
yazi in `all`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FKYoWGtDmgddZR8KGYE5C5
`about-system web [--port N] [--host H]` serves a React/shadcn/ui
dashboard and a GET /api/info endpoint (same JSON as --json). Binds
127.0.0.1:3777 by default; --host 0.0.0.0 exposes it with a warning.
The UI is built into dist/web as part of `build`; its deps are
devDependencies bundled at build time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FKYoWGtDmgddZR8KGYE5C5
@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cccp-deployment Error Error Sep 26, 2026 12:06pm UTC
dev-tools-help-docs Error Error Sep 26, 2026 12:06pm UTC
test-google-login Error Error Sep 26, 2026 12:06pm UTC

@vtempest
vtempest merged commit 9c73d12 into master Sep 26, 2026
25 of 29 checks passed
@vtempest
vtempest deleted the claude/laughing-franklin-vhwfif branch September 26, 2026 11:32
@codecov

codecov Bot commented Sep 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 60.86957% with 27 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
packages/about-system-info/src/about-system-cli.ts 0.00% 21 Missing ⚠️
packages/about-system-info/src/web-server.ts 87.50% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

This branch had an error being deployed

3 failed deployments
Preview – cccp-deployment — 63458064 Deployed Sep 26, 2026 by vercel[bot]
Preview – test-google-login — 63458064 Deployed Sep 26, 2026 by vercel[bot]
Preview – dev-tools-help-docs — 63458064 Deployed Sep 26, 2026 by vercel[bot]
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