Skip to content

Add agent readiness: robots.txt, sitemap, discovery documents, Link headers, Markdown negotiation - #9

Merged
maxffarrell merged 1 commit into
mainfrom
agent-readiness
Nov 8, 2026
Merged

maxffarrell merged 1 commit into
mainfrom
agent-readiness

Conversation

@maxffarrell

Copy link
Copy Markdown
Owner

Upstreams the agent-discovery features first built in breezytour so every orangeCMS site gets them.

  • Dynamic /robots.txt (Content Signals + sitemap) and /sitemap.xml (from site.routes, collection entries and online forms)
  • /.well-known/api-catalog, mcp/server-card.json, agent-skills/index.json and SKILL.md (generic skill derived from site, overridable)
  • Discovery Link headers and Accept: text/markdown negotiation, via a hook wrapping the core handle
  • Optional site.agent config (AgentConfig); sitemap-extra.ts is an overlay point for consumer routes outside site.routes
  • Unit tests and smoke coverage; full pnpm test and check:public pass

Note: pages served as static assets bypass the hook, so headers/negotiation apply only to Worker-rendered pages.

🤖 Generated with Claude Code

…eaders, Markdown negotiation

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@maxffarrell
maxffarrell merged commit 3b4759a into main Nov 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant