Skip to content

Commit a5e3efe

Browse files
Brian M Huntclaude
authored andcommitted
docs(agents): address Copilot review on AGENTS.md tooling bullets
- Drop `builds/*/build.ts` from the Bun-native scope (no such file exists; only `tools/build.ts` does). - Rename `node:fs/promises.glob` to "the `glob` export from `node:fs/promises`" so the API path is unambiguous. - Switch Playwright CLI from the nonexistent `@playwright/cli` to the repo's actual `playwright` dependency: `bunx playwright <cmd>`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8220b9f commit a5e3efe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Builds: `@tko/build.knockout` (backwards-compatible) and
4444

4545
- **Bun** — package manager and script runner. Install via [mise](https://mise.jdx.dev/): `mise install` (reads `.tool-versions`), or [bun.sh](https://bun.sh).
4646
- Use `bun install` instead of `npm install`; `bunx` instead of `npx`.
47-
- In repo scripts (`tko.io/scripts`, `tools/`, `builds/*/build.ts`), prefer native Bun APIs — `Bun.Glob`, `Bun.file`, `Bun.write`, `Bun.$` — over `node:fs`, `node:fs/promises.glob`, or ad-hoc `child_process`. Runtime is pinned by `.tool-versions`, so there's no Node-version portability concern.
48-
- Browser automation uses `bunx @playwright/cli <cmd>` (not `npx playwright`, not the deprecated `playwright-cli` package).
47+
- In repo scripts (`tko.io/scripts`, `tools/`), prefer native Bun APIs — `Bun.Glob`, `Bun.file`, `Bun.write`, `Bun.$` — over `node:fs`, the `glob` export from `node:fs/promises`, or ad-hoc `child_process`. Runtime is pinned by `.tool-versions`, so there's no Node-version portability concern.
48+
- Browser automation uses `bunx playwright <cmd>` via the repo's `playwright` dependency (not `npx playwright`, not the deprecated `playwright-cli` package).
4949

5050
## Build Commands
5151

0 commit comments

Comments
 (0)