Entropic 2.14.3
Local-first agentic inference engine
Loading...
Searching...
No Matches
ent_path_approval_request_t Struct Reference

One filesystem access OUTSIDE the project root, awaiting the host's decision. More...

#include <entropic/entropic.h>

Public Attributes

const char * path
 Canonical absolute path outside the root.
 
const char * root
 Canonical project root it lies outside.
 
const char * tool
 Fully-qualified tool ("filesystem.write_file")
 
ent_path_access_t access
 READ or WRITE.
 
const char * session_key
 Session running the call ("" = default)
 

Detailed Description

One filesystem access OUTSIDE the project root, awaiting the host's decision.

Passed to ent_path_approval_cb. Every string is engine-owned and valid only for the callback's duration — copy what must be retained. path is the CANONICAL path the tool resolved (symlinks and .. already resolved), so what the host shows the user is what would be touched, not what the model typed.

Version
2.13.0

Definition at line 1783 of file entropic.h.

Member Data Documentation

◆ access

ent_path_access_t ent_path_approval_request_t::access

READ or WRITE.

Definition at line 1787 of file entropic.h.

◆ path

const char* ent_path_approval_request_t::path

Canonical absolute path outside the root.

Definition at line 1784 of file entropic.h.

◆ root

const char* ent_path_approval_request_t::root

Canonical project root it lies outside.

Definition at line 1785 of file entropic.h.

◆ session_key

const char* ent_path_approval_request_t::session_key

Session running the call ("" = default)

Definition at line 1788 of file entropic.h.

◆ tool

const char* ent_path_approval_request_t::tool

Fully-qualified tool ("filesystem.write_file")

Definition at line 1786 of file entropic.h.


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