Builds one self-contained binary with `bun build --compile`. npm deps
come from a fixed-output derivation (this nixpkgs has no bun fetcher);
the vendored t3code submodule is grafted from a pinned flake input
(same commit as the submodule) because git flake sources don't include
submodule contents. The binary is a Bun SEA, so strip/patchelf are
disabled on the package. link-vendor now chmods copied vendor files
writable before patching (nix store sources are read-only).
Verified: nix build .#t3tui -> bin/t3tui version prints 0.2.0.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- vendor/t3code submodule pinned to 42c9107983; deps in package.json
aligned with the upstream catalog, including upstream's effect@4.1.5
patch via patchedDependencies (patches/effect@4.1.5.patch)
- nix flake.nix devShell provides bun locally (no guix home install)
- scripts/link-vendor.ts now copies the vendored packages into
node_modules/@t3tools and applies tscPatches for the spots where
classic tsc can't infer what upstream's Effect language service can,
so `bun run typecheck` runs clean under full strict mode
- protocol drift fixes across model/ui/client: usage-limit copy, context
window snapshot, checkpoint totals, turn diff summaries, alert
observation, "once" schedules, composer trigger kinds, PR keying,
thread menu state, secret request answers, terminal summaries,
snapshot-required shell events, revert checkpoint lookup
- new parity features over the typed RPC: fork a turn into a new thread,
rewind a message with its attachments restored to the composer, guest
share links and turn-into-project in the thread menu
- tests updated and added (301 pass); typecheck, lint and build clean
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>