@openeryc/pi-coding-agent 0.75.20 → 0.75.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2005,7 +2005,10 @@ export class InteractiveMode {
2005
2005
  return;
2006
2006
  }
2007
2007
  if (text === "/goal" || text.startsWith("/goal ")) {
2008
+ const goal = text.replace(/^\/goal\s*/, "").trim();
2008
2009
  this.handleGoalCommand(text);
2010
+ if (goal)
2011
+ text = goal; // Submit goal text as the user message, not /goal prefix
2009
2012
  // Don't return — let the normal submit flow run so the agent starts working
2010
2013
  }
2011
2014
  if (text === "/session") {