# AGENTS.md

Termux - a terminal emulator application for Android OS extendible by variety of packages.

## Setup

```
# TODO: the install command. No lockfile was found, so this could not be inferred.
```

## Commands

```
# TODO: nothing declares a build or test command, so an agent has to guess.
# This is the single most valuable section of this file. Fill it in.
```

## Layout

- `termux-shared/`     123 source files
- `app/`               36 source files
- `terminal-emulator/` 34 source files
- `terminal-view/`     8 source files
- `art/`               5 source files

## Conventions

- Tests live alongside the code they cover, following `app/src/test/java/com/termux/app/TermuxActivityTest.java`.
- CI defines what passing means. See `.github/workflows/attach_debug_apks_to_release.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `terminal-emulator/src/main/java/com/termux/terminal/TerminalEmulator.java` is 128KB. It will not fit comfortably in context, so read it in parts.
- No lockfile is committed, so an install here may not match what CI produced.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
