docs: fix TypeScript file paths in AGENTS.md (#4612)

Lines 105-106 of AGENTS.md tell agents to add TypeScript methods in
`nodejs/src/table.ts` and `nodejs/src/native_table.ts`. Neither file
exists; the abstract `Table` class and the concrete `LocalTable` class
are both in `nodejs/lancedb/table.ts`. An agent following these steps
searches for files that are not there.

This updates both paths. Docs-only, no code change.

Suggested by LanceDB support (Daisuke) after I reported it by email.
This commit is contained in:
IOCRYPOSTO
2026-10-21 14:19:28 +08:00
committed by GitHub
parent bedb6ab3b1
commit b533fe431a
+2 -2
View File
@@ -102,8 +102,8 @@ TypeScript bindings changes:
1. Add napi-rs method binding on `Table` in `nodejs/src/table.rs`.
2. Run `pnpm build` to generate TypeScript definitions.
3. Add typescript method on abstract class `Table` in `nodejs/src/table.ts`.
4. Add concrete method on `LocalTable` class in `nodejs/src/native_table.ts`.
3. Add typescript method on abstract class `Table` in `nodejs/lancedb/table.ts`.
4. Add concrete method on `LocalTable` class in `nodejs/lancedb/table.ts`.
* Note: despite the name, this class is also used for remote tables.
5. Add test in `nodejs/__test__/table.test.ts`.
6. Run `pnpm run docs` to generate TypeScript documentation.