Skip to content

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

refactor(resources): replace inline prompt files with crate constants

Steven Enamakelf5c136a24262
diff --git a/src/openhuman/mcp/server/resources.rs b/src/openhuman/mcp/server/resources.rs
index a5b793c39e..6c4e43c76d 100644
--- a/src/openhuman/mcp/server/resources.rs
+++ b/src/openhuman/mcp/server/resources.rs
@@ -222,14 +222,14 @@ const RESOURCE_CATALOG: &[PromptResource] = &[
uri: "openhuman://prompts/agents/flow_discovery",
name: "flow_discovery",
description: "Flow Scout — read-only workflow discovery agent that suggests automations from memory, threads, and integrations.",
- content: include_str!("../../flows/agents/flow_discovery/prompt.md"),
+ content: tinyflows_copilot::prompts::FLOW_DISCOVERY,
},
#[cfg(feature = "flows")]
PromptResource {
uri: "openhuman://prompts/agents/workflow_builder",
name: "workflow_builder",
description: "Workflow authoring specialist that builds tinyflows automation graphs and returns proposals for review.",
- content: include_str!("../../flows/agents/workflow_builder/prompt.md"),
+ content: tinyflows_copilot::prompts::WORKFLOW_BUILDER,
},
#[cfg(feature = "flows")]
PromptResource {