Skip to main content

Crate noxid_codegen_server_js

Crate noxid_codegen_server_js 

Source

Structs§

AgentRuntimeOptions
The declared agents whose engine the emitted graph runs. Empty means the server graph carries no agents section at all.
AgentSurfaceOptions
ModelRuntimeOptions
The compile-time half of the model boundary: every declared model, plus the strict JSON Schema for every declared type a generateObject call could name. Both are frozen into the emitted graph so a request resolves nothing but its own secret.
PubSubRuntimeOptions
ServerJavaScriptOutput
ServerRuntimeOptions

Enums§

PubSubDriver
ServerTracingExport
ServerTracingMode

Constants§

HANDLER_SCHEMA_VERSION

Functions§

compiler_body_javascript
Lower one compiler-owned remote expression to JavaScript.
compiler_statements_javascript
generate
generate_with_agent_surfaces
generate_with_runtime_options
generate_with_startup
generate_with_tracing
otel_span_attribute_mapping
The single compiler-owned bridge from the closed noxid.trace.v1 record schema to OpenTelemetry semantic-convention attributes. Keeping duplicate source fields (such as code) explicit makes the exported contract golden- testable without teaching the JavaScript runtime Noxid semantics.
server_lifecycle_export_required
server_lifecycle_exports
The compiler-owned server surface that must survive composition and deployment bundling. Keep the names in the shared tools file so the Rust emitters and the Farm bridge cannot drift independently.
server_secrets_prelude_javascript
Emit one lazy getter per declared server secret. Values resolve and cache only when their own property is read, so a missing telemetry credential cannot poison an unrelated application-secret read.