Skip to content

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

fix(ci): sync tinymcp module pin

Steven Enamakel2f9350d7cff9
diff --git a/crates/openhuman-core/src/agent/debug/mod.rs b/crates/openhuman-core/src/agent/debug/mod.rs
index 9e1f681c6b..19ef328a26 100644
--- a/crates/openhuman-core/src/agent/debug/mod.rs
+++ b/crates/openhuman-core/src/agent/debug/mod.rs
@@ -482,16 +482,28 @@ async fn render_integrations_agent(config: &Config, toolkit: &str) -> Result<Dum
let empty_visible: HashSet<String> = HashSet::new();
let model_name = definition.model.resolve(agent.model_name()).to_string();
+ let text_mode_schemas: Vec<tinyinference_llm::tool::ToolSchema> = rendered_tools
+ .iter()
+ .map(|tool| {
+ tinyinference_llm::tool::ToolSchema::new(
+ tool.name(),
+ tool.description(),
+ tool.parameters_schema(),
+ )
+ })
+ .collect();
+ let dispatcher_instructions =
+ tinyagents_harness::tool::prompt_tool_instructions(&text_mode_schemas);
let ctx = PromptContext {
workspace_dir: agent.workspace_dir(),
model_name: &model_name,
agent_id: INTEGRATIONS_AGENT_ID,
tools: &prompt_tools,
workflows: agent.workflows(),
- dispatcher_instructions: "",
+ dispatcher_instructions: &dispatcher_instructions,
learned: LearnedContextData::default(),
visible_tool_names: &empty_visible,
- tool_call_format: ToolCallFormat::PFormat,
+ tool_call_format: ToolCallFormat::Json,
connected_integrations: &narrow_integrations,
connected_identities_md: crate::agent::prompts::render_connected_identities(),
include_profile: !definition.omit_profile,
@@ -503,19 +515,9 @@ async fn render_integrations_agent(config: &Config, toolkit: &str) -> Result<Dum
agents_md_local: None,
};
- let mut text = build(&ctx)
+ let text = build(&ctx)
.with_context(|| format!("building integrations_agent prompt for toolkit `{toolkit}`"))?;
- // Mirror the runner's text-mode mutation: when integrations_agent
- // has any tools the runner appends `build_text_mode_tool_instructions`
- // to the system message (see `subagent_host::run_typed_mode`,
- // `force_text_mode` branch). Reproduce it here so
- // the dump matches what the LLM actually receives on turn 1.
- if !rendered_tools.is_empty() {
- text.push_str("\n\n");
- text.push_str(&crate::agent::subagent_host::build_text_mode_tool_instructions());
- }
-
let tool_names: Vec<String> = rendered_tools
.iter()
.map(|t| t.name().to_string())
diff --git a/scripts/ci/module-pin-exemptions.json b/scripts/ci/module-pin-exemptions.json
index b3a069efa0..1c220a4a31 100644
--- a/scripts/ci/module-pin-exemptions.json
+++ b/scripts/ci/module-pin-exemptions.json
@@ -27,8 +27,8 @@
{
"id": "tinymcp",
"submodule": "vendor/tinymcp",
- "expect": "v0.3.2-3-gd3e4561",
- "reason": "The host compiles the MCP contract against tinyhumansai/tinymcp#13 (Supervisor::tick returns a TickReport; needed by openhuman#5931) plus the unreleased ConnectedServerOverview initialize-instructions field. The registry retains the published v0.3.2 artifact. This is compile-only: the tinymcp module is registry-entered but not wired (AGENTS.md, 'step two of the extraction'), so no build downloads or loads that artifact. Delete this entry when tinymcp cuts its next release and the registry pin moves onto it."
+ "expect": "v0.3.2-13-gfe34f5b8",
+ "reason": "The host compiles the MCP contract against the current tinymcp main, which includes the v0.3.2 follow-up dependency and vendor-sync commits. The registry retains the published v0.3.2 artifact. This is compile-only: the tinymcp module is registry-entered but not wired (AGENTS.md, 'step two of the extraction'), so no build downloads or loads that artifact. Delete this entry when tinymcp cuts its next release and the registry pin moves onto it."
},
{
"id": "tinymemory",