This commit is contained in:
@@ -607,7 +607,11 @@ export async function runPiece(
|
||||
const cfg = loadConfig();
|
||||
flushAndStageRecording(
|
||||
options.taskId,
|
||||
options.userId,
|
||||
// No-auth mode passes userId=null; fall back to the same 'local'
|
||||
// namespace as the ToolContext below, otherwise
|
||||
// flushAndStageRecording's `if (!ownerId) return` silently discards
|
||||
// every browser recording and self-healing patch in no-auth.
|
||||
options.userId ?? 'local',
|
||||
cfg.userFolderRoot ?? './data/users',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user