dsh-openwrite 0.2.11 → 0.2.14

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.
@@ -33,9 +33,18 @@ window.__ModuleLoader__.load({
33
33
  let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
34
34
  require("react-dom");
35
35
  //#region src/client/writing-scope.ts
36
- /** Presentation follows the current session; the host tool catalog never follows UI navigation. */
36
+ /**
37
+ * Presentation follows the session the main view is displaying; the host tool
38
+ * catalog never follows UI navigation.
39
+ *
40
+ * dsh 0.2 removed `SessionListState.current` — showing a session moved to
41
+ * `UiWorkspace.openSession` — so the displayed session is read from the row's
42
+ * own main-view retention, the same criterion `dsh-client-ui-agent-preset`
43
+ * uses. Hosts that still publish `current` keep their previous behaviour.
44
+ */
37
45
  function isWritingSession(state) {
38
- const preset = state.current ? state.byId[state.current]?.projectionValues?.agentPreset : null;
46
+ const displayed = state.ids.find((id) => (state.byId[id]?.retainedBy?.mainView ?? 0) > 0) ?? state.current;
47
+ const preset = displayed === void 0 ? null : state.byId[displayed]?.projectionValues?.agentPreset;
39
48
  return typeof preset === "string" && (preset === "openwrite" || preset.startsWith("openwrite-"));
40
49
  }
41
50
  function watchWritingScope(source, mount) {
@@ -29638,10 +29647,10 @@ window.__ModuleLoader__.load({
29638
29647
  document.head.appendChild(tag);
29639
29648
  }
29640
29649
  var LaunchOpenWrite_module_css_default = {
29641
- "primary": "Ll8urG_primary",
29642
- "entry": "Ll8urG_entry",
29643
29650
  "path": "Ll8urG_path",
29644
- "dialog": "Ll8urG_dialog"
29651
+ "dialog": "Ll8urG_dialog",
29652
+ "primary": "Ll8urG_primary",
29653
+ "entry": "Ll8urG_entry"
29645
29654
  };
29646
29655
  //#endregion
29647
29656
  //#region src/client/LaunchOpenWrite.tsx
@@ -38106,262 +38115,262 @@ window.__ModuleLoader__.load({
38106
38115
  document.head.appendChild(tag);
38107
38116
  }
38108
38117
  var views_module_css_default = {
38109
- "benchmarkLegacy": "hpCk7W_benchmarkLegacy",
38110
- "conflictNotice": "hpCk7W_conflictNotice",
38111
- "researchSearch": "hpCk7W_researchSearch",
38112
- "taskTime": "hpCk7W_taskTime",
38113
- "linkButton": "hpCk7W_linkButton",
38114
- "relationshipCanvasHeader": "hpCk7W_relationshipCanvasHeader",
38115
- "editor": "hpCk7W_editor",
38116
- "benchmarkOutput": "hpCk7W_benchmarkOutput",
38117
- "dagCanvas": "hpCk7W_dagCanvas",
38118
- "searchLocator": "hpCk7W_searchLocator",
38119
- "taskDetailSummary": "hpCk7W_taskDetailSummary",
38120
- "benchmarkRuns": "hpCk7W_benchmarkRuns",
38121
- "truncatedNote": "hpCk7W_truncatedNote",
38122
- "edgeArrow": "hpCk7W_edgeArrow",
38123
- "chevronButton": "hpCk7W_chevronButton",
38124
- "benchmarkSection": "hpCk7W_benchmarkSection",
38125
- "taskIssuePriority": "hpCk7W_taskIssuePriority",
38126
- "relationFlowNodeShell": "hpCk7W_relationFlowNodeShell",
38127
- "detailHeading": "hpCk7W_detailHeading",
38128
- "taskDetail": "hpCk7W_taskDetail",
38129
- "chevronPlaceholder": "hpCk7W_chevronPlaceholder",
38130
- "searchSnippet": "hpCk7W_searchSnippet",
38131
- "dagStructuredRow": "hpCk7W_dagStructuredRow",
38132
- "modelImpact": "hpCk7W_modelImpact",
38133
- "createPanel": "hpCk7W_createPanel",
38134
- "benchmarkSplit": "hpCk7W_benchmarkSplit",
38135
- "notice": "hpCk7W_notice",
38136
- "graphCanvas": "hpCk7W_graphCanvas",
38137
- "relationshipSvg": "hpCk7W_relationshipSvg",
38138
- "buttonDanger": "hpCk7W_buttonDanger",
38139
- "searchResultPath": "hpCk7W_searchResultPath",
38118
+ "benchmarkInputs": "hpCk7W_benchmarkInputs",
38119
+ "relationChip": "hpCk7W_relationChip",
38120
+ "taskCardActions": "hpCk7W_taskCardActions",
38121
+ "taskPhase": "hpCk7W_taskPhase",
38122
+ "detailHeader": "hpCk7W_detailHeader",
38123
+ "toolbar": "hpCk7W_toolbar",
38124
+ "root": "hpCk7W_root",
38125
+ "relationNode": "hpCk7W_relationNode",
38126
+ "summaryTextarea": "hpCk7W_summaryTextarea",
38127
+ "taskTimelineStep": "hpCk7W_taskTimelineStep",
38140
38128
  "editorActions": "hpCk7W_editorActions",
38141
- "editorLabel": "hpCk7W_editorLabel",
38142
- "assetRow": "hpCk7W_assetRow",
38143
- "searchResultTitle": "hpCk7W_searchResultTitle",
38144
- "sidebarList": "hpCk7W_sidebarList",
38129
+ "modelListItem": "hpCk7W_modelListItem",
38130
+ "benchmarkSplit": "hpCk7W_benchmarkSplit",
38131
+ "inlineActions": "hpCk7W_inlineActions",
38132
+ "taskActions": "hpCk7W_taskActions",
38133
+ "fieldList": "hpCk7W_fieldList",
38134
+ "listBlockLabel": "hpCk7W_listBlockLabel",
38135
+ "benchmarkCellStack": "hpCk7W_benchmarkCellStack",
38145
38136
  "sidebar": "hpCk7W_sidebar",
38146
- "edge": "hpCk7W_edge",
38147
- "taskCard": "hpCk7W_taskCard",
38148
- "tag": "hpCk7W_tag",
38149
- "taskError": "hpCk7W_taskError",
38150
- "assetRowMeta": "hpCk7W_assetRowMeta",
38151
- "dagPrimitiveList": "hpCk7W_dagPrimitiveList",
38152
- "taskProgressLine": "hpCk7W_taskProgressLine",
38153
- "taskFailure": "hpCk7W_taskFailure",
38137
+ "benchmarkOutput": "hpCk7W_benchmarkOutput",
38154
38138
  "taskEvents": "hpCk7W_taskEvents",
38155
- "researchWorkspace": "hpCk7W_researchWorkspace",
38156
- "relationRow": "hpCk7W_relationRow",
38157
- "taskStatus": "hpCk7W_taskStatus",
38158
- "researchProvenance": "hpCk7W_researchProvenance",
38159
- "taskDetailError": "hpCk7W_taskDetailError",
38160
- "dagRevisionAction": "hpCk7W_dagRevisionAction",
38161
- "taskActions": "hpCk7W_taskActions",
38139
+ "benchmarkRun": "hpCk7W_benchmarkRun",
38140
+ "previewHit": "hpCk7W_previewHit",
38141
+ "graphCanvas": "hpCk7W_graphCanvas",
38142
+ "benchmarkProvenance": "hpCk7W_benchmarkProvenance",
38143
+ "notice": "hpCk7W_notice",
38144
+ "countChip": "hpCk7W_countChip",
38145
+ "researchFilters": "hpCk7W_researchFilters",
38146
+ "taskSummary": "hpCk7W_taskSummary",
38147
+ "dagRoot": "hpCk7W_dagRoot",
38162
38148
  "treeChildren": "hpCk7W_treeChildren",
38163
- "nodeTitle": "hpCk7W_nodeTitle",
38164
- "taskRow": "hpCk7W_taskRow",
38165
- "sidebarFooter": "hpCk7W_sidebarFooter",
38166
- "modelGroupTitle": "hpCk7W_modelGroupTitle",
38167
- "fieldValue": "hpCk7W_fieldValue",
38149
+ "validationList": "hpCk7W_validationList",
38150
+ "researchProvenance": "hpCk7W_researchProvenance",
38151
+ "groupChevron": "hpCk7W_groupChevron",
38152
+ "searchInput": "hpCk7W_searchInput",
38153
+ "actionButton": "hpCk7W_actionButton",
38154
+ "relationRow": "hpCk7W_relationRow",
38155
+ "relationshipCanvas": "hpCk7W_relationshipCanvas",
38156
+ "modelDependencies": "hpCk7W_modelDependencies",
38157
+ "dagPrimitiveList": "hpCk7W_dagPrimitiveList",
38158
+ "editorLabel": "hpCk7W_editorLabel",
38159
+ "researchSearch": "hpCk7W_researchSearch",
38160
+ "tree": "hpCk7W_tree",
38161
+ "benchmarkSummary": "hpCk7W_benchmarkSummary",
38162
+ "graphFilterRow": "hpCk7W_graphFilterRow",
38163
+ "taskIssueText": "hpCk7W_taskIssueText",
38164
+ "modelChip": "hpCk7W_modelChip",
38165
+ "assetAliases": "hpCk7W_assetAliases",
38166
+ "searchMark": "hpCk7W_searchMark",
38167
+ "taskDetailSummary": "hpCk7W_taskDetailSummary",
38168
+ "graphNodeTitle": "hpCk7W_graphNodeTitle",
38169
+ "modelActiveStatus": "hpCk7W_modelActiveStatus",
38170
+ "relationDimmed": "hpCk7W_relationDimmed",
38171
+ "modelHint": "hpCk7W_modelHint",
38172
+ "searchResultHeading": "hpCk7W_searchResultHeading",
38173
+ "modelUnsaved": "hpCk7W_modelUnsaved",
38174
+ "conflictNotice": "hpCk7W_conflictNotice",
38175
+ "primaryButton": "hpCk7W_primaryButton",
38176
+ "taskFailure": "hpCk7W_taskFailure",
38168
38177
  "modelRoutes": "hpCk7W_modelRoutes",
38169
- "modelRouteRow": "hpCk7W_modelRouteRow",
38170
- "inlineRename": "hpCk7W_inlineRename",
38171
- "summaryEditor": "hpCk7W_summaryEditor",
38172
- "relationNode": "hpCk7W_relationNode",
38173
- "relationChips": "hpCk7W_relationChips",
38174
- "nodeSummary": "hpCk7W_nodeSummary",
38178
+ "derivedRow": "hpCk7W_derivedRow",
38179
+ "relationFlowNode": "hpCk7W_relationFlowNode",
38180
+ "taskResult": "hpCk7W_taskResult",
38181
+ "input": "hpCk7W_input",
38182
+ "searchResultPath": "hpCk7W_searchResultPath",
38183
+ "taskCardMain": "hpCk7W_taskCardMain",
38184
+ "derivedTitle": "hpCk7W_derivedTitle",
38185
+ "foreshadowNode": "hpCk7W_foreshadowNode",
38186
+ "searchResultTitle": "hpCk7W_searchResultTitle",
38187
+ "button": "hpCk7W_button",
38188
+ "modelImpact": "hpCk7W_modelImpact",
38189
+ "benchmarkUsage": "hpCk7W_benchmarkUsage",
38190
+ "previewPane": "hpCk7W_previewPane",
38191
+ "modelCheckbox": "hpCk7W_modelCheckbox",
38192
+ "fieldValue": "hpCk7W_fieldValue",
38193
+ "textarea": "hpCk7W_textarea",
38194
+ "taskDetailError": "hpCk7W_taskDetailError",
38175
38195
  "detailNotice": "hpCk7W_detailNotice",
38176
- "detailSummary": "hpCk7W_detailSummary",
38196
+ "searchChangePlan": "hpCk7W_searchChangePlan",
38197
+ "taskSearch": "hpCk7W_taskSearch",
38198
+ "dagStructured": "hpCk7W_dagStructured",
38199
+ "benchmarkRunGroupHeader": "hpCk7W_benchmarkRunGroupHeader",
38200
+ "listBlock": "hpCk7W_listBlock",
38201
+ "paneHeading": "hpCk7W_paneHeading",
38202
+ "chevronButton": "hpCk7W_chevronButton",
38203
+ "segmentButton": "hpCk7W_segmentButton",
38204
+ "searchResultActive": "hpCk7W_searchResultActive",
38205
+ "relationEditor": "hpCk7W_relationEditor",
38206
+ "referenceUnits": "hpCk7W_referenceUnits",
38177
38207
  "groupHeader": "hpCk7W_groupHeader",
38178
- "benchmarkOutputList": "hpCk7W_benchmarkOutputList",
38179
- "taskIssueSeverity": "hpCk7W_taskIssueSeverity",
38180
- "foreshadowNode": "hpCk7W_foreshadowNode",
38181
- "benchmarkResults": "hpCk7W_benchmarkResults",
38208
+ "relationFlowNodeShell": "hpCk7W_relationFlowNodeShell",
38209
+ "taskIssuePriority": "hpCk7W_taskIssuePriority",
38210
+ "taskList": "hpCk7W_taskList",
38211
+ "taskCardTitle": "hpCk7W_taskCardTitle",
38212
+ "tag": "hpCk7W_tag",
38213
+ "edge": "hpCk7W_edge",
38214
+ "bodyTextareaDirty": "hpCk7W_bodyTextareaDirty",
38215
+ "profileChoice": "hpCk7W_profileChoice",
38216
+ "detailTitle": "hpCk7W_detailTitle",
38217
+ "benchmarkSection": "hpCk7W_benchmarkSection",
38218
+ "taskFields": "hpCk7W_taskFields",
38219
+ "buttonDanger": "hpCk7W_buttonDanger",
38220
+ "assetRow": "hpCk7W_assetRow",
38182
38221
  "dagWorkspace": "hpCk7W_dagWorkspace",
38183
- "researchMetrics": "hpCk7W_researchMetrics",
38184
- "titleInput": "hpCk7W_titleInput",
38185
- "relationNote": "hpCk7W_relationNote",
38186
- "relationDimmed": "hpCk7W_relationDimmed",
38187
- "vditorOverlay": "hpCk7W_vditorOverlay",
38188
- "overlayMark": "hpCk7W_overlayMark",
38189
- "bodyTextarea": "hpCk7W_bodyTextarea",
38190
- "researchSourceList": "hpCk7W_researchSourceList",
38222
+ "taskEvent": "hpCk7W_taskEvent",
38223
+ "toolbarMeta": "hpCk7W_toolbarMeta",
38224
+ "relationshipStats": "hpCk7W_relationshipStats",
38191
38225
  "modelRouteMeta": "hpCk7W_modelRouteMeta",
38192
- "summaryTextarea": "hpCk7W_summaryTextarea",
38193
- "derivedRelations": "hpCk7W_derivedRelations",
38226
+ "relationshipCanvasHeader": "hpCk7W_relationshipCanvasHeader",
38227
+ "body": "hpCk7W_body",
38228
+ "detailBody": "hpCk7W_detailBody",
38194
38229
  "benchmarkStatus": "hpCk7W_benchmarkStatus",
38195
- "taskIssueText": "hpCk7W_taskIssueText",
38196
- "researchSources": "hpCk7W_researchSources",
38197
- "relationshipCanvas": "hpCk7W_relationshipCanvas",
38198
- "taskResult": "hpCk7W_taskResult",
38199
- "dagDetailRow": "hpCk7W_dagDetailRow",
38200
- "dagStructured": "hpCk7W_dagStructured",
38201
- "dagObjectItem": "hpCk7W_dagObjectItem",
38202
- "benchmarkPhases": "hpCk7W_benchmarkPhases",
38203
- "previewLine": "hpCk7W_previewLine",
38230
+ "taskIssueRow": "hpCk7W_taskIssueRow",
38231
+ "dagDetail": "hpCk7W_dagDetail",
38232
+ "edgeArrow": "hpCk7W_edgeArrow",
38233
+ "chevronPlaceholder": "hpCk7W_chevronPlaceholder",
38234
+ "mdInline": "hpCk7W_mdInline",
38235
+ "taskReviewMeta": "hpCk7W_taskReviewMeta",
38236
+ "taskIssueSeverity": "hpCk7W_taskIssueSeverity",
38237
+ "bodyEditor": "hpCk7W_bodyEditor",
38238
+ "taskChapter": "hpCk7W_taskChapter",
38239
+ "treeRow": "hpCk7W_treeRow",
38240
+ "summaryEditor": "hpCk7W_summaryEditor",
38241
+ "benchmarkMetrics": "hpCk7W_benchmarkMetrics",
38242
+ "dagObjectList": "hpCk7W_dagObjectList",
38243
+ "benchmarkProfiles": "hpCk7W_benchmarkProfiles",
38244
+ "dagRevisionAction": "hpCk7W_dagRevisionAction",
38245
+ "tableScroll": "hpCk7W_tableScroll",
38246
+ "vditorOverlay": "hpCk7W_vditorOverlay",
38247
+ "searchLocator": "hpCk7W_searchLocator",
38248
+ "benchmarkLegacy": "hpCk7W_benchmarkLegacy",
38249
+ "resultLink": "hpCk7W_resultLink",
38250
+ "overlayMark": "hpCk7W_overlayMark",
38204
38251
  "taskProgressTrack": "hpCk7W_taskProgressTrack",
38205
- "detailToolbar": "hpCk7W_detailToolbar",
38206
- "fieldList": "hpCk7W_fieldList",
38252
+ "dagDetailRow": "hpCk7W_dagDetailRow",
38253
+ "createPanel": "hpCk7W_createPanel",
38254
+ "edgeLabel": "hpCk7W_edgeLabel",
38255
+ "relationBlock": "hpCk7W_relationBlock",
38256
+ "taskTimeline": "hpCk7W_taskTimeline",
38207
38257
  "derivedArrow": "hpCk7W_derivedArrow",
38208
- "benchmarkTable": "hpCk7W_benchmarkTable",
38209
- "resultLink": "hpCk7W_resultLink",
38210
- "benchmarkCellStack": "hpCk7W_benchmarkCellStack",
38211
- "benchmarkSources": "hpCk7W_benchmarkSources",
38212
- "inlineActions": "hpCk7W_inlineActions",
38213
- "groupChevron": "hpCk7W_groupChevron",
38214
- "detailTitle": "hpCk7W_detailTitle",
38215
- "benchmarkRunGroup": "hpCk7W_benchmarkRunGroup",
38216
- "assetRowName": "hpCk7W_assetRowName",
38217
- "toolbarMeta": "hpCk7W_toolbarMeta",
38218
- "scopeSelect": "hpCk7W_scopeSelect",
38219
- "modelChip": "hpCk7W_modelChip",
38220
- "graphNodeTitle": "hpCk7W_graphNodeTitle",
38258
+ "relationD3Links": "hpCk7W_relationD3Links",
38259
+ "modelGroup": "hpCk7W_modelGroup",
38260
+ "taskProgressLine": "hpCk7W_taskProgressLine",
38261
+ "kindBadge": "hpCk7W_kindBadge",
38262
+ "dagObjectItem": "hpCk7W_dagObjectItem",
38263
+ "taskCard": "hpCk7W_taskCard",
38264
+ "taskTime": "hpCk7W_taskTime",
38265
+ "nodeSummary": "hpCk7W_nodeSummary",
38221
38266
  "modelTabs": "hpCk7W_modelTabs",
38222
- "assetMeta": "hpCk7W_assetMeta",
38223
- "searchResultHeading": "hpCk7W_searchResultHeading",
38224
- "bodyEditor": "hpCk7W_bodyEditor",
38225
- "iconButton": "hpCk7W_iconButton",
38226
- "searchInput": "hpCk7W_searchInput",
38227
- "searchChangePlan": "hpCk7W_searchChangePlan",
38228
- "taskCardTitle": "hpCk7W_taskCardTitle",
38229
- "derivedRow": "hpCk7W_derivedRow",
38230
- "actionButton": "hpCk7W_actionButton",
38231
- "taskCardActions": "hpCk7W_taskCardActions",
38232
- "modelChips": "hpCk7W_modelChips",
38233
- "modelUnsaved": "hpCk7W_modelUnsaved",
38234
- "taskEvent": "hpCk7W_taskEvent",
38235
- "taskList": "hpCk7W_taskList",
38236
- "errorText": "hpCk7W_errorText",
38237
- "relationshipDetail": "hpCk7W_relationshipDetail",
38238
- "searchResultActive": "hpCk7W_searchResultActive",
38239
- "taskIssues": "hpCk7W_taskIssues",
38240
- "modelEmpty": "hpCk7W_modelEmpty",
38241
- "taskSummary": "hpCk7W_taskSummary",
38242
- "taskIssuesSummary": "hpCk7W_taskIssuesSummary",
38243
- "dagDomainRow": "hpCk7W_dagDomainRow",
38244
- "treeItem": "hpCk7W_treeItem",
38245
38267
  "referenceReader": "hpCk7W_referenceReader",
38246
- "assetAliases": "hpCk7W_assetAliases",
38247
38268
  "searchResult": "hpCk7W_searchResult",
38248
- "countChip": "hpCk7W_countChip",
38249
- "root": "hpCk7W_root",
38269
+ "assetRowName": "hpCk7W_assetRowName",
38270
+ "derivedName": "hpCk7W_derivedName",
38271
+ "listBlockItems": "hpCk7W_listBlockItems",
38272
+ "truncatedNote": "hpCk7W_truncatedNote",
38273
+ "taskRow": "hpCk7W_taskRow",
38274
+ "benchmarkRuns": "hpCk7W_benchmarkRuns",
38275
+ "benchmarkControls": "hpCk7W_benchmarkControls",
38276
+ "modelList": "hpCk7W_modelList",
38277
+ "taskIssues": "hpCk7W_taskIssues",
38278
+ "benchmarkResults": "hpCk7W_benchmarkResults",
38279
+ "taskError": "hpCk7W_taskError",
38280
+ "relationNote": "hpCk7W_relationNote",
38281
+ "inlineInput": "hpCk7W_inlineInput",
38282
+ "derivedOrigin": "hpCk7W_derivedOrigin",
38283
+ "benchmarkOutputList": "hpCk7W_benchmarkOutputList",
38284
+ "modelGroupTitle": "hpCk7W_modelGroupTitle",
38285
+ "benchmarkRunGroup": "hpCk7W_benchmarkRunGroup",
38286
+ "assetRowMeta": "hpCk7W_assetRowMeta",
38287
+ "relationshipDetail": "hpCk7W_relationshipDetail",
38288
+ "relationChips": "hpCk7W_relationChips",
38289
+ "fieldRow": "hpCk7W_fieldRow",
38290
+ "relationshipWorkspace": "hpCk7W_relationshipWorkspace",
38291
+ "vditorHost": "hpCk7W_vditorHost",
38250
38292
  "benchmarkError": "hpCk7W_benchmarkError",
38293
+ "researchReferenceOnly": "hpCk7W_researchReferenceOnly",
38294
+ "vditorFrame": "hpCk7W_vditorFrame",
38295
+ "searchResultHead": "hpCk7W_searchResultHead",
38296
+ "sidebarList": "hpCk7W_sidebarList",
38297
+ "truthSection": "hpCk7W_truthSection",
38298
+ "editor": "hpCk7W_editor",
38299
+ "researchWorkspace": "hpCk7W_researchWorkspace",
38300
+ "workflowBlock": "hpCk7W_workflowBlock",
38301
+ "searchSnippet": "hpCk7W_searchSnippet",
38302
+ "inlineRename": "hpCk7W_inlineRename",
38303
+ "detailToolbar": "hpCk7W_detailToolbar",
38304
+ "errorText": "hpCk7W_errorText",
38251
38305
  "researchFailure": "hpCk7W_researchFailure",
38252
- "modelGroup": "hpCk7W_modelGroup",
38253
- "modelDependencies": "hpCk7W_modelDependencies",
38254
- "taskSearch": "hpCk7W_taskSearch",
38255
- "input": "hpCk7W_input",
38256
- "relationFlowNode": "hpCk7W_relationFlowNode",
38257
- "taskFields": "hpCk7W_taskFields",
38258
- "validationBlock": "hpCk7W_validationBlock",
38306
+ "benchmarkTable": "hpCk7W_benchmarkTable",
38307
+ "workflowStages": "hpCk7W_workflowStages",
38308
+ "sidebarEmpty": "hpCk7W_sidebarEmpty",
38309
+ "researchSources": "hpCk7W_researchSources",
38310
+ "modelLayout": "hpCk7W_modelLayout",
38311
+ "taskIssuesSummary": "hpCk7W_taskIssuesSummary",
38259
38312
  "dagOverview": "hpCk7W_dagOverview",
38260
- "previewHit": "hpCk7W_previewHit",
38261
- "modelListItem": "hpCk7W_modelListItem",
38262
- "detailTitleRow": "hpCk7W_detailTitleRow",
38263
- "dagNode": "hpCk7W_dagNode",
38264
- "textarea": "hpCk7W_textarea",
38265
- "searchChangeDiff": "hpCk7W_searchChangeDiff",
38266
- "researchFilters": "hpCk7W_researchFilters",
38267
- "mdInline": "hpCk7W_mdInline",
38268
- "kindBadge": "hpCk7W_kindBadge",
38269
- "graphFilterRow": "hpCk7W_graphFilterRow",
38313
+ "taskStatus": "hpCk7W_taskStatus",
38314
+ "mainPane": "hpCk7W_mainPane",
38270
38315
  "derivedNote": "hpCk7W_derivedNote",
38271
- "relationshipWorkspace": "hpCk7W_relationshipWorkspace",
38272
- "modelActions": "hpCk7W_modelActions",
38273
- "taskChapter": "hpCk7W_taskChapter",
38274
- "benchmarkRunGroupHeader": "hpCk7W_benchmarkRunGroupHeader",
38275
- "listBlockLabel": "hpCk7W_listBlockLabel",
38276
- "taskTimelineStep": "hpCk7W_taskTimelineStep",
38277
- "inlineInput": "hpCk7W_inlineInput",
38278
- "searchMark": "hpCk7W_searchMark",
38279
- "modelList": "hpCk7W_modelList",
38280
- "primaryButton": "hpCk7W_primaryButton",
38281
- "graphNodeMeta": "hpCk7W_graphNodeMeta",
38282
- "sidebarSegments": "hpCk7W_sidebarSegments",
38283
- "benchmarkControls": "hpCk7W_benchmarkControls",
38284
- "detail": "hpCk7W_detail",
38285
- "benchmarkCost": "hpCk7W_benchmarkCost",
38286
- "validationList": "hpCk7W_validationList",
38287
- "taskPhase": "hpCk7W_taskPhase",
38316
+ "relationOrigin": "hpCk7W_relationOrigin",
38288
38317
  "dagNodeContent": "hpCk7W_dagNodeContent",
38289
- "nodeActions": "hpCk7W_nodeActions",
38290
- "derivedTitle": "hpCk7W_derivedTitle",
38291
- "body": "hpCk7W_body",
38318
+ "treeItem": "hpCk7W_treeItem",
38319
+ "sidebarFooter": "hpCk7W_sidebarFooter",
38320
+ "editorRow": "hpCk7W_editorRow",
38321
+ "graphNodeMeta": "hpCk7W_graphNodeMeta",
38322
+ "bodyTextarea": "hpCk7W_bodyTextarea",
38323
+ "dagDomainRow": "hpCk7W_dagDomainRow",
38324
+ "kindFilterRow": "hpCk7W_kindFilterRow",
38292
38325
  "statusBadge": "hpCk7W_statusBadge",
38293
- "derivedName": "hpCk7W_derivedName",
38294
- "toolbar": "hpCk7W_toolbar",
38295
- "taskIssueRow": "hpCk7W_taskIssueRow",
38296
- "previewPane": "hpCk7W_previewPane",
38297
- "fieldKey": "hpCk7W_fieldKey",
38298
- "modelLayout": "hpCk7W_modelLayout",
38299
- "vditorHost": "hpCk7W_vditorHost",
38300
- "workflowStages": "hpCk7W_workflowStages",
38301
- "benchmarkProvenance": "hpCk7W_benchmarkProvenance",
38302
- "listBlock": "hpCk7W_listBlock",
38303
- "edgeLabel": "hpCk7W_edgeLabel",
38304
- "taskTimeline": "hpCk7W_taskTimeline",
38305
- "taskReviewMeta": "hpCk7W_taskReviewMeta",
38306
- "relationBlock": "hpCk7W_relationBlock",
38307
- "detailBody": "hpCk7W_detailBody",
38308
- "paneHeading": "hpCk7W_paneHeading",
38309
- "workflowBlock": "hpCk7W_workflowBlock",
38310
- "bodyTextareaDirty": "hpCk7W_bodyTextareaDirty",
38311
- "derivedOrigin": "hpCk7W_derivedOrigin",
38312
- "taskSummaryBar": "hpCk7W_taskSummaryBar",
38313
- "relationChip": "hpCk7W_relationChip",
38314
- "relationD3Links": "hpCk7W_relationD3Links",
38315
- "benchmarkProfiles": "hpCk7W_benchmarkProfiles",
38316
- "modelCheckbox": "hpCk7W_modelCheckbox",
38317
- "scoreChip": "hpCk7W_scoreChip",
38318
- "libraryRoot": "hpCk7W_libraryRoot",
38319
38326
  "graphColumnHeader": "hpCk7W_graphColumnHeader",
38320
- "detailHeader": "hpCk7W_detailHeader",
38321
- "referenceUnits": "hpCk7W_referenceUnits",
38322
- "chip": "hpCk7W_chip",
38327
+ "detail": "hpCk7W_detail",
38328
+ "detailHeading": "hpCk7W_detailHeading",
38329
+ "fieldKey": "hpCk7W_fieldKey",
38330
+ "dagStructuredRow": "hpCk7W_dagStructuredRow",
38331
+ "taskSummaryItem": "hpCk7W_taskSummaryItem",
38323
38332
  "launchPanel": "hpCk7W_launchPanel",
38324
- "editorRow": "hpCk7W_editorRow",
38325
- "relationD3Nodes": "hpCk7W_relationD3Nodes",
38326
- "relationshipStats": "hpCk7W_relationshipStats",
38327
- "benchmarkInputs": "hpCk7W_benchmarkInputs",
38328
- "previewHead": "hpCk7W_previewHead",
38329
- "kindFilterRow": "hpCk7W_kindFilterRow",
38330
- "fieldRow": "hpCk7W_fieldRow",
38331
- "benchmarkMetrics": "hpCk7W_benchmarkMetrics",
38332
- "treeRow": "hpCk7W_treeRow",
38333
- "tree": "hpCk7W_tree",
38334
- "benchmarkSummary": "hpCk7W_benchmarkSummary",
38335
- "tableScroll": "hpCk7W_tableScroll",
38336
- "sidebarEmpty": "hpCk7W_sidebarEmpty",
38337
- "mainPane": "hpCk7W_mainPane",
38338
- "dagDetail": "hpCk7W_dagDetail",
38339
- "benchmarkRun": "hpCk7W_benchmarkRun",
38340
- "dagRoot": "hpCk7W_dagRoot",
38341
- "benchmarkUsage": "hpCk7W_benchmarkUsage",
38342
- "modelHint": "hpCk7W_modelHint",
38333
+ "derivedRelations": "hpCk7W_derivedRelations",
38334
+ "benchmarkSources": "hpCk7W_benchmarkSources",
38335
+ "validationBlock": "hpCk7W_validationBlock",
38336
+ "modelActions": "hpCk7W_modelActions",
38337
+ "detailTitleRow": "hpCk7W_detailTitleRow",
38338
+ "benchmarkCost": "hpCk7W_benchmarkCost",
38339
+ "linkButton": "hpCk7W_linkButton",
38340
+ "dagCanvas": "hpCk7W_dagCanvas",
38341
+ "assetMeta": "hpCk7W_assetMeta",
38342
+ "modelRouteRow": "hpCk7W_modelRouteRow",
38343
+ "previewLine": "hpCk7W_previewLine",
38344
+ "modelApiKeyInput": "hpCk7W_modelApiKeyInput",
38343
38345
  "modelTestRow": "hpCk7W_modelTestRow",
38344
- "searchResultHead": "hpCk7W_searchResultHead",
38345
- "vditorFrame": "hpCk7W_vditorFrame",
38346
- "taskSummaryItem": "hpCk7W_taskSummaryItem",
38346
+ "modelChips": "hpCk7W_modelChips",
38347
38347
  "relationD3Label": "hpCk7W_relationD3Label",
38348
- "modelApiKeyInput": "hpCk7W_modelApiKeyInput",
38349
- "modelFormGrid": "hpCk7W_modelFormGrid",
38350
- "relationOrigin": "hpCk7W_relationOrigin",
38351
- "researchReferenceOnly": "hpCk7W_researchReferenceOnly",
38352
- "modelActiveStatus": "hpCk7W_modelActiveStatus",
38353
- "truthSection": "hpCk7W_truthSection",
38354
- "dagObjectList": "hpCk7W_dagObjectList",
38348
+ "previewHead": "hpCk7W_previewHead",
38349
+ "iconButton": "hpCk7W_iconButton",
38350
+ "dagNode": "hpCk7W_dagNode",
38351
+ "researchMetrics": "hpCk7W_researchMetrics",
38352
+ "libraryRoot": "hpCk7W_libraryRoot",
38353
+ "scoreChip": "hpCk7W_scoreChip",
38354
+ "researchSourceList": "hpCk7W_researchSourceList",
38355
38355
  "taskCardHeader": "hpCk7W_taskCardHeader",
38356
- "profileChoice": "hpCk7W_profileChoice",
38357
- "segmentButton": "hpCk7W_segmentButton",
38358
- "taskControls": "hpCk7W_taskControls",
38359
- "button": "hpCk7W_button",
38360
- "taskCardMain": "hpCk7W_taskCardMain",
38361
- "relationEditor": "hpCk7W_relationEditor",
38356
+ "nodeActions": "hpCk7W_nodeActions",
38357
+ "detailSummary": "hpCk7W_detailSummary",
38358
+ "sidebarSegments": "hpCk7W_sidebarSegments",
38359
+ "searchChangeDiff": "hpCk7W_searchChangeDiff",
38360
+ "benchmarkPhases": "hpCk7W_benchmarkPhases",
38361
+ "titleInput": "hpCk7W_titleInput",
38362
+ "modelEditor": "hpCk7W_modelEditor",
38363
+ "nodeTitle": "hpCk7W_nodeTitle",
38364
+ "relationD3Nodes": "hpCk7W_relationD3Nodes",
38365
+ "scopeSelect": "hpCk7W_scopeSelect",
38366
+ "relationshipSvg": "hpCk7W_relationshipSvg",
38367
+ "taskSummaryBar": "hpCk7W_taskSummaryBar",
38368
+ "taskDetail": "hpCk7W_taskDetail",
38369
+ "modelFormGrid": "hpCk7W_modelFormGrid",
38362
38370
  "taskIssueDim": "hpCk7W_taskIssueDim",
38363
- "listBlockItems": "hpCk7W_listBlockItems",
38364
- "modelEditor": "hpCk7W_modelEditor"
38371
+ "modelEmpty": "hpCk7W_modelEmpty",
38372
+ "taskControls": "hpCk7W_taskControls",
38373
+ "chip": "hpCk7W_chip"
38365
38374
  };
38366
38375
  //#endregion
38367
38376
  //#region src/client/VditorBody.tsx
@@ -39316,183 +39325,183 @@ window.__ModuleLoader__.load({
39316
39325
  document.head.appendChild(tag);
39317
39326
  }
39318
39327
  var Workbench_module_css_default = {
39319
- "projectCurrent": "Wik-wW_projectCurrent",
39320
- "acceptanceMessage": "Wik-wW_acceptanceMessage",
39321
- "reviewRevisionActions": "Wik-wW_reviewRevisionActions",
39322
- "annotateForm": "Wik-wW_annotateForm",
39323
- "contextItem": "Wik-wW_contextItem",
39324
- "contextChipHint": "Wik-wW_contextChipHint",
39325
- "inspectorHeader": "Wik-wW_inspectorHeader",
39326
- "annotationHits": "Wik-wW_annotationHits",
39328
+ "proposalCard": "Wik-wW_proposalCard",
39329
+ "contextOverview": "Wik-wW_contextOverview",
39330
+ "selectionPolish": "Wik-wW_selectionPolish",
39331
+ "exportDetailSection": "Wik-wW_exportDetailSection",
39332
+ "archiveCreate": "Wik-wW_archiveCreate",
39333
+ "inspectorDrawerClose": "Wik-wW_inspectorDrawerClose",
39334
+ "chapterIdentity": "Wik-wW_chapterIdentity",
39335
+ "acceptanceError": "Wik-wW_acceptanceError",
39327
39336
  "proposalTexts": "Wik-wW_proposalTexts",
39328
- "tabletInspectorButton": "Wik-wW_tabletInspectorButton",
39329
- "transferDetailHeader": "Wik-wW_transferDetailHeader",
39330
- "conflictBar": "Wik-wW_conflictBar",
39331
- "inspectorNotice": "Wik-wW_inspectorNotice",
39332
- "manuscriptFallback": "Wik-wW_manuscriptFallback",
39333
- "contextExceptions": "Wik-wW_contextExceptions",
39334
- "archiveListItem": "Wik-wW_archiveListItem",
39335
- "archiveSummary": "Wik-wW_archiveSummary",
39336
- "turnMutationItem": "Wik-wW_turnMutationItem",
39337
- "foreshadowActions": "Wik-wW_foreshadowActions",
39338
- "transferWorkspaceHeader": "Wik-wW_transferWorkspaceHeader",
39339
- "mobileTitle": "Wik-wW_mobileTitle",
39340
- "transferFailure": "Wik-wW_transferFailure",
39341
- "scrim": "Wik-wW_scrim",
39342
- "projectPath": "Wik-wW_projectPath",
39343
- "chapterText": "Wik-wW_chapterText",
39344
- "markerFields": "Wik-wW_markerFields",
39337
+ "chapterTitle": "Wik-wW_chapterTitle",
39338
+ "inspectorTabs": "Wik-wW_inspectorTabs",
39339
+ "acceptanceDetails": "Wik-wW_acceptanceDetails",
39340
+ "mentionCandidates": "Wik-wW_mentionCandidates",
39345
39341
  "historySection": "Wik-wW_historySection",
39346
- "exportWorkspace": "Wik-wW_exportWorkspace",
39347
- "diffList": "Wik-wW_diffList",
39348
- "chapterIdentity": "Wik-wW_chapterIdentity",
39349
- "activityList": "Wik-wW_activityList",
39350
- "manuscriptEditor": "Wik-wW_manuscriptEditor",
39351
- "transferPanel": "Wik-wW_transferPanel",
39342
+ "colorDots": "Wik-wW_colorDots",
39343
+ "exportSummaryGrid": "Wik-wW_exportSummaryGrid",
39352
39344
  "transferWorkspace": "Wik-wW_transferWorkspace",
39353
- "editorIdentity": "Wik-wW_editorIdentity",
39345
+ "importPlan": "Wik-wW_importPlan",
39346
+ "importPrepare": "Wik-wW_importPrepare",
39347
+ "archiveSummary": "Wik-wW_archiveSummary",
39348
+ "manuscriptEditor": "Wik-wW_manuscriptEditor",
39349
+ "turnMutationItem": "Wik-wW_turnMutationItem",
39350
+ "turnPlanActions": "Wik-wW_turnPlanActions",
39351
+ "importStructure": "Wik-wW_importStructure",
39352
+ "turnSummary": "Wik-wW_turnSummary",
39353
+ "restorePreview": "Wik-wW_restorePreview",
39354
+ "versionList": "Wik-wW_versionList",
39355
+ "contextChipError": "Wik-wW_contextChipError",
39356
+ "orderNotice": "Wik-wW_orderNotice",
39357
+ "turnEntityChange": "Wik-wW_turnEntityChange",
39358
+ "exportPreflight": "Wik-wW_exportPreflight",
39359
+ "headerStatus": "Wik-wW_headerStatus",
39360
+ "versionPreview": "Wik-wW_versionPreview",
39361
+ "editorHeader": "Wik-wW_editorHeader",
39362
+ "readerHeader": "Wik-wW_readerHeader",
39354
39363
  "readerError": "Wik-wW_readerError",
39355
- "archivePlan": "Wik-wW_archivePlan",
39364
+ "chapterIndex": "Wik-wW_chapterIndex",
39365
+ "foreshadowDetail": "Wik-wW_foreshadowDetail",
39356
39366
  "reviewSummary": "Wik-wW_reviewSummary",
39357
- "contextChipField": "Wik-wW_contextChipField",
39358
- "contextSections": "Wik-wW_contextSections",
39359
- "contextChipBadge": "Wik-wW_contextChipBadge",
39360
- "recoveryBody": "Wik-wW_recoveryBody",
39361
- "stageRail": "Wik-wW_stageRail",
39362
- "muted": "Wik-wW_muted",
39363
- "headerStatus": "Wik-wW_headerStatus",
39364
- "creationRoot": "Wik-wW_creationRoot",
39367
+ "projectSwitchRow": "Wik-wW_projectSwitchRow",
39368
+ "exportPreflightHeader": "Wik-wW_exportPreflightHeader",
39365
39369
  "markerForm": "Wik-wW_markerForm",
39366
- "headerMenu": "Wik-wW_headerMenu",
39367
- "selectionPolish": "Wik-wW_selectionPolish",
39368
- "chapterJump": "Wik-wW_chapterJump",
39369
- "recoveryBar": "Wik-wW_recoveryBar",
39370
- "inspector": "Wik-wW_inspector",
39371
- "workspaceNav": "Wik-wW_workspaceNav",
39370
+ "annotationQuote": "Wik-wW_annotationQuote",
39371
+ "headerUtilities": "Wik-wW_headerUtilities",
39372
+ "historyHeader": "Wik-wW_historyHeader",
39373
+ "transferWorkspaceHeader": "Wik-wW_transferWorkspaceHeader",
39374
+ "editorPane": "Wik-wW_editorPane",
39375
+ "exportWorkspace": "Wik-wW_exportWorkspace",
39376
+ "transferDetailHeader": "Wik-wW_transferDetailHeader",
39377
+ "inspectorHeader": "Wik-wW_inspectorHeader",
39378
+ "conflictBar": "Wik-wW_conflictBar",
39372
39379
  "transferActions": "Wik-wW_transferActions",
39373
- "readerHeader": "Wik-wW_readerHeader",
39374
- "turnValuePair": "Wik-wW_turnValuePair",
39375
- "continuousReader": "Wik-wW_continuousReader",
39376
- "externalLink": "Wik-wW_externalLink",
39377
- "revisionPane": "Wik-wW_revisionPane",
39378
- "connectionDot": "Wik-wW_connectionDot",
39379
- "contextSectionButton": "Wik-wW_contextSectionButton",
39380
- "colorDots": "Wik-wW_colorDots",
39381
- "exportIssues": "Wik-wW_exportIssues",
39382
- "chapterMove": "Wik-wW_chapterMove",
39383
- "transferList": "Wik-wW_transferList",
39384
- "foreshadowBucket": "Wik-wW_foreshadowBucket",
39385
- "foreshadowBuckets": "Wik-wW_foreshadowBuckets",
39386
- "workspaceContent": "Wik-wW_workspaceContent",
39387
- "drawerClose": "Wik-wW_drawerClose",
39388
- "chapterIndex": "Wik-wW_chapterIndex",
39389
- "visuallyHidden": "Wik-wW_visuallyHidden",
39390
- "restoreWorkspace": "Wik-wW_restoreWorkspace",
39391
- "contextStale": "Wik-wW_contextStale",
39392
- "turnEntityChanges": "Wik-wW_turnEntityChanges",
39393
- "chapterList": "Wik-wW_chapterList",
39394
- "contextRetrieval": "Wik-wW_contextRetrieval",
39395
- "exportChapterList": "Wik-wW_exportChapterList",
39396
- "acceptanceDetails": "Wik-wW_acceptanceDetails",
39397
- "chapterSearch": "Wik-wW_chapterSearch",
39380
+ "mentionCard": "Wik-wW_mentionCard",
39381
+ "stageRail": "Wik-wW_stageRail",
39398
39382
  "acceptanceCard": "Wik-wW_acceptanceCard",
39399
- "saveState": "Wik-wW_saveState",
39400
- "editorPane": "Wik-wW_editorPane",
39401
- "readerChapter": "Wik-wW_readerChapter",
39402
- "contextFullText": "Wik-wW_contextFullText",
39403
- "versionPreview": "Wik-wW_versionPreview",
39404
- "iconButton": "Wik-wW_iconButton",
39405
- "transferColumns": "Wik-wW_transferColumns",
39406
39383
  "turnPlanNotice": "Wik-wW_turnPlanNotice",
39407
- "exportPurpose": "Wik-wW_exportPurpose",
39408
- "annotationList": "Wik-wW_annotationList",
39409
- "headerUtilities": "Wik-wW_headerUtilities",
39410
- "exportControls": "Wik-wW_exportControls",
39411
- "contextChipPopover": "Wik-wW_contextChipPopover",
39412
- "contextBudgets": "Wik-wW_contextBudgets",
39413
- "chapterRail": "Wik-wW_chapterRail",
39414
- "mentionCard": "Wik-wW_mentionCard",
39415
- "workspaceRoot": "Wik-wW_workspaceRoot",
39384
+ "contextChipField": "Wik-wW_contextChipField",
39385
+ "chapterMeta": "Wik-wW_chapterMeta",
39416
39386
  "operationSection": "Wik-wW_operationSection",
39417
- "headerIconButton": "Wik-wW_headerIconButton",
39418
- "recoveryActions": "Wik-wW_recoveryActions",
39419
- "issueList": "Wik-wW_issueList",
39420
- "acceptanceError": "Wik-wW_acceptanceError",
39421
- "chapterButton": "Wik-wW_chapterButton",
39422
- "activityProgress": "Wik-wW_activityProgress",
39423
- "contextChipRoot": "Wik-wW_contextChipRoot",
39424
- "foreshadowAction": "Wik-wW_foreshadowAction",
39425
- "versionCard": "Wik-wW_versionCard",
39426
- "documentSkeleton": "Wik-wW_documentSkeleton",
39427
- "chapterTitle": "Wik-wW_chapterTitle",
39428
- "reviewStale": "Wik-wW_reviewStale",
39429
- "reviewClosure": "Wik-wW_reviewClosure",
39430
- "annotationQuote": "Wik-wW_annotationQuote",
39431
- "activityCard": "Wik-wW_activityCard",
39432
- "proposalCard": "Wik-wW_proposalCard",
39433
- "issue": "Wik-wW_issue",
39387
+ "desktopPaneButton": "Wik-wW_desktopPaneButton",
39388
+ "editorIdentity": "Wik-wW_editorIdentity",
39434
39389
  "acceptanceHeader": "Wik-wW_acceptanceHeader",
39435
- "turnPlanActions": "Wik-wW_turnPlanActions",
39436
- "exportPreflight": "Wik-wW_exportPreflight",
39437
- "orderNotice": "Wik-wW_orderNotice",
39438
- "exportDetailSection": "Wik-wW_exportDetailSection",
39439
- "importPrepare": "Wik-wW_importPrepare",
39440
- "inspectorSkeleton": "Wik-wW_inspectorSkeleton",
39441
- "editorActions": "Wik-wW_editorActions",
39442
- "contextManifest": "Wik-wW_contextManifest",
39443
- "chapterEmpty": "Wik-wW_chapterEmpty",
39390
+ "contextRetrieval": "Wik-wW_contextRetrieval",
39391
+ "readerChapter": "Wik-wW_readerChapter",
39444
39392
  "editorBoot": "Wik-wW_editorBoot",
39445
- "writingProgress": "Wik-wW_writingProgress",
39446
- "proposalHunks": "Wik-wW_proposalHunks",
39447
- "diffBlock": "Wik-wW_diffBlock",
39448
- "exportPreflightHeader": "Wik-wW_exportPreflightHeader",
39449
- "projectSwitchRow": "Wik-wW_projectSwitchRow",
39450
- "restorePreview": "Wik-wW_restorePreview",
39393
+ "recoveryActions": "Wik-wW_recoveryActions",
39394
+ "manuscriptFallback": "Wik-wW_manuscriptFallback",
39395
+ "tabletInspectorButton": "Wik-wW_tabletInspectorButton",
39396
+ "drawerClose": "Wik-wW_drawerClose",
39397
+ "annotationChip": "Wik-wW_annotationChip",
39398
+ "workspaceRoot": "Wik-wW_workspaceRoot",
39399
+ "turnTraceLink": "Wik-wW_turnTraceLink",
39400
+ "versionCard": "Wik-wW_versionCard",
39401
+ "inspectorBody": "Wik-wW_inspectorBody",
39402
+ "revisionPane": "Wik-wW_revisionPane",
39403
+ "headerIconButton": "Wik-wW_headerIconButton",
39404
+ "connectionDot": "Wik-wW_connectionDot",
39405
+ "restoreWorkspace": "Wik-wW_restoreWorkspace",
39406
+ "activityList": "Wik-wW_activityList",
39407
+ "issueList": "Wik-wW_issueList",
39408
+ "turnEntityChanges": "Wik-wW_turnEntityChanges",
39409
+ "archiveListItem": "Wik-wW_archiveListItem",
39410
+ "contextStale": "Wik-wW_contextStale",
39411
+ "transferPanel": "Wik-wW_transferPanel",
39412
+ "recoveryBody": "Wik-wW_recoveryBody",
39451
39413
  "mentionHits": "Wik-wW_mentionHits",
39414
+ "contextBudgets": "Wik-wW_contextBudgets",
39415
+ "diffList": "Wik-wW_diffList",
39416
+ "exportPurpose": "Wik-wW_exportPurpose",
39452
39417
  "acceptanceActions": "Wik-wW_acceptanceActions",
39453
- "foreshadowDetail": "Wik-wW_foreshadowDetail",
39454
- "inspectorDrawerClose": "Wik-wW_inspectorDrawerClose",
39455
- "historyHeader": "Wik-wW_historyHeader",
39456
- "editorHeader": "Wik-wW_editorHeader",
39457
- "contextOverview": "Wik-wW_contextOverview",
39458
- "readerContent": "Wik-wW_readerContent",
39459
- "versionList": "Wik-wW_versionList",
39460
- "archiveCreate": "Wik-wW_archiveCreate",
39461
- "chapterMeta": "Wik-wW_chapterMeta",
39462
- "contextSources": "Wik-wW_contextSources",
39418
+ "contextChipPopover": "Wik-wW_contextChipPopover",
39419
+ "operationNote": "Wik-wW_operationNote",
39420
+ "muted": "Wik-wW_muted",
39421
+ "chapterList": "Wik-wW_chapterList",
39422
+ "acceptanceMessage": "Wik-wW_acceptanceMessage",
39423
+ "reviewStale": "Wik-wW_reviewStale",
39424
+ "foreshadowActions": "Wik-wW_foreshadowActions",
39425
+ "commandButton": "Wik-wW_commandButton",
39463
39426
  "proposalList": "Wik-wW_proposalList",
39464
39427
  "proposalProvenance": "Wik-wW_proposalProvenance",
39465
- "turnTraceLink": "Wik-wW_turnTraceLink",
39466
- "turnSummary": "Wik-wW_turnSummary",
39467
- "contextChipError": "Wik-wW_contextChipError",
39428
+ "chapterDrawerClose": "Wik-wW_chapterDrawerClose",
39429
+ "contextChipRoot": "Wik-wW_contextChipRoot",
39430
+ "contextChipHint": "Wik-wW_contextChipHint",
39431
+ "workspaceContent": "Wik-wW_workspaceContent",
39432
+ "diffBlock": "Wik-wW_diffBlock",
39433
+ "annotationList": "Wik-wW_annotationList",
39434
+ "inspectorSkeleton": "Wik-wW_inspectorSkeleton",
39435
+ "contextSections": "Wik-wW_contextSections",
39436
+ "activityProgress": "Wik-wW_activityProgress",
39437
+ "writingProgress": "Wik-wW_writingProgress",
39438
+ "reviewRevisionActions": "Wik-wW_reviewRevisionActions",
39439
+ "projectCurrent": "Wik-wW_projectCurrent",
39468
39440
  "colorDot": "Wik-wW_colorDot",
39469
- "studio": "Wik-wW_studio",
39470
- "inspectorBody": "Wik-wW_inspectorBody",
39471
- "importStructure": "Wik-wW_importStructure",
39472
- "operationNote": "Wik-wW_operationNote",
39473
- "contextSectionBody": "Wik-wW_contextSectionBody",
39441
+ "mobileBar": "Wik-wW_mobileBar",
39442
+ "documentSkeleton": "Wik-wW_documentSkeleton",
39443
+ "contextSection": "Wik-wW_contextSection",
39444
+ "externalLink": "Wik-wW_externalLink",
39445
+ "contextChipBadge": "Wik-wW_contextChipBadge",
39446
+ "foreshadowBuckets": "Wik-wW_foreshadowBuckets",
39447
+ "mobileTitle": "Wik-wW_mobileTitle",
39448
+ "contextItem": "Wik-wW_contextItem",
39449
+ "chapterSearch": "Wik-wW_chapterSearch",
39450
+ "chapterEmpty": "Wik-wW_chapterEmpty",
39451
+ "saveState": "Wik-wW_saveState",
39452
+ "creationRoot": "Wik-wW_creationRoot",
39453
+ "contextManifest": "Wik-wW_contextManifest",
39454
+ "chapterRail": "Wik-wW_chapterRail",
39455
+ "foreshadowAction": "Wik-wW_foreshadowAction",
39474
39456
  "centerNotice": "Wik-wW_centerNotice",
39457
+ "chapterButton": "Wik-wW_chapterButton",
39458
+ "dangerAction": "Wik-wW_dangerAction",
39459
+ "workspaceNav": "Wik-wW_workspaceNav",
39460
+ "iconButton": "Wik-wW_iconButton",
39475
39461
  "paneHeading": "Wik-wW_paneHeading",
39476
39462
  "annotationCard": "Wik-wW_annotationCard",
39477
- "contextSection": "Wik-wW_contextSection",
39463
+ "reviewClosure": "Wik-wW_reviewClosure",
39464
+ "readerContent": "Wik-wW_readerContent",
39465
+ "proposalHunks": "Wik-wW_proposalHunks",
39466
+ "exportIssues": "Wik-wW_exportIssues",
39467
+ "foreshadowBucket": "Wik-wW_foreshadowBucket",
39468
+ "transferList": "Wik-wW_transferList",
39469
+ "turnRevisionPair": "Wik-wW_turnRevisionPair",
39470
+ "chapterJump": "Wik-wW_chapterJump",
39471
+ "inspectorNotice": "Wik-wW_inspectorNotice",
39472
+ "transferFailure": "Wik-wW_transferFailure",
39473
+ "archivePlan": "Wik-wW_archivePlan",
39474
+ "headerMenu": "Wik-wW_headerMenu",
39475
+ "recoveryBar": "Wik-wW_recoveryBar",
39476
+ "editorActions": "Wik-wW_editorActions",
39477
+ "historyNotice": "Wik-wW_historyNotice",
39478
39478
  "activityPane": "Wik-wW_activityPane",
39479
- "mobileBar": "Wik-wW_mobileBar",
39480
- "draftStorageError": "Wik-wW_draftStorageError",
39481
- "importPlan": "Wik-wW_importPlan",
39479
+ "chapterMove": "Wik-wW_chapterMove",
39480
+ "annotationHits": "Wik-wW_annotationHits",
39481
+ "markerFields": "Wik-wW_markerFields",
39482
+ "contextSectionButton": "Wik-wW_contextSectionButton",
39483
+ "studio": "Wik-wW_studio",
39482
39484
  "exportState": "Wik-wW_exportState",
39483
- "historyNotice": "Wik-wW_historyNotice",
39484
- "inspectorTabs": "Wik-wW_inspectorTabs",
39485
39485
  "contextChip": "Wik-wW_contextChip",
39486
- "desktopPaneButton": "Wik-wW_desktopPaneButton",
39487
- "commandButton": "Wik-wW_commandButton",
39488
- "dangerAction": "Wik-wW_dangerAction",
39489
- "turnEntityChange": "Wik-wW_turnEntityChange",
39490
- "chapterDrawerClose": "Wik-wW_chapterDrawerClose",
39491
- "annotationChip": "Wik-wW_annotationChip",
39492
- "exportSummaryGrid": "Wik-wW_exportSummaryGrid",
39493
- "turnRevisionPair": "Wik-wW_turnRevisionPair",
39494
- "mentionCandidates": "Wik-wW_mentionCandidates",
39495
- "transferDetail": "Wik-wW_transferDetail"
39486
+ "issue": "Wik-wW_issue",
39487
+ "projectPath": "Wik-wW_projectPath",
39488
+ "exportChapterList": "Wik-wW_exportChapterList",
39489
+ "visuallyHidden": "Wik-wW_visuallyHidden",
39490
+ "inspector": "Wik-wW_inspector",
39491
+ "contextFullText": "Wik-wW_contextFullText",
39492
+ "draftStorageError": "Wik-wW_draftStorageError",
39493
+ "scrim": "Wik-wW_scrim",
39494
+ "chapterText": "Wik-wW_chapterText",
39495
+ "continuousReader": "Wik-wW_continuousReader",
39496
+ "turnValuePair": "Wik-wW_turnValuePair",
39497
+ "annotateForm": "Wik-wW_annotateForm",
39498
+ "exportControls": "Wik-wW_exportControls",
39499
+ "contextSectionBody": "Wik-wW_contextSectionBody",
39500
+ "contextSources": "Wik-wW_contextSources",
39501
+ "transferColumns": "Wik-wW_transferColumns",
39502
+ "transferDetail": "Wik-wW_transferDetail",
39503
+ "contextExceptions": "Wik-wW_contextExceptions",
39504
+ "activityCard": "Wik-wW_activityCard"
39496
39505
  };
39497
39506
  //#endregion
39498
39507
  //#region src/client/ContinuousReader.tsx
@@ -39528,6 +39537,13 @@ window.__ModuleLoader__.load({
39528
39537
  const [state, setState] = (0, react.useState)("loading");
39529
39538
  const [loadError, setLoadError] = (0, react.useState)("");
39530
39539
  const [reload, setReload] = (0, react.useState)(0);
39540
+ const chaptersSignature = JSON.stringify(chapters.map((chapter) => [
39541
+ chapter.occurrenceId,
39542
+ chapter.documentId,
39543
+ chapter.path,
39544
+ chapter.revision,
39545
+ chapter.status
39546
+ ]));
39531
39547
  const activeOccurrence = (0, react.useMemo)(() => chapters.findIndex((chapter) => activeOccurrenceId !== "" ? chapter.occurrenceId === activeOccurrenceId : chapter.path === activePath), [
39532
39548
  activeOccurrenceId,
39533
39549
  activePath,
@@ -39536,9 +39552,9 @@ window.__ModuleLoader__.load({
39536
39552
  (0, react.useEffect)(() => {
39537
39553
  let cancelled = false;
39538
39554
  setState("loading");
39539
- setDocuments([]);
39540
39555
  setLoadError("");
39541
39556
  (async () => {
39557
+ const loaded = [];
39542
39558
  if (chapters.length > 0 && readingOrderRevision !== "" && chapters.every((chapter) => chapter.occurrenceId !== "" && chapter.documentId !== "")) {
39543
39559
  const byOccurrence = new Map(chapters.map((chapter, index) => [chapter.occurrenceId, {
39544
39560
  chapter,
@@ -39546,7 +39562,6 @@ window.__ModuleLoader__.load({
39546
39562
  }]));
39547
39563
  let anchor = chapters[0]?.occurrenceId ?? "";
39548
39564
  const visited = /* @__PURE__ */ new Set();
39549
- const loaded = [];
39550
39565
  while (anchor !== "") {
39551
39566
  if (visited.has(anchor)) throw new Error("READING_PACKET_LOOP");
39552
39567
  visited.add(anchor);
@@ -39567,7 +39582,6 @@ window.__ModuleLoader__.load({
39567
39582
  });
39568
39583
  }
39569
39584
  if (cancelled) return;
39570
- setDocuments([...loaded].sort((left, right) => left.occurrence - right.occurrence));
39571
39585
  if (!packet.has_next) break;
39572
39586
  anchor = packet.documents.at(-1)?.next_occurrence_id ?? "";
39573
39587
  if (anchor === "") throw new Error("READING_PACKET_TRUNCATED");
@@ -39588,9 +39602,12 @@ window.__ModuleLoader__.load({
39588
39602
  };
39589
39603
  }
39590
39604
  if (cancelled) return;
39591
- setDocuments((previous) => [...previous, item]);
39605
+ loaded.push(item);
39606
+ }
39607
+ if (!cancelled) {
39608
+ setDocuments(loaded.sort((left, right) => left.occurrence - right.occurrence));
39609
+ setState("ready");
39592
39610
  }
39593
- if (!cancelled) setState("ready");
39594
39611
  })().catch((cause) => {
39595
39612
  if (cancelled) return;
39596
39613
  setLoadError(cause instanceof Error ? cause.message : String(cause));
@@ -39600,7 +39617,7 @@ window.__ModuleLoader__.load({
39600
39617
  cancelled = true;
39601
39618
  };
39602
39619
  }, [
39603
- chapters,
39620
+ chaptersSignature,
39604
39621
  fetchStudioApi,
39605
39622
  readingOrderRevision,
39606
39623
  reload
@@ -39637,7 +39654,7 @@ window.__ModuleLoader__.load({
39637
39654
  className: Workbench_module_css_default.readerChapter,
39638
39655
  "data-active": item.occurrence === activeOccurrence,
39639
39656
  children: [
39640
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: String(item.occurrence + 1).padStart(2, "0") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: item.chapter.title })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
39657
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: String(item.occurrence + 1).padStart(2, "0") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: chapters[item.occurrence]?.title ?? item.chapter.title })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
39641
39658
  type: "button",
39642
39659
  onClick: () => onOpenChapter(item.path, item.chapter.occurrenceId),
39643
39660
  children: t("creation.reader.openEditor")
@@ -39670,6 +39687,27 @@ window.__ModuleLoader__.load({
39670
39687
  * Project listing/switching is deliberately absent: workspace selection is a
39671
39688
  * dsh-native flow, the panel only ever reflects the session's binding.
39672
39689
  */
39690
+ /**
39691
+ * Build the opener once per profile so one build serves both host generations:
39692
+ * probe at call time rather than binding to either API shape.
39693
+ * @param sources - the client services that may own session navigation.
39694
+ * @returns an opener that throws only when the host offers neither API.
39695
+ */
39696
+ function sessionOpener(sources) {
39697
+ return { openSession(target) {
39698
+ const uiWorkspace = sources.uiWorkspace;
39699
+ if (typeof uiWorkspace?.openSession === "function") {
39700
+ uiWorkspace.openSession(target);
39701
+ return;
39702
+ }
39703
+ const sessions = sources.sessions;
39704
+ if (typeof sessions?.open === "function") {
39705
+ sessions.open(target);
39706
+ return;
39707
+ }
39708
+ throw new Error("OpenWrite: no session navigation API (UiWorkspace.openSession / ISessions.open)");
39709
+ } };
39710
+ }
39673
39711
  /** The Workspace the current session is accounted under, if any. */
39674
39712
  function useCurrentWorkspace(kit) {
39675
39713
  const { sessionId, useWorkspaces } = kit;
@@ -39735,7 +39773,7 @@ window.__ModuleLoader__.load({
39735
39773
  title: input.title
39736
39774
  });
39737
39775
  const sessionId = await services.workspaces.connectWorkspace(workspace.workspaceId);
39738
- services.sessions.open(sessionId);
39776
+ services.workspaces.openSession(sessionId);
39739
39777
  workbenchStore.setContext({
39740
39778
  workspaceId: workspace.workspaceId,
39741
39779
  root: workspace.path,
@@ -40292,6 +40330,7 @@ window.__ModuleLoader__.load({
40292
40330
  const inspectorLoadedKeyRef = (0, react.useRef)("");
40293
40331
  const historyLoadedKeyRef = (0, react.useRef)("");
40294
40332
  const annotationLoadedKeyRef = (0, react.useRef)("");
40333
+ const annotationIdentityRef = (0, react.useRef)("");
40295
40334
  const contextRevisionRef = (0, react.useRef)({
40296
40335
  identity: "",
40297
40336
  revision: "",
@@ -40738,19 +40777,19 @@ window.__ModuleLoader__.load({
40738
40777
  ]);
40739
40778
  (0, react.useEffect)(() => {
40740
40779
  const id = chapterId(path);
40741
- const sourceEpochs = [
40742
- workbench.epochs.workspace,
40743
- workbench.epochs.manuscript,
40744
- workbench.epochs.revisions
40745
- ].join(":");
40746
- const requestKey = `${workspaceId ?? ""}:${path}:${sourceEpochs}:${String(inspectorReload)}`;
40780
+ const sourceEpochs = [workbench.epochs.manuscript, workbench.epochs.revisions].join(":");
40781
+ const identity = `${workspaceId ?? ""}:${String(workbench.contextEpoch)}:${path}`;
40782
+ const requestKey = `${identity}:${sourceEpochs}:${String(inspectorReload)}`;
40783
+ if (annotationIdentityRef.current !== identity) {
40784
+ annotationIdentityRef.current = identity;
40785
+ setAnnotations([]);
40786
+ }
40747
40787
  if (id === "" || path === "") {
40748
40788
  setAnnotations([]);
40749
40789
  annotationLoadedKeyRef.current = requestKey;
40750
40790
  return;
40751
40791
  }
40752
40792
  if (annotationLoadedKeyRef.current === requestKey) return;
40753
- setAnnotations([]);
40754
40793
  let cancelled = false;
40755
40794
  Promise.resolve(postStudioApiRef.current("/manuscript-editing", {
40756
40795
  action: "annotations",
@@ -40771,7 +40810,7 @@ window.__ModuleLoader__.load({
40771
40810
  inspectorReload,
40772
40811
  path,
40773
40812
  workspaceId,
40774
- workbench.epochs.workspace,
40813
+ workbench.contextEpoch,
40775
40814
  workbench.epochs.manuscript,
40776
40815
  workbench.epochs.revisions
40777
40816
  ]);
@@ -42091,7 +42130,7 @@ window.__ModuleLoader__.load({
42091
42130
  fetchStudioApi,
42092
42131
  onOpenChapter: chooseChapter,
42093
42132
  t
42094
- }, `${workspaceId ?? ""}:${String(workbench.contextEpoch)}:${String(workbench.epochs.manuscript)}`),
42133
+ }, `${workspaceId ?? ""}:${String(workbench.contextEpoch)}`),
42095
42134
  !readerMode && documentState === "loading" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
42096
42135
  className: Workbench_module_css_default.documentSkeleton,
42097
42136
  role: "status",
@@ -146416,35 +146455,35 @@ window.__ModuleLoader__.load({
146416
146455
  document.head.appendChild(tag);
146417
146456
  }
146418
146457
  var SceneWorkbench_module_css_default = {
146419
- "previewList": "NpkHjW_previewList",
146420
- "metadataGrid": "NpkHjW_metadataGrid",
146421
- "rollbackRow": "NpkHjW_rollbackRow",
146422
- "sceneList": "NpkHjW_sceneList",
146423
- "sceneId": "NpkHjW_sceneId",
146424
- "issuePanel": "NpkHjW_issuePanel",
146425
- "migrationHeading": "NpkHjW_migrationHeading",
146458
+ "header": "NpkHjW_header",
146459
+ "previewIssues": "NpkHjW_previewIssues",
146426
146460
  "button": "NpkHjW_button",
146427
- "missingNotice": "NpkHjW_missingNotice",
146428
- "confirmRow": "NpkHjW_confirmRow",
146429
- "sceneHeading": "NpkHjW_sceneHeading",
146461
+ "sceneList": "NpkHjW_sceneList",
146462
+ "rollbackRow": "NpkHjW_rollbackRow",
146430
146463
  "sceneCard": "NpkHjW_sceneCard",
146431
- "orderToolbar": "NpkHjW_orderToolbar",
146432
- "notice": "NpkHjW_notice",
146433
- "chapter": "NpkHjW_chapter",
146434
- "editor": "NpkHjW_editor",
146464
+ "migrationHeading": "NpkHjW_migrationHeading",
146435
146465
  "bad": "NpkHjW_bad",
146436
146466
  "count": "NpkHjW_count",
146467
+ "editor": "NpkHjW_editor",
146468
+ "confirmRow": "NpkHjW_confirmRow",
146469
+ "metadataGrid": "NpkHjW_metadataGrid",
146437
146470
  "moveRow": "NpkHjW_moveRow",
146471
+ "sceneId": "NpkHjW_sceneId",
146472
+ "primaryButton": "NpkHjW_primaryButton",
146438
146473
  "migration": "NpkHjW_migration",
146439
- "header": "NpkHjW_header",
146440
- "inlineWarning": "NpkHjW_inlineWarning",
146441
- "root": "NpkHjW_root",
146442
- "formGrid": "NpkHjW_formGrid",
146474
+ "missingNotice": "NpkHjW_missingNotice",
146443
146475
  "statusRow": "NpkHjW_statusRow",
146476
+ "root": "NpkHjW_root",
146477
+ "issuePanel": "NpkHjW_issuePanel",
146444
146478
  "actions": "NpkHjW_actions",
146445
- "previewIssues": "NpkHjW_previewIssues",
146479
+ "sceneHeading": "NpkHjW_sceneHeading",
146480
+ "previewList": "NpkHjW_previewList",
146481
+ "orderToolbar": "NpkHjW_orderToolbar",
146446
146482
  "good": "NpkHjW_good",
146447
- "primaryButton": "NpkHjW_primaryButton"
146483
+ "formGrid": "NpkHjW_formGrid",
146484
+ "notice": "NpkHjW_notice",
146485
+ "chapter": "NpkHjW_chapter",
146486
+ "inlineWarning": "NpkHjW_inlineWarning"
146448
146487
  };
146449
146488
  //#endregion
146450
146489
  //#region src/client/SceneWorkbench.tsx
@@ -149512,71 +149551,71 @@ window.__ModuleLoader__.load({
149512
149551
  document.head.appendChild(tag);
149513
149552
  }
149514
149553
  var BenchmarkView_module_css_default = {
149515
- "scopeHint": "za6_jG_scopeHint",
149516
- "benchmarkCost": "za6_jG_benchmarkCost",
149517
- "root": "za6_jG_root",
149518
- "count": "za6_jG_count",
149554
+ "benchmarkUsage": "za6_jG_benchmarkUsage",
149555
+ "benchmarkStatus": "za6_jG_benchmarkStatus",
149519
149556
  "loading": "za6_jG_loading",
149520
- "metadataSection": "za6_jG_metadataSection",
149521
- "benchmarkSummary": "za6_jG_benchmarkSummary",
149522
- "benchmarkRuns": "za6_jG_benchmarkRuns",
149557
+ "configFields": "za6_jG_configFields",
149558
+ "benchmarkSplit": "za6_jG_benchmarkSplit",
149559
+ "taskFailure": "za6_jG_taskFailure",
149523
149560
  "benchmarkRunGroupHeader": "za6_jG_benchmarkRunGroupHeader",
149524
- "pipelineNodes": "za6_jG_pipelineNodes",
149525
- "benchmarkSection": "za6_jG_benchmarkSection",
149526
- "benchmarkSources": "za6_jG_benchmarkSources",
149527
- "pageHeader": "za6_jG_pageHeader",
149528
- "pageIdentity": "za6_jG_pageIdentity",
149529
- "reviewWarning": "za6_jG_reviewWarning",
149561
+ "taskProgress": "za6_jG_taskProgress",
149530
149562
  "sectionHeading": "za6_jG_sectionHeading",
149531
- "historyHeading": "za6_jG_historyHeading",
149563
+ "executionRecord": "za6_jG_executionRecord",
149532
149564
  "spin": "za6_jG_spin",
149533
- "advanced": "za6_jG_advanced",
149534
- "taskError": "za6_jG_taskError",
149535
- "benchmarkSplit": "za6_jG_benchmarkSplit",
149536
- "taskSelector": "za6_jG_taskSelector",
149537
- "benchmarkProvenance": "za6_jG_benchmarkProvenance",
149538
- "benchmarkOutputList": "za6_jG_benchmarkOutputList",
149565
+ "runScore": "za6_jG_runScore",
149566
+ "pipeline": "za6_jG_pipeline",
149567
+ "benchmarkLegacy": "za6_jG_benchmarkLegacy",
149568
+ "advancedInputs": "za6_jG_advancedInputs",
149539
149569
  "runHeading": "za6_jG_runHeading",
149540
- "button": "za6_jG_button",
149570
+ "scopeHint": "za6_jG_scopeHint",
149571
+ "body": "za6_jG_body",
149572
+ "pageIcon": "za6_jG_pageIcon",
149573
+ "workload": "za6_jG_workload",
149574
+ "historyHeading": "za6_jG_historyHeading",
149541
149575
  "notice": "za6_jG_notice",
149542
- "tableScroll": "za6_jG_tableScroll",
149543
- "taskFailure": "za6_jG_taskFailure",
149544
- "pipeline": "za6_jG_pipeline",
149545
- "configFields": "za6_jG_configFields",
149576
+ "modelPicker": "za6_jG_modelPicker",
149577
+ "benchmarkResults": "za6_jG_benchmarkResults",
149578
+ "benchmarkSources": "za6_jG_benchmarkSources",
149579
+ "metadataSection": "za6_jG_metadataSection",
149546
149580
  "benchmarkRunGroup": "za6_jG_benchmarkRunGroup",
149547
- "benchmarkCellStack": "za6_jG_benchmarkCellStack",
149548
- "benchmarkUsage": "za6_jG_benchmarkUsage",
149581
+ "benchmarkMetrics": "za6_jG_benchmarkMetrics",
149582
+ "benchmarkSection": "za6_jG_benchmarkSection",
149583
+ "tableScroll": "za6_jG_tableScroll",
149584
+ "benchmarkSummary": "za6_jG_benchmarkSummary",
149585
+ "pipelineNodes": "za6_jG_pipelineNodes",
149586
+ "runId": "za6_jG_runId",
149587
+ "benchmarkProfiles": "za6_jG_benchmarkProfiles",
149588
+ "benchmarkProvenance": "za6_jG_benchmarkProvenance",
149589
+ "benchmark": "za6_jG_benchmark",
149590
+ "advanced": "za6_jG_advanced",
149591
+ "benchmarkOutputList": "za6_jG_benchmarkOutputList",
149592
+ "reviewWarning": "za6_jG_reviewWarning",
149549
149593
  "benchmarkError": "za6_jG_benchmarkError",
149550
- "spinning": "za6_jG_spinning",
149551
- "primaryButton": "za6_jG_primaryButton",
149594
+ "benchmarkCost": "za6_jG_benchmarkCost",
149595
+ "count": "za6_jG_count",
149552
149596
  "pipelineHeading": "za6_jG_pipelineHeading",
149597
+ "primaryButton": "za6_jG_primaryButton",
149598
+ "taskSelector": "za6_jG_taskSelector",
149599
+ "pageIdentity": "za6_jG_pageIdentity",
149600
+ "benchmarkControls": "za6_jG_benchmarkControls",
149601
+ "benchmarkInputs": "za6_jG_benchmarkInputs",
149602
+ "taskError": "za6_jG_taskError",
149553
149603
  "benchmarkRun": "za6_jG_benchmarkRun",
149554
- "executionRecord": "za6_jG_executionRecord",
149555
- "modelGroup": "za6_jG_modelGroup",
149556
- "body": "za6_jG_body",
149557
- "runId": "za6_jG_runId",
149558
- "modelPicker": "za6_jG_modelPicker",
149604
+ "root": "za6_jG_root",
149605
+ "resultPlaceholder": "za6_jG_resultPlaceholder",
149559
149606
  "modelGroups": "za6_jG_modelGroups",
149560
- "runScore": "za6_jG_runScore",
149561
- "benchmarkProfiles": "za6_jG_benchmarkProfiles",
149562
- "benchmarkMetrics": "za6_jG_benchmarkMetrics",
149563
- "benchmarkControls": "za6_jG_benchmarkControls",
149564
- "benchmarkResults": "za6_jG_benchmarkResults",
149565
- "taskProgress": "za6_jG_taskProgress",
149566
- "benchmarkStatus": "za6_jG_benchmarkStatus",
149567
- "pageIcon": "za6_jG_pageIcon",
149568
- "workload": "za6_jG_workload",
149569
- "launchBar": "za6_jG_launchBar",
149607
+ "benchmarkPhases": "za6_jG_benchmarkPhases",
149570
149608
  "profileChoice": "za6_jG_profileChoice",
149609
+ "benchmarkTable": "za6_jG_benchmarkTable",
149610
+ "benchmarkCellStack": "za6_jG_benchmarkCellStack",
149611
+ "benchmarkRuns": "za6_jG_benchmarkRuns",
149571
149612
  "runList": "za6_jG_runList",
149572
- "resultPlaceholder": "za6_jG_resultPlaceholder",
149613
+ "pageHeader": "za6_jG_pageHeader",
149614
+ "button": "za6_jG_button",
149615
+ "modelGroup": "za6_jG_modelGroup",
149616
+ "launchBar": "za6_jG_launchBar",
149573
149617
  "benchmarkOutput": "za6_jG_benchmarkOutput",
149574
- "benchmarkPhases": "za6_jG_benchmarkPhases",
149575
- "benchmark": "za6_jG_benchmark",
149576
- "advancedInputs": "za6_jG_advancedInputs",
149577
- "benchmarkInputs": "za6_jG_benchmarkInputs",
149578
- "benchmarkTable": "za6_jG_benchmarkTable",
149579
- "benchmarkLegacy": "za6_jG_benchmarkLegacy"
149618
+ "spinning": "za6_jG_spinning"
149580
149619
  };
149581
149620
  //#endregion
149582
149621
  //#region src/client/benchmark-options.ts
@@ -154672,7 +154711,7 @@ window.__ModuleLoader__.load({
154672
154711
  * path). An initialized workspace renders read-only.
154673
154712
  */
154674
154713
  function WorkspaceContextChip(props) {
154675
- const { t, postStudioApi, workspaces, sessions } = props;
154714
+ const { t, postStudioApi, workspaces } = props;
154676
154715
  const workbench = useWorkbench();
154677
154716
  const workspace = useBindStudioContext({
154678
154717
  sessionId: props.sessionId,
@@ -154704,7 +154743,7 @@ window.__ModuleLoader__.load({
154704
154743
  if (picked !== null) {
154705
154744
  const created = await workspaces.create({ path: picked });
154706
154745
  const sessionId = await workspaces.connectWorkspace(created.workspaceId);
154707
- sessions.open(sessionId);
154746
+ workspaces.openSession(sessionId);
154708
154747
  }
154709
154748
  setOpen(false);
154710
154749
  } catch (cause) {
@@ -154830,16 +154869,16 @@ window.__ModuleLoader__.load({
154830
154869
  document.head.appendChild(tag);
154831
154870
  }
154832
154871
  var DomainToolCard_module_css_default = {
154833
- "head": "Pzee0G_head",
154834
- "action": "Pzee0G_action",
154872
+ "card": "Pzee0G_card",
154835
154873
  "spin": "Pzee0G_spin",
154836
- "row": "Pzee0G_row",
154874
+ "head": "Pzee0G_head",
154875
+ "summary": "Pzee0G_summary",
154837
154876
  "toolName": "Pzee0G_toolName",
154877
+ "chevron": "Pzee0G_chevron",
154838
154878
  "body": "Pzee0G_body",
154839
- "summary": "Pzee0G_summary",
154840
- "card": "Pzee0G_card",
154841
- "family": "Pzee0G_family",
154842
- "chevron": "Pzee0G_chevron"
154879
+ "row": "Pzee0G_row",
154880
+ "action": "Pzee0G_action",
154881
+ "family": "Pzee0G_family"
154843
154882
  };
154844
154883
  //#endregion
154845
154884
  //#region src/client/DomainToolCard.tsx
@@ -157227,30 +157266,30 @@ window.__ModuleLoader__.load({
157227
157266
  document.head.appendChild(tag);
157228
157267
  }
157229
157268
  var ReviewCard_module_css_default = {
157230
- "rawJson": "InxF9G_rawJson",
157231
- "severity": "InxF9G_severity",
157232
- "quote": "InxF9G_quote",
157233
- "verdict": "InxF9G_verdict",
157234
- "summary": "InxF9G_summary",
157269
+ "issue": "InxF9G_issue",
157270
+ "root": "InxF9G_root",
157271
+ "verdictRow": "InxF9G_verdictRow",
157235
157272
  "rawTitle": "InxF9G_rawTitle",
157236
- "suggestion": "InxF9G_suggestion",
157237
- "reportSummary": "InxF9G_reportSummary",
157273
+ "issueHead": "InxF9G_issueHead",
157274
+ "card": "InxF9G_card",
157238
157275
  "issueGroup": "InxF9G_issueGroup",
157239
157276
  "title": "InxF9G_title",
157240
- "score": "InxF9G_score",
157241
- "card": "InxF9G_card",
157242
- "sep": "InxF9G_sep",
157243
- "verdictRow": "InxF9G_verdictRow",
157244
- "issueHead": "InxF9G_issueHead",
157245
- "root": "InxF9G_root",
157246
157277
  "issueCount": "InxF9G_issueCount",
157247
- "issueGroupTitle": "InxF9G_issueGroupTitle",
157248
- "dimension": "InxF9G_dimension",
157278
+ "quote": "InxF9G_quote",
157279
+ "summary": "InxF9G_summary",
157249
157280
  "priority": "InxF9G_priority",
157250
- "issue": "InxF9G_issue",
157251
- "metric": "InxF9G_metric",
157252
- "bodyWrap": "InxF9G_bodyWrap",
157253
157281
  "issueSummary": "InxF9G_issueSummary",
157282
+ "sep": "InxF9G_sep",
157283
+ "score": "InxF9G_score",
157284
+ "reportSummary": "InxF9G_reportSummary",
157285
+ "severity": "InxF9G_severity",
157286
+ "rawJson": "InxF9G_rawJson",
157287
+ "bodyWrap": "InxF9G_bodyWrap",
157288
+ "verdict": "InxF9G_verdict",
157289
+ "dimension": "InxF9G_dimension",
157290
+ "issueGroupTitle": "InxF9G_issueGroupTitle",
157291
+ "metric": "InxF9G_metric",
157292
+ "suggestion": "InxF9G_suggestion",
157254
157293
  "suggestionLabel": "InxF9G_suggestionLabel"
157255
157294
  };
157256
157295
  //#endregion
@@ -158136,6 +158175,20 @@ window.__ModuleLoader__.load({
158136
158175
  return () => {};
158137
158176
  }
158138
158177
  });
158178
+ const pendingActivation = /* @__PURE__ */ new Set();
158179
+ const activatePending = () => {
158180
+ const state = ctx.sessions.list.getSnapshot();
158181
+ if (!isWritingSession(state) || typeof ctx.uiConversation.binding !== "function" || typeof ctx.uiConversation.views?.register !== "function") return;
158182
+ for (const id of pendingActivation) {
158183
+ const row = state.byId[id];
158184
+ if (state.current !== id && (row?.retainedBy?.mainView ?? 0) === 0) continue;
158185
+ const binding = ctx.uiConversation.binding(id);
158186
+ if (!binding) continue;
158187
+ binding.activate("openwrite.creation");
158188
+ pendingActivation.delete(id);
158189
+ }
158190
+ };
158191
+ yield ctx.effect(() => ctx.sessions.list.subscribe(activatePending), "openwrite: activate opened workbench");
158139
158192
  const workspaceServices = {
158140
158193
  list: ctx.workspaces.list,
158141
158194
  create: (input) => ctx.workspaces.create(input),
@@ -158145,7 +158198,25 @@ window.__ModuleLoader__.load({
158145
158198
  archiveSession: (id) => ctx.workspaces.archiveSession(id),
158146
158199
  insertSessionBefore: (id, session, before) => ctx.workspaces.insertSessionBefore(id, session, before),
158147
158200
  pickDirectory: () => ctx.uiWorkspace.pickDirectory(),
158148
- connectWorkspace: (id) => ctx.uiWorkspace.connectWorkspace(id)
158201
+ connectWorkspace: async (id) => {
158202
+ const sessionId = await ctx.uiWorkspace.connectWorkspace(id);
158203
+ const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-14");
158204
+ if (!result.ok) throw new Error(result.error.message);
158205
+ return sessionId;
158206
+ },
158207
+ openSession: (target) => {
158208
+ pendingActivation.add(target);
158209
+ try {
158210
+ sessionOpener({
158211
+ uiWorkspace: ctx.uiWorkspace,
158212
+ sessions: ctx.sessions
158213
+ }).openSession(target);
158214
+ activatePending();
158215
+ } catch (error) {
158216
+ pendingActivation.delete(target);
158217
+ throw error;
158218
+ }
158219
+ }
158149
158220
  };
158150
158221
  if (typeof ctx.uiConversation.views?.register === "function") yield ctx.effect(() => ctx.uiConversation.views.register({
158151
158222
  target: "openwrite.creation",
@@ -158172,10 +158243,9 @@ window.__ModuleLoader__.load({
158172
158243
  if (selected === null) return false;
158173
158244
  const workspace = await ctx.workspaces.create({ path: selected });
158174
158245
  const sessionId = await ctx.sessions.create({ workspaceId: workspace.workspaceId });
158175
- const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-11");
158246
+ const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-14");
158176
158247
  if (!result.ok) throw new Error(result.error.message);
158177
- ctx.sessions.open(sessionId);
158178
- if (typeof ctx.uiConversation.binding === "function" && typeof ctx.uiConversation.views?.register === "function") ctx.uiConversation.binding(sessionId).activate("openwrite.creation");
158248
+ workspaceServices.openSession(sessionId);
158179
158249
  return true;
158180
158250
  } })
158181
158251
  }, LaunchOpenWrite));