open-swe/ui/AGENTS.md
Adam Moussa 4b568088b6
chore: cherry-pick ui/AGENTS.md bun convention (#1639) (#132)
* chore: require bun for ui agent work (#1639)

Co-authored-by: Ramon Nogueira <270434257+ramon-langchain@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
(cherry picked from commit f5670f24e8)

* chore(upstream-sync): record triage for this cherry-pick pass

- #1639 (ui/AGENTS.md) -> landed (picked in this PR)
- #1689 sandbox-id sidebar -> deferred (clean apply, needs UI/e2e validation)
- #1679 cmd-enter plan comments -> deferred (clean apply, fork-diverged PlanReview)
- #1667 fireworks-ai a86 bump -> deferred (conflicts; dev at a85, manual bump needed)

---------

Co-authored-by: Ramon Nogueira <ramon.nogueira@langchain.dev>
Co-authored-by: Ramon Nogueira <270434257+ramon-langchain@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
2026-07-08 19:20:26 -04:00

12 lines
639 B
Markdown

# AGENTS.md
This file applies to all work under `ui/`.
## Package manager
- Use **Bun** for dashboard dependency management and script execution.
- `bun.lock` is the canonical lockfile for this directory.
- Run UI scripts with `bun run <script>` (for example, `bun run typecheck`, `bun run lint`, `bun run test`, `bun run build`).
- Install or update UI dependencies with `bun install` / `bun add` only.
- Do **not** use npm in this directory: no `npm install`, `npm ci`, `npm run`, `npx`, or npm lockfile changes.
- If a command must use npm, it belongs outside `ui/` in a subtree that explicitly owns npm configuration and lockfiles.