UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

24 lines (23 loc) 1.1 kB
//#region src/agents/bootstrap-prompt.ts /** Builds prompt lines for a full BOOTSTRAP.md workflow handoff. */ function buildFullBootstrapPromptLines(params) { return [ params.readLine, "If this run can complete the BOOTSTRAP.md workflow, do so.", "If it cannot, explain the blocker briefly, continue with any bootstrap steps that are still possible here, and offer the simplest next step.", "Do not pretend bootstrap is complete when it is not.", "Do not use a generic first greeting or reply normally until after you have handled BOOTSTRAP.md.", params.firstReplyLine ]; } /** Builds prompt lines for a constrained BOOTSTRAP.md workflow handoff. */ function buildLimitedBootstrapPromptLines(params) { return [ params.introLine, "Do not claim bootstrap is complete, and do not use a generic first greeting.", "Briefly explain the limitation, continue only with any bootstrap steps that are still safely possible here, and offer the simplest next step.", params.nextStepLine ]; } //#endregion export { buildLimitedBootstrapPromptLines as n, buildFullBootstrapPromptLines as t };