From 1af1a5b86f642ae7b053037bc472913cfbc1e206 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 14 Aug 2026 04:22:48 +0300 Subject: feat(cli): guide agents to Herdr resources --- src/cli.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index 6acbfcbe..7f813eb7 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -29,6 +29,15 @@ const TERMINAL_SESSION_OBSERVE_USAGE: &str = "usage: herdr terminal session observe [--cols N] [--rows N]"; const TERMINAL_SESSION_CONTROL_USAGE: &str = "usage: herdr terminal session control [--takeover] [--cols N] [--rows N]"; +pub(crate) const AGENT_HELP_FOOTER: &str = concat!( + "Are you an AI? Use these resources ONLY IF your task specifically asks you to:\n", + " Help a human understand or set up Herdr for the first time:\n", + " https://herdr.dev/agent-guide.md\n", + " Debug or investigate a problem with Herdr:\n", + " https://herdr.dev/llms.txt\n", + " Control Herdr panes, agents, or workspaces:\n", + " SKIP if a Herdr skill is already in your context. Otherwise run: herdr --skill", +); pub(crate) fn parse_token_assignment(raw: &str) -> Result<(String, Option), String> { let Some((key, value)) = raw.split_once('=') else { -- cgit v1.2.3