Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

📝 docs(cli): tell agents to link chat-created goals with --conversation (#20326)

Arvin Xu5fca09855b45
diff --git a/apps/cli/src/commands/goal.ts b/apps/cli/src/commands/goal.ts
index 58fea72b3e4..eb1dc4208dd 100644
--- a/apps/cli/src/commands/goal.ts
+++ b/apps/cli/src/commands/goal.ts
@@ -295,7 +295,7 @@ export function registerGoalCommand(program: Command) {
)
.option(
'--conversation',
- 'Create the goal from the current conversation run (/goal): this agent supervises it from this conversation, and the output carries a turnToken for the first plan',
+ "Link the goal to the current conversation. Use it whenever you create a goal for the user from a chat, not only for /goal: without it the goal is standalone and never shows on this conversation's goal tray. This agent supervises the goal from this conversation; the output carries a turnToken, so submit the first plan with `lh goal plan <id> --token <turnToken> --file <plan.json>`",
)
.option('--criterion <text...>', 'Acceptance criterion (repeatable)')
.option('--json [fields]', 'Output JSON')