MCPcopy Create free account
hub / github.com/cursor/plugins / buildKickoffAgentName

Function buildKickoffAgentName

orchestrate/skills/orchestrate/scripts/cli/util.ts:372–376  ·  view source on GitHub ↗
(goal: string)

Source from the content-addressed store, hash-verified

370// Agent name cap on the server is 100 chars. First-line-only so
371// multi-paragraph goals don't surface their boilerplate preamble.
372export function buildKickoffAgentName(goal: string): string {
373 const firstLine = goal.split("\n")[0]?.trim() ?? "";
374 const excerpt = firstLine.slice(0, 100).trim();
375 return excerpt || "root planner";
376}
377
378export function resolveKickoffRepoUrl(repo: string | undefined): string {
379 if (repo) return repo;

Callers 1

inferKickoffRootSlugFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected