|
NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
|
Immutable host-owned JavaScript command. More...
#include <command.h>
Static Public Member Functions | |
| static JavaScriptCommand | from_json (const json &value) |
| Strictly decode a canonical command object. | |
| static JavaScriptCommand | make (std::uint32_t protocol_version, JavaScriptCommandKind kind, std::uint32_t import_slot, std::string source_site, json arguments) |
| Construct a host-owned command after applying the same validation. | |
Immutable host-owned JavaScript command.
from_json is the strict interchange boundary used by compatibility and diagnostic code. The QuickJS bridge additionally requires the opaque sealed value created by an ng constructor before it will dispatch a command yielded by a generator.