mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:40:44 +00:00
fix: align bootstrap landing check (#73235) (thanks @zqchris)
This commit is contained in:
@@ -77,16 +77,14 @@ export async function resolveBareSessionResetPromptState(params: {
|
||||
? params.hasBootstrapFileAccess()
|
||||
: (params.hasBootstrapFileAccess ?? true)
|
||||
: true;
|
||||
const bootstrapMode = !hasBootstrapFileAccess
|
||||
? "none"
|
||||
: resolveBootstrapMode({
|
||||
bootstrapPending,
|
||||
runKind: "default",
|
||||
isInteractiveUserFacing: true,
|
||||
isPrimaryRun: params.isPrimaryRun ?? true,
|
||||
isCanonicalWorkspace: params.isCanonicalWorkspace ?? true,
|
||||
hasBootstrapFileAccess,
|
||||
});
|
||||
const bootstrapMode = resolveBootstrapMode({
|
||||
bootstrapPending,
|
||||
runKind: "default",
|
||||
isInteractiveUserFacing: true,
|
||||
isPrimaryRun: params.isPrimaryRun ?? true,
|
||||
isCanonicalWorkspace: params.isCanonicalWorkspace ?? true,
|
||||
hasBootstrapFileAccess,
|
||||
});
|
||||
return {
|
||||
bootstrapMode,
|
||||
prompt: buildBareSessionResetPrompt(params.cfg, params.nowMs, bootstrapMode),
|
||||
|
||||
Reference in New Issue
Block a user