THIRD-PARTY NOTICES

This project is licensed under the Apache License, Version 2.0 (see ./LICENSE).
It includes portions of third-party software under the licenses reproduced
below. The full text of the Apache License 2.0 referenced in this file is the
same one in ./LICENSE.

================================================================================
ratatui — MIT License
================================================================================

Portions of src/repl/tui/inline_terminal.rs are derived from ratatui's
`Terminal` type.

The MIT License (MIT)

Copyright (c) 2016-2022 Florian Dehau
Copyright (c) 2023-2025 The Ratatui Developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

================================================================================
OpenAI Codex — Apache License 2.0
================================================================================

Portions of this project are derived from the OpenAI Codex CLI
(https://github.com/openai/codex) and have been modified (renamed, adapted,
and integrated into this project).

Copyright 2025 OpenAI

Licensed under the Apache License, Version 2.0 (the "License"); you may not use
these files except in compliance with the License. A copy of the License is in
./LICENSE.

Derived portions currently include:
  - src/repl/tui/inline_terminal.rs (from codex-rs/tui/src/custom_terminal.rs;
    itself derived from ratatui, see the MIT notice above)
  - src/tools/bash/sandbox/macos.rs (Seatbelt profile builder derived from
    codex-rs/sandboxing/src/seatbelt.rs)
  - src/tools/bash/sandbox/linux.rs (Bubblewrap argument builder derived from
    codex-rs/sandboxing/src/bwrap.rs)
  - src/tools/bash/sandbox/windows/ (the WRITE_RESTRICTED token, capability
    SID, workspace allow-write ACE, CreateProcessAsUserW wrapper, and process
    thread attribute helpers are derived from
    codex-rs/windows-sandbox-rs/src/token.rs, cap.rs, acl.rs, process.rs,
    proc_thread_attr.rs, and winutil.rs)
