This PR replicates the `tui` code directory and creates a temporary parallel `tui_app_server` directory. It also implements a new feature flag `tui_app_server` to select between the two tui implementations. Once the new app-server-based TUI is stabilized, we'll delete the old `tui` directory and feature flag.
23 lines
695 B
Text
23 lines
695 B
Text
load("//:defs.bzl", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "tui_app_server",
|
|
crate_name = "codex_tui_app_server",
|
|
compile_data = glob(
|
|
include = ["**"],
|
|
exclude = [
|
|
"**/* *",
|
|
"BUILD.bazel",
|
|
"Cargo.toml",
|
|
],
|
|
allow_empty = True,
|
|
) + [
|
|
"//codex-rs/core:templates/collaboration_mode/default.md",
|
|
"//codex-rs/core:templates/collaboration_mode/plan.md",
|
|
],
|
|
test_data_extra = glob(["src/**/snapshots/**"]) + ["//codex-rs/core:model_availability_nux_fixtures"],
|
|
integration_compile_data_extra = ["src/test_backend.rs"],
|
|
extra_binaries = [
|
|
"//codex-rs/cli:codex",
|
|
],
|
|
)
|