Expand description
Web Compiler — transforms SiteMaps into typed APIs with auto-generated clients.
The compiler analyzes a mapped website’s structured data, infers typed data models, discovers relationships between models, compiles HTTP actions into typed methods, and generates client code in Python, TypeScript, OpenAPI, GraphQL, and MCP formats.
Modules§
- actions
- Action compilation — transforms discovered HTTP actions into typed method definitions.
- codegen
- Top-level code generation orchestrator.
- codegen_
graphql - GraphQL schema generator.
- codegen_
mcp - MCP tool definition generator.
- codegen_
openapi - OpenAPI 3.0 spec generator.
- codegen_
python - Python client code generator.
- codegen_
typescript - TypeScript client code generator.
- models
- Core data types for the Web Compiler’s compiled schema output.
- relationships
- Relationship extraction — discovers connections between data models from graph edges.
- schema
- Schema inference engine — discovers typed data models from SiteMap structured data.
- unifier
- Cross-site schema unification via Schema.org types.