Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,3 @@ After making changes in a specific package, run its check script:
- **Imports**: External packages first, then local. Use `.ts` extensions for local imports.
- **Bun APIs**: Prefer `Bun.file`, `Bun.serve`, `bun:sqlite`, `Bun.$` over Node equivalents.
- **Testing**: Use `bun:test` with `import { test, expect } from "bun:test"`.

## Better Context MCP

Use Better Context MCP for documentation/resource questions when you need source-first answers.

**Required workflow**
1. Call `listResources` first to see available resources.
2. Call `ask` with your question and the exact resource `name` values from step 1.

**Rules**
- Always call `listResources` before `ask`.
- `ask` requires at least one resource in the `resources` array.
- Use only resource names returned by `listResources`.
- Include only resources relevant to the question.

**Common errors**
- "Invalid resources" → re-run `listResources` and use exact names.
- "Instance is provisioning / error state" → wait or retry after a minute.
- "Missing or invalid Authorization header" → MCP auth is invalid; fix it in `https://btca.dev/app/settings/mcp/`.
Loading