Entropic 2.14.3
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::ExternalBridge::AsyncTask Struct Reference

Async task state for background entropic.ask runs. More...

#include <entropic/mcp/external_bridge.h>

Public Attributes

std::string status = "queued"
 queued | running | done | error | cancelled (2.0.6-rc16)
 
std::string phase = "queued"
 queued, running, running:<tier>, done, failed, cancelled (P1-5)
 
std::string result
 Final text or error message.
 
std::chrono::steady_clock::time_point created
 For TTL cleanup.
 
std::string session_key
 Session it runs under (v2.14.0)
 
int owner_fd = -1
 Client that started it (v2.14.0)
 

Detailed Description

Async task state for background entropic.ask runs.

Moved to public section in 2.0.6-rc16 so cancel-on-clear can flip task statuses with the mutex held. (P1-5, P1-8)

@dg_internal

Version
2.0.6-rc16

Definition at line 386 of file external_bridge.h.

Member Data Documentation

◆ created

std::chrono::steady_clock::time_point entropic::ExternalBridge::AsyncTask::created

For TTL cleanup.

Definition at line 390 of file external_bridge.h.

◆ owner_fd

int entropic::ExternalBridge::AsyncTask::owner_fd = -1

Client that started it (v2.14.0)

Definition at line 392 of file external_bridge.h.

◆ phase

std::string entropic::ExternalBridge::AsyncTask::phase = "queued"

queued, running, running:<tier>, done, failed, cancelled (P1-5)

Definition at line 388 of file external_bridge.h.

◆ result

std::string entropic::ExternalBridge::AsyncTask::result

Final text or error message.

Definition at line 389 of file external_bridge.h.

◆ session_key

std::string entropic::ExternalBridge::AsyncTask::session_key

Session it runs under (v2.14.0)

Definition at line 391 of file external_bridge.h.

◆ status

std::string entropic::ExternalBridge::AsyncTask::status = "queued"

queued | running | done | error | cancelled (2.0.6-rc16)

Definition at line 387 of file external_bridge.h.


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