|
Entropic 2.9.4
Local-first agentic inference engine
|
Result of a finalized delegation, delivered to the consumer. More...
#include <entropic/entropic.h>
Public Attributes | |
| const char * | delegation_id |
| Short id (matches request) | |
| const char * | target_tier |
| Tier that executed. | |
| int | success |
| 1 if child reached COMPLETE, 0 otherwise | |
| const char * | summary |
| Final summary text from the child. | |
| const char * | patch |
| Unified diff (may be empty string) | |
| size_t | patch_len |
| Byte length of patch (excluding NUL) | |
| const char *const * | files_touched |
| NULL-terminated array of relpaths. | |
| size_t | files_touched_len |
| Count (excluding the NULL terminator) | |
Result of a finalized delegation, delivered to the consumer.
Passed to ent_delegation_complete_cb. The engine NEVER applies the patch — that is the consumer's responsibility (typically through entropic.helpers.apply_patch on the Python side, or git apply in the consumer's own logic, with the user's explicit consent).
All pointers are owned by the engine and valid only for the callback's duration. The patch buffer is a unified diff produced by git diff --no-index --binary and is suitable for git apply in any tree. files_touched is a NULL-terminated array of relative paths.
Definition at line 1034 of file entropic.h.
| const char* ent_delegation_result_t::delegation_id |
Short id (matches request)
Definition at line 1035 of file entropic.h.
| const char* const* ent_delegation_result_t::files_touched |
NULL-terminated array of relpaths.
Definition at line 1041 of file entropic.h.
| size_t ent_delegation_result_t::files_touched_len |
Count (excluding the NULL terminator)
Definition at line 1042 of file entropic.h.
| const char* ent_delegation_result_t::patch |
Unified diff (may be empty string)
Definition at line 1039 of file entropic.h.
| size_t ent_delegation_result_t::patch_len |
Byte length of patch (excluding NUL)
Definition at line 1040 of file entropic.h.
| int ent_delegation_result_t::success |
1 if child reached COMPLETE, 0 otherwise
Definition at line 1037 of file entropic.h.
| const char* ent_delegation_result_t::summary |
Final summary text from the child.
Definition at line 1038 of file entropic.h.
| const char* ent_delegation_result_t::target_tier |
Tier that executed.
Definition at line 1036 of file entropic.h.