Skip to content

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

test(json_rpc): update ledger_sync imports to openhuman_core

Steven Enamakelf48b7fbab2ff
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index 2d8b74763f..d1c5f9cbe9 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -3668,7 +3668,7 @@ async fn json_rpc_run_ledger_lifecycle() {
.await
.expect("load config");
- openhuman::agent::session_store::ledger_sync::upsert_agent_run(
+ openhuman_core::agent::session_store::ledger_sync::upsert_agent_run(
&config.workspace_dir,
tinyagents_session::run_ledger::AgentRunUpsert {
id: "sub-run-1".to_string(),
@@ -3693,7 +3693,7 @@ async fn json_rpc_run_ledger_lifecycle() {
)
.expect("seed run");
- openhuman::agent::session_store::ledger_sync::append_run_event(
+ openhuman_core::agent::session_store::ledger_sync::append_run_event(
&config.workspace_dir,
tinyagents_session::run_ledger::RunEventAppend {
run_id: "sub-run-1".to_string(),
@@ -3785,7 +3785,7 @@ async fn json_rpc_agent_work_list_groups_runs_by_bucket() {
.await
.expect("load config");
- use openhuman::agent::session_store::ledger_sync::upsert_agent_run;
+ use openhuman_core::agent::session_store::ledger_sync::upsert_agent_run;
use tinyagents_session::run_ledger::{AgentRunKind, AgentRunStatus, AgentRunUpsert};
let seed = |id: &str, status: AgentRunStatus| AgentRunUpsert {
id: id.to_string(),
@@ -3913,7 +3913,7 @@ async fn json_rpc_workflow_run_definitions_and_runs_roundtrip() {
);
// Seed a durable workflow run, then list + get it.
- openhuman::agent::session_store::ledger_sync::upsert_workflow_run(
+ openhuman_core::agent::session_store::ledger_sync::upsert_workflow_run(
&config.workspace_dir,
tinyagents_session::run_ledger::WorkflowRunUpsert {
id: "wf-run-1".to_string(),
@@ -4112,10 +4112,10 @@ async fn json_rpc_agent_team_coordination_roundtrip() {
// Mark A done directly via the run ledger, then B claims fine.
let task_a =
- openhuman::agent::session_store::ledger_sync::get_agent_team_task(&config.workspace_dir, &task_a_id)
+ openhuman_core::agent::session_store::ledger_sync::get_agent_team_task(&config.workspace_dir, &task_a_id)
.expect("get task A")
.expect("task A present");
- openhuman::agent::session_store::ledger_sync::upsert_agent_team_task(
+ openhuman_core::agent::session_store::ledger_sync::upsert_agent_team_task(
&config.workspace_dir,
tinyagents_session::run_ledger::AgentTeamTaskUpsert {
id: task_a.id.clone(),