Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed src/core/events.rs,src/openhuman/agent/orchestration/mod.rs,src/openhuman/agent

Steven Enamakel0c138e899205
diff --git a/src/core/events.rs b/src/core/events.rs
index cd030d59d7..3671483510 100644
--- a/src/core/events.rs
+++ b/src/core/events.rs
@@ -120,12 +120,6 @@ pub enum DomainEvent {
agent_id: String,
error: String,
},
- /// High-level orchestration closed or cancelled a child agent.
- AgentOrchestrationClosed {
- session_id: String,
- orchestration_id: String,
- reason: Option<String>,
- },
/// A tiny.place contact edge changed for a wrapped orchestration session.
/// Payload is intentionally metadata only; contact graph details stay behind
/// the signed tiny.place API.
@@ -1294,7 +1288,6 @@ impl DomainEvent {
| Self::AgentOrchestrationSpawned { .. }
| Self::AgentOrchestrationCompleted { .. }
| Self::AgentOrchestrationFailed { .. }
- | Self::AgentOrchestrationClosed { .. }
| Self::OrchestrationPairingChanged { .. }
| Self::RunQueueMessageQueued { .. }
| Self::RunQueueFollowupDispatched { .. }
@@ -1447,7 +1440,6 @@ impl DomainEvent {
Self::AgentOrchestrationSpawned { .. } => "AgentOrchestrationSpawned",
Self::AgentOrchestrationCompleted { .. } => "AgentOrchestrationCompleted",
Self::AgentOrchestrationFailed { .. } => "AgentOrchestrationFailed",
- Self::AgentOrchestrationClosed { .. } => "AgentOrchestrationClosed",
Self::OrchestrationPairingChanged { .. } => "OrchestrationPairingChanged",
Self::SubconsciousTriggerProcessed { .. } => "SubconsciousTriggerProcessed",
Self::RunQueueMessageQueued { .. } => "RunQueueMessageQueued",
@@ -1579,9 +1571,6 @@ impl DomainEvent {
| Self::AgentOrchestrationSpawned { agent_id, .. }
| Self::AgentOrchestrationCompleted { agent_id, .. }
| Self::AgentOrchestrationFailed { agent_id, .. } => Some(agent_id.as_str()),
- Self::AgentOrchestrationClosed {
- orchestration_id, ..
- } => Some(orchestration_id.as_str()),
Self::ChannelMessageReceived { channel, .. }
| Self::ChannelConnected { channel, .. }
| Self::ChannelDisconnected { channel, .. } => Some(channel.as_str()),
diff --git a/src/openhuman/agent/orchestration/mod.rs b/src/openhuman/agent/orchestration/mod.rs
index 1d6148d56e..41863daef4 100644
--- a/src/openhuman/agent/orchestration/mod.rs
+++ b/src/openhuman/agent/orchestration/mod.rs
@@ -54,9 +54,8 @@ pub use subagent_control::{
all_registered_controllers as all_subagent_control_registered_controllers,
};
pub use types::{
- AgentMessage, AgentOrchestrationEvent, AgentSnapshot, AgentStatus, CloseAgentRequest,
- FollowUpRequest, MessageAgentRequest, ResumeAgentRequest, SpawnAgentRequest,
- SpawnAgentResponse, WaitAgentOptions, WaitAgentResponse,
+ AgentSnapshot, AgentStatus, SpawnAgentRequest, SpawnAgentResponse, WaitAgentOptions,
+ WaitAgentResponse,
};
pub use workflow_runs::{
all_workflow_run_controller_schemas, all_workflow_run_registered_controllers,
diff --git a/src/openhuman/agent/orchestration/ops.rs b/src/openhuman/agent/orchestration/ops.rs
index d946587f7c..6a43d8be2d 100644
--- a/src/openhuman/agent/orchestration/ops.rs
+++ b/src/openhuman/agent/orchestration/ops.rs
@@ -31,12 +31,8 @@ pub enum OrchestrationError {
DefinitionNotFound(String),
#[error("orchestration agent '{0}' not found")]
AgentNotFound(String),
- #[error("orchestration agent '{0}' is already terminal")]
- AgentTerminal(String),
#[error("agent_id and prompt are required")]
InvalidSpawnRequest,
- #[error("message content is required")]
- InvalidMessage,
}
#[derive(Clone)]
diff --git a/vendor/tinyagents b/vendor/tinyagents
index ddd6dc9965..a4d45ecc75 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit ddd6dc9965644a348bc6e3d89cd7630ccd5cd4df
+Subproject commit a4d45ecc7550ea81046ea72aea26959c260dc89f