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
chore(tests): add prefix_reset field to transcript meta fixtures
Steven Enamakel51b523256b3b
diff --git a/crates/openhuman-core/src/agent/session_host/codec_adoption_tests.rs b/crates/openhuman-core/src/agent/session_host/codec_adoption_tests.rsindex d3d1071a24..a94069a286 100644--- a/crates/openhuman-core/src/agent/session_host/codec_adoption_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/codec_adoption_tests.rs@@ -15,6 +15,7 @@ fn meta() -> tinyagents_session::transcript::TranscriptMeta {updated: chrono::Utc::now().to_rfc3339(),turn_count: 0,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rsindex a01c753029..6f100541ea 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs@@ -353,6 +353,7 @@ fn meta() -> TranscriptMeta {updated: chrono::Utc::now().to_rfc3339(),turn_count: 0,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/transcript.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/transcript.rsindex dec20f8791..e43cf724c7 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session/transcript.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/transcript.rs@@ -51,6 +51,7 @@ impl OpenHumanSessionHost {updated: now,turn_count: 0,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/agent/session_store/mod_tests.rs b/crates/openhuman-core/src/agent/session_store/mod_tests.rsindex 549e277dd4..f0f5b66914 100644--- a/crates/openhuman-core/src/agent/session_store/mod_tests.rs+++ b/crates/openhuman-core/src/agent/session_store/mod_tests.rs@@ -90,6 +90,7 @@ async fn without_a_store_transcripts_come_from_the_workspace_store_not_files() {updated: "2026-10-15T00:00:00Z".into(),turn_count: 0,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/agent/session_store/splice_fixture.rs b/crates/openhuman-core/src/agent/session_store/splice_fixture.rsindex 51f56c2eb0..c798bcb7c0 100644--- a/crates/openhuman-core/src/agent/session_store/splice_fixture.rs+++ b/crates/openhuman-core/src/agent/session_store/splice_fixture.rs@@ -80,6 +80,7 @@ pub(crate) fn blank_meta() -> TranscriptMeta {updated: "2026-01-01T00:00:00Z".into(),turn_count: 0,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rsindex e8ce3e9ad8..f2549cab75 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs@@ -166,6 +166,7 @@ pub(super) fn persist_subagent_transcript(updated: now,turn_count: 1,prefix_message_count: None,+ prefix_reset: false,input_tokens: usage.input_tokens,output_tokens: usage.output_tokens,cached_input_tokens: usage.cached_input_tokens,diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rsindex 53ce3f4b89..7d46600c0c 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_failed_run_tests.rs@@ -49,6 +49,7 @@ fn read_stem(updated: String::new(),turn_count: 0,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rsindex f0ec662f3a..a7260d2a3d 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_tests.rs@@ -26,6 +26,7 @@ fn read_stem(updated: String::new(),turn_count: 0,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/config/migrations/mod_tests.rs b/crates/openhuman-core/src/config/migrations/mod_tests.rsindex 4234363c1c..7c4efb514d 100644--- a/crates/openhuman-core/src/config/migrations/mod_tests.rs+++ b/crates/openhuman-core/src/config/migrations/mod_tests.rs@@ -62,6 +62,7 @@ fn meta() -> TranscriptMeta {updated: "2026-05-01T00:00:00Z".into(),turn_count: 1,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/config/migrations/phase_out_profile_md_tests.rs b/crates/openhuman-core/src/config/migrations/phase_out_profile_md_tests.rsindex 8efc858527..253a20f228 100644--- a/crates/openhuman-core/src/config/migrations/phase_out_profile_md_tests.rs+++ b/crates/openhuman-core/src/config/migrations/phase_out_profile_md_tests.rs@@ -25,6 +25,7 @@ fn meta() -> TranscriptMeta {updated: "2026-05-01T00:00:00Z".into(),turn_count: 1,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/cron/scheduler/origin_delivery_tests.rs b/crates/openhuman-core/src/cron/scheduler/origin_delivery_tests.rsindex 5cf4b4eee3..ea2598e19d 100644--- a/crates/openhuman-core/src/cron/scheduler/origin_delivery_tests.rs+++ b/crates/openhuman-core/src/cron/scheduler/origin_delivery_tests.rs@@ -207,6 +207,7 @@ fn meta() -> TranscriptMeta {updated: "2026-10-06T00:00:00Z".into(),turn_count: 1,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/storage/import/sessions_tests.rs b/crates/openhuman-core/src/storage/import/sessions_tests.rsindex 0edb5b1d1b..3b27c5cad1 100644--- a/crates/openhuman-core/src/storage/import/sessions_tests.rs+++ b/crates/openhuman-core/src/storage/import/sessions_tests.rs@@ -54,6 +54,7 @@ fn meta(thread: &str, agent: &str) -> TranscriptMeta {updated: "2026-01-01T00:00:00Z".into(),turn_count: 1,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/threads/ops/edit_tests.rs b/crates/openhuman-core/src/threads/ops/edit_tests.rsindex 778330c6c6..a0c7e5a75b 100644--- a/crates/openhuman-core/src/threads/ops/edit_tests.rs+++ b/crates/openhuman-core/src/threads/ops/edit_tests.rs@@ -37,6 +37,7 @@ fn base_meta(agent_id: &str, thread_id: &str) -> TranscriptMeta {updated: "2026-09-24T00:00:00Z".into(),turn_count: 0,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/threads/ops/transcript_tests.rs b/crates/openhuman-core/src/threads/ops/transcript_tests.rsindex 49aaa6cd3c..6911932094 100644--- a/crates/openhuman-core/src/threads/ops/transcript_tests.rs+++ b/crates/openhuman-core/src/threads/ops/transcript_tests.rs@@ -47,6 +47,7 @@ fn meta(agent: &str, agent_type: &str) -> TranscriptMeta {updated: "2026-10-15T00:00:00Z".into(),turn_count: 1,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/threads/transcript_host_tests.rs b/crates/openhuman-core/src/threads/transcript_host_tests.rsindex 3eb4bcbedf..1aa595c01c 100644--- a/crates/openhuman-core/src/threads/transcript_host_tests.rs+++ b/crates/openhuman-core/src/threads/transcript_host_tests.rs@@ -187,6 +187,7 @@ fn text_dialect_tool_turn_projects_calls_on_their_issuing_row_as_settled() {updated: "2026-09-24T00:00:00Z".into(),turn_count: 1,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,@@ -371,6 +372,7 @@ fn tool_failure_metadata_round_trips_write_to_display_line() {updated: now,turn_count: 1,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,diff --git a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs b/crates/openhuman-core/src/web_chat/session_checkout_tests.rsindex 06ddcabc10..6e72f6368c 100644--- a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs+++ b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs@@ -67,6 +67,7 @@ fn write_thread_transcript(workspace_dir: &Path, stem: &str, thread_id: &str, roupdated: "2026-09-20T15:36:32Z".into(),turn_count: rows.len() / 2,prefix_message_count: None,+ prefix_reset: false,input_tokens: 0,output_tokens: 0,cached_input_tokens: 0,