# AGENTS.md

DeepSeek Harness: Everything is a Plugin.

## Setup

```
pnpm install
```

## Commands

```
pnpm build              # produce a build
pnpm test               # run the test suite, must pass before any commit
pnpm typecheck          # type check without emitting
pnpm lint               # lint
pnpm build:official
pnpm build:lib
pnpm build:lib:host
pnpm build:lib:client
```

## Layout

- `packages/` 2415 source files
- `scripts/`  167 source files
- `apps/`     106 source files
- `examples/` 54 source files
- `vendor/`   35 source files
- `native/`   16 source files

## Conventions

- Tests live alongside the code they cover, following `.github/issue-management/policy.test.mjs`.
- TypeScript is not in strict mode. Turning it on catches a whole class of mistakes before they run.
- CI defines what passing means. See `.github/workflows/build-exe-for-python-sdk.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `packages/extensions/tool-cordis/src/api-catalog.ts` is 362KB. It will not fit comfortably in context, so read it in parts.

---

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.
