NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
command.h File Reference

Closed, versioned command values emitted by JavaScript control code. More...

#include <neograph/api.h>
#include <neograph/json.h>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for command.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  neograph::program::JavaScriptCommand
 Immutable host-owned JavaScript command. More...
 

Variables

constexpr std::size_t neograph::program::JAVASCRIPT_COMMAND_MAX_AGGREGATE_MEMBERS = 4096
 Maximum total command envelopes reachable through one structured command.
 
constexpr std::size_t neograph::program::JAVASCRIPT_COMMAND_MAX_STRUCTURED_DEPTH = 32
 Maximum number of nested await/join command envelopes, including the root.
 
constexpr std::uint32_t neograph::program::JAVASCRIPT_COMMAND_PROTOCOL_VERSION = 1
 Protocol version carried by every JavaScript command.
 
constexpr std::uint32_t neograph::program::JAVASCRIPT_IMPORT_SLOT_CALL_CORE = 0
 Built-in import slots owned by the versioned ng command module.
 

Detailed Description

Closed, versioned command values emitted by JavaScript control code.

A JavaScript command is a host-owned value. JavaScript can obtain one only from a sealed ng constructor; the runtime never treats an arbitrary JSON object with command-shaped fields as executable.

Definition in file command.h.