Publish harness and TUI open-source
initial sync from the monorepo
This commit is contained in:
commit
c68e39f604
2734 changed files with 1437016 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
//! Integration test: the shell re-parks `exit_plan_mode` on
|
||||
//! resume, so approval chrome reappears after quit/`--continue` and approving
|
||||
//! leaves plan mode + starts the implement turn.
|
||||
//!
|
||||
//! CI stages the pager binary via `PAGER_BINARY`. Also runs under plain cargo
|
||||
//! (which builds the pager on demand):
|
||||
//!
|
||||
//! ```bash
|
||||
//! cargo test -p xai-grok-pager-pty-harness --test plan_approval_resume -- --nocapture
|
||||
//! ```
|
||||
|
||||
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
|
||||
async fn plan_approval_restored_after_resume() {
|
||||
xai_grok_pager_pty_harness::scenarios::plan_approval_resume::assert_plan_approval_restored_after_resume()
|
||||
.await
|
||||
.expect("shell must re-park exit_plan_mode on resume so approval chrome returns");
|
||||
}
|
||||
Loading…
Reference in a new issue