Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Methods = map[string]bamlutils.StreamingMethod{}
View Source
var ParseMethods = map[string]bamlutils.ParseMethod{}
View Source
var Sources = make(map[string]embed.FS)
Functions ¶
func InitBamlRuntime ¶
func InitBamlRuntime()
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
adapter_v0_204_0
module
|
|
|
adapter_v0_215_0
module
|
|
|
adapter_v0_219_0
module
|
|
|
common
module
|
|
|
bamlutils
module
|
|
|
cmd
|
|
|
build
command
|
|
|
build/artifactattest
command
Command artifactattest computes the reproducible de-BAML serving-cutover S2 RELEASE ARTIFACT ID for a build selection and prints it on stdout.
|
Command artifactattest computes the reproducible de-BAML serving-cutover S2 RELEASE ARTIFACT ID for a build selection and prints it on stdout. |
|
build/gen-nativeworker-src
command
Command gen-nativeworker-src regenerates the committed opaque tar of the isolated internal/nativebody/nanollmprepare module (de-BAML cutover Slice 2).
|
Command gen-nativeworker-src regenerates the committed opaque tar of the isolated internal/nativebody/nanollmprepare module (de-BAML cutover Slice 2). |
|
build/nativeworker-overlay
command
Command nativeworker-overlay applies the build-time go.mod overlay to the extracted isolated nanollm worker module under GOWORK=off.
|
Command nativeworker-overlay applies the build-time go.mod overlay to the extracted isolated nanollm worker module under GOWORK=off. |
|
build/nativeworkersrc
Package nativeworkersrc packages the out-of-go.work internal/nativebody/nanollmprepare module's source into a single deterministic tar so the production builder can carry it as an OPAQUE build asset (de-BAML cutover Slice 2).
|
Package nativeworkersrc packages the out-of-go.work internal/nativebody/nanollmprepare module's source into a single deterministic tar so the production builder can carry it as an OPAQUE build asset (de-BAML cutover Slice 2). |
|
embed
command
|
|
|
gen-native-spine-worker
command
Command gen-native-spine-worker emits the DEPLOYMENT-SPECIFIC native spine registry for the ExecBridge packaged workers — BOTH the native-only artifact (via the emitted NewRuntime) AND the ExecBridge-U1c standard native-capable serve worker (via the emitted NewExecutor).
|
Command gen-native-spine-worker emits the DEPLOYMENT-SPECIFIC native spine registry for the ExecBridge packaged workers — BOTH the native-only artifact (via the emitted NewRuntime) AND the ExecBridge-U1c standard native-capable serve worker (via the emitted NewExecutor). |
|
hacks
command
|
|
|
introspect
command
|
|
|
regenerate-dynclient
command
Command regenerate-dynclient orchestrates the full dynclient regeneration pipeline: patched BAML fork, BAML Go client generation off cmd/build/dynamic.baml, generated-client hacks, import rewrite, introspection, and the genadapter run that emits the framework adapter.
|
Command regenerate-dynclient orchestrates the full dynclient regeneration pipeline: patched BAML fork, BAML Go client generation off cmd/build/dynamic.baml, generated-client hacks, import rewrite, introspection, and the genadapter run that emits the framework adapter. |
|
schema
command
|
|
|
serve
command
|
|
|
verify-adapter-pins
command
verify-adapter-pins asserts that every module listed in adapterversions.PinnedModules still resolves github.com/boundaryml/baml to its canonical pin.
|
verify-adapter-pins asserts that every module listed in adapterversions.PinnedModules still resolves github.com/boundaryml/baml to its canonical pin. |
|
verify-framework-adapter
command
verify-framework-adapter is the CI-side gate for the codegen-emit framework adapter.go produced by adapters/common/codegen.
|
verify-framework-adapter is the CI-side gate for the codegen-emit framework adapter.go produced by adapters/common/codegen. |
|
worker
command
Command worker is the BAML-only subprocess worker: the default distributed build and the immediate-reversal target for the de-BAML cutover.
|
Command worker is the BAML-only subprocess worker: the default distributed build and the immediate-reversal target for the de-BAML cutover. |
|
dynclient
module
|
|
|
baml-patched
module
|
|
|
internal
|
|
|
apierror
Package apierror provides utilities for returning consistent JSON error responses.
|
Package apierror provides utilities for returning consistent JSON error responses. |
|
artifactprofile
Package artifactprofile is the de-BAML serving-cutover S2 artifact identity: which WORKER PROFILE a shipped baml-rest artifact carries, the release artifact ID that names the exact build, and the startup attestation that proves the two agree.
|
Package artifactprofile is the de-BAML serving-cutover S2 artifact identity: which WORKER PROFILE a shipped baml-rest artifact carries, the release artifact ID that names the exact build, and the startup attestation that proves the two agree. |
|
bamlprofile
Package bamlprofile is baml-rest's leaf BAML profile over the pinned pure-Go minijinja fork github.com/invakid404/minijinja-go/v2@v2.16.0-baml.6.
|
Package bamlprofile is baml-rest's leaf BAML profile over the pinned pure-Go minijinja fork github.com/invakid404/minijinja-go/v2@v2.16.0-baml.6. |
|
bamlprofile/profileoracle
Package profileoracle is the de-BAML Slice 2 PROFILE differential oracle.
|
Package profileoracle is the de-BAML Slice 2 PROFILE differential oracle. |
|
codegenspine
Package codegenspine carries the M0 "contract freeze" artifacts for the rank-1 native codegen spine (see docs/codegen-spine/).
|
Package codegenspine carries the M0 "contract freeze" artifacts for the rank-1 native codegen spine (see docs/codegen-spine/). |
|
debaml
Package debaml provides the root-module wiring for native de-BAML behaviour.
|
Package debaml provides the root-module wiring for native de-BAML behaviour. |
|
debaml/bamlunicode
Package bamlunicode reproduces, byte-for-byte, the Unicode primitives the stock BoundaryML BAML 0.223.0 CFFI matcher (match_string) uses when it lowercases, normalizes, strips punctuation, and trims whitespace before comparing strings, enum values, and literals.
|
Package bamlunicode reproduces, byte-for-byte, the Unicode primitives the stock BoundaryML BAML 0.223.0 CFFI matcher (match_string) uses when it lowercases, normalizes, strips punctuation, and trims whitespace before comparing strings, enum values, and literals. |
|
debaml/bamlunicode/cmd/driftcheck
command
Command driftcheck is the pure-Go half of the #555 Unicode-parity drift guard (checks A and D of the CI job).
|
Command driftcheck is the pure-Go half of the #555 Unicode-parity drift guard (checks A and D of the CI job). |
|
debaml/bamlunicode/cmd/gen
command
Command gen deterministically regenerates the committed bamlunicode tables and provenance manifest from pinned UCD inputs.
|
Command gen deterministically regenerates the committed bamlunicode tables and provenance manifest from pinned UCD inputs. |
|
nativebody
Package nativebody is the de-BAML Phase 4a native canonical OpenAI chat-completions body builder.
|
Package nativebody is the de-BAML Phase 4a native canonical OpenAI chat-completions body builder. |
|
nativeprompt
Package nativeprompt is baml-rest's native Go implementation of BAML's prompt template renderer: a dynamic parity renderer for the generated Baml_Rest_Dynamic prompt plus a deliberately narrow static candidate, both rendered through internal/bamlprofile — the leaf BAML profile over the pinned BAML-exact minijinja fork github.com/invakid404/minijinja-go/v2.
|
Package nativeprompt is baml-rest's native Go implementation of BAML's prompt template renderer: a dynamic parity renderer for the generated Baml_Rest_Dynamic prompt plus a deliberately narrow static candidate, both rendered through internal/bamlprofile — the leaf BAML profile over the pinned BAML-exact minijinja fork github.com/invakid404/minijinja-go/v2. |
|
nativeschema
Package nativeschema is the de-BAML P3 native static-schema builder (issue #586).
|
Package nativeschema is the de-BAML P3 native static-schema builder (issue #586). |
|
nativespine
Package nativespine builds the neutral projectdescriptor.Project from the facts cmd/introspect already computes for the current .baml project, and classifies each method into the one native class M1 admits (unary final-call + final-parse) or a stable decline.
|
Package nativespine builds the neutral projectdescriptor.Project from the facts cmd/introspect already computes for the current .baml project, and classifies each method into the one native class M1 admits (unary final-call + final-parse) or a stable decline. |
|
nativespinefixture
Package nativespinefixture is the M1 pure-Go native runtime fixture for the codegen spine (codegen-spine scope §4).
|
Package nativespinefixture is the M1 pure-Go native runtime fixture for the codegen spine (codegen-spine scope §4). |
|
nativespinejsonfixture
Package nativespinejsonfixture is the ExecBridge-U1 real-population carrier fixture: the emitted hermetic native package for the single admitted static-unary method whose return is the EXACT proven direct five-arm `JSON` recursive alias (StaticRecursiveAliasJSON(topic) -> JSON).
|
Package nativespinejsonfixture is the ExecBridge-U1 real-population carrier fixture: the emitted hermetic native package for the single admitted static-unary method whose return is the EXACT proven direct five-arm `JSON` recursive alias (StaticRecursiveAliasJSON(topic) -> JSON). |
|
nativespinelistfixture
Package nativespinelistfixture is the scalar-LIST input cohort's carrier fixture: the emitted hermetic native package for the single admitted method whose inputs mix required scalars with required single-level lists of non-nullable primitives and whose return is the UNCHANGED exact five-arm `JSON` recursive alias (StaticListArgsJSON(topic, ratio, tags, counts, flags) -> JSON).
|
Package nativespinelistfixture is the scalar-LIST input cohort's carrier fixture: the emitted hermetic native package for the single admitted method whose inputs mix required scalars with required single-level lists of non-nullable primitives and whose return is the UNCHANGED exact five-arm `JSON` recursive alias (StaticListArgsJSON(topic, ratio, tags, counts, flags) -> JSON). |
|
rootruntime
Package rootruntime adapts the root baml_rest generated package to the small Runtime interface the worker package depends on for dispatch.
|
Package rootruntime adapts the root baml_rest generated package to the small Runtime interface the worker package depends on for dispatch. |
|
schema
Package schema is baml-rest's own compact schema model, mirroring BAML's runtime spine: TypeIR (the recursive type enum) plus OutputFormatContent (the compact bundle of enum/class/recursive-alias definitions keyed for lookup).
|
Package schema is baml-rest's own compact schema model, mirroring BAML's runtime spine: TypeIR (the recursive type enum) plus OutputFormatContent (the compact bundle of enum/class/recursive-alias definitions keyed for lookup). |
|
schema/outputformat
Package outputformat is a native Go port of BAML's `ctx.output_format` renderer.
|
Package outputformat is a native Go port of BAML's `ctx.output_format` renderer. |
|
unsafeutil
Package unsafeutil provides unsafe operations for performance-critical code paths.
|
Package unsafeutil provides unsafe operations for performance-critical code paths. |
|
workerboot
Package workerboot holds the subprocess worker's startup bootstrap, factored out of cmd/worker/main.go so more than one worker entry point can share it (de-BAML cutover Slice 2).
|
Package workerboot holds the subprocess worker's startup bootstrap, factored out of cmd/worker/main.go so more than one worker entry point can share it (de-BAML cutover Slice 2). |
|
introspected
module
|
|
|
nativeserve
module
|
|
|
pool
module
|
|
|
worker
module
|
|
|
workerplugin
module
|
Click to show internal directories.
Click to hide internal directories.