feat(scenario): shared browser per run, sign step type, key loading helper

- all steps in a run share one browser/page instance so wizard state persists
- add 'sign' step type: execCode is {keyId} and signs via EDS widget on current page
- extract AuthService.loadKeyDescriptor() to deduplicate key file parsing
- extend StepType, DTOs, and MCP enums to include 'sign'
This commit is contained in:
2026-04-08 15:42:42 +03:00
parent eeece70866
commit e85acc8fb2
7 changed files with 376 additions and 61 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import {
} from 'typeorm';
import { ScenarioEntity } from './scenario.entity';
export type StepType = 'login' | 'exec';
export type StepType = 'login' | 'exec' | 'sign';
@Entity('scenario_steps')
export class ScenarioStepEntity {