Skip to content

Commit c98bd08

Browse files
committed
chore: [SUBMODULE CHANGE] switch codex fork and git ratatui/crossterm
1 parent 9487ef3 commit c98bd08

File tree

240 files changed

+11
-72690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+11
-72690
lines changed

.cargo/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ replace-with = "vendored-sources"
88

99
[source.vendored-sources]
1010
directory = "vendor/rust"
11-

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
branch = main
1717
[submodule "external/openai-codex"]
1818
path = external/openai-codex
19-
url = https://github.com/openai/codex
19+
url = https://github.com/earthlings-dev/codex
2020
branch = main

AGENTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,18 +356,18 @@ sets:
356356

357357
## Submodules & External Protocol Deps
358358

359-
- Primary submodule: `external/openai-codex` (sparse: `codex-rs`, `codex-cli`), **pin commit** for deterministic builds.
359+
- Primary submodule: `external/openai-codex` (earthlings-dev fork; sparse: `codex-rs`, `codex-cli`), **pin commit** for deterministic builds.
360360
- Protocol deps (sparse under `external/`):
361361
- `mcp-rust-sdk` (`crates/`, `README.md`)
362362
- `agent-client-protocol` (ACP) (`rust/`, `schema/`, `Cargo.toml`, `README.md`)
363363
- `agent-protocol` (AGP) (`openapi.json`, `api.html`, `server/`, `README.md`)
364364
- `a2a` (`specification/`, `README.md`)
365365
- **Advancing upstream:** `git submodule update --remote --recursive` then commit pointer. If sparse paths change, document exact sparse‑checkout commands.
366366

367-
**Ratatui fork (TUI):**
368-
- Local path: `external/ratatui/` (no `.git/`), sourced from commit `9b2ad1298408c45918ee9f8241a6f95498cdbed2` (branch `nornagon-v0.29.0-patch`).
369-
- Workspace patch override: `external/openai-codex/codex-rs/Cargo.toml` → `[patch.crates-io] ratatui = { path = "../../ratatui" }`.
370-
- Always vendor after changing ratatui or its transitive deps.
367+
**TUI dependencies (git patched):**
368+
- `ratatui` from `https://github.com/takumi-earth/ratatui` (pinned via `[patch.crates-io]`, no local copy).
369+
- `crossterm` from `https://github.com/takumi-earth/crossterm`.
370+
- Always vendor after changing these or their transitive deps.
371371

372372
---
373373

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
# annex
22
Rust-based extension to codex-rs (feature-gated, no standalone annex binary)
33

4-
# Ratatui Fork Integration (for TUI)
4+
# TUI Fork Integration (ratatui + crossterm)
55

6-
We ship a local fork of `ratatui` to ensure compatibility and stability across the TUI surfaces used by Codex. The workspace pins ratatui via a crates.io patch to the local path `external/ratatui/` and vendors all Rust dependencies for offline builds.
7-
8-
- Patch override lives in: `external/openai-codex/codex-rs/Cargo.toml` under `[patch.crates-io] ratatui = { path = "../../ratatui" }`.
9-
- Local sources are from commit `9b2ad1298408c45918ee9f8241a6f95498cdbed2` (branch `nornagon-v0.29.0-patch`).
10-
11-
This keeps the runtime deterministic and avoids regressions when upstream makes breaking changes.
6+
We pin `ratatui` and `crossterm` via git patches to the takumi-earth forks (see `[patch.crates-io]` in `external/openai-codex/codex-rs/Cargo.toml`) to keep Codex TUI behavior deterministic. No local forks are checked in; `cargo vendor` mirrors the git sources for offline builds.
127

138
# Offline Builds (vendor)
149

external/openai-codex

external/ratatui/.cz.toml

Lines changed: 0 additions & 78 deletions
This file was deleted.

external/ratatui/.editorconfig

Lines changed: 0 additions & 17 deletions
This file was deleted.

external/ratatui/.github/CODEOWNERS

Lines changed: 0 additions & 11 deletions
This file was deleted.

external/ratatui/.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

external/ratatui/.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)