@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.
Files changed (262) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/esm/gambit/simulator-ui/dist/bundle.js +14226 -23324
  3. package/esm/gambit/simulator-ui/dist/bundle.js.map +4 -4
  4. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/normalization_ast.d.ts.map +1 -1
  5. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/normalization_ast.js +5 -0
  6. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.d.ts +1 -1
  7. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.d.ts.map +1 -1
  8. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.js +1 -0
  9. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/raw_response_type.d.ts +1 -0
  10. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/raw_response_type.d.ts.map +1 -1
  11. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/normalization_ast.d.ts.map +1 -1
  12. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/normalization_ast.js +5 -0
  13. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.d.ts +1 -1
  14. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.d.ts.map +1 -1
  15. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.js +1 -0
  16. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/raw_response_type.d.ts +1 -0
  17. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/raw_response_type.d.ts.map +1 -1
  18. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/normalization_ast.d.ts.map +1 -1
  19. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/normalization_ast.js +5 -0
  20. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.d.ts +1 -1
  21. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.d.ts.map +1 -1
  22. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.js +1 -0
  23. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/raw_response_type.d.ts +1 -0
  24. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/raw_response_type.d.ts.map +1 -1
  25. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/normalization_ast.d.ts.map +1 -1
  26. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/normalization_ast.js +5 -0
  27. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.d.ts +1 -1
  28. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.d.ts.map +1 -1
  29. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.js +1 -0
  30. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/raw_response_type.d.ts +1 -0
  31. package/esm/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/raw_response_type.d.ts.map +1 -1
  32. package/esm/simulator-ui/__generated__/__isograph/Workspace/GradeTab/param_type.d.ts +65 -0
  33. package/esm/simulator-ui/__generated__/__isograph/Workspace/GradeTab/param_type.d.ts.map +1 -1
  34. package/esm/simulator-ui/__generated__/__isograph/Workspace/GradeTab/resolver_reader.d.ts.map +1 -1
  35. package/esm/simulator-ui/__generated__/__isograph/Workspace/GradeTab/resolver_reader.js +8 -1
  36. package/esm/simulator-ui/__generated__/__isograph/Workspace/TestTab/param_type.d.ts +82 -0
  37. package/esm/simulator-ui/__generated__/__isograph/Workspace/TestTab/param_type.d.ts.map +1 -1
  38. package/esm/simulator-ui/__generated__/__isograph/Workspace/TestTab/resolver_reader.d.ts.map +1 -1
  39. package/esm/simulator-ui/__generated__/__isograph/Workspace/TestTab/resolver_reader.js +8 -1
  40. package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.d.ts +106 -0
  41. package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.d.ts.map +1 -1
  42. package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.d.ts.map +1 -1
  43. package/esm/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.js +8 -1
  44. package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts +32 -0
  45. package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts.map +1 -1
  46. package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.d.ts.map +1 -1
  47. package/esm/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.js +8 -1
  48. package/esm/simulator-ui/isograph/components/Query/SimulatorBuildPage.d.ts.map +1 -1
  49. package/esm/simulator-ui/isograph/components/Query/SimulatorBuildPage.js +4 -11
  50. package/esm/simulator-ui/isograph/components/Query/SimulatorGradePage.d.ts.map +1 -1
  51. package/esm/simulator-ui/isograph/components/Query/SimulatorGradePage.js +79 -20
  52. package/esm/simulator-ui/isograph/components/Query/SimulatorTestPage.d.ts.map +1 -1
  53. package/esm/simulator-ui/isograph/components/Query/SimulatorTestPage.js +88 -27
  54. package/esm/simulator-ui/isograph/components/Query/SimulatorVerifyPage.d.ts.map +1 -1
  55. package/esm/simulator-ui/isograph/components/Query/SimulatorVerifyPage.js +31 -17
  56. package/esm/simulator-ui/isograph/components/Query/SimulatorWorkspacesPage.d.ts.map +1 -1
  57. package/esm/simulator-ui/isograph/components/Query/SimulatorWorkspacesPage.js +2 -6
  58. package/esm/simulator-ui/isograph/components/Workspace/WorkbenchChatDrawer.d.ts.map +1 -1
  59. package/esm/simulator-ui/isograph/components/Workspace/WorkbenchChatDrawer.js +27 -23
  60. package/esm/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.d.ts +3 -0
  61. package/esm/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.d.ts.map +1 -1
  62. package/esm/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.js +76 -50
  63. package/esm/simulator-ui/isograph/components/grade/GradeTabView.d.ts +14 -0
  64. package/esm/simulator-ui/isograph/components/grade/GradeTabView.d.ts.map +1 -1
  65. package/esm/simulator-ui/isograph/components/grade/GradeTabView.js +1 -1
  66. package/esm/simulator-ui/isograph/entrypoints/EntrypointSimulatorRedirect.d.ts.map +1 -1
  67. package/esm/simulator-ui/isograph/entrypoints/EntrypointSimulatorRedirect.js +3 -16
  68. package/esm/simulator-ui/isograph/entrypoints/EntrypointSimulatorWorkspaceShell.d.ts.map +1 -1
  69. package/esm/simulator-ui/isograph/entrypoints/EntrypointSimulatorWorkspaceShell.js +1 -9
  70. package/esm/simulator-ui/src/AppShell.d.ts.map +1 -1
  71. package/esm/simulator-ui/src/AppShell.js +21 -31
  72. package/esm/simulator-ui/src/Chat.d.ts +6 -30
  73. package/esm/simulator-ui/src/Chat.d.ts.map +1 -1
  74. package/esm/simulator-ui/src/Chat.js +14 -109
  75. package/esm/simulator-ui/src/MinimalRouterRoot.d.ts.map +1 -1
  76. package/esm/simulator-ui/src/MinimalRouterRoot.js +1 -16
  77. package/esm/simulator-ui/src/TestBotChatPanel.d.ts +2 -0
  78. package/esm/simulator-ui/src/TestBotChatPanel.d.ts.map +1 -1
  79. package/esm/simulator-ui/src/TestBotChatPanel.js +2 -2
  80. package/esm/simulator-ui/src/WorkbenchChatIntro.d.ts +10 -0
  81. package/esm/simulator-ui/src/WorkbenchChatIntro.d.ts.map +1 -0
  82. package/esm/simulator-ui/src/WorkbenchChatIntro.js +24 -0
  83. package/esm/simulator-ui/src/WorkbenchDrawerIso.d.ts +1 -0
  84. package/esm/simulator-ui/src/WorkbenchDrawerIso.d.ts.map +1 -1
  85. package/esm/simulator-ui/src/WorkbenchDrawerIso.js +3 -15
  86. package/esm/simulator-ui/src/gds/WorkbenchComposerChip.d.ts +2 -17
  87. package/esm/simulator-ui/src/gds/WorkbenchComposerChip.d.ts.map +1 -1
  88. package/esm/simulator-ui/src/grade/GradeResultsPanel.d.ts +10 -0
  89. package/esm/simulator-ui/src/grade/GradeResultsPanel.d.ts.map +1 -1
  90. package/esm/simulator-ui/src/grade/GradeResultsPanel.js +16 -1
  91. package/esm/simulator-ui/src/routing.d.ts.map +1 -1
  92. package/esm/simulator-ui/src/routing.js +0 -31
  93. package/esm/simulator-ui/src/shared.d.ts +1 -0
  94. package/esm/simulator-ui/src/shared.d.ts.map +1 -1
  95. package/esm/simulator-ui/src/shared.js +4 -2
  96. package/esm/simulator-ui/src/styles.d.ts +1 -1
  97. package/esm/simulator-ui/src/styles.d.ts.map +1 -1
  98. package/esm/simulator-ui/src/styles.js +65 -0
  99. package/esm/simulator-ui/src/utils.d.ts +1 -0
  100. package/esm/simulator-ui/src/utils.d.ts.map +1 -1
  101. package/esm/simulator-ui/src/utils.js +2 -0
  102. package/esm/simulator-ui/src/workbenchChipStore.d.ts +12 -0
  103. package/esm/simulator-ui/src/workbenchChipStore.d.ts.map +1 -0
  104. package/esm/simulator-ui/src/workbenchChipStore.js +69 -0
  105. package/esm/simulator-ui/src/workbenchContext.d.ts +50 -0
  106. package/esm/simulator-ui/src/workbenchContext.d.ts.map +1 -0
  107. package/esm/simulator-ui/src/workbenchContext.js +159 -0
  108. package/esm/src/server/request_handler.d.ts.map +1 -1
  109. package/esm/src/server/request_handler.js +0 -40
  110. package/esm/src/server.js +1 -1
  111. package/esm/src/server_legacy_api_routes.d.ts +2 -122
  112. package/esm/src/server_legacy_api_routes.d.ts.map +1 -1
  113. package/esm/src/server_legacy_api_routes.js +0 -591
  114. package/esm/src/server_simulator_ui.d.ts.map +1 -1
  115. package/esm/src/server_simulator_ui.js +34 -0
  116. package/esm/src/server_ui_routes.d.ts.map +1 -1
  117. package/esm/src/server_ui_routes.js +0 -2
  118. package/esm/src/server_workspace_graphql.d.ts +1 -1
  119. package/esm/src/server_workspace_graphql.d.ts.map +1 -1
  120. package/esm/src/server_workspace_graphql.js +66 -46
  121. package/esm/src/simulator_graphql.d.ts.map +1 -1
  122. package/esm/src/simulator_graphql.js +5 -0
  123. package/package.json +1 -1
  124. package/script/gambit/simulator-ui/dist/bundle.js +14226 -23324
  125. package/script/gambit/simulator-ui/dist/bundle.js.map +4 -4
  126. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/normalization_ast.d.ts.map +1 -1
  127. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/normalization_ast.js +5 -0
  128. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.d.ts +1 -1
  129. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.d.ts.map +1 -1
  130. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/query_text.js +1 -0
  131. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/raw_response_type.d.ts +1 -0
  132. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorGradePage/raw_response_type.d.ts.map +1 -1
  133. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/normalization_ast.d.ts.map +1 -1
  134. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/normalization_ast.js +5 -0
  135. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.d.ts +1 -1
  136. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.d.ts.map +1 -1
  137. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/query_text.js +1 -0
  138. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/raw_response_type.d.ts +1 -0
  139. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorTestPage/raw_response_type.d.ts.map +1 -1
  140. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/normalization_ast.d.ts.map +1 -1
  141. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/normalization_ast.js +5 -0
  142. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.d.ts +1 -1
  143. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.d.ts.map +1 -1
  144. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/query_text.js +1 -0
  145. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/raw_response_type.d.ts +1 -0
  146. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorVerifyPage/raw_response_type.d.ts.map +1 -1
  147. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/normalization_ast.d.ts.map +1 -1
  148. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/normalization_ast.js +5 -0
  149. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.d.ts +1 -1
  150. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.d.ts.map +1 -1
  151. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/query_text.js +1 -0
  152. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/raw_response_type.d.ts +1 -0
  153. package/script/simulator-ui/__generated__/__isograph/Query/EntrypointSimulatorWorkspaceShell/raw_response_type.d.ts.map +1 -1
  154. package/script/simulator-ui/__generated__/__isograph/Workspace/GradeTab/param_type.d.ts +65 -0
  155. package/script/simulator-ui/__generated__/__isograph/Workspace/GradeTab/param_type.d.ts.map +1 -1
  156. package/script/simulator-ui/__generated__/__isograph/Workspace/GradeTab/resolver_reader.d.ts.map +1 -1
  157. package/script/simulator-ui/__generated__/__isograph/Workspace/GradeTab/resolver_reader.js +8 -1
  158. package/script/simulator-ui/__generated__/__isograph/Workspace/TestTab/param_type.d.ts +82 -0
  159. package/script/simulator-ui/__generated__/__isograph/Workspace/TestTab/param_type.d.ts.map +1 -1
  160. package/script/simulator-ui/__generated__/__isograph/Workspace/TestTab/resolver_reader.d.ts.map +1 -1
  161. package/script/simulator-ui/__generated__/__isograph/Workspace/TestTab/resolver_reader.js +8 -1
  162. package/script/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.d.ts +106 -0
  163. package/script/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/param_type.d.ts.map +1 -1
  164. package/script/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.d.ts.map +1 -1
  165. package/script/simulator-ui/__generated__/__isograph/Workspace/VerifyTab/resolver_reader.js +8 -1
  166. package/script/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts +32 -0
  167. package/script/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/param_type.d.ts.map +1 -1
  168. package/script/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.d.ts.map +1 -1
  169. package/script/simulator-ui/__generated__/__isograph/Workspace/WorkbenchChatDrawer/resolver_reader.js +8 -1
  170. package/script/simulator-ui/isograph/components/Query/SimulatorBuildPage.d.ts.map +1 -1
  171. package/script/simulator-ui/isograph/components/Query/SimulatorBuildPage.js +4 -11
  172. package/script/simulator-ui/isograph/components/Query/SimulatorGradePage.d.ts.map +1 -1
  173. package/script/simulator-ui/isograph/components/Query/SimulatorGradePage.js +112 -20
  174. package/script/simulator-ui/isograph/components/Query/SimulatorTestPage.d.ts.map +1 -1
  175. package/script/simulator-ui/isograph/components/Query/SimulatorTestPage.js +121 -27
  176. package/script/simulator-ui/isograph/components/Query/SimulatorVerifyPage.d.ts.map +1 -1
  177. package/script/simulator-ui/isograph/components/Query/SimulatorVerifyPage.js +31 -17
  178. package/script/simulator-ui/isograph/components/Query/SimulatorWorkspacesPage.d.ts.map +1 -1
  179. package/script/simulator-ui/isograph/components/Query/SimulatorWorkspacesPage.js +2 -6
  180. package/script/simulator-ui/isograph/components/Workspace/WorkbenchChatDrawer.d.ts.map +1 -1
  181. package/script/simulator-ui/isograph/components/Workspace/WorkbenchChatDrawer.js +26 -22
  182. package/script/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.d.ts +3 -0
  183. package/script/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.d.ts.map +1 -1
  184. package/script/simulator-ui/isograph/components/WorkspaceConversationRun/WorkbenchConversationRunChat.js +75 -49
  185. package/script/simulator-ui/isograph/components/grade/GradeTabView.d.ts +14 -0
  186. package/script/simulator-ui/isograph/components/grade/GradeTabView.d.ts.map +1 -1
  187. package/script/simulator-ui/isograph/components/grade/GradeTabView.js +1 -1
  188. package/script/simulator-ui/isograph/entrypoints/EntrypointSimulatorRedirect.d.ts.map +1 -1
  189. package/script/simulator-ui/isograph/entrypoints/EntrypointSimulatorRedirect.js +3 -16
  190. package/script/simulator-ui/isograph/entrypoints/EntrypointSimulatorWorkspaceShell.d.ts.map +1 -1
  191. package/script/simulator-ui/isograph/entrypoints/EntrypointSimulatorWorkspaceShell.js +1 -9
  192. package/script/simulator-ui/src/AppShell.d.ts.map +1 -1
  193. package/script/simulator-ui/src/AppShell.js +21 -31
  194. package/script/simulator-ui/src/Chat.d.ts +6 -30
  195. package/script/simulator-ui/src/Chat.d.ts.map +1 -1
  196. package/script/simulator-ui/src/Chat.js +14 -109
  197. package/script/simulator-ui/src/MinimalRouterRoot.d.ts.map +1 -1
  198. package/script/simulator-ui/src/MinimalRouterRoot.js +1 -16
  199. package/script/simulator-ui/src/TestBotChatPanel.d.ts +2 -0
  200. package/script/simulator-ui/src/TestBotChatPanel.d.ts.map +1 -1
  201. package/script/simulator-ui/src/TestBotChatPanel.js +2 -2
  202. package/script/simulator-ui/src/WorkbenchChatIntro.d.ts +10 -0
  203. package/script/simulator-ui/src/WorkbenchChatIntro.d.ts.map +1 -0
  204. package/script/simulator-ui/src/WorkbenchChatIntro.js +30 -0
  205. package/script/simulator-ui/src/WorkbenchDrawerIso.d.ts +1 -0
  206. package/script/simulator-ui/src/WorkbenchDrawerIso.d.ts.map +1 -1
  207. package/script/simulator-ui/src/WorkbenchDrawerIso.js +3 -15
  208. package/script/simulator-ui/src/gds/WorkbenchComposerChip.d.ts +2 -17
  209. package/script/simulator-ui/src/gds/WorkbenchComposerChip.d.ts.map +1 -1
  210. package/script/simulator-ui/src/grade/GradeResultsPanel.d.ts +10 -0
  211. package/script/simulator-ui/src/grade/GradeResultsPanel.d.ts.map +1 -1
  212. package/script/simulator-ui/src/grade/GradeResultsPanel.js +16 -1
  213. package/script/simulator-ui/src/routing.d.ts.map +1 -1
  214. package/script/simulator-ui/src/routing.js +0 -31
  215. package/script/simulator-ui/src/shared.d.ts +1 -0
  216. package/script/simulator-ui/src/shared.d.ts.map +1 -1
  217. package/script/simulator-ui/src/shared.js +4 -2
  218. package/script/simulator-ui/src/styles.d.ts +1 -1
  219. package/script/simulator-ui/src/styles.d.ts.map +1 -1
  220. package/script/simulator-ui/src/styles.js +65 -0
  221. package/script/simulator-ui/src/utils.d.ts +1 -0
  222. package/script/simulator-ui/src/utils.d.ts.map +1 -1
  223. package/script/simulator-ui/src/utils.js +3 -1
  224. package/script/simulator-ui/src/workbenchChipStore.d.ts +12 -0
  225. package/script/simulator-ui/src/workbenchChipStore.d.ts.map +1 -0
  226. package/script/simulator-ui/src/workbenchChipStore.js +108 -0
  227. package/script/simulator-ui/src/workbenchContext.d.ts +50 -0
  228. package/script/simulator-ui/src/workbenchContext.d.ts.map +1 -0
  229. package/script/simulator-ui/src/workbenchContext.js +165 -0
  230. package/script/src/server/request_handler.d.ts.map +1 -1
  231. package/script/src/server/request_handler.js +0 -40
  232. package/script/src/server.js +1 -1
  233. package/script/src/server_legacy_api_routes.d.ts +2 -122
  234. package/script/src/server_legacy_api_routes.d.ts.map +1 -1
  235. package/script/src/server_legacy_api_routes.js +0 -624
  236. package/script/src/server_simulator_ui.d.ts.map +1 -1
  237. package/script/src/server_simulator_ui.js +34 -0
  238. package/script/src/server_ui_routes.d.ts.map +1 -1
  239. package/script/src/server_ui_routes.js +0 -2
  240. package/script/src/server_workspace_graphql.d.ts +1 -1
  241. package/script/src/server_workspace_graphql.d.ts.map +1 -1
  242. package/script/src/server_workspace_graphql.js +66 -46
  243. package/script/src/simulator_graphql.d.ts.map +1 -1
  244. package/script/src/simulator_graphql.js +5 -0
  245. package/esm/simulator-ui/src/ProviderLoginPanel.d.ts +0 -8
  246. package/esm/simulator-ui/src/ProviderLoginPanel.d.ts.map +0 -1
  247. package/esm/simulator-ui/src/ProviderLoginPanel.js +0 -156
  248. package/esm/simulator-ui/src/WorkbenchDrawer.d.ts +0 -38
  249. package/esm/simulator-ui/src/WorkbenchDrawer.d.ts.map +0 -1
  250. package/esm/simulator-ui/src/WorkbenchDrawer.js +0 -716
  251. package/esm/simulator-ui/src/gds/Accordion.d.ts +0 -19
  252. package/esm/simulator-ui/src/gds/Accordion.d.ts.map +0 -1
  253. package/esm/simulator-ui/src/gds/Accordion.js +0 -47
  254. package/script/simulator-ui/src/ProviderLoginPanel.d.ts +0 -8
  255. package/script/simulator-ui/src/ProviderLoginPanel.d.ts.map +0 -1
  256. package/script/simulator-ui/src/ProviderLoginPanel.js +0 -162
  257. package/script/simulator-ui/src/WorkbenchDrawer.d.ts +0 -38
  258. package/script/simulator-ui/src/WorkbenchDrawer.d.ts.map +0 -1
  259. package/script/simulator-ui/src/WorkbenchDrawer.js +0 -722
  260. package/script/simulator-ui/src/gds/Accordion.d.ts +0 -19
  261. package/script/simulator-ui/src/gds/Accordion.d.ts.map +0 -1
  262. 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 @@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AG,IAAI,CAAC,CAAC;wCACnC,QAAQ,CAAC,YAAY,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;qCACxC,CAAC;iCACH,CAAC,CAAC;6BACJ,CAAC;4BACF,QAAQ,CAAC,cAAc,EAAE;gCACvB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;oCAC5B,QAAQ,CAAC,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;IACF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;CACjD,CAAC"}
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,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,MAAM,GAAG,IAAI,CAAC,CAAC;wCACnC,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;wCACnC,QAAQ,CAAC,YAAY,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;qCACxC,CAAC;iCACH,CAAC,CAAC;6BACJ,CAAC;4BACF,QAAQ,CAAC,cAAc,EAAE;gCACvB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;oCAC5B,QAAQ,CAAC,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"}
@@ -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;AAioB/G,QAAA,MAAM,QAAQ,EAAE,uBAAuB,CACrC,2BAA2B,EAC3B,kBAAkB,CAAC,OAAO,QAAQ,CAAC,CAOpC,CAAC;AAEF,eAAe,QAAQ,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"}
@@ -9,6 +9,13 @@ const readerAst = [
9
9
  arguments: null,
10
10
  isUpdatable: false,
11
11
  },
12
+ {
13
+ kind: "Scalar",
14
+ fieldName: "workbenchSelectedContextChips",
15
+ alias: null,
16
+ arguments: null,
17
+ isUpdatable: true,
18
+ },
12
19
  {
13
20
  kind: "Linked",
14
21
  fieldName: "scenarioDecks",
@@ -644,6 +651,6 @@ const artifact = {
644
651
  fieldName: "VerifyTab",
645
652
  resolver: SimulatorVerifyPage_js_1.SimulatorVerifyPage,
646
653
  readerAst,
647
- hasUpdatable: false,
654
+ hasUpdatable: true,
648
655
  };
649
656
  exports.default = artifact;
@@ -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
@@ -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;AAEtK,MAAM,MAAM,qCAAqC,GAAG;IAClD,QAAQ,CAAC,IAAI,EAAE;QACb,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,MAAM,EAAE;YACf,QAAQ,CAAC,KAAK,EAAE;gBACd,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;gBACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;gBAC7B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;gBAC5B,QAAQ,CAAC,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,EA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
- {"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;AA+InH,QAAA,MAAM,QAAQ,EAAE,uBAAuB,CACrC,qCAAqC,EACrC,kBAAkB,CAAC,OAAO,QAAQ,CAAC,CAOpC,CAAC;AAEF,eAAe,QAAQ,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"}
@@ -13,6 +13,13 @@ const readerAst = [
13
13
  arguments: null,
14
14
  isUpdatable: false,
15
15
  },
16
+ {
17
+ kind: "Scalar",
18
+ fieldName: "workbenchSelectedContextChips",
19
+ alias: null,
20
+ arguments: null,
21
+ isUpdatable: true,
22
+ },
16
23
  {
17
24
  kind: "Linked",
18
25
  fieldName: "models",
@@ -149,6 +156,6 @@ const artifact = {
149
156
  fieldName: "WorkbenchChatDrawer",
150
157
  resolver: WorkbenchChatDrawer_js_1.WorkbenchChatDrawer,
151
158
  readerAst,
152
- hasUpdatable: false,
159
+ hasUpdatable: true,
153
160
  };
154
161
  exports.default = artifact;
@@ -1 +1 @@
1
- {"version":3,"file":"SimulatorBuildPage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorBuildPage.tsx"],"names":[],"mappings":"AAwHA,eAAO,MAAM,kBAAkB,4LA2G7B,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
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"}
@@ -45,12 +45,6 @@ const PageShell_js_1 = __importDefault(require("../../../src/gds/PageShell.js"))
45
45
  const PageGrid_js_1 = __importDefault(require("../../../src/gds/PageGrid.js"));
46
46
  const useGambitTypedSubscription_js_1 = require("../../../src/hooks/useGambitTypedSubscription.js");
47
47
  const Listbox_js_1 = __importDefault(require("../../../src/gds/Listbox.js"));
48
- function getRoutePrefixFromLocation() {
49
- const pathname = globalThis.location?.pathname ?? "";
50
- return pathname === "/isograph" || pathname.startsWith("/isograph/")
51
- ? "/isograph"
52
- : "";
53
- }
54
48
  function decodeBuildPathFromLocation() {
55
49
  const pathname = (() => {
56
50
  if (typeof globalThis.location?.pathname === "string" &&
@@ -62,7 +56,7 @@ function decodeBuildPathFromLocation() {
62
56
  ? globals.__GAMBIT_CURRENT_PATH__
63
57
  : "/";
64
58
  })();
65
- const match = pathname.match(/^(?:\/isograph)?\/workspaces\/[^/]+\/build(?:\/(.*))?$/);
59
+ const match = pathname.match(/^\/workspaces\/[^/]+\/build(?:\/(.*))?$/);
66
60
  if (!match || !match[1])
67
61
  return null;
68
62
  try {
@@ -83,7 +77,7 @@ function decodeWorkspaceIdFromLocation() {
83
77
  ? globals.__GAMBIT_CURRENT_PATH__
84
78
  : "/";
85
79
  })();
86
- const match = pathname.match(/^(?:\/isograph)?\/workspaces\/([^/]+)\/build(?:\/.*)?$/);
80
+ const match = pathname.match(/^\/workspaces\/([^/]+)\/build(?:\/.*)?$/);
87
81
  if (!match || !match[1])
88
82
  return null;
89
83
  try {
@@ -94,7 +88,6 @@ function decodeWorkspaceIdFromLocation() {
94
88
  }
95
89
  }
96
90
  function toBuildRoutePath(workspaceId, filePath) {
97
- const routePrefix = getRoutePrefixFromLocation();
98
91
  const encodedWorkspaceId = encodeURIComponent(workspaceId);
99
92
  const encodedFilePath = filePath
100
93
  .split("/")
@@ -102,8 +95,8 @@ function toBuildRoutePath(workspaceId, filePath) {
102
95
  .map((segment) => encodeURIComponent(segment))
103
96
  .join("/");
104
97
  return encodedFilePath.length > 0
105
- ? `${routePrefix}/workspaces/${encodedWorkspaceId}/build/${encodedFilePath}`
106
- : `${routePrefix}/workspaces/${encodedWorkspaceId}/build`;
98
+ ? `/workspaces/${encodedWorkspaceId}/build/${encodedFilePath}`
99
+ : `/workspaces/${encodedWorkspaceId}/build`;
107
100
  }
108
101
  function navigateToBuildFile(workspaceId, filePath) {
109
102
  if (!workspaceId)
@@ -1 +1 @@
1
- {"version":3,"file":"SimulatorGradePage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorGradePage.tsx"],"names":[],"mappings":"AAqCA,eAAO,MAAM,kBAAkB,4LA6X7B,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
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,9 +1,43 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
2
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
37
  };
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
6
39
  exports.SimulatorGradePage = void 0;
40
+ const dntShim = __importStar(require("../../../../_dnt.shims.js"));
7
41
  const iso_js_1 = require("../../../__generated__/__isograph/iso.js");
8
42
  const react_1 = require("react");
9
43
  const workspace_routes_js_1 = require("../../../../src/workspace_routes.js");
@@ -14,18 +48,8 @@ const GambitWorkspaceGradeLiveSubscription_js_1 = __importDefault(require("../..
14
48
  const useGambitTypedMutation_js_1 = require("../../../src/hooks/useGambitTypedMutation.js");
15
49
  const useGambitTypedSubscription_js_1 = require("../../../src/hooks/useGambitTypedSubscription.js");
16
50
  const RouterContext_js_1 = require("../../../src/RouterContext.js");
51
+ const workbenchChipStore_js_1 = require("../../../src/workbenchChipStore.js");
17
52
  const GradeTabView_js_1 = __importDefault(require("../grade/GradeTabView.js"));
18
- function getRoutePrefix(path) {
19
- return path === "/isograph" || path.startsWith("/isograph/")
20
- ? "/isograph"
21
- : "";
22
- }
23
- function normalizeWorkspacePath(path, routePrefix) {
24
- if (!routePrefix)
25
- return path;
26
- const stripped = path.slice(routePrefix.length);
27
- return stripped.length > 0 ? stripped : "/";
28
- }
29
53
  function formatRunStatus(status) {
30
54
  const normalized = (status ?? "").trim().toUpperCase();
31
55
  if (normalized === "RUNNING")
@@ -39,6 +63,7 @@ function formatRunStatus(status) {
39
63
  exports.SimulatorGradePage = (0, iso_js_1.iso)(`
40
64
  field Workspace.GradeTab @component {
41
65
  id
66
+ workbenchSelectedContextChips @updatable
42
67
  scenarioRuns(first: 50) {
43
68
  edges {
44
69
  node {
@@ -93,20 +118,52 @@ exports.SimulatorGradePage = (0, iso_js_1.iso)(`
93
118
  }
94
119
  }
95
120
  }
96
- `)(function SimulatorGradePage({ data }) {
121
+ `)(function SimulatorGradePage({ data, startUpdate }) {
122
+ function isBuildChatDebugEnabled() {
123
+ if (typeof dntShim.dntGlobalThis === "undefined")
124
+ return false;
125
+ const debugGlobal = dntShim.dntGlobalThis
126
+ .__GAMBIT_BUILD_CHAT_DEBUG__;
127
+ if (debugGlobal === true)
128
+ return true;
129
+ const search = typeof globalThis.location?.search === "string"
130
+ ? globalThis.location.search
131
+ : "";
132
+ if (search.length > 0) {
133
+ const value = new URLSearchParams(search).get("gambitBuildChatDebug");
134
+ if (value === "1" || value === "true")
135
+ return true;
136
+ }
137
+ let stored = "";
138
+ try {
139
+ stored = (globalThis.localStorage?.getItem("gambit:build-chat-debug") ??
140
+ "")
141
+ .toLowerCase()
142
+ .trim();
143
+ }
144
+ catch {
145
+ return false;
146
+ }
147
+ return stored === "1" || stored === "true" || stored === "yes";
148
+ }
149
+ function logGradeChipDebug(event, payload) {
150
+ if (!isBuildChatDebugEnabled())
151
+ return;
152
+ console.info(`[grade-chip-debug] ${event}`, payload);
153
+ }
97
154
  const workspaceId = data.id ?? "";
155
+ const composerChips = (0, react_1.useMemo)(() => (0, workbenchChipStore_js_1.resolveWorkbenchSelectedContextChips)(workspaceId, data.workbenchSelectedContextChips), [data.workbenchSelectedContextChips, workspaceId]);
156
+ const updateComposerChips = (0, react_1.useCallback)((next) => {
157
+ (0, workbenchChipStore_js_1.replaceWorkbenchSelectedContextChips)(startUpdate, next, workspaceId);
158
+ }, [startUpdate, workspaceId]);
98
159
  const { currentRoutePath, navigate } = (0, RouterContext_js_1.useRouter)();
99
- const routePrefix = (0, react_1.useMemo)(() => getRoutePrefix(currentRoutePath), [
100
- currentRoutePath,
101
- ]);
102
- const workspaceRoutePath = (0, react_1.useMemo)(() => normalizeWorkspacePath(currentRoutePath, routePrefix), [currentRoutePath, routePrefix]);
160
+ const workspaceRoutePath = currentRoutePath;
103
161
  const route = (0, react_1.useMemo)(() => (0, workspace_routes_js_1.parseWorkspaceRoute)(workspaceRoutePath), [
104
162
  workspaceRoutePath,
105
163
  ]);
106
164
  const routeGradeRunId = route?.tab === "grade" && route.gradeRunId
107
165
  ? route.gradeRunId
108
166
  : null;
109
- const toPrefixedPath = (0, react_1.useCallback)((path) => `${routePrefix}${path}`, [routePrefix]);
110
167
  const runGradeMutation = (0, useGambitTypedMutation_js_1.useGambitTypedMutation)(GambitWorkspaceGradeRunCreateMutation_js_1.default);
111
168
  const toggleFlagMutation = (0, useGambitTypedMutation_js_1.useGambitTypedMutation)(GambitWorkspaceGradeFlagToggleMutation_js_1.default);
112
169
  const updateReasonMutation = (0, useGambitTypedMutation_js_1.useGambitTypedMutation)(GambitWorkspaceGradeFlagReasonUpdateMutation_js_1.default);
@@ -227,8 +284,8 @@ exports.SimulatorGradePage = (0, iso_js_1.iso)(`
227
284
  const nextPath = (0, workspace_routes_js_1.buildWorkspacePath)("grade", workspaceId, {
228
285
  runId: runId ?? undefined,
229
286
  });
230
- navigate(toPrefixedPath(nextPath));
231
- }, [navigate, toPrefixedPath, workspaceId]);
287
+ navigate(nextPath);
288
+ }, [navigate, workspaceId]);
232
289
  const onRunGrader = (0, react_1.useCallback)(() => {
233
290
  if (!workspaceId || !selectedGraderId || !selectedScenarioRunId)
234
291
  return;
@@ -307,7 +364,42 @@ exports.SimulatorGradePage = (0, iso_js_1.iso)(`
307
364
  if (routeGradeRunId) {
308
365
  onSelectRun(null);
309
366
  }
310
- }, graders: graders, selectedGraderId: selectedGraderId, onSelectGrader: setSelectedGraderId, onRunGrader: onRunGrader, runInFlight: runGradeMutation.inFlight, canRunGrader: canRunGrader, filteredRuns: filteredRuns, routeGradeRunId: routeGradeRunId, routeRunMissing: routeRunMissing, missingRunHref: toPrefixedPath((0, workspace_routes_js_1.buildWorkspacePath)("grade", workspaceId)), onSelectRun: onSelectRun, flagByRefId: flagByRefId, reasonDrafts: reasonDrafts, onReasonDraftChange: onReasonDraftChange, onReasonBlur: onReasonBlur, onToggleFlag: onToggleFlag, mutationError: mutationError, expandedResults: expandedResults, onToggleExpandedResult: (itemKey) => setExpandedResults((prev) => ({
367
+ }, graders: graders, selectedGraderId: selectedGraderId, onSelectGrader: setSelectedGraderId, onRunGrader: onRunGrader, runInFlight: runGradeMutation.inFlight, canRunGrader: canRunGrader, filteredRuns: filteredRuns, routeGradeRunId: routeGradeRunId, routeRunMissing: routeRunMissing, missingRunHref: (0, workspace_routes_js_1.buildWorkspacePath)("grade", workspaceId), onSelectRun: onSelectRun, flagByRefId: flagByRefId, reasonDrafts: reasonDrafts, onReasonDraftChange: onReasonDraftChange, onReasonBlur: onReasonBlur, onToggleFlag: onToggleFlag, onAddFlagToWorkbench: (args) => {
368
+ const flagReason = args.flagReason?.trim();
369
+ const graderReason = args.graderReason?.trim();
370
+ const gradedAssistant = args.gradedAssistant?.trim();
371
+ const message = [
372
+ flagReason ? `Flag reason: ${flagReason}` : null,
373
+ graderReason ? `Grader feedback: ${graderReason}` : null,
374
+ gradedAssistant ? `Assistant response: ${gradedAssistant}` : null,
375
+ ].filter((part) => Boolean(part)).join("\n");
376
+ logGradeChipDebug("flag.add_to_workbench", {
377
+ workspaceId,
378
+ args,
379
+ chipMessage: message || "Flagged by grader",
380
+ });
381
+ updateComposerChips((0, workbenchChipStore_js_1.mergeWorkbenchSelectedContextChip)(composerChips, {
382
+ chipId: `flag:${args.refId}`,
383
+ source: "grading_flag",
384
+ workspaceId,
385
+ runId: args.runId,
386
+ capturedAt: new Date().toISOString(),
387
+ refId: args.refId,
388
+ score: args.score,
389
+ message: message || "Flagged by grader",
390
+ enabled: true,
391
+ }));
392
+ }, onAddErrorToWorkbench: ({ runId, error }) => {
393
+ updateComposerChips((0, workbenchChipStore_js_1.mergeWorkbenchSelectedContextChip)(composerChips, {
394
+ chipId: `grader_run_error:${runId ?? routeGradeRunId ?? workspaceId}`,
395
+ source: "grader_run_error",
396
+ workspaceId,
397
+ runId: runId ?? routeGradeRunId ?? undefined,
398
+ capturedAt: new Date().toISOString(),
399
+ error,
400
+ enabled: true,
401
+ }));
402
+ }, mutationError: mutationError, expandedResults: expandedResults, onToggleExpandedResult: (itemKey) => setExpandedResults((prev) => ({
311
403
  ...prev,
312
404
  [itemKey]: !prev[itemKey],
313
405
  })) }));
@@ -1 +1 @@
1
- {"version":3,"file":"SimulatorTestPage.d.ts","sourceRoot":"","sources":["../../../../../src/simulator-ui/isograph/components/Query/SimulatorTestPage.tsx"],"names":[],"mappings":"AA+GA,eAAO,MAAM,iBAAiB,0LAk3B5B,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
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"}