refactor(session): auto-create named browser sessions

- create and register named browser sessions on open/exec when missing

- align scenario step DTO/entity/service by removing sessionName usage

- update MCP scenario-step schemas to use optional title fields
This commit is contained in:
2026-04-10 21:06:00 +03:00
parent 1627733701
commit b45f95d8cf
9 changed files with 54 additions and 28 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { IsOptional, IsString, IsUrl } from "class-validator";
export class ExecDto {
@ApiPropertyOptional({
description:
"Session name previously created by POST /login. If omitted, executes without a stored session.",
"Optional named browser session. If it does not exist yet, it is created automatically.",
example: "test-session-1",
})
@IsOptional()