Scaffold apps/tui workspace + BAZ-004 user story#8
Open
rullopat wants to merge 1 commit into
Open
Conversation
New TS + Ink 7 + React 19 TUI client, packaged via `bun build --compile`. Reuses @bazilion/client and @bazilion/api-types directly (the hermetic- package investment pays off). v1 scope is scaffold + read-mostly screens — agents-list lands here, streaming chat and write CRUD follow in per-screen BAZs. Dev runs via `tsx` (matches monorepo convention); only the release path needs Bun. apps/tui is excluded from the root tsconfig (JSX + needs `jsx: "react-jsx"`, same precedent as web/mobile) but stays inside biome.json since it follows root conventions. User story moved to docs/backlog/todo/ with the full framework decision (10-agent fan-out research summary) and v1 scope. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
apps/tuiworkspace: TS + Ink 7 + React 19, ~200 LOC scaffold with a working agents-list screen against the local daemon.@bazilion/client+@bazilion/api-typesdirectly — the deciding factor in the framework decision (no wire-type duplication, no permanent dual source of truth).docs/backlog/todo/BAZ-004-tui-client.mdcaptures the user story, the framework decision (TS + Ink + Bun-compile chosen via 10-agent fan-out research over Go+Bubble Tea / Rust+Ratatui / etc.), v1 scope (read-mostly screens; chat streaming + write CRUD deferred to follow-up BAZs), open questions, and tests.tsx(matches monorepo convention); release path usesbun build --compileper-platform — devs do not need Bun installed locally.apps/tuiexcluded from roottsconfig.json(JSX +jsx: "react-jsx", same precedent as web/mobile) but stays insidebiome.jsonsince it follows root conventions.Strictly additive: no changes to
apps/daemon,apps/web,apps/mobile,apps/cli, or anypackages/*.Test plan
pnpm installsucceeds, lockfile updatedpnpm --filter @bazilion/tui typecheckcleanbiome check apps/tuicleanpnpm typecheckunchanged (clean — apps/tui correctly excluded)pnpm --filter @bazilion/tui devagainst a running local daemon renders the agents list~/.bazilion/auth.json): prints a friendly error and exits 1🤖 Generated with Claude Code