refactor: add session and environment relationships to scenario run
- add sessionId optional column to ScenarioRunEntity - add ManyToOne relationship to EnvironmentEntity (with eager loading) - add ManyToOne relationship to SessionEntity (optional) - update ScenarioRun client types to include session and environment data - add environment name and session link to RunDetailPage - update UI to display save session, environment, and session info
This commit is contained in:
@@ -703,7 +703,7 @@ export class McpService {
|
||||
inputSchema: {
|
||||
id: z.uuid().describe("Scenario ID to run"),
|
||||
environmentId: z.uuid().describe("Environment ID to run the scenario in"),
|
||||
saveSession: z.boolean().optional().describe("Save session for explore mode after run completes"),
|
||||
saveSession: z.boolean().optional().describe("Save session after run completes"),
|
||||
},
|
||||
},
|
||||
async ({ id, environmentId, saveSession }) => {
|
||||
|
||||
Reference in New Issue
Block a user