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

Immutable executable registry snapshots for Program admission. More...

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

Go to the source code of this file.

Classes

class  neograph::program::RegistrySnapshotBuilder
 Move-only builder for one sealed, process-local executable registry. More...
 

Typedefs

using neograph::program::ExecutableRequirementResolver = std::function< std::vector< ExecutableIdentity >(const json &node_config)>
 Pure node-config to exact executable requirements callback.
 

Detailed Description

Immutable executable registry snapshots for Program admission.

Definition in file registry.h.

Typedef Documentation

◆ ExecutableRequirementResolver

using neograph::program::ExecutableRequirementResolver = typedef std::function<std::vector<ExecutableIdentity>(const json& node_config)>

Pure node-config to exact executable requirements callback.

node_config is the exact sealed node-definition object passed to its factory, including type. The registry snapshot owns a copy, and the callback must deeply own all immutable selector data it captures; borrowed resolver state is invalid. It must be deterministic, must not dispatch or consult process-global state, and may return only Provider, Tool, or Imported identities. Callback state is deliberately absent from canonical serialization; its semantics are identified by the owning node's explicit implementation digest.

Definition at line 72 of file registry.h.