NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::program::ProgramBundleData Struct Reference

Mutable construction input. More...

#include <bundle.h>

Collaboration diagram for neograph::program::ProgramBundleData:
[legend]

Public Attributes

std::optional< ProgramSource > control_source
 Retained source for the opt-in JavaScript yielded-command controller.
 
ExecutionGuarantee execution_guarantee = ExecutionGuarantee::Strict
 Exact weakest guarantee in the compiler-derived executable/control closure.
 
JavaScriptRuntimeIdentity javascript_runtime
 Present for JavaScript bundles; omitted for non-JavaScript sources.
 
std::vector< ModuleCoordinate > module_coordinates
 Exact module coordinates represented by the dependency receipts.
 
SourceKind source_kind
 Required; invalid sentinel rejects omission.
 

Detailed Description

Mutable construction input.

ProgramBundle validates it, deep-copies JSON, and canonicalizes semantic sets before deriving its identity: definitions/plans by name, executables by (kind,name,semantic_version,implementation_digest) with exactly one identity per (kind,name), closure strings lexicographically, budgets by resource, and source maps by generated pointer. Diagnostics retain producer order.

Definition at line 129 of file bundle.h.

Member Data Documentation

◆ control_source

std::optional<ProgramSource> neograph::program::ProgramBundleData::control_source

Retained source for the opt-in JavaScript yielded-command controller.

Its canonical identity must exactly match source_kind and source_hash.

Definition at line 137 of file bundle.h.


The documentation for this struct was generated from the following file: