The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(types): remove unused orchestration types and event enum
Steven Enamakel94f4ea5be613
diff --git a/src/openhuman/agent/orchestration/types.rs b/src/openhuman/agent/orchestration/types.rsindex a55da86a9a..909c8b3272 100644--- a/src/openhuman/agent/orchestration/types.rs+++ b/src/openhuman/agent/orchestration/types.rs@@ -25,14 +25,6 @@ impl AgentStatus {}}-/// Message recorded on an orchestration child.-#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]-pub struct AgentMessage {- pub role: String,- pub content: String,- pub created_at: String,-}-/// Request to spawn a child agent from the current parent agent turn.#[derive(Debug, Clone, Default, Serialize, Deserialize)]pub struct SpawnAgentRequest {@@ -58,39 +50,6 @@ pub struct SpawnAgentResponse {pub status: AgentStatus,}-/// Request to append a parent/child message to a child agent record.-#[derive(Debug, Clone, Serialize, Deserialize)]-pub struct MessageAgentRequest {- pub orchestration_id: String,- pub content: String,-}--/// Request to close or cancel a child agent.-#[derive(Debug, Clone, Serialize, Deserialize)]-pub struct CloseAgentRequest {- pub orchestration_id: String,- #[serde(default)]- pub reason: Option<String>,-}--/// Follow-up work for an existing child. Follow-ups spawn a new child linked-/// to the previous child instead of mutating a completed transcript in place.-#[derive(Debug, Clone, Serialize, Deserialize)]-pub struct FollowUpRequest {- pub orchestration_id: String,- pub prompt: String,- #[serde(default)]- pub context: Option<String>,-}--/// Resume a previous child by spawning a linked continuation child.-#[derive(Debug, Clone, Serialize, Deserialize)]-pub struct ResumeAgentRequest {- pub orchestration_id: String,- #[serde(default)]- pub prompt: Option<String>,-}-/// Wait request for one or more children.#[derive(Debug, Clone, Default, Serialize, Deserialize)]pub struct WaitAgentOptions {@@ -114,7 +73,6 @@ pub struct AgentSnapshot {pub parent_agent_id: Option<String>,pub status: AgentStatus,pub prompt: String,- pub messages: Vec<AgentMessage>,pub result_summary: Option<String>,pub error: Option<String>,pub created_at: String,@@ -122,30 +80,3 @@ pub struct AgentSnapshot {#[serde(default)]pub metadata: BTreeMap<String, String>,}--/// Lifecycle events emitted by the high-level orchestration domain.-#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]-#[serde(tag = "type", rename_all = "snake_case")]-pub enum AgentOrchestrationEvent {- Spawned {- orchestration_id: String,- agent_id: String,- parent_agent_id: Option<String>,- },- MessageRecorded {- orchestration_id: String,- },- Completed {- orchestration_id: String,- output_chars: usize,- iterations: usize,- },- Failed {- orchestration_id: String,- error: String,- },- Closed {- orchestration_id: String,- reason: Option<String>,- },-}diff --git a/vendor/tinyagents b/vendor/tinyagentsindex 64de0d2306..f665f92506 160000--- a/vendor/tinyagents+++ b/vendor/tinyagents@@ -1 +1 @@-Subproject commit 64de0d2306641604f77226632794c0fce42e9e79+Subproject commit f665f925063a59c2ed770e0910fa983cd02eb37c