Skip to main content

Module compiler

Module compiler 

Source
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.