Skip to content

Commit 1bc8b3d

Browse files
wass08claude
andcommitted
mcp: scan render contributions for floor-placed kinds
The floor-lift inventory test read each kind's definition.ts for capabilities, which now live in definition.render.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 7f59598 commit 1bc8b3d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/mcp/src/tools/measure-world.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,10 +487,11 @@ describe('measure in world space', () => {
487487
test('the floor-lift flag list matches the built-in definitions that declare floorPlaced', () => {
488488
// Source scan, like core's metadata-reference inventory: MCP cannot load
489489
// @pascal-app/nodes (React, three), so keep this list in step with it.
490+
// Capabilities live in each kind's render contribution.
490491
const nodesSrc = join(import.meta.dir, '../../../nodes/src')
491492
const declared: string[] = []
492493
for (const dir of readdirSync(nodesSrc)) {
493-
const file = join(nodesSrc, dir, 'definition.ts')
494+
const file = join(nodesSrc, dir, 'definition.render.ts')
494495
if (!existsSync(file)) continue
495496
const source = readFileSync(file, 'utf8')
496497
const sections = source.split(/\n\s+kind: '/).slice(1)

0 commit comments

Comments
 (0)