Merged
Conversation
Owner
HALQME
commented
Dec 25, 2025
- Replace in-TUI DevTools with browser server
- Update AGENTS.md with test and Bun notes
- Move useLog to hooks and lazily load DevTools
- Add DevTools inspector HTML UI
- devtools compleate
- Remove hot-reload state support
- Restructure Japanese roadmap and expand DevTools
- Add inspector example and enhance DevTools
- Check off two layout engine roadmap items
- Add 3D Z-Index visualization and panning
- Add profiler streaming to devtools
- Add reactivity devtools and ref labeling support
- Tidy up devtools HTML and TypeScript formatting
- Refactor CLI into command modules
- Add package-dev script and update package config
Move useLog and its types from src/devtools to a new src/hooks and re-export hooks from the root index. Make the DevTools controller optional and lazily imported by the runtime (LoopManager) with a prepare hook. Add CLI flags to disable DevTools or auto-open the browser and add env var support. Update docs, examples, and tests to match the new structure and lazy initialization
Embed a new inspector.html frontend and import it into the devtools server (as text) so the server can serve the DevTools UI and handle logs/snapshots over WebSocket.
Drop the enableHotReloadState API, its CLI option (--no-preserve-state), related tests, types export, and example usage. Add BTUIN_DEVTOOLS_CONTROLLER env var and wiring: the CLI pins a controller file path into the child env, and the runtime resolves/imports a devtools controller from that spec. Move/adjust hot-reload module imports to src/cli and update docs.
Remove legacy examples/devtools.ts and add a new examples/inspector.ts demo (layout/style/text panels, logs, Japanese and emoji content). Update devtools inspector HTML/CSS to improve preview/layout panels, selection rings and visual styles. Revise server snapshot logic to serialize layout and view style info and compute absolute layout boxes for the browser preview.
Mark Flexbox property inspection and computed box-model color visualization as completed in docs/roadmap.ja.md
Add a 3D preview mode with a toggle and depth slider. Apply translateZ transforms, per-depth opacity/shadows and 3D stage styling. Add pointer-based panning (middle/right drag or modifier), pointer capture handling and key listeners. Update roadmap to mark feature complete.
Collapse multiline elements/attributes, normalize spacing, and inline short expressions in inspector.html, server.ts, and reactivity/devtools.ts. No behavior changes.
Introduce a Command interface and per-command files (commands/command.ts, commands/dev.ts, commands/build.ts). Remove the old args parser and its tests; main now enumerates commands, delegates parsing/run, and formats help. Add build command that bundles output and copies the native layout engine binary.
Add scripts/package-dev.ts to build the FFI and stage a dev package including native binaries. The script supports --outdir and --current-only. Register the command in mise.toml, bump package.json to 0.1.0-alpha.2, and normalize the bin path to "bin/btuin"
🚀 Performance Benchmark ResultRun DetailsTriggered by commit: 4832afc |
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.