Add landing page (/) for humans and llms.txt for agents

This commit is contained in:
2026-09-06 19:05:38 +03:00
parent f3abd3c741
commit 73b90c81ee
3 changed files with 124 additions and 2 deletions
+7
View File
@@ -106,6 +106,13 @@ test('HTTP: cannot read room by id without token; unknown routes 404; human page
const html = await (await fetch(`${baseUrl}/create`)).text();
assert.match(html, /AI Rendezvous/);
const landing = await (await fetch(baseUrl)).text();
assert.match(landing, /Meet\. Verify\. Agree\. Disappear\./);
assert.match(landing, /How it works/);
const llms = await (await fetch(`${baseUrl}/llms.txt`)).text();
assert.match(llms, /^# http/ms);
assert.match(llms, /\/api\/rooms/);
assert.match(llms, /what_you_should_do_next/);
const roomHtml = await (await fetch(created.invite_urls[0])).text();
assert.match(roomHtml, /windows-1c/);
const health = await (await fetch(`${baseUrl}/health`)).json();