@bolt-foundry/gambit 0.8.6-rc.5 → 0.8.6-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -1
- package/esm/gambit/simulator-ui/dist/bundle.js +14226 -23324
- package/esm/gambit/simulator-ui/dist/bundle.js.map +4 -4
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/normalization_ast.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/normalization_ast.js +5 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.d.ts +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.js +1 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/raw_response_type.d.ts +1 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/raw_response_type.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/normalization_ast.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/normalization_ast.js +5 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.d.ts +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.js +1 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/raw_response_type.d.ts +1 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/raw_response_type.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/normalization_ast.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/normalization_ast.js +5 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.d.ts +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.js +1 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/raw_response_type.d.ts +1 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/raw_response_type.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/normalization_ast.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/normalization_ast.js +5 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.d.ts +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.js +1 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/raw_response_type.d.ts +1 -0
- package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/raw_response_type.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/GradeTab/param_type.d.ts +65 -0
- package/esm/simulator-ui/__generated__/__isograph/Workspace/GradeTab/param_type.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/GradeTab/resolver_reader.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/GradeTab/resolver_reader.js +8 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/TestTab/param_type.d.ts +82 -0
- package/esm/simulator-ui/__generated__/__isograph/Workspace/TestTab/param_type.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/TestTab/resolver_reader.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/TestTab/resolver_reader.js +8 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.d.ts +106 -0
- package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.js +8 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts +32 -0
- package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.d.ts.map +1 -1
- package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.js +8 -1
- package/esm/simulator-ui/isograph/components/Query/SimulatorBuildPage.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/components/Query/SimulatorBuildPage.js +4 -11
- package/esm/simulator-ui/isograph/components/Query/SimulatorGradePage.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/components/Query/SimulatorGradePage.js +79 -20
- package/esm/simulator-ui/isograph/components/Query/SimulatorTestPage.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/components/Query/SimulatorTestPage.js +88 -27
- package/esm/simulator-ui/isograph/components/Query/SimulatorVerifyPage.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/components/Query/SimulatorVerifyPage.js +31 -17
- package/esm/simulator-ui/isograph/components/Query/SimulatorWorkspacesPage.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/components/Query/SimulatorWorkspacesPage.js +2 -6
- package/esm/simulator-ui/isograph/components/Workspace/WorkbenchChatDrawer.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/components/Workspace/WorkbenchChatDrawer.js +27 -23
- package/esm/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.d.ts +3 -0
- package/esm/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.js +76 -50
- package/esm/simulator-ui/isograph/components/grade/GradeTabView.d.ts +14 -0
- package/esm/simulator-ui/isograph/components/grade/GradeTabView.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/components/grade/GradeTabView.js +1 -1
- package/esm/simulator-ui/isograph/entrypoints/EntrypointSimulatorRedirect.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/entrypoints/EntrypointSimulatorRedirect.js +3 -16
- package/esm/simulator-ui/isograph/entrypoints/EntrypointSimulatorWorkspaceShell.d.ts.map +1 -1
- package/esm/simulator-ui/isograph/entrypoints/EntrypointSimulatorWorkspaceShell.js +1 -9
- package/esm/simulator-ui/src/AppShell.d.ts.map +1 -1
- package/esm/simulator-ui/src/AppShell.js +21 -31
- package/esm/simulator-ui/src/Chat.d.ts +6 -30
- package/esm/simulator-ui/src/Chat.d.ts.map +1 -1
- package/esm/simulator-ui/src/Chat.js +14 -109
- package/esm/simulator-ui/src/MinimalRouterRoot.d.ts.map +1 -1
- package/esm/simulator-ui/src/MinimalRouterRoot.js +1 -16
- package/esm/simulator-ui/src/TestBotChatPanel.d.ts +2 -0
- package/esm/simulator-ui/src/TestBotChatPanel.d.ts.map +1 -1
- package/esm/simulator-ui/src/TestBotChatPanel.js +2 -2
- package/esm/simulator-ui/src/WorkbenchChatIntro.d.ts +10 -0
- package/esm/simulator-ui/src/WorkbenchChatIntro.d.ts.map +1 -0
- package/esm/simulator-ui/src/WorkbenchChatIntro.js +24 -0
- package/esm/simulator-ui/src/WorkbenchDrawerIso.d.ts +1 -0
- package/esm/simulator-ui/src/WorkbenchDrawerIso.d.ts.map +1 -1
- package/esm/simulator-ui/src/WorkbenchDrawerIso.js +3 -15
- package/esm/simulator-ui/src/gds/WorkbenchComposerChip.d.ts +2 -17
- package/esm/simulator-ui/src/gds/WorkbenchComposerChip.d.ts.map +1 -1
- package/esm/simulator-ui/src/grade/GradeResultsPanel.d.ts +10 -0
- package/esm/simulator-ui/src/grade/GradeResultsPanel.d.ts.map +1 -1
- package/esm/simulator-ui/src/grade/GradeResultsPanel.js +16 -1
- package/esm/simulator-ui/src/routing.d.ts.map +1 -1
- package/esm/simulator-ui/src/routing.js +0 -31
- package/esm/simulator-ui/src/shared.d.ts +1 -0
- package/esm/simulator-ui/src/shared.d.ts.map +1 -1
- package/esm/simulator-ui/src/shared.js +4 -2
- package/esm/simulator-ui/src/styles.d.ts +1 -1
- package/esm/simulator-ui/src/styles.d.ts.map +1 -1
- package/esm/simulator-ui/src/styles.js +65 -0
- package/esm/simulator-ui/src/utils.d.ts +1 -0
- package/esm/simulator-ui/src/utils.d.ts.map +1 -1
- package/esm/simulator-ui/src/utils.js +2 -0
- package/esm/simulator-ui/src/workbenchChipStore.d.ts +12 -0
- package/esm/simulator-ui/src/workbenchChipStore.d.ts.map +1 -0
- package/esm/simulator-ui/src/workbenchChipStore.js +69 -0
- package/esm/simulator-ui/src/workbenchContext.d.ts +50 -0
- package/esm/simulator-ui/src/workbenchContext.d.ts.map +1 -0
- package/esm/simulator-ui/src/workbenchContext.js +159 -0
- package/esm/src/server/request_handler.d.ts.map +1 -1
- package/esm/src/server/request_handler.js +0 -40
- package/esm/src/server.js +1 -1
- package/esm/src/server_legacy_api_routes.d.ts +2 -122
- package/esm/src/server_legacy_api_routes.d.ts.map +1 -1
- package/esm/src/server_legacy_api_routes.js +0 -591
- package/esm/src/server_simulator_ui.d.ts.map +1 -1
- package/esm/src/server_simulator_ui.js +34 -0
- package/esm/src/server_ui_routes.d.ts.map +1 -1
- package/esm/src/server_ui_routes.js +0 -2
- package/esm/src/server_workspace_graphql.d.ts +1 -1
- package/esm/src/server_workspace_graphql.d.ts.map +1 -1
- package/esm/src/server_workspace_graphql.js +66 -46
- package/esm/src/simulator_graphql.d.ts.map +1 -1
- package/esm/src/simulator_graphql.js +5 -0
- package/package.json +1 -1
- package/script/gambit/simulator-ui/dist/bundle.js +14226 -23324
- package/script/gambit/simulator-ui/dist/bundle.js.map +4 -4
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/normalization_ast.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/normalization_ast.js +5 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.d.ts +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.js +1 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/raw_response_type.d.ts +1 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/raw_response_type.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/normalization_ast.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/normalization_ast.js +5 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.d.ts +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.js +1 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/raw_response_type.d.ts +1 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/raw_response_type.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/normalization_ast.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/normalization_ast.js +5 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.d.ts +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.js +1 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/raw_response_type.d.ts +1 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/raw_response_type.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/normalization_ast.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/normalization_ast.js +5 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.d.ts +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.js +1 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/raw_response_type.d.ts +1 -0
- package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/raw_response_type.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/GradeTab/param_type.d.ts +65 -0
- package/script/simulator-ui/__generated__/__isograph/Workspace/GradeTab/param_type.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/GradeTab/resolver_reader.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/GradeTab/resolver_reader.js +8 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/TestTab/param_type.d.ts +82 -0
- package/script/simulator-ui/__generated__/__isograph/Workspace/TestTab/param_type.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/TestTab/resolver_reader.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/TestTab/resolver_reader.js +8 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.d.ts +106 -0
- package/script/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.js +8 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts +32 -0
- package/script/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.d.ts.map +1 -1
- package/script/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.js +8 -1
- package/script/simulator-ui/isograph/components/Query/SimulatorBuildPage.d.ts.map +1 -1
- package/script/simulator-ui/isograph/components/Query/SimulatorBuildPage.js +4 -11
- package/script/simulator-ui/isograph/components/Query/SimulatorGradePage.d.ts.map +1 -1
- package/script/simulator-ui/isograph/components/Query/SimulatorGradePage.js +112 -20
- package/script/simulator-ui/isograph/components/Query/SimulatorTestPage.d.ts.map +1 -1
- package/script/simulator-ui/isograph/components/Query/SimulatorTestPage.js +121 -27
- package/script/simulator-ui/isograph/components/Query/SimulatorVerifyPage.d.ts.map +1 -1
- package/script/simulator-ui/isograph/components/Query/SimulatorVerifyPage.js +31 -17
- package/script/simulator-ui/isograph/components/Query/SimulatorWorkspacesPage.d.ts.map +1 -1
- package/script/simulator-ui/isograph/components/Query/SimulatorWorkspacesPage.js +2 -6
- package/script/simulator-ui/isograph/components/Workspace/WorkbenchChatDrawer.d.ts.map +1 -1
- package/script/simulator-ui/isograph/components/Workspace/WorkbenchChatDrawer.js +26 -22
- package/script/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.d.ts +3 -0
- package/script/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.d.ts.map +1 -1
- package/script/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.js +75 -49
- package/script/simulator-ui/isograph/components/grade/GradeTabView.d.ts +14 -0
- package/script/simulator-ui/isograph/components/grade/GradeTabView.d.ts.map +1 -1
- package/script/simulator-ui/isograph/components/grade/GradeTabView.js +1 -1
- package/script/simulator-ui/isograph/entrypoints/EntrypointSimulatorRedirect.d.ts.map +1 -1
- package/script/simulator-ui/isograph/entrypoints/EntrypointSimulatorRedirect.js +3 -16
- package/script/simulator-ui/isograph/entrypoints/EntrypointSimulatorWorkspaceShell.d.ts.map +1 -1
- package/script/simulator-ui/isograph/entrypoints/EntrypointSimulatorWorkspaceShell.js +1 -9
- package/script/simulator-ui/src/AppShell.d.ts.map +1 -1
- package/script/simulator-ui/src/AppShell.js +21 -31
- package/script/simulator-ui/src/Chat.d.ts +6 -30
- package/script/simulator-ui/src/Chat.d.ts.map +1 -1
- package/script/simulator-ui/src/Chat.js +14 -109
- package/script/simulator-ui/src/MinimalRouterRoot.d.ts.map +1 -1
- package/script/simulator-ui/src/MinimalRouterRoot.js +1 -16
- package/script/simulator-ui/src/TestBotChatPanel.d.ts +2 -0
- package/script/simulator-ui/src/TestBotChatPanel.d.ts.map +1 -1
- package/script/simulator-ui/src/TestBotChatPanel.js +2 -2
- package/script/simulator-ui/src/WorkbenchChatIntro.d.ts +10 -0
- package/script/simulator-ui/src/WorkbenchChatIntro.d.ts.map +1 -0
- package/script/simulator-ui/src/WorkbenchChatIntro.js +30 -0
- package/script/simulator-ui/src/WorkbenchDrawerIso.d.ts +1 -0
- package/script/simulator-ui/src/WorkbenchDrawerIso.d.ts.map +1 -1
- package/script/simulator-ui/src/WorkbenchDrawerIso.js +3 -15
- package/script/simulator-ui/src/gds/WorkbenchComposerChip.d.ts +2 -17
- package/script/simulator-ui/src/gds/WorkbenchComposerChip.d.ts.map +1 -1
- package/script/simulator-ui/src/grade/GradeResultsPanel.d.ts +10 -0
- package/script/simulator-ui/src/grade/GradeResultsPanel.d.ts.map +1 -1
- package/script/simulator-ui/src/grade/GradeResultsPanel.js +16 -1
- package/script/simulator-ui/src/routing.d.ts.map +1 -1
- package/script/simulator-ui/src/routing.js +0 -31
- package/script/simulator-ui/src/shared.d.ts +1 -0
- package/script/simulator-ui/src/shared.d.ts.map +1 -1
- package/script/simulator-ui/src/shared.js +4 -2
- package/script/simulator-ui/src/styles.d.ts +1 -1
- package/script/simulator-ui/src/styles.d.ts.map +1 -1
- package/script/simulator-ui/src/styles.js +65 -0
- package/script/simulator-ui/src/utils.d.ts +1 -0
- package/script/simulator-ui/src/utils.d.ts.map +1 -1
- package/script/simulator-ui/src/utils.js +3 -1
- package/script/simulator-ui/src/workbenchChipStore.d.ts +12 -0
- package/script/simulator-ui/src/workbenchChipStore.d.ts.map +1 -0
- package/script/simulator-ui/src/workbenchChipStore.js +108 -0
- package/script/simulator-ui/src/workbenchContext.d.ts +50 -0
- package/script/simulator-ui/src/workbenchContext.d.ts.map +1 -0
- package/script/simulator-ui/src/workbenchContext.js +165 -0
- package/script/src/server/request_handler.d.ts.map +1 -1
- package/script/src/server/request_handler.js +0 -40
- package/script/src/server.js +1 -1
- package/script/src/server_legacy_api_routes.d.ts +2 -122
- package/script/src/server_legacy_api_routes.d.ts.map +1 -1
- package/script/src/server_legacy_api_routes.js +0 -624
- package/script/src/server_simulator_ui.d.ts.map +1 -1
- package/script/src/server_simulator_ui.js +34 -0
- package/script/src/server_ui_routes.d.ts.map +1 -1
- package/script/src/server_ui_routes.js +0 -2
- package/script/src/server_workspace_graphql.d.ts +1 -1
- package/script/src/server_workspace_graphql.d.ts.map +1 -1
- package/script/src/server_workspace_graphql.js +66 -46
- package/script/src/simulator_graphql.d.ts.map +1 -1
- package/script/src/simulator_graphql.js +5 -0
- package/esm/simulator-ui/src/ProviderLoginPanel.d.ts +0 -8
- package/esm/simulator-ui/src/ProviderLoginPanel.d.ts.map +0 -1
- package/esm/simulator-ui/src/ProviderLoginPanel.js +0 -156
- package/esm/simulator-ui/src/WorkbenchDrawer.d.ts +0 -38
- package/esm/simulator-ui/src/WorkbenchDrawer.d.ts.map +0 -1
- package/esm/simulator-ui/src/WorkbenchDrawer.js +0 -716
- package/esm/simulator-ui/src/gds/Accordion.d.ts +0 -19
- package/esm/simulator-ui/src/gds/Accordion.d.ts.map +0 -1
- package/esm/simulator-ui/src/gds/Accordion.js +0 -47
- package/script/simulator-ui/src/ProviderLoginPanel.d.ts +0 -8
- package/script/simulator-ui/src/ProviderLoginPanel.d.ts.map +0 -1
- package/script/simulator-ui/src/ProviderLoginPanel.js +0 -162
- package/script/simulator-ui/src/WorkbenchDrawer.d.ts +0 -38
- package/script/simulator-ui/src/WorkbenchDrawer.d.ts.map +0 -1
- package/script/simulator-ui/src/WorkbenchDrawer.js +0 -722
- package/script/simulator-ui/src/gds/Accordion.d.ts +0 -19
- package/script/simulator-ui/src/gds/Accordion.d.ts.map +0 -1
- package/script/simulator-ui/src/gds/Accordion.js +0 -86
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import type { StartUpdate } from '@isograph/react';
|
|
1
2
|
export type Workspace__VerifyTab__param = {
|
|
2
3
|
readonly data: {
|
|
3
4
|
readonly id: string;
|
|
5
|
+
/**
|
|
6
|
+
Client-exclusive ephemeral workbench chip selection. This field exists for Isograph-owned simulator state until durable persistence is needed.
|
|
7
|
+
*/
|
|
8
|
+
readonly workbenchSelectedContextChips: string;
|
|
4
9
|
readonly scenarioDecks: ReadonlyArray<{
|
|
5
10
|
readonly id: string;
|
|
6
11
|
readonly label: string;
|
|
@@ -97,5 +102,106 @@ export type Workspace__VerifyTab__param = {
|
|
|
97
102
|
};
|
|
98
103
|
};
|
|
99
104
|
readonly parameters: Record<PropertyKey, never>;
|
|
105
|
+
readonly startUpdate: StartUpdate<{
|
|
106
|
+
readonly id: string;
|
|
107
|
+
/**
|
|
108
|
+
Client-exclusive ephemeral workbench chip selection. This field exists for Isograph-owned simulator state until durable persistence is needed.
|
|
109
|
+
*/
|
|
110
|
+
workbenchSelectedContextChips: string;
|
|
111
|
+
readonly scenarioDecks: ReadonlyArray<{
|
|
112
|
+
readonly id: string;
|
|
113
|
+
readonly label: string;
|
|
114
|
+
readonly description: (string | null);
|
|
115
|
+
readonly path: string;
|
|
116
|
+
}>;
|
|
117
|
+
readonly verification: {
|
|
118
|
+
readonly graderDecks: {
|
|
119
|
+
readonly edges: ReadonlyArray<{
|
|
120
|
+
readonly node: {
|
|
121
|
+
readonly id: string;
|
|
122
|
+
readonly label: string;
|
|
123
|
+
readonly description: (string | null);
|
|
124
|
+
readonly path: string;
|
|
125
|
+
};
|
|
126
|
+
}>;
|
|
127
|
+
};
|
|
128
|
+
readonly batches: {
|
|
129
|
+
readonly edges: ReadonlyArray<{
|
|
130
|
+
readonly node: {
|
|
131
|
+
readonly id: string;
|
|
132
|
+
readonly workspaceId: string;
|
|
133
|
+
readonly scenarioDeckId: (string | null);
|
|
134
|
+
readonly graderId: string;
|
|
135
|
+
readonly scenarioRuns: number;
|
|
136
|
+
readonly graderRepeatsPerScenario: number;
|
|
137
|
+
readonly status: string;
|
|
138
|
+
readonly startedAt: (string | null);
|
|
139
|
+
readonly finishedAt: (string | null);
|
|
140
|
+
readonly requested: number;
|
|
141
|
+
readonly active: number;
|
|
142
|
+
readonly completed: number;
|
|
143
|
+
readonly failed: number;
|
|
144
|
+
readonly scenarioRunsCompleted: number;
|
|
145
|
+
readonly scenarioRunsFailed: number;
|
|
146
|
+
readonly requests: {
|
|
147
|
+
readonly edges: ReadonlyArray<{
|
|
148
|
+
readonly node: {
|
|
149
|
+
readonly id: string;
|
|
150
|
+
readonly scenarioRunId: (string | null);
|
|
151
|
+
readonly status: string;
|
|
152
|
+
readonly runId: (string | null);
|
|
153
|
+
readonly error: (string | null);
|
|
154
|
+
};
|
|
155
|
+
}>;
|
|
156
|
+
};
|
|
157
|
+
readonly metrics: ({
|
|
158
|
+
readonly scenarioRunCountRequested: number;
|
|
159
|
+
readonly scenarioRunCountCompleted: number;
|
|
160
|
+
readonly scenarioRunCountFailed: number;
|
|
161
|
+
readonly gradeSampleCountRequested: number;
|
|
162
|
+
readonly gradeSampleCountCompleted: number;
|
|
163
|
+
readonly gradeSampleCountFailed: number;
|
|
164
|
+
readonly executionFailureCount: number;
|
|
165
|
+
readonly gradingFailureCount: number;
|
|
166
|
+
readonly passRate: (number | null);
|
|
167
|
+
readonly scoreMin: (number | null);
|
|
168
|
+
readonly scoreMedian: (number | null);
|
|
169
|
+
readonly scoreMax: (number | null);
|
|
170
|
+
readonly scoreMean: (number | null);
|
|
171
|
+
readonly outlierScenarioRuns: {
|
|
172
|
+
readonly edges: ReadonlyArray<{
|
|
173
|
+
readonly node: {
|
|
174
|
+
readonly key: string;
|
|
175
|
+
readonly scenarioRunId: string;
|
|
176
|
+
readonly gradeSampleCount: number;
|
|
177
|
+
readonly completedSampleCount: number;
|
|
178
|
+
readonly executionFailureCount: number;
|
|
179
|
+
readonly gradingFailureCount: number;
|
|
180
|
+
readonly averageScore: (number | null);
|
|
181
|
+
readonly minScore: (number | null);
|
|
182
|
+
readonly maxScore: (number | null);
|
|
183
|
+
readonly failed: boolean;
|
|
184
|
+
readonly minRunId: (string | null);
|
|
185
|
+
readonly maxRunId: (string | null);
|
|
186
|
+
readonly messageRefId: (string | null);
|
|
187
|
+
};
|
|
188
|
+
}>;
|
|
189
|
+
};
|
|
190
|
+
readonly failureReasons: {
|
|
191
|
+
readonly edges: ReadonlyArray<{
|
|
192
|
+
readonly node: {
|
|
193
|
+
readonly key: string;
|
|
194
|
+
readonly kind: string;
|
|
195
|
+
readonly reason: string;
|
|
196
|
+
readonly count: number;
|
|
197
|
+
};
|
|
198
|
+
}>;
|
|
199
|
+
};
|
|
200
|
+
} | null);
|
|
201
|
+
};
|
|
202
|
+
}>;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
}>;
|
|
100
206
|
};
|
|
101
207
|
//# sourceMappingURL=param_type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"param_type.d.ts","sourceRoot":"","sources":["../../../../../../src/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"param_type.d.ts","sourceRoot":"","sources":["../../../../../../src/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,CAAC,IAAI,EAAE;QACb,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QACpB;;UAEE;QACF,QAAQ,CAAC,6BAA6B,EAAE,MAAM,CAAC;QAC/C,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;YACpC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;YACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;YACvB,QAAQ,CAAC,WAAW,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;YACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;SACvB,CAAC,CAAC;QACH,QAAQ,CAAC,YAAY,EAAE;YACrB,QAAQ,CAAC,WAAW,EAAE;gBACpB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;oBAC5B,QAAQ,CAAC,IAAI,EAAE;wBACb,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;wBACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;wBACvB,QAAQ,CAAC,WAAW,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;wBACtC,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C,IAAI,EAAE;wCACb,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;wCACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;wCACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;wCACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;qCACxB,CAAC;iCACH,CAAC,CAAC;6BACJ,CAAC;yBACH,GAAG,IAAI,CAAC,CAAC;qBACX,CAAC;iBACH,CAAC,CAAC;aACJ,CAAC;SACH,CAAC;KACH,CAAC,CAAC;CACJ,CAAC"}
|
package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver_reader.d.ts","sourceRoot":"","sources":["../../../../../../src/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,IAAI,QAAQ,EAAE,MAAM,8DAA8D,CAAC;
|
|
1
|
+
{"version":3,"file":"resolver_reader.d.ts","sourceRoot":"","sources":["../../../../../../src/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,IAAI,QAAQ,EAAE,MAAM,8DAA8D,CAAC;AAwoB/G,QAAA,MAAM,QAAQ,EAAE,uBAAuB,CACrC,2BAA2B,EAC3B,kBAAkB,CAAC,OAAO,QAAQ,CAAC,CAOpC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -7,6 +7,13 @@ const readerAst = [
|
|
|
7
7
|
arguments: null,
|
|
8
8
|
isUpdatable: false,
|
|
9
9
|
},
|
|
10
|
+
{
|
|
11
|
+
kind: "Scalar",
|
|
12
|
+
fieldName: "workbenchSelectedContextChips",
|
|
13
|
+
alias: null,
|
|
14
|
+
arguments: null,
|
|
15
|
+
isUpdatable: true,
|
|
16
|
+
},
|
|
10
17
|
{
|
|
11
18
|
kind: "Linked",
|
|
12
19
|
fieldName: "scenarioDecks",
|
|
@@ -642,6 +649,6 @@ const artifact = {
|
|
|
642
649
|
fieldName: "VerifyTab",
|
|
643
650
|
resolver,
|
|
644
651
|
readerAst,
|
|
645
|
-
hasUpdatable:
|
|
652
|
+
hasUpdatable: true,
|
|
646
653
|
};
|
|
647
654
|
export default artifact;
|
package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { type WorkspaceConversationRun__WorkbenchConversationRunChat__output_type } from '../../WorkspaceConversationRun/WorkbenchConversationRunChat/output_type.js';
|
|
2
|
+
import type { StartUpdate } from '@isograph/react';
|
|
2
3
|
export type Workspace__WorkbenchChatDrawer__param = {
|
|
3
4
|
readonly data: {
|
|
4
5
|
readonly id: string;
|
|
6
|
+
/**
|
|
7
|
+
Client-exclusive ephemeral workbench chip selection. This field exists for Isograph-owned simulator state until durable persistence is needed.
|
|
8
|
+
*/
|
|
9
|
+
readonly workbenchSelectedContextChips: string;
|
|
5
10
|
readonly models: {
|
|
6
11
|
readonly codex: {
|
|
7
12
|
readonly model: string;
|
|
@@ -24,5 +29,32 @@ export type Workspace__WorkbenchChatDrawer__param = {
|
|
|
24
29
|
};
|
|
25
30
|
};
|
|
26
31
|
readonly parameters: Record<PropertyKey, never>;
|
|
32
|
+
readonly startUpdate: StartUpdate<{
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
Client-exclusive ephemeral workbench chip selection. This field exists for Isograph-owned simulator state until durable persistence is needed.
|
|
36
|
+
*/
|
|
37
|
+
workbenchSelectedContextChips: string;
|
|
38
|
+
readonly models: {
|
|
39
|
+
readonly codex: {
|
|
40
|
+
readonly model: string;
|
|
41
|
+
readonly workspaceId: string;
|
|
42
|
+
readonly available: boolean;
|
|
43
|
+
readonly requiresLogin: boolean;
|
|
44
|
+
readonly loggedIn: boolean;
|
|
45
|
+
readonly statusText: string;
|
|
46
|
+
readonly trustedPath: (string | null);
|
|
47
|
+
readonly writeEnabled: boolean;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
readonly buildRuns: {
|
|
51
|
+
readonly edges: ReadonlyArray<{
|
|
52
|
+
readonly node: {
|
|
53
|
+
readonly id: string;
|
|
54
|
+
readonly WorkbenchConversationRunChat: WorkspaceConversationRun__WorkbenchConversationRunChat__output_type;
|
|
55
|
+
};
|
|
56
|
+
}>;
|
|
57
|
+
};
|
|
58
|
+
}>;
|
|
27
59
|
};
|
|
28
60
|
//# sourceMappingURL=param_type.d.ts.map
|
package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"param_type.d.ts","sourceRoot":"","sources":["../../../../../../src/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mEAAmE,EAAE,MAAM,4EAA4E,CAAC;
|
|
1
|
+
{"version":3,"file":"param_type.d.ts","sourceRoot":"","sources":["../../../../../../src/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mEAAmE,EAAE,MAAM,4EAA4E,CAAC;AACtK,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,MAAM,qCAAqC,GAAG;IAClD,QAAQ,CAAC,IAAI,EAAE;QACb,QAAQ,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aAAa,EAAE,OAAO,CAAC;gBAChC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;gBAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;gBAC5B,QAAQ,CAAC,WAAW,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;gBACtC,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;aAChC,CAAC;SACH,CAAC;QACF,QAAQ,CAAC,SAAS,EAAE;YAClB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;gBAC5B,QAAQ,CAAC,IAAI,EAAE;oBACb,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;oBACpB,QAAQ,CAAC,4BAA4B,EAAE,mEAAmE,CAAC;iBAC5G,CAAC;aACH,CAAC,CAAC;SACJ,CAAC;KACH,CAAC,CAAC;CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver_reader.d.ts","sourceRoot":"","sources":["../../../../../../src/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,qCAAqC,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,mBAAmB,IAAI,QAAQ,EAAE,MAAM,kEAAkE,CAAC;
|
|
1
|
+
{"version":3,"file":"resolver_reader.d.ts","sourceRoot":"","sources":["../../../../../../src/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,uBAAuB,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,qCAAqC,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,mBAAmB,IAAI,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAsJnH,QAAA,MAAM,QAAQ,EAAE,uBAAuB,CACrC,qCAAqC,EACrC,kBAAkB,CAAC,OAAO,QAAQ,CAAC,CAOpC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.js
CHANGED
|
@@ -8,6 +8,13 @@ const readerAst = [
|
|
|
8
8
|
arguments: null,
|
|
9
9
|
isUpdatable: false,
|
|
10
10
|
},
|
|
11
|
+
{
|
|
12
|
+
kind: "Scalar",
|
|
13
|
+
fieldName: "workbenchSelectedContextChips",
|
|
14
|
+
alias: null,
|
|
15
|
+
arguments: null,
|
|
16
|
+
isUpdatable: true,
|
|
17
|
+
},
|
|
11
18
|
{
|
|
12
19
|
kind: "Linked",
|
|
13
20
|
fieldName: "models",
|
|
@@ -144,6 +151,6 @@ const artifact = {
|
|
|
144
151
|
fieldName: "WorkbenchChatDrawer",
|
|
145
152
|
resolver,
|
|
146
153
|
readerAst,
|
|
147
|
-
hasUpdatable:
|
|
154
|
+
hasUpdatable: true,
|
|
148
155
|
};
|
|
149
156
|
export default artifact;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimulatorBuildPage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorBuildPage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SimulatorBuildPage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorBuildPage.tsx"],"names":[],"mappings":"AA4GA,eAAO,MAAM,kBAAkB,4LA2G7B,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -6,12 +6,6 @@ import PageShell from "../../../src/gds/PageShell.js";
|
|
|
6
6
|
import PageGrid from "../../../src/gds/PageGrid.js";
|
|
7
7
|
import { useGambitTypedSubscription } from "../../../src/hooks/useGambitTypedSubscription.js";
|
|
8
8
|
import Listbox from "../../../src/gds/Listbox.js";
|
|
9
|
-
function getRoutePrefixFromLocation() {
|
|
10
|
-
const pathname = globalThis.location?.pathname ?? "";
|
|
11
|
-
return pathname === "/isograph" || pathname.startsWith("/isograph/")
|
|
12
|
-
? "/isograph"
|
|
13
|
-
: "";
|
|
14
|
-
}
|
|
15
9
|
function decodeBuildPathFromLocation() {
|
|
16
10
|
const pathname = (() => {
|
|
17
11
|
if (typeof globalThis.location?.pathname === "string" &&
|
|
@@ -23,7 +17,7 @@ function decodeBuildPathFromLocation() {
|
|
|
23
17
|
? globals.__GAMBIT_CURRENT_PATH__
|
|
24
18
|
: "/";
|
|
25
19
|
})();
|
|
26
|
-
const match = pathname.match(
|
|
20
|
+
const match = pathname.match(/^\/workspaces\/[^/]+\/build(?:\/(.*))?$/);
|
|
27
21
|
if (!match || !match[1])
|
|
28
22
|
return null;
|
|
29
23
|
try {
|
|
@@ -44,7 +38,7 @@ function decodeWorkspaceIdFromLocation() {
|
|
|
44
38
|
? globals.__GAMBIT_CURRENT_PATH__
|
|
45
39
|
: "/";
|
|
46
40
|
})();
|
|
47
|
-
const match = pathname.match(
|
|
41
|
+
const match = pathname.match(/^\/workspaces\/([^/]+)\/build(?:\/.*)?$/);
|
|
48
42
|
if (!match || !match[1])
|
|
49
43
|
return null;
|
|
50
44
|
try {
|
|
@@ -55,7 +49,6 @@ function decodeWorkspaceIdFromLocation() {
|
|
|
55
49
|
}
|
|
56
50
|
}
|
|
57
51
|
function toBuildRoutePath(workspaceId, filePath) {
|
|
58
|
-
const routePrefix = getRoutePrefixFromLocation();
|
|
59
52
|
const encodedWorkspaceId = encodeURIComponent(workspaceId);
|
|
60
53
|
const encodedFilePath = filePath
|
|
61
54
|
.split("/")
|
|
@@ -63,8 +56,8 @@ function toBuildRoutePath(workspaceId, filePath) {
|
|
|
63
56
|
.map((segment) => encodeURIComponent(segment))
|
|
64
57
|
.join("/");
|
|
65
58
|
return encodedFilePath.length > 0
|
|
66
|
-
?
|
|
67
|
-
:
|
|
59
|
+
? `/workspaces/${encodedWorkspaceId}/build/${encodedFilePath}`
|
|
60
|
+
: `/workspaces/${encodedWorkspaceId}/build`;
|
|
68
61
|
}
|
|
69
62
|
function navigateToBuildFile(workspaceId, filePath) {
|
|
70
63
|
if (!workspaceId)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimulatorGradePage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorGradePage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SimulatorGradePage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorGradePage.tsx"],"names":[],"mappings":"AAkCA,eAAO,MAAM,kBAAkB,4LA2c7B,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as dntShim from "../../../../_dnt.shims.js";
|
|
1
2
|
import { iso } from "../../../__generated__/__isograph/iso.js";
|
|
2
3
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
3
4
|
import { buildWorkspacePath, parseWorkspaceRoute, } from "../../../../src/workspace_routes.js";
|
|
@@ -8,18 +9,8 @@ import gambitWorkspaceGradeLiveSubscription from "../../../subscriptions/GambitW
|
|
|
8
9
|
import { useGambitTypedMutation } from "../../../src/hooks/useGambitTypedMutation.js";
|
|
9
10
|
import { useGambitTypedSubscription } from "../../../src/hooks/useGambitTypedSubscription.js";
|
|
10
11
|
import { useRouter } from "../../../src/RouterContext.js";
|
|
12
|
+
import { mergeWorkbenchSelectedContextChip, replaceWorkbenchSelectedContextChips, resolveWorkbenchSelectedContextChips, } from "../../../src/workbenchChipStore.js";
|
|
11
13
|
import GradeTabView from "../grade/GradeTabView.js";
|
|
12
|
-
function getRoutePrefix(path) {
|
|
13
|
-
return path === "/isograph" || path.startsWith("/isograph/")
|
|
14
|
-
? "/isograph"
|
|
15
|
-
: "";
|
|
16
|
-
}
|
|
17
|
-
function normalizeWorkspacePath(path, routePrefix) {
|
|
18
|
-
if (!routePrefix)
|
|
19
|
-
return path;
|
|
20
|
-
const stripped = path.slice(routePrefix.length);
|
|
21
|
-
return stripped.length > 0 ? stripped : "/";
|
|
22
|
-
}
|
|
23
14
|
function formatRunStatus(status) {
|
|
24
15
|
const normalized = (status ?? "").trim().toUpperCase();
|
|
25
16
|
if (normalized === "RUNNING")
|
|
@@ -33,6 +24,7 @@ function formatRunStatus(status) {
|
|
|
33
24
|
export const SimulatorGradePage = iso(`
|
|
34
25
|
field Workspace.GradeTab @component {
|
|
35
26
|
id
|
|
27
|
+
workbenchSelectedContextChips @updatable
|
|
36
28
|
scenarioRuns(first: 50) {
|
|
37
29
|
edges {
|
|
38
30
|
node {
|
|
@@ -87,20 +79,52 @@ export const SimulatorGradePage = iso(`
|
|
|
87
79
|
}
|
|
88
80
|
}
|
|
89
81
|
}
|
|
90
|
-
`)(function SimulatorGradePage({ data }) {
|
|
82
|
+
`)(function SimulatorGradePage({ data, startUpdate }) {
|
|
83
|
+
function isBuildChatDebugEnabled() {
|
|
84
|
+
if (typeof dntShim.dntGlobalThis === "undefined")
|
|
85
|
+
return false;
|
|
86
|
+
const debugGlobal = dntShim.dntGlobalThis
|
|
87
|
+
.__GAMBIT_BUILD_CHAT_DEBUG__;
|
|
88
|
+
if (debugGlobal === true)
|
|
89
|
+
return true;
|
|
90
|
+
const search = typeof globalThis.location?.search === "string"
|
|
91
|
+
? globalThis.location.search
|
|
92
|
+
: "";
|
|
93
|
+
if (search.length > 0) {
|
|
94
|
+
const value = new URLSearchParams(search).get("gambitBuildChatDebug");
|
|
95
|
+
if (value === "1" || value === "true")
|
|
96
|
+
return true;
|
|
97
|
+
}
|
|
98
|
+
let stored = "";
|
|
99
|
+
try {
|
|
100
|
+
stored = (globalThis.localStorage?.getItem("gambit:build-chat-debug") ??
|
|
101
|
+
"")
|
|
102
|
+
.toLowerCase()
|
|
103
|
+
.trim();
|
|
104
|
+
}
|
|
105
|
+
catch {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return stored === "1" || stored === "true" || stored === "yes";
|
|
109
|
+
}
|
|
110
|
+
function logGradeChipDebug(event, payload) {
|
|
111
|
+
if (!isBuildChatDebugEnabled())
|
|
112
|
+
return;
|
|
113
|
+
console.info(`[grade-chip-debug] ${event}`, payload);
|
|
114
|
+
}
|
|
91
115
|
const workspaceId = data.id ?? "";
|
|
116
|
+
const composerChips = useMemo(() => resolveWorkbenchSelectedContextChips(workspaceId, data.workbenchSelectedContextChips), [data.workbenchSelectedContextChips, workspaceId]);
|
|
117
|
+
const updateComposerChips = useCallback((next) => {
|
|
118
|
+
replaceWorkbenchSelectedContextChips(startUpdate, next, workspaceId);
|
|
119
|
+
}, [startUpdate, workspaceId]);
|
|
92
120
|
const { currentRoutePath, navigate } = useRouter();
|
|
93
|
-
const
|
|
94
|
-
currentRoutePath,
|
|
95
|
-
]);
|
|
96
|
-
const workspaceRoutePath = useMemo(() => normalizeWorkspacePath(currentRoutePath, routePrefix), [currentRoutePath, routePrefix]);
|
|
121
|
+
const workspaceRoutePath = currentRoutePath;
|
|
97
122
|
const route = useMemo(() => parseWorkspaceRoute(workspaceRoutePath), [
|
|
98
123
|
workspaceRoutePath,
|
|
99
124
|
]);
|
|
100
125
|
const routeGradeRunId = route?.tab === "grade" && route.gradeRunId
|
|
101
126
|
? route.gradeRunId
|
|
102
127
|
: null;
|
|
103
|
-
const toPrefixedPath = useCallback((path) => `${routePrefix}${path}`, [routePrefix]);
|
|
104
128
|
const runGradeMutation = useGambitTypedMutation(gambitWorkspaceGradeRunCreateMutation);
|
|
105
129
|
const toggleFlagMutation = useGambitTypedMutation(gambitWorkspaceGradeFlagToggleMutation);
|
|
106
130
|
const updateReasonMutation = useGambitTypedMutation(gambitWorkspaceGradeFlagReasonUpdateMutation);
|
|
@@ -221,8 +245,8 @@ export const SimulatorGradePage = iso(`
|
|
|
221
245
|
const nextPath = buildWorkspacePath("grade", workspaceId, {
|
|
222
246
|
runId: runId ?? undefined,
|
|
223
247
|
});
|
|
224
|
-
navigate(
|
|
225
|
-
}, [navigate,
|
|
248
|
+
navigate(nextPath);
|
|
249
|
+
}, [navigate, workspaceId]);
|
|
226
250
|
const onRunGrader = useCallback(() => {
|
|
227
251
|
if (!workspaceId || !selectedGraderId || !selectedScenarioRunId)
|
|
228
252
|
return;
|
|
@@ -301,7 +325,42 @@ export const SimulatorGradePage = iso(`
|
|
|
301
325
|
if (routeGradeRunId) {
|
|
302
326
|
onSelectRun(null);
|
|
303
327
|
}
|
|
304
|
-
}, graders: graders, selectedGraderId: selectedGraderId, onSelectGrader: setSelectedGraderId, onRunGrader: onRunGrader, runInFlight: runGradeMutation.inFlight, canRunGrader: canRunGrader, filteredRuns: filteredRuns, routeGradeRunId: routeGradeRunId, routeRunMissing: routeRunMissing, missingRunHref:
|
|
328
|
+
}, graders: graders, selectedGraderId: selectedGraderId, onSelectGrader: setSelectedGraderId, onRunGrader: onRunGrader, runInFlight: runGradeMutation.inFlight, canRunGrader: canRunGrader, filteredRuns: filteredRuns, routeGradeRunId: routeGradeRunId, routeRunMissing: routeRunMissing, missingRunHref: buildWorkspacePath("grade", workspaceId), onSelectRun: onSelectRun, flagByRefId: flagByRefId, reasonDrafts: reasonDrafts, onReasonDraftChange: onReasonDraftChange, onReasonBlur: onReasonBlur, onToggleFlag: onToggleFlag, onAddFlagToWorkbench: (args) => {
|
|
329
|
+
const flagReason = args.flagReason?.trim();
|
|
330
|
+
const graderReason = args.graderReason?.trim();
|
|
331
|
+
const gradedAssistant = args.gradedAssistant?.trim();
|
|
332
|
+
const message = [
|
|
333
|
+
flagReason ? `Flag reason: ${flagReason}` : null,
|
|
334
|
+
graderReason ? `Grader feedback: ${graderReason}` : null,
|
|
335
|
+
gradedAssistant ? `Assistant response: ${gradedAssistant}` : null,
|
|
336
|
+
].filter((part) => Boolean(part)).join("\n");
|
|
337
|
+
logGradeChipDebug("flag.add_to_workbench", {
|
|
338
|
+
workspaceId,
|
|
339
|
+
args,
|
|
340
|
+
chipMessage: message || "Flagged by grader",
|
|
341
|
+
});
|
|
342
|
+
updateComposerChips(mergeWorkbenchSelectedContextChip(composerChips, {
|
|
343
|
+
chipId: `flag:${args.refId}`,
|
|
344
|
+
source: "grading_flag",
|
|
345
|
+
workspaceId,
|
|
346
|
+
runId: args.runId,
|
|
347
|
+
capturedAt: new Date().toISOString(),
|
|
348
|
+
refId: args.refId,
|
|
349
|
+
score: args.score,
|
|
350
|
+
message: message || "Flagged by grader",
|
|
351
|
+
enabled: true,
|
|
352
|
+
}));
|
|
353
|
+
}, onAddErrorToWorkbench: ({ runId, error }) => {
|
|
354
|
+
updateComposerChips(mergeWorkbenchSelectedContextChip(composerChips, {
|
|
355
|
+
chipId: `grader_run_error:${runId ?? routeGradeRunId ?? workspaceId}`,
|
|
356
|
+
source: "grader_run_error",
|
|
357
|
+
workspaceId,
|
|
358
|
+
runId: runId ?? routeGradeRunId ?? undefined,
|
|
359
|
+
capturedAt: new Date().toISOString(),
|
|
360
|
+
error,
|
|
361
|
+
enabled: true,
|
|
362
|
+
}));
|
|
363
|
+
}, mutationError: mutationError, expandedResults: expandedResults, onToggleExpandedResult: (itemKey) => setExpandedResults((prev) => ({
|
|
305
364
|
...prev,
|
|
306
365
|
[itemKey]: !prev[itemKey],
|
|
307
366
|
})) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimulatorTestPage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorTestPage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SimulatorTestPage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorTestPage.tsx"],"names":[],"mappings":"AAkJA,eAAO,MAAM,iBAAiB,0LAq5B5B,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|