dsh-openwrite 0.2.25 → 0.2.27

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 (32) hide show
  1. package/README.md +18 -5
  2. package/docs/CLOSED_ISSUE_FOLLOWUPS.md +33 -0
  3. package/docs/DSH_STORE.md +7 -1
  4. package/docs/GITEE_EMBEDDING_FIX.md +40 -0
  5. package/docs/INSTALL.md +21 -1
  6. package/docs/ISSUES_105_113.md +18 -0
  7. package/docs/ISSUES_98_100.md +8 -6
  8. package/docs/ISSUE_109_REPAIRS.md +40 -0
  9. package/docs/OPENCODE_GO.md +37 -0
  10. package/docs/PLUGIN_MAINTENANCE.md +1 -1
  11. package/docs/RELEASE_ACCEPTANCE.md +26 -0
  12. package/package.json +7 -6
  13. package/packages/openwrite-bridge/lib/client.js +4 -0
  14. package/packages/openwrite-bridge/lib/contracts-generated.js +9 -0
  15. package/packages/openwrite-bridge/lib/domain.js +8 -2
  16. package/packages/openwrite-bridge/lib/index.d.ts +2 -0
  17. package/packages/openwrite-bridge/lib/index.js +3 -1
  18. package/packages/openwrite-bridge/lib/managed-runtime.d.ts +7 -0
  19. package/packages/openwrite-bridge/lib/managed-runtime.js +30 -2
  20. package/packages/openwrite-bridge/lib/tools.js +7 -3
  21. package/packages/openwrite-bridge/package.json +6 -5
  22. package/packages/studio-panel/lib/client.js +724 -552
  23. package/packages/studio-panel/lib/client.js.map +1 -1
  24. package/packages/studio-panel/lib/types/client/dto.d.ts +4 -0
  25. package/packages/studio-panel/lib/types/client/locales.d.ts +1 -1
  26. package/packages/studio-panel/package.json +4 -3
  27. package/plugin.mjs +20 -10
  28. package/preset-definition.mjs +7 -1
  29. package/release/{openwrite-5.8.12-py3-none-any.whl → openwrite-5.8.16-py3-none-any.whl} +0 -0
  30. package/release/runtime-manifest.json +5 -5
  31. package/release/source.json +3 -3
  32. package/vendor/dsh-dog/package.json +10 -9
@@ -29647,10 +29647,10 @@ window.__ModuleLoader__.load({
29647
29647
  document.head.appendChild(tag);
29648
29648
  }
29649
29649
  var LaunchOpenWrite_module_css_default = {
29650
+ "primary": "Ll8urG_primary",
29650
29651
  "path": "Ll8urG_path",
29651
- "dialog": "Ll8urG_dialog",
29652
29652
  "entry": "Ll8urG_entry",
29653
- "primary": "Ll8urG_primary"
29653
+ "dialog": "Ll8urG_dialog"
29654
29654
  };
29655
29655
  //#endregion
29656
29656
  //#region src/client/LaunchOpenWrite.tsx
@@ -37166,6 +37166,8 @@ window.__ModuleLoader__.load({
37166
37166
  model: asText$2(item["model"]),
37167
37167
  base_url: asText$2(item["base_url"]),
37168
37168
  api_format: asText$2(item["api_format"]),
37169
+ auth_source: asText$2(item["auth_source"]) || "api_key",
37170
+ workspace_id: asText$2(item["workspace_id"]),
37169
37171
  context_tokens: asInteger(item["context_tokens"]),
37170
37172
  max_output_tokens: asInteger(item["max_output_tokens"]),
37171
37173
  temperature: asFiniteNumber(item["temperature"]) ?? .7,
@@ -37190,7 +37192,9 @@ window.__ModuleLoader__.load({
37190
37192
  model: asText$2(root["model"]),
37191
37193
  latency_ms: asFiniteNumber(root["latency_ms"]),
37192
37194
  tested_at: asText$2(root["tested_at"]),
37193
- reply: asText$2(root["reply"])
37195
+ reply: asText$2(root["reply"]),
37196
+ dimension: asFiniteNumber(root["dimension"]),
37197
+ vectors: asFiniteNumber(root["vectors"])
37194
37198
  };
37195
37199
  }
37196
37200
  function parseDeletePreview(value) {
@@ -38115,262 +38119,262 @@ window.__ModuleLoader__.load({
38115
38119
  document.head.appendChild(tag);
38116
38120
  }
38117
38121
  var views_module_css_default = {
38118
- "benchmarkSplit": "hpCk7W_benchmarkSplit",
38119
- "nodeTitle": "hpCk7W_nodeTitle",
38120
- "referenceUnits": "hpCk7W_referenceUnits",
38121
- "relationD3Nodes": "hpCk7W_relationD3Nodes",
38122
- "errorText": "hpCk7W_errorText",
38123
- "benchmarkRunGroup": "hpCk7W_benchmarkRunGroup",
38124
- "taskList": "hpCk7W_taskList",
38125
- "detailTitleRow": "hpCk7W_detailTitleRow",
38126
- "taskDetailError": "hpCk7W_taskDetailError",
38127
- "derivedRelations": "hpCk7W_derivedRelations",
38128
- "taskCardMain": "hpCk7W_taskCardMain",
38129
- "previewLine": "hpCk7W_previewLine",
38130
- "mdInline": "hpCk7W_mdInline",
38131
- "taskIssues": "hpCk7W_taskIssues",
38132
- "searchInput": "hpCk7W_searchInput",
38133
- "assetAliases": "hpCk7W_assetAliases",
38134
- "resultLink": "hpCk7W_resultLink",
38135
- "textarea": "hpCk7W_textarea",
38136
- "derivedOrigin": "hpCk7W_derivedOrigin",
38137
- "taskIssueText": "hpCk7W_taskIssueText",
38138
- "fieldList": "hpCk7W_fieldList",
38139
- "searchLocator": "hpCk7W_searchLocator",
38140
- "sidebarEmpty": "hpCk7W_sidebarEmpty",
38141
- "inlineInput": "hpCk7W_inlineInput",
38142
38122
  "toolbarMeta": "hpCk7W_toolbarMeta",
38143
- "sidebarFooter": "hpCk7W_sidebarFooter",
38144
- "sidebar": "hpCk7W_sidebar",
38145
- "dagRoot": "hpCk7W_dagRoot",
38146
- "actionButton": "hpCk7W_actionButton",
38147
- "taskEvents": "hpCk7W_taskEvents",
38148
- "taskIssuePriority": "hpCk7W_taskIssuePriority",
38149
- "searchResultHeading": "hpCk7W_searchResultHeading",
38150
- "taskRow": "hpCk7W_taskRow",
38151
38123
  "researchSourceList": "hpCk7W_researchSourceList",
38152
- "relationshipSvg": "hpCk7W_relationshipSvg",
38153
- "truncatedNote": "hpCk7W_truncatedNote",
38154
- "chevronPlaceholder": "hpCk7W_chevronPlaceholder",
38155
- "relationDimmed": "hpCk7W_relationDimmed",
38156
- "chevronButton": "hpCk7W_chevronButton",
38157
- "taskProgressTrack": "hpCk7W_taskProgressTrack",
38158
- "vditorFrame": "hpCk7W_vditorFrame",
38124
+ "detailToolbar": "hpCk7W_detailToolbar",
38125
+ "taskFields": "hpCk7W_taskFields",
38126
+ "taskRow": "hpCk7W_taskRow",
38127
+ "vditorOverlay": "hpCk7W_vditorOverlay",
38128
+ "assetRowMeta": "hpCk7W_assetRowMeta",
38159
38129
  "benchmarkCellStack": "hpCk7W_benchmarkCellStack",
38160
- "relationNode": "hpCk7W_relationNode",
38161
- "benchmarkProvenance": "hpCk7W_benchmarkProvenance",
38162
- "taskSummaryItem": "hpCk7W_taskSummaryItem",
38163
- "editorRow": "hpCk7W_editorRow",
38164
- "benchmarkSummary": "hpCk7W_benchmarkSummary",
38165
- "searchResultTitle": "hpCk7W_searchResultTitle",
38166
- "modelActions": "hpCk7W_modelActions",
38167
- "taskDetail": "hpCk7W_taskDetail",
38168
- "iconButton": "hpCk7W_iconButton",
38169
- "assetRowName": "hpCk7W_assetRowName",
38170
- "profileChoice": "hpCk7W_profileChoice",
38130
+ "summaryTextarea": "hpCk7W_summaryTextarea",
38131
+ "modelCheckbox": "hpCk7W_modelCheckbox",
38132
+ "treeChildren": "hpCk7W_treeChildren",
38133
+ "relationshipWorkspace": "hpCk7W_relationshipWorkspace",
38134
+ "derivedName": "hpCk7W_derivedName",
38135
+ "relationFlowNode": "hpCk7W_relationFlowNode",
38136
+ "resultLink": "hpCk7W_resultLink",
38137
+ "modelUnsaved": "hpCk7W_modelUnsaved",
38138
+ "root": "hpCk7W_root",
38139
+ "derivedRelations": "hpCk7W_derivedRelations",
38140
+ "taskTimelineStep": "hpCk7W_taskTimelineStep",
38141
+ "researchProvenance": "hpCk7W_researchProvenance",
38142
+ "relationChips": "hpCk7W_relationChips",
38143
+ "relationRow": "hpCk7W_relationRow",
38171
38144
  "taskDetailSummary": "hpCk7W_taskDetailSummary",
38145
+ "dagPrimitiveList": "hpCk7W_dagPrimitiveList",
38146
+ "derivedTitle": "hpCk7W_derivedTitle",
38147
+ "taskChapter": "hpCk7W_taskChapter",
38148
+ "sidebar": "hpCk7W_sidebar",
38149
+ "researchSearch": "hpCk7W_researchSearch",
38150
+ "relationBlock": "hpCk7W_relationBlock",
38151
+ "relationD3Label": "hpCk7W_relationD3Label",
38152
+ "taskCardHeader": "hpCk7W_taskCardHeader",
38153
+ "relationOrigin": "hpCk7W_relationOrigin",
38154
+ "buttonDanger": "hpCk7W_buttonDanger",
38155
+ "relationNode": "hpCk7W_relationNode",
38156
+ "nodeSummary": "hpCk7W_nodeSummary",
38157
+ "tableScroll": "hpCk7W_tableScroll",
38158
+ "taskFailure": "hpCk7W_taskFailure",
38159
+ "dagRevisionAction": "hpCk7W_dagRevisionAction",
38160
+ "dagObjectItem": "hpCk7W_dagObjectItem",
38161
+ "searchResultHead": "hpCk7W_searchResultHead",
38162
+ "searchChangeDiff": "hpCk7W_searchChangeDiff",
38172
38163
  "taskIssueDim": "hpCk7W_taskIssueDim",
38164
+ "kindBadge": "hpCk7W_kindBadge",
38165
+ "relationshipCanvas": "hpCk7W_relationshipCanvas",
38166
+ "groupHeader": "hpCk7W_groupHeader",
38167
+ "taskProgressTrack": "hpCk7W_taskProgressTrack",
38168
+ "modelListItem": "hpCk7W_modelListItem",
38169
+ "dagDomainRow": "hpCk7W_dagDomainRow",
38173
38170
  "taskProgressLine": "hpCk7W_taskProgressLine",
38174
- "modelGroupTitle": "hpCk7W_modelGroupTitle",
38175
- "modelTabs": "hpCk7W_modelTabs",
38176
- "benchmarkCost": "hpCk7W_benchmarkCost",
38177
- "linkButton": "hpCk7W_linkButton",
38178
- "sidebarSegments": "hpCk7W_sidebarSegments",
38179
- "detailTitle": "hpCk7W_detailTitle",
38180
- "detail": "hpCk7W_detail",
38171
+ "referenceReader": "hpCk7W_referenceReader",
38172
+ "mdInline": "hpCk7W_mdInline",
38173
+ "listBlockItems": "hpCk7W_listBlockItems",
38174
+ "dagWorkspace": "hpCk7W_dagWorkspace",
38175
+ "searchInput": "hpCk7W_searchInput",
38176
+ "truthSection": "hpCk7W_truthSection",
38177
+ "detailHeading": "hpCk7W_detailHeading",
38178
+ "input": "hpCk7W_input",
38181
38179
  "graphColumnHeader": "hpCk7W_graphColumnHeader",
38182
- "taskError": "hpCk7W_taskError",
38183
- "modelCheckbox": "hpCk7W_modelCheckbox",
38184
- "assetRowMeta": "hpCk7W_assetRowMeta",
38185
- "assetMeta": "hpCk7W_assetMeta",
38186
- "listBlockLabel": "hpCk7W_listBlockLabel",
38187
- "relationshipStats": "hpCk7W_relationshipStats",
38188
- "dagPrimitiveList": "hpCk7W_dagPrimitiveList",
38180
+ "treeItem": "hpCk7W_treeItem",
38181
+ "searchLocator": "hpCk7W_searchLocator",
38182
+ "actionButton": "hpCk7W_actionButton",
38183
+ "derivedArrow": "hpCk7W_derivedArrow",
38184
+ "taskTime": "hpCk7W_taskTime",
38185
+ "modelList": "hpCk7W_modelList",
38186
+ "body": "hpCk7W_body",
38187
+ "relationshipDetail": "hpCk7W_relationshipDetail",
38188
+ "modelEditor": "hpCk7W_modelEditor",
38189
38189
  "benchmarkSection": "hpCk7W_benchmarkSection",
38190
- "benchmarkOutputList": "hpCk7W_benchmarkOutputList",
38191
- "kindFilterRow": "hpCk7W_kindFilterRow",
38192
- "inlineRename": "hpCk7W_inlineRename",
38190
+ "taskDetail": "hpCk7W_taskDetail",
38191
+ "searchSnippet": "hpCk7W_searchSnippet",
38192
+ "dagNode": "hpCk7W_dagNode",
38193
38193
  "modelGroup": "hpCk7W_modelGroup",
38194
- "tree": "hpCk7W_tree",
38195
- "dagObjectItem": "hpCk7W_dagObjectItem",
38196
- "inlineActions": "hpCk7W_inlineActions",
38197
- "researchProvenance": "hpCk7W_researchProvenance",
38198
- "modelEmpty": "hpCk7W_modelEmpty",
38199
- "statusBadge": "hpCk7W_statusBadge",
38200
- "taskFields": "hpCk7W_taskFields",
38201
- "researchSearch": "hpCk7W_researchSearch",
38202
- "truthSection": "hpCk7W_truthSection",
38203
- "dagDomainRow": "hpCk7W_dagDomainRow",
38204
- "relationD3Label": "hpCk7W_relationD3Label",
38205
- "treeRow": "hpCk7W_treeRow",
38206
- "relationChips": "hpCk7W_relationChips",
38207
- "foreshadowNode": "hpCk7W_foreshadowNode",
38208
- "sidebarList": "hpCk7W_sidebarList",
38209
- "editorActions": "hpCk7W_editorActions",
38194
+ "taskReviewMeta": "hpCk7W_taskReviewMeta",
38195
+ "mainPane": "hpCk7W_mainPane",
38196
+ "listBlock": "hpCk7W_listBlock",
38197
+ "textarea": "hpCk7W_textarea",
38198
+ "workflowBlock": "hpCk7W_workflowBlock",
38199
+ "modelGroupTitle": "hpCk7W_modelGroupTitle",
38200
+ "relationD3Nodes": "hpCk7W_relationD3Nodes",
38201
+ "benchmarkOutput": "hpCk7W_benchmarkOutput",
38202
+ "taskTimeline": "hpCk7W_taskTimeline",
38203
+ "benchmarkRunGroup": "hpCk7W_benchmarkRunGroup",
38204
+ "taskIssuePriority": "hpCk7W_taskIssuePriority",
38205
+ "nodeActions": "hpCk7W_nodeActions",
38206
+ "searchChangePlan": "hpCk7W_searchChangePlan",
38207
+ "editorRow": "hpCk7W_editorRow",
38210
38208
  "dagStructuredRow": "hpCk7W_dagStructuredRow",
38211
- "benchmarkPhases": "hpCk7W_benchmarkPhases",
38209
+ "relationDimmed": "hpCk7W_relationDimmed",
38210
+ "searchResultTitle": "hpCk7W_searchResultTitle",
38211
+ "benchmarkRun": "hpCk7W_benchmarkRun",
38212
38212
  "benchmarkSources": "hpCk7W_benchmarkSources",
38213
- "taskEvent": "hpCk7W_taskEvent",
38214
- "kindBadge": "hpCk7W_kindBadge",
38215
- "fieldKey": "hpCk7W_fieldKey",
38213
+ "bodyTextareaDirty": "hpCk7W_bodyTextareaDirty",
38214
+ "modelFormGrid": "hpCk7W_modelFormGrid",
38216
38215
  "benchmarkProfiles": "hpCk7W_benchmarkProfiles",
38217
- "benchmarkRun": "hpCk7W_benchmarkRun",
38218
- "summaryTextarea": "hpCk7W_summaryTextarea",
38219
- "researchSources": "hpCk7W_researchSources",
38220
- "mainPane": "hpCk7W_mainPane",
38221
- "assetRow": "hpCk7W_assetRow",
38222
- "searchResult": "hpCk7W_searchResult",
38223
- "benchmarkStatus": "hpCk7W_benchmarkStatus",
38224
- "modelEditor": "hpCk7W_modelEditor",
38225
- "editor": "hpCk7W_editor",
38226
- "previewHead": "hpCk7W_previewHead",
38227
- "taskTimelineStep": "hpCk7W_taskTimelineStep",
38228
- "relationshipDetail": "hpCk7W_relationshipDetail",
38229
- "taskChapter": "hpCk7W_taskChapter",
38230
- "researchWorkspace": "hpCk7W_researchWorkspace",
38216
+ "relationChip": "hpCk7W_relationChip",
38217
+ "graphCanvas": "hpCk7W_graphCanvas",
38218
+ "dagNodeContent": "hpCk7W_dagNodeContent",
38219
+ "taskIssueText": "hpCk7W_taskIssueText",
38220
+ "toolbar": "hpCk7W_toolbar",
38221
+ "detailNotice": "hpCk7W_detailNotice",
38231
38222
  "modelApiKeyInput": "hpCk7W_modelApiKeyInput",
38232
- "relationBlock": "hpCk7W_relationBlock",
38223
+ "errorText": "hpCk7W_errorText",
38224
+ "taskPhase": "hpCk7W_taskPhase",
38225
+ "taskCard": "hpCk7W_taskCard",
38226
+ "researchSources": "hpCk7W_researchSources",
38227
+ "dagOverview": "hpCk7W_dagOverview",
38228
+ "bodyEditor": "hpCk7W_bodyEditor",
38229
+ "relationD3Links": "hpCk7W_relationD3Links",
38230
+ "searchResultPath": "hpCk7W_searchResultPath",
38231
+ "previewPane": "hpCk7W_previewPane",
38233
38232
  "libraryRoot": "hpCk7W_libraryRoot",
38234
- "groupHeader": "hpCk7W_groupHeader",
38235
- "searchResultHead": "hpCk7W_searchResultHead",
38236
- "modelRoutes": "hpCk7W_modelRoutes",
38237
- "referenceReader": "hpCk7W_referenceReader",
38238
- "scopeSelect": "hpCk7W_scopeSelect",
38239
- "derivedRow": "hpCk7W_derivedRow",
38240
- "modelFormGrid": "hpCk7W_modelFormGrid",
38241
- "workflowBlock": "hpCk7W_workflowBlock",
38242
- "modelUnsaved": "hpCk7W_modelUnsaved",
38233
+ "sidebarFooter": "hpCk7W_sidebarFooter",
38234
+ "sidebarList": "hpCk7W_sidebarList",
38235
+ "createPanel": "hpCk7W_createPanel",
38243
38236
  "relationNote": "hpCk7W_relationNote",
38244
- "workflowStages": "hpCk7W_workflowStages",
38245
- "modelRouteMeta": "hpCk7W_modelRouteMeta",
38246
- "taskReviewMeta": "hpCk7W_taskReviewMeta",
38247
- "dagRevisionAction": "hpCk7W_dagRevisionAction",
38248
- "taskSummaryBar": "hpCk7W_taskSummaryBar",
38249
- "detailToolbar": "hpCk7W_detailToolbar",
38250
- "root": "hpCk7W_root",
38251
- "relationFlowNode": "hpCk7W_relationFlowNode",
38252
- "edge": "hpCk7W_edge",
38253
- "modelChip": "hpCk7W_modelChip",
38254
- "taskActions": "hpCk7W_taskActions",
38255
- "taskTime": "hpCk7W_taskTime",
38256
- "vditorHost": "hpCk7W_vditorHost",
38257
- "taskIssuesSummary": "hpCk7W_taskIssuesSummary",
38258
- "taskCardActions": "hpCk7W_taskCardActions",
38259
- "treeItem": "hpCk7W_treeItem",
38260
- "fieldValue": "hpCk7W_fieldValue",
38261
- "graphNodeTitle": "hpCk7W_graphNodeTitle",
38262
- "detailBody": "hpCk7W_detailBody",
38263
- "benchmarkInputs": "hpCk7W_benchmarkInputs",
38264
- "taskCardHeader": "hpCk7W_taskCardHeader",
38265
- "fieldRow": "hpCk7W_fieldRow",
38266
- "taskTimeline": "hpCk7W_taskTimeline",
38267
- "benchmarkRuns": "hpCk7W_benchmarkRuns",
38268
- "taskResult": "hpCk7W_taskResult",
38269
- "notice": "hpCk7W_notice",
38270
- "searchResultPath": "hpCk7W_searchResultPath",
38271
- "benchmarkControls": "hpCk7W_benchmarkControls",
38272
- "taskCard": "hpCk7W_taskCard",
38273
- "researchFailure": "hpCk7W_researchFailure",
38274
- "validationList": "hpCk7W_validationList",
38237
+ "editorActions": "hpCk7W_editorActions",
38238
+ "dagObjectList": "hpCk7W_dagObjectList",
38239
+ "previewLine": "hpCk7W_previewLine",
38240
+ "overlayMark": "hpCk7W_overlayMark",
38241
+ "taskIssues": "hpCk7W_taskIssues",
38242
+ "graphFilterRow": "hpCk7W_graphFilterRow",
38243
+ "benchmarkMetrics": "hpCk7W_benchmarkMetrics",
38244
+ "editorLabel": "hpCk7W_editorLabel",
38275
38245
  "modelTestRow": "hpCk7W_modelTestRow",
38276
- "previewPane": "hpCk7W_previewPane",
38277
- "relationEditor": "hpCk7W_relationEditor",
38278
- "chip": "hpCk7W_chip",
38246
+ "derivedRow": "hpCk7W_derivedRow",
38247
+ "taskSummaryItem": "hpCk7W_taskSummaryItem",
38248
+ "modelLayout": "hpCk7W_modelLayout",
38249
+ "derivedOrigin": "hpCk7W_derivedOrigin",
38279
38250
  "conflictNotice": "hpCk7W_conflictNotice",
38280
- "relationOrigin": "hpCk7W_relationOrigin",
38281
- "relationFlowNodeShell": "hpCk7W_relationFlowNodeShell",
38282
- "dagWorkspace": "hpCk7W_dagWorkspace",
38283
- "dagNode": "hpCk7W_dagNode",
38284
- "taskCardTitle": "hpCk7W_taskCardTitle",
38285
- "editorLabel": "hpCk7W_editorLabel",
38286
- "searchSnippet": "hpCk7W_searchSnippet",
38287
- "derivedName": "hpCk7W_derivedName",
38288
- "dagObjectList": "hpCk7W_dagObjectList",
38289
- "taskFailure": "hpCk7W_taskFailure",
38290
- "graphCanvas": "hpCk7W_graphCanvas",
38291
- "benchmarkError": "hpCk7W_benchmarkError",
38292
- "graphNodeMeta": "hpCk7W_graphNodeMeta",
38293
- "edgeArrow": "hpCk7W_edgeArrow",
38294
- "modelChips": "hpCk7W_modelChips",
38295
- "benchmarkLegacy": "hpCk7W_benchmarkLegacy",
38296
- "summaryEditor": "hpCk7W_summaryEditor",
38297
- "detailSummary": "hpCk7W_detailSummary",
38298
- "treeChildren": "hpCk7W_treeChildren",
38251
+ "notice": "hpCk7W_notice",
38252
+ "assetMeta": "hpCk7W_assetMeta",
38253
+ "detailBody": "hpCk7W_detailBody",
38254
+ "relationshipSvg": "hpCk7W_relationshipSvg",
38255
+ "kindFilterRow": "hpCk7W_kindFilterRow",
38256
+ "launchPanel": "hpCk7W_launchPanel",
38257
+ "benchmarkRuns": "hpCk7W_benchmarkRuns",
38258
+ "previewHit": "hpCk7W_previewHit",
38259
+ "fieldRow": "hpCk7W_fieldRow",
38260
+ "edgeLabel": "hpCk7W_edgeLabel",
38261
+ "benchmarkTable": "hpCk7W_benchmarkTable",
38262
+ "taskCardActions": "hpCk7W_taskCardActions",
38263
+ "derivedNote": "hpCk7W_derivedNote",
38264
+ "taskEvents": "hpCk7W_taskEvents",
38265
+ "taskIssueRow": "hpCk7W_taskIssueRow",
38266
+ "benchmarkProvenance": "hpCk7W_benchmarkProvenance",
38267
+ "taskSummaryBar": "hpCk7W_taskSummaryBar",
38299
38268
  "researchReferenceOnly": "hpCk7W_researchReferenceOnly",
38300
- "countChip": "hpCk7W_countChip",
38301
- "taskControls": "hpCk7W_taskControls",
38302
- "bodyEditor": "hpCk7W_bodyEditor",
38303
- "detailNotice": "hpCk7W_detailNotice",
38304
- "modelDependencies": "hpCk7W_modelDependencies",
38305
- "detailHeader": "hpCk7W_detailHeader",
38306
- "derivedArrow": "hpCk7W_derivedArrow",
38307
- "relationshipCanvas": "hpCk7W_relationshipCanvas",
38308
- "searchChangeDiff": "hpCk7W_searchChangeDiff",
38309
- "dagDetail": "hpCk7W_dagDetail",
38269
+ "detailTitle": "hpCk7W_detailTitle",
38270
+ "modelImpact": "hpCk7W_modelImpact",
38310
38271
  "benchmarkResults": "hpCk7W_benchmarkResults",
38311
- "graphFilterRow": "hpCk7W_graphFilterRow",
38272
+ "benchmarkRunGroupHeader": "hpCk7W_benchmarkRunGroupHeader",
38273
+ "taskIssueSeverity": "hpCk7W_taskIssueSeverity",
38274
+ "taskResult": "hpCk7W_taskResult",
38275
+ "button": "hpCk7W_button",
38276
+ "benchmarkOutputList": "hpCk7W_benchmarkOutputList",
38277
+ "benchmarkUsage": "hpCk7W_benchmarkUsage",
38278
+ "relationshipStats": "hpCk7W_relationshipStats",
38279
+ "modelDependencies": "hpCk7W_modelDependencies",
38280
+ "assetRow": "hpCk7W_assetRow",
38281
+ "fieldKey": "hpCk7W_fieldKey",
38282
+ "modelRoutes": "hpCk7W_modelRoutes",
38283
+ "researchWorkspace": "hpCk7W_researchWorkspace",
38284
+ "truncatedNote": "hpCk7W_truncatedNote",
38285
+ "taskDetailError": "hpCk7W_taskDetailError",
38286
+ "tree": "hpCk7W_tree",
38287
+ "summaryEditor": "hpCk7W_summaryEditor",
38288
+ "iconButton": "hpCk7W_iconButton",
38312
38289
  "dagDetailRow": "hpCk7W_dagDetailRow",
38313
- "researchMetrics": "hpCk7W_researchMetrics",
38290
+ "taskList": "hpCk7W_taskList",
38291
+ "taskError": "hpCk7W_taskError",
38314
38292
  "researchFilters": "hpCk7W_researchFilters",
38315
- "benchmarkUsage": "hpCk7W_benchmarkUsage",
38316
- "modelImpact": "hpCk7W_modelImpact",
38317
- "modelLayout": "hpCk7W_modelLayout",
38318
- "modelHint": "hpCk7W_modelHint",
38319
- "relationshipCanvasHeader": "hpCk7W_relationshipCanvasHeader",
38320
- "searchMark": "hpCk7W_searchMark",
38321
- "searchChangePlan": "hpCk7W_searchChangePlan",
38322
- "taskStatus": "hpCk7W_taskStatus",
38323
- "taskIssueSeverity": "hpCk7W_taskIssueSeverity",
38324
- "tag": "hpCk7W_tag",
38325
- "modelRouteRow": "hpCk7W_modelRouteRow",
38326
- "derivedTitle": "hpCk7W_derivedTitle",
38327
- "relationRow": "hpCk7W_relationRow",
38293
+ "modelActions": "hpCk7W_modelActions",
38294
+ "benchmarkError": "hpCk7W_benchmarkError",
38295
+ "countChip": "hpCk7W_countChip",
38296
+ "benchmarkStatus": "hpCk7W_benchmarkStatus",
38297
+ "inlineRename": "hpCk7W_inlineRename",
38298
+ "researchFailure": "hpCk7W_researchFailure",
38328
38299
  "dagStructured": "hpCk7W_dagStructured",
38329
- "toolbar": "hpCk7W_toolbar",
38330
- "primaryButton": "hpCk7W_primaryButton",
38331
- "benchmarkOutput": "hpCk7W_benchmarkOutput",
38332
- "tableScroll": "hpCk7W_tableScroll",
38333
- "dagNodeContent": "hpCk7W_dagNodeContent",
38334
- "segmentButton": "hpCk7W_segmentButton",
38335
- "taskPhase": "hpCk7W_taskPhase",
38336
- "relationshipWorkspace": "hpCk7W_relationshipWorkspace",
38337
- "taskSummary": "hpCk7W_taskSummary",
38338
- "dagOverview": "hpCk7W_dagOverview",
38339
- "listBlock": "hpCk7W_listBlock",
38340
- "button": "hpCk7W_button",
38341
- "relationD3Links": "hpCk7W_relationD3Links",
38342
- "buttonDanger": "hpCk7W_buttonDanger",
38343
- "launchPanel": "hpCk7W_launchPanel",
38344
- "input": "hpCk7W_input",
38345
- "titleInput": "hpCk7W_titleInput",
38346
- "listBlockItems": "hpCk7W_listBlockItems",
38347
- "previewHit": "hpCk7W_previewHit",
38348
- "taskSearch": "hpCk7W_taskSearch",
38349
- "detailHeading": "hpCk7W_detailHeading",
38350
- "nodeSummary": "hpCk7W_nodeSummary",
38351
- "bodyTextareaDirty": "hpCk7W_bodyTextareaDirty",
38352
- "groupChevron": "hpCk7W_groupChevron",
38353
- "benchmarkMetrics": "hpCk7W_benchmarkMetrics",
38354
- "vditorOverlay": "hpCk7W_vditorOverlay",
38300
+ "foreshadowNode": "hpCk7W_foreshadowNode",
38355
38301
  "dagCanvas": "hpCk7W_dagCanvas",
38356
- "nodeActions": "hpCk7W_nodeActions",
38357
- "benchmarkTable": "hpCk7W_benchmarkTable",
38358
- "modelList": "hpCk7W_modelList",
38359
- "modelListItem": "hpCk7W_modelListItem",
38360
- "derivedNote": "hpCk7W_derivedNote",
38302
+ "taskSummary": "hpCk7W_taskSummary",
38303
+ "modelHint": "hpCk7W_modelHint",
38304
+ "assetAliases": "hpCk7W_assetAliases",
38305
+ "searchMark": "hpCk7W_searchMark",
38306
+ "taskEvent": "hpCk7W_taskEvent",
38307
+ "taskCardMain": "hpCk7W_taskCardMain",
38308
+ "inlineActions": "hpCk7W_inlineActions",
38309
+ "vditorHost": "hpCk7W_vditorHost",
38310
+ "modelEmpty": "hpCk7W_modelEmpty",
38311
+ "vditorFrame": "hpCk7W_vditorFrame",
38312
+ "dagRoot": "hpCk7W_dagRoot",
38361
38313
  "validationBlock": "hpCk7W_validationBlock",
38362
- "overlayMark": "hpCk7W_overlayMark",
38314
+ "sidebarEmpty": "hpCk7W_sidebarEmpty",
38315
+ "previewHead": "hpCk7W_previewHead",
38316
+ "benchmarkLegacy": "hpCk7W_benchmarkLegacy",
38363
38317
  "bodyTextarea": "hpCk7W_bodyTextarea",
38364
- "createPanel": "hpCk7W_createPanel",
38365
- "paneHeading": "hpCk7W_paneHeading",
38366
- "relationChip": "hpCk7W_relationChip",
38367
- "edgeLabel": "hpCk7W_edgeLabel",
38368
- "benchmarkRunGroupHeader": "hpCk7W_benchmarkRunGroupHeader",
38318
+ "taskStatus": "hpCk7W_taskStatus",
38319
+ "taskIssuesSummary": "hpCk7W_taskIssuesSummary",
38369
38320
  "searchResultActive": "hpCk7W_searchResultActive",
38370
- "taskIssueRow": "hpCk7W_taskIssueRow",
38321
+ "modelChip": "hpCk7W_modelChip",
38322
+ "modelActiveStatus": "hpCk7W_modelActiveStatus",
38323
+ "benchmarkSplit": "hpCk7W_benchmarkSplit",
38324
+ "taskControls": "hpCk7W_taskControls",
38325
+ "taskCardTitle": "hpCk7W_taskCardTitle",
38326
+ "detailSummary": "hpCk7W_detailSummary",
38327
+ "nodeTitle": "hpCk7W_nodeTitle",
38328
+ "taskActions": "hpCk7W_taskActions",
38329
+ "graphNodeMeta": "hpCk7W_graphNodeMeta",
38330
+ "chevronPlaceholder": "hpCk7W_chevronPlaceholder",
38331
+ "titleInput": "hpCk7W_titleInput",
38332
+ "relationEditor": "hpCk7W_relationEditor",
38333
+ "editor": "hpCk7W_editor",
38334
+ "detailHeader": "hpCk7W_detailHeader",
38335
+ "dagDetail": "hpCk7W_dagDetail",
38336
+ "edge": "hpCk7W_edge",
38337
+ "profileChoice": "hpCk7W_profileChoice",
38338
+ "benchmarkInputs": "hpCk7W_benchmarkInputs",
38371
38339
  "scoreChip": "hpCk7W_scoreChip",
38372
- "body": "hpCk7W_body",
38373
- "modelActiveStatus": "hpCk7W_modelActiveStatus"
38340
+ "researchMetrics": "hpCk7W_researchMetrics",
38341
+ "assetRowName": "hpCk7W_assetRowName",
38342
+ "detailTitleRow": "hpCk7W_detailTitleRow",
38343
+ "fieldList": "hpCk7W_fieldList",
38344
+ "groupChevron": "hpCk7W_groupChevron",
38345
+ "relationFlowNodeShell": "hpCk7W_relationFlowNodeShell",
38346
+ "paneHeading": "hpCk7W_paneHeading",
38347
+ "taskSearch": "hpCk7W_taskSearch",
38348
+ "inlineInput": "hpCk7W_inlineInput",
38349
+ "detail": "hpCk7W_detail",
38350
+ "workflowStages": "hpCk7W_workflowStages",
38351
+ "modelTabs": "hpCk7W_modelTabs",
38352
+ "chip": "hpCk7W_chip",
38353
+ "sidebarSegments": "hpCk7W_sidebarSegments",
38354
+ "validationList": "hpCk7W_validationList",
38355
+ "searchResultHeading": "hpCk7W_searchResultHeading",
38356
+ "benchmarkControls": "hpCk7W_benchmarkControls",
38357
+ "benchmarkPhases": "hpCk7W_benchmarkPhases",
38358
+ "benchmarkCost": "hpCk7W_benchmarkCost",
38359
+ "modelRouteMeta": "hpCk7W_modelRouteMeta",
38360
+ "edgeArrow": "hpCk7W_edgeArrow",
38361
+ "referenceUnits": "hpCk7W_referenceUnits",
38362
+ "chevronButton": "hpCk7W_chevronButton",
38363
+ "searchResult": "hpCk7W_searchResult",
38364
+ "statusBadge": "hpCk7W_statusBadge",
38365
+ "segmentButton": "hpCk7W_segmentButton",
38366
+ "fieldValue": "hpCk7W_fieldValue",
38367
+ "tag": "hpCk7W_tag",
38368
+ "listBlockLabel": "hpCk7W_listBlockLabel",
38369
+ "primaryButton": "hpCk7W_primaryButton",
38370
+ "graphNodeTitle": "hpCk7W_graphNodeTitle",
38371
+ "modelChips": "hpCk7W_modelChips",
38372
+ "benchmarkSummary": "hpCk7W_benchmarkSummary",
38373
+ "scopeSelect": "hpCk7W_scopeSelect",
38374
+ "relationshipCanvasHeader": "hpCk7W_relationshipCanvasHeader",
38375
+ "treeRow": "hpCk7W_treeRow",
38376
+ "modelRouteRow": "hpCk7W_modelRouteRow",
38377
+ "linkButton": "hpCk7W_linkButton"
38374
38378
  };
38375
38379
  //#endregion
38376
38380
  //#region src/client/VditorBody.tsx
@@ -39325,183 +39329,183 @@ window.__ModuleLoader__.load({
39325
39329
  document.head.appendChild(tag);
39326
39330
  }
39327
39331
  var Workbench_module_css_default = {
39328
- "contextManifest": "Wik-wW_contextManifest",
39332
+ "drawerClose": "Wik-wW_drawerClose",
39333
+ "workspaceNav": "Wik-wW_workspaceNav",
39334
+ "chapterMove": "Wik-wW_chapterMove",
39335
+ "documentSkeleton": "Wik-wW_documentSkeleton",
39336
+ "iconButton": "Wik-wW_iconButton",
39337
+ "exportIssues": "Wik-wW_exportIssues",
39338
+ "manuscriptFallback": "Wik-wW_manuscriptFallback",
39339
+ "tabletInspectorButton": "Wik-wW_tabletInspectorButton",
39340
+ "historySection": "Wik-wW_historySection",
39341
+ "foreshadowActions": "Wik-wW_foreshadowActions",
39342
+ "exportPreflight": "Wik-wW_exportPreflight",
39329
39343
  "archiveListItem": "Wik-wW_archiveListItem",
39330
- "acceptanceMessage": "Wik-wW_acceptanceMessage",
39331
- "acceptanceActions": "Wik-wW_acceptanceActions",
39332
- "contextSections": "Wik-wW_contextSections",
39333
- "archivePlan": "Wik-wW_archivePlan",
39334
- "reviewRevisionActions": "Wik-wW_reviewRevisionActions",
39335
- "archiveSummary": "Wik-wW_archiveSummary",
39336
- "exportChapterList": "Wik-wW_exportChapterList",
39337
- "activityPane": "Wik-wW_activityPane",
39338
- "chapterDrawerClose": "Wik-wW_chapterDrawerClose",
39339
- "turnRevisionPair": "Wik-wW_turnRevisionPair",
39340
- "contextSources": "Wik-wW_contextSources",
39341
- "projectCurrent": "Wik-wW_projectCurrent",
39342
- "workspaceRoot": "Wik-wW_workspaceRoot",
39343
- "importPlan": "Wik-wW_importPlan",
39344
- "editorBoot": "Wik-wW_editorBoot",
39345
- "reviewClosure": "Wik-wW_reviewClosure",
39344
+ "mentionCard": "Wik-wW_mentionCard",
39345
+ "chapterButton": "Wik-wW_chapterButton",
39346
+ "muted": "Wik-wW_muted",
39347
+ "turnValuePair": "Wik-wW_turnValuePair",
39348
+ "foreshadowBuckets": "Wik-wW_foreshadowBuckets",
39349
+ "restorePreview": "Wik-wW_restorePreview",
39350
+ "connectionDot": "Wik-wW_connectionDot",
39351
+ "editorPane": "Wik-wW_editorPane",
39352
+ "transferPanel": "Wik-wW_transferPanel",
39346
39353
  "turnSummary": "Wik-wW_turnSummary",
39347
- "mobileBar": "Wik-wW_mobileBar",
39348
- "exportPreflight": "Wik-wW_exportPreflight",
39349
- "contextItem": "Wik-wW_contextItem",
39350
- "foreshadowAction": "Wik-wW_foreshadowAction",
39354
+ "headerUtilities": "Wik-wW_headerUtilities",
39355
+ "chapterList": "Wik-wW_chapterList",
39356
+ "issue": "Wik-wW_issue",
39357
+ "colorDot": "Wik-wW_colorDot",
39358
+ "inspector": "Wik-wW_inspector",
39359
+ "revisionPane": "Wik-wW_revisionPane",
39360
+ "editorHeader": "Wik-wW_editorHeader",
39361
+ "mentionHits": "Wik-wW_mentionHits",
39351
39362
  "turnTraceLink": "Wik-wW_turnTraceLink",
39352
- "drawerClose": "Wik-wW_drawerClose",
39353
- "chapterTitle": "Wik-wW_chapterTitle",
39354
- "markerFields": "Wik-wW_markerFields",
39355
- "inspectorNotice": "Wik-wW_inspectorNotice",
39356
- "contextExceptions": "Wik-wW_contextExceptions",
39357
- "contextSection": "Wik-wW_contextSection",
39358
- "issueList": "Wik-wW_issueList",
39359
- "activityList": "Wik-wW_activityList",
39363
+ "proposalProvenance": "Wik-wW_proposalProvenance",
39364
+ "annotateForm": "Wik-wW_annotateForm",
39365
+ "foreshadowAction": "Wik-wW_foreshadowAction",
39366
+ "foreshadowDetail": "Wik-wW_foreshadowDetail",
39367
+ "annotationQuote": "Wik-wW_annotationQuote",
39360
39368
  "dangerAction": "Wik-wW_dangerAction",
39361
- "turnPlanActions": "Wik-wW_turnPlanActions",
39362
39369
  "mentionCandidates": "Wik-wW_mentionCandidates",
39370
+ "operationSection": "Wik-wW_operationSection",
39371
+ "exportState": "Wik-wW_exportState",
39372
+ "transferColumns": "Wik-wW_transferColumns",
39373
+ "contextChipField": "Wik-wW_contextChipField",
39374
+ "chapterTitle": "Wik-wW_chapterTitle",
39375
+ "chapterEmpty": "Wik-wW_chapterEmpty",
39376
+ "chapterIndex": "Wik-wW_chapterIndex",
39377
+ "inspectorNotice": "Wik-wW_inspectorNotice",
39363
39378
  "reviewSummary": "Wik-wW_reviewSummary",
39364
- "scrim": "Wik-wW_scrim",
39365
- "acceptanceError": "Wik-wW_acceptanceError",
39366
- "inspectorTabs": "Wik-wW_inspectorTabs",
39367
- "editorPane": "Wik-wW_editorPane",
39368
- "annotationList": "Wik-wW_annotationList",
39369
- "chapterList": "Wik-wW_chapterList",
39370
- "recoveryActions": "Wik-wW_recoveryActions",
39371
- "turnValuePair": "Wik-wW_turnValuePair",
39372
- "colorDot": "Wik-wW_colorDot",
39373
- "muted": "Wik-wW_muted",
39374
- "proposalCard": "Wik-wW_proposalCard",
39375
- "mentionHits": "Wik-wW_mentionHits",
39376
- "proposalList": "Wik-wW_proposalList",
39377
- "visuallyHidden": "Wik-wW_visuallyHidden",
39378
- "chapterRail": "Wik-wW_chapterRail",
39379
- "inspectorHeader": "Wik-wW_inspectorHeader",
39380
- "contextFullText": "Wik-wW_contextFullText",
39379
+ "exportControls": "Wik-wW_exportControls",
39380
+ "archiveCreate": "Wik-wW_archiveCreate",
39381
+ "contextChipBadge": "Wik-wW_contextChipBadge",
39382
+ "annotationHits": "Wik-wW_annotationHits",
39383
+ "activityList": "Wik-wW_activityList",
39384
+ "historyHeader": "Wik-wW_historyHeader",
39385
+ "reviewClosure": "Wik-wW_reviewClosure",
39386
+ "studio": "Wik-wW_studio",
39387
+ "exportWorkspace": "Wik-wW_exportWorkspace",
39388
+ "turnRevisionPair": "Wik-wW_turnRevisionPair",
39389
+ "acceptanceHeader": "Wik-wW_acceptanceHeader",
39381
39390
  "acceptanceDetails": "Wik-wW_acceptanceDetails",
39382
- "turnEntityChange": "Wik-wW_turnEntityChange",
39383
- "conflictBar": "Wik-wW_conflictBar",
39384
- "editorHeader": "Wik-wW_editorHeader",
39385
- "headerStatus": "Wik-wW_headerStatus",
39386
- "proposalHunks": "Wik-wW_proposalHunks",
39387
- "transferActions": "Wik-wW_transferActions",
39388
- "contextChipPopover": "Wik-wW_contextChipPopover",
39389
- "diffBlock": "Wik-wW_diffBlock",
39391
+ "contextStale": "Wik-wW_contextStale",
39392
+ "contextBudgets": "Wik-wW_contextBudgets",
39393
+ "exportPreflightHeader": "Wik-wW_exportPreflightHeader",
39394
+ "exportChapterList": "Wik-wW_exportChapterList",
39390
39395
  "inspectorBody": "Wik-wW_inspectorBody",
39391
- "recoveryBody": "Wik-wW_recoveryBody",
39392
- "annotationChip": "Wik-wW_annotationChip",
39393
- "turnEntityChanges": "Wik-wW_turnEntityChanges",
39394
- "historyHeader": "Wik-wW_historyHeader",
39395
- "issue": "Wik-wW_issue",
39396
- "workspaceContent": "Wik-wW_workspaceContent",
39397
- "colorDots": "Wik-wW_colorDots",
39398
- "chapterButton": "Wik-wW_chapterButton",
39399
- "chapterIdentity": "Wik-wW_chapterIdentity",
39400
- "editorActions": "Wik-wW_editorActions",
39401
- "workspaceNav": "Wik-wW_workspaceNav",
39402
- "restorePreview": "Wik-wW_restorePreview",
39403
- "transferDetail": "Wik-wW_transferDetail",
39404
- "editorIdentity": "Wik-wW_editorIdentity",
39396
+ "activityProgress": "Wik-wW_activityProgress",
39397
+ "workspaceRoot": "Wik-wW_workspaceRoot",
39398
+ "proposalHunks": "Wik-wW_proposalHunks",
39399
+ "mobileBar": "Wik-wW_mobileBar",
39400
+ "transferWorkspace": "Wik-wW_transferWorkspace",
39401
+ "turnPlanNotice": "Wik-wW_turnPlanNotice",
39405
39402
  "restoreWorkspace": "Wik-wW_restoreWorkspace",
39406
- "activityCard": "Wik-wW_activityCard",
39407
- "proposalProvenance": "Wik-wW_proposalProvenance",
39408
- "reviewStale": "Wik-wW_reviewStale",
39409
- "contextChipHint": "Wik-wW_contextChipHint",
39410
- "contextSectionBody": "Wik-wW_contextSectionBody",
39411
- "commandButton": "Wik-wW_commandButton",
39412
- "chapterEmpty": "Wik-wW_chapterEmpty",
39413
- "readerHeader": "Wik-wW_readerHeader",
39414
- "acceptanceCard": "Wik-wW_acceptanceCard",
39415
- "exportState": "Wik-wW_exportState",
39403
+ "readerChapter": "Wik-wW_readerChapter",
39404
+ "operationNote": "Wik-wW_operationNote",
39405
+ "orderNotice": "Wik-wW_orderNotice",
39406
+ "foreshadowBucket": "Wik-wW_foreshadowBucket",
39407
+ "recoveryBody": "Wik-wW_recoveryBody",
39408
+ "contextSources": "Wik-wW_contextSources",
39409
+ "proposalTexts": "Wik-wW_proposalTexts",
39410
+ "versionPreview": "Wik-wW_versionPreview",
39411
+ "contextChip": "Wik-wW_contextChip",
39412
+ "readerContent": "Wik-wW_readerContent",
39413
+ "projectCurrent": "Wik-wW_projectCurrent",
39414
+ "draftStorageError": "Wik-wW_draftStorageError",
39415
+ "projectPath": "Wik-wW_projectPath",
39416
+ "contextOverview": "Wik-wW_contextOverview",
39417
+ "turnEntityChange": "Wik-wW_turnEntityChange",
39416
39418
  "mobileTitle": "Wik-wW_mobileTitle",
39419
+ "editorIdentity": "Wik-wW_editorIdentity",
39420
+ "versionCard": "Wik-wW_versionCard",
39421
+ "archivePlan": "Wik-wW_archivePlan",
39422
+ "versionList": "Wik-wW_versionList",
39423
+ "editorActions": "Wik-wW_editorActions",
39424
+ "colorDots": "Wik-wW_colorDots",
39425
+ "desktopPaneButton": "Wik-wW_desktopPaneButton",
39426
+ "activityPane": "Wik-wW_activityPane",
39417
39427
  "contextChipRoot": "Wik-wW_contextChipRoot",
39418
- "inspectorDrawerClose": "Wik-wW_inspectorDrawerClose",
39419
- "headerIconButton": "Wik-wW_headerIconButton",
39420
- "transferWorkspaceHeader": "Wik-wW_transferWorkspaceHeader",
39421
- "contextChipError": "Wik-wW_contextChipError",
39422
- "acceptanceHeader": "Wik-wW_acceptanceHeader",
39423
- "stageRail": "Wik-wW_stageRail",
39424
- "exportIssues": "Wik-wW_exportIssues",
39428
+ "contextExceptions": "Wik-wW_contextExceptions",
39429
+ "acceptanceMessage": "Wik-wW_acceptanceMessage",
39430
+ "contextSectionBody": "Wik-wW_contextSectionBody",
39431
+ "selectionPolish": "Wik-wW_selectionPolish",
39432
+ "reviewRevisionActions": "Wik-wW_reviewRevisionActions",
39433
+ "conflictBar": "Wik-wW_conflictBar",
39434
+ "centerNotice": "Wik-wW_centerNotice",
39435
+ "exportDetailSection": "Wik-wW_exportDetailSection",
39436
+ "transferDetailHeader": "Wik-wW_transferDetailHeader",
39437
+ "headerMenu": "Wik-wW_headerMenu",
39425
39438
  "exportSummaryGrid": "Wik-wW_exportSummaryGrid",
39426
- "continuousReader": "Wik-wW_continuousReader",
39427
- "annotationHits": "Wik-wW_annotationHits",
39428
- "tabletInspectorButton": "Wik-wW_tabletInspectorButton",
39439
+ "annotationCard": "Wik-wW_annotationCard",
39440
+ "acceptanceCard": "Wik-wW_acceptanceCard",
39441
+ "proposalCard": "Wik-wW_proposalCard",
39442
+ "writingProgress": "Wik-wW_writingProgress",
39443
+ "diffBlock": "Wik-wW_diffBlock",
39444
+ "readerHeader": "Wik-wW_readerHeader",
39445
+ "scrim": "Wik-wW_scrim",
39446
+ "contextSections": "Wik-wW_contextSections",
39447
+ "contextSectionButton": "Wik-wW_contextSectionButton",
39448
+ "acceptanceError": "Wik-wW_acceptanceError",
39449
+ "inspectorHeader": "Wik-wW_inspectorHeader",
39450
+ "contextItem": "Wik-wW_contextItem",
39429
39451
  "inspectorSkeleton": "Wik-wW_inspectorSkeleton",
39430
- "manuscriptFallback": "Wik-wW_manuscriptFallback",
39452
+ "continuousReader": "Wik-wW_continuousReader",
39453
+ "externalLink": "Wik-wW_externalLink",
39454
+ "annotationList": "Wik-wW_annotationList",
39455
+ "saveState": "Wik-wW_saveState",
39456
+ "chapterRail": "Wik-wW_chapterRail",
39457
+ "chapterDrawerClose": "Wik-wW_chapterDrawerClose",
39458
+ "contextManifest": "Wik-wW_contextManifest",
39459
+ "importStructure": "Wik-wW_importStructure",
39431
39460
  "chapterSearch": "Wik-wW_chapterSearch",
39432
- "projectSwitchRow": "Wik-wW_projectSwitchRow",
39433
- "contextOverview": "Wik-wW_contextOverview",
39434
- "writingProgress": "Wik-wW_writingProgress",
39435
- "contextRetrieval": "Wik-wW_contextRetrieval",
39436
- "transferColumns": "Wik-wW_transferColumns",
39437
- "connectionDot": "Wik-wW_connectionDot",
39438
- "desktopPaneButton": "Wik-wW_desktopPaneButton",
39439
- "draftStorageError": "Wik-wW_draftStorageError",
39440
- "versionCard": "Wik-wW_versionCard",
39441
- "historyNotice": "Wik-wW_historyNotice",
39442
- "transferFailure": "Wik-wW_transferFailure",
39443
- "diffList": "Wik-wW_diffList",
39444
- "archiveCreate": "Wik-wW_archiveCreate",
39445
39461
  "markerForm": "Wik-wW_markerForm",
39462
+ "acceptanceActions": "Wik-wW_acceptanceActions",
39463
+ "turnMutationItem": "Wik-wW_turnMutationItem",
39464
+ "editorBoot": "Wik-wW_editorBoot",
39446
39465
  "manuscriptEditor": "Wik-wW_manuscriptEditor",
39447
- "inspector": "Wik-wW_inspector",
39448
- "annotateForm": "Wik-wW_annotateForm",
39449
- "proposalTexts": "Wik-wW_proposalTexts",
39450
- "historySection": "Wik-wW_historySection",
39451
- "foreshadowBucket": "Wik-wW_foreshadowBucket",
39452
- "foreshadowDetail": "Wik-wW_foreshadowDetail",
39453
- "documentSkeleton": "Wik-wW_documentSkeleton",
39454
- "selectionPolish": "Wik-wW_selectionPolish",
39455
- "importStructure": "Wik-wW_importStructure",
39456
- "transferPanel": "Wik-wW_transferPanel",
39466
+ "transferFailure": "Wik-wW_transferFailure",
39467
+ "archiveSummary": "Wik-wW_archiveSummary",
39468
+ "contextFullText": "Wik-wW_contextFullText",
39469
+ "contextChipError": "Wik-wW_contextChipError",
39470
+ "annotationChip": "Wik-wW_annotationChip",
39471
+ "headerStatus": "Wik-wW_headerStatus",
39472
+ "contextChipHint": "Wik-wW_contextChipHint",
39473
+ "projectSwitchRow": "Wik-wW_projectSwitchRow",
39474
+ "visuallyHidden": "Wik-wW_visuallyHidden",
39475
+ "commandButton": "Wik-wW_commandButton",
39476
+ "contextSection": "Wik-wW_contextSection",
39477
+ "transferActions": "Wik-wW_transferActions",
39478
+ "chapterJump": "Wik-wW_chapterJump",
39479
+ "turnEntityChanges": "Wik-wW_turnEntityChanges",
39480
+ "readerError": "Wik-wW_readerError",
39481
+ "recoveryActions": "Wik-wW_recoveryActions",
39482
+ "inspectorTabs": "Wik-wW_inspectorTabs",
39457
39483
  "exportPurpose": "Wik-wW_exportPurpose",
39458
- "contextSectionButton": "Wik-wW_contextSectionButton",
39459
- "orderNotice": "Wik-wW_orderNotice",
39484
+ "transferWorkspaceHeader": "Wik-wW_transferWorkspaceHeader",
39485
+ "transferList": "Wik-wW_transferList",
39486
+ "headerIconButton": "Wik-wW_headerIconButton",
39460
39487
  "importPrepare": "Wik-wW_importPrepare",
39461
- "turnPlanNotice": "Wik-wW_turnPlanNotice",
39462
- "exportControls": "Wik-wW_exportControls",
39488
+ "transferDetail": "Wik-wW_transferDetail",
39489
+ "proposalList": "Wik-wW_proposalList",
39490
+ "chapterText": "Wik-wW_chapterText",
39491
+ "importPlan": "Wik-wW_importPlan",
39463
39492
  "paneHeading": "Wik-wW_paneHeading",
39464
- "turnMutationItem": "Wik-wW_turnMutationItem",
39465
- "externalLink": "Wik-wW_externalLink",
39466
- "exportPreflightHeader": "Wik-wW_exportPreflightHeader",
39467
- "readerContent": "Wik-wW_readerContent",
39468
- "headerUtilities": "Wik-wW_headerUtilities",
39469
- "contextStale": "Wik-wW_contextStale",
39470
- "exportDetailSection": "Wik-wW_exportDetailSection",
39471
- "saveState": "Wik-wW_saveState",
39493
+ "contextChipPopover": "Wik-wW_contextChipPopover",
39494
+ "contextRetrieval": "Wik-wW_contextRetrieval",
39495
+ "turnPlanActions": "Wik-wW_turnPlanActions",
39496
+ "issueList": "Wik-wW_issueList",
39472
39497
  "recoveryBar": "Wik-wW_recoveryBar",
39473
- "projectPath": "Wik-wW_projectPath",
39474
- "creationRoot": "Wik-wW_creationRoot",
39475
- "contextChip": "Wik-wW_contextChip",
39476
- "chapterJump": "Wik-wW_chapterJump",
39477
- "contextChipField": "Wik-wW_contextChipField",
39478
- "centerNotice": "Wik-wW_centerNotice",
39479
- "readerChapter": "Wik-wW_readerChapter",
39480
- "readerError": "Wik-wW_readerError",
39481
- "studio": "Wik-wW_studio",
39482
- "operationSection": "Wik-wW_operationSection",
39483
- "foreshadowActions": "Wik-wW_foreshadowActions",
39484
- "annotationCard": "Wik-wW_annotationCard",
39485
- "versionPreview": "Wik-wW_versionPreview",
39486
- "chapterIndex": "Wik-wW_chapterIndex",
39487
- "contextBudgets": "Wik-wW_contextBudgets",
39488
- "chapterMove": "Wik-wW_chapterMove",
39489
- "operationNote": "Wik-wW_operationNote",
39498
+ "inspectorDrawerClose": "Wik-wW_inspectorDrawerClose",
39499
+ "workspaceContent": "Wik-wW_workspaceContent",
39500
+ "stageRail": "Wik-wW_stageRail",
39490
39501
  "chapterMeta": "Wik-wW_chapterMeta",
39491
- "mentionCard": "Wik-wW_mentionCard",
39492
- "revisionPane": "Wik-wW_revisionPane",
39493
- "foreshadowBuckets": "Wik-wW_foreshadowBuckets",
39494
- "activityProgress": "Wik-wW_activityProgress",
39495
- "headerMenu": "Wik-wW_headerMenu",
39496
- "chapterText": "Wik-wW_chapterText",
39497
- "iconButton": "Wik-wW_iconButton",
39498
- "exportWorkspace": "Wik-wW_exportWorkspace",
39499
- "transferWorkspace": "Wik-wW_transferWorkspace",
39500
- "contextChipBadge": "Wik-wW_contextChipBadge",
39501
- "transferDetailHeader": "Wik-wW_transferDetailHeader",
39502
- "transferList": "Wik-wW_transferList",
39503
- "annotationQuote": "Wik-wW_annotationQuote",
39504
- "versionList": "Wik-wW_versionList"
39502
+ "diffList": "Wik-wW_diffList",
39503
+ "reviewStale": "Wik-wW_reviewStale",
39504
+ "activityCard": "Wik-wW_activityCard",
39505
+ "creationRoot": "Wik-wW_creationRoot",
39506
+ "chapterIdentity": "Wik-wW_chapterIdentity",
39507
+ "historyNotice": "Wik-wW_historyNotice",
39508
+ "markerFields": "Wik-wW_markerFields"
39505
39509
  };
39506
39510
  //#endregion
39507
39511
  //#region src/client/ContinuousReader.tsx
@@ -146455,35 +146459,35 @@ window.__ModuleLoader__.load({
146455
146459
  document.head.appendChild(tag);
146456
146460
  }
146457
146461
  var SceneWorkbench_module_css_default = {
146458
- "rollbackRow": "NpkHjW_rollbackRow",
146459
- "inlineWarning": "NpkHjW_inlineWarning",
146460
- "sceneList": "NpkHjW_sceneList",
146462
+ "bad": "NpkHjW_bad",
146463
+ "moveRow": "NpkHjW_moveRow",
146461
146464
  "good": "NpkHjW_good",
146465
+ "missingNotice": "NpkHjW_missingNotice",
146466
+ "sceneCard": "NpkHjW_sceneCard",
146467
+ "notice": "NpkHjW_notice",
146462
146468
  "count": "NpkHjW_count",
146463
- "editor": "NpkHjW_editor",
146469
+ "button": "NpkHjW_button",
146470
+ "metadataGrid": "NpkHjW_metadataGrid",
146471
+ "root": "NpkHjW_root",
146464
146472
  "migrationHeading": "NpkHjW_migrationHeading",
146465
- "migration": "NpkHjW_migration",
146466
- "moveRow": "NpkHjW_moveRow",
146467
- "previewIssues": "NpkHjW_previewIssues",
146468
- "notice": "NpkHjW_notice",
146469
146473
  "previewList": "NpkHjW_previewList",
146470
- "sceneHeading": "NpkHjW_sceneHeading",
146471
- "root": "NpkHjW_root",
146472
- "formGrid": "NpkHjW_formGrid",
146473
146474
  "orderToolbar": "NpkHjW_orderToolbar",
146474
- "statusRow": "NpkHjW_statusRow",
146475
- "button": "NpkHjW_button",
146475
+ "header": "NpkHjW_header",
146476
+ "confirmRow": "NpkHjW_confirmRow",
146477
+ "previewIssues": "NpkHjW_previewIssues",
146478
+ "rollbackRow": "NpkHjW_rollbackRow",
146479
+ "sceneId": "NpkHjW_sceneId",
146480
+ "migration": "NpkHjW_migration",
146481
+ "editor": "NpkHjW_editor",
146482
+ "sceneList": "NpkHjW_sceneList",
146483
+ "actions": "NpkHjW_actions",
146476
146484
  "primaryButton": "NpkHjW_primaryButton",
146477
- "bad": "NpkHjW_bad",
146478
146485
  "chapter": "NpkHjW_chapter",
146479
- "header": "NpkHjW_header",
146480
- "metadataGrid": "NpkHjW_metadataGrid",
146486
+ "sceneHeading": "NpkHjW_sceneHeading",
146487
+ "inlineWarning": "NpkHjW_inlineWarning",
146488
+ "formGrid": "NpkHjW_formGrid",
146481
146489
  "issuePanel": "NpkHjW_issuePanel",
146482
- "actions": "NpkHjW_actions",
146483
- "missingNotice": "NpkHjW_missingNotice",
146484
- "sceneCard": "NpkHjW_sceneCard",
146485
- "sceneId": "NpkHjW_sceneId",
146486
- "confirmRow": "NpkHjW_confirmRow"
146490
+ "statusRow": "NpkHjW_statusRow"
146487
146491
  };
146488
146492
  //#endregion
146489
146493
  //#region src/client/SceneWorkbench.tsx
@@ -149551,71 +149555,71 @@ window.__ModuleLoader__.load({
149551
149555
  document.head.appendChild(tag);
149552
149556
  }
149553
149557
  var BenchmarkView_module_css_default = {
149554
- "benchmarkInputs": "za6_jG_benchmarkInputs",
149555
- "taskError": "za6_jG_taskError",
149556
- "scopeHint": "za6_jG_scopeHint",
149557
- "benchmarkRunGroupHeader": "za6_jG_benchmarkRunGroupHeader",
149558
- "primaryButton": "za6_jG_primaryButton",
149559
- "modelGroup": "za6_jG_modelGroup",
149560
- "benchmarkResults": "za6_jG_benchmarkResults",
149561
- "benchmarkMetrics": "za6_jG_benchmarkMetrics",
149562
- "benchmarkControls": "za6_jG_benchmarkControls",
149558
+ "benchmarkStatus": "za6_jG_benchmarkStatus",
149559
+ "benchmarkLegacy": "za6_jG_benchmarkLegacy",
149563
149560
  "reviewWarning": "za6_jG_reviewWarning",
149564
- "modelGroups": "za6_jG_modelGroups",
149565
- "pageIdentity": "za6_jG_pageIdentity",
149566
- "benchmarkUsage": "za6_jG_benchmarkUsage",
149567
- "loading": "za6_jG_loading",
149568
- "benchmarkCellStack": "za6_jG_benchmarkCellStack",
149569
- "benchmarkRunGroup": "za6_jG_benchmarkRunGroup",
149570
- "pipelineHeading": "za6_jG_pipelineHeading",
149571
- "spinning": "za6_jG_spinning",
149572
- "benchmarkRun": "za6_jG_benchmarkRun",
149573
- "benchmark": "za6_jG_benchmark",
149574
149561
  "sectionHeading": "za6_jG_sectionHeading",
149575
- "historyHeading": "za6_jG_historyHeading",
149576
- "runScore": "za6_jG_runScore",
149562
+ "pipeline": "za6_jG_pipeline",
149577
149563
  "modelPicker": "za6_jG_modelPicker",
149578
- "root": "za6_jG_root",
149579
- "benchmarkPhases": "za6_jG_benchmarkPhases",
149580
- "benchmarkProfiles": "za6_jG_benchmarkProfiles",
149581
149564
  "taskFailure": "za6_jG_taskFailure",
149582
- "benchmarkProvenance": "za6_jG_benchmarkProvenance",
149583
- "benchmarkCost": "za6_jG_benchmarkCost",
149584
- "benchmarkStatus": "za6_jG_benchmarkStatus",
149585
- "benchmarkOutput": "za6_jG_benchmarkOutput",
149586
- "spin": "za6_jG_spin",
149587
- "pageIcon": "za6_jG_pageIcon",
149588
- "runList": "za6_jG_runList",
149589
- "notice": "za6_jG_notice",
149590
- "runId": "za6_jG_runId",
149591
- "benchmarkSection": "za6_jG_benchmarkSection",
149592
- "count": "za6_jG_count",
149593
- "resultPlaceholder": "za6_jG_resultPlaceholder",
149594
- "pipelineNodes": "za6_jG_pipelineNodes",
149565
+ "benchmarkUsage": "za6_jG_benchmarkUsage",
149566
+ "modelGroup": "za6_jG_modelGroup",
149567
+ "loading": "za6_jG_loading",
149568
+ "benchmarkRunGroupHeader": "za6_jG_benchmarkRunGroupHeader",
149569
+ "benchmarkError": "za6_jG_benchmarkError",
149595
149570
  "taskSelector": "za6_jG_taskSelector",
149571
+ "spin": "za6_jG_spin",
149596
149572
  "benchmarkSummary": "za6_jG_benchmarkSummary",
149573
+ "pipelineNodes": "za6_jG_pipelineNodes",
149574
+ "benchmarkRunGroup": "za6_jG_benchmarkRunGroup",
149575
+ "benchmarkTable": "za6_jG_benchmarkTable",
149576
+ "body": "za6_jG_body",
149577
+ "advanced": "za6_jG_advanced",
149578
+ "taskError": "za6_jG_taskError",
149579
+ "root": "za6_jG_root",
149580
+ "executionRecord": "za6_jG_executionRecord",
149581
+ "runScore": "za6_jG_runScore",
149582
+ "launchBar": "za6_jG_launchBar",
149583
+ "configFields": "za6_jG_configFields",
149584
+ "notice": "za6_jG_notice",
149585
+ "metadataSection": "za6_jG_metadataSection",
149586
+ "benchmarkMetrics": "za6_jG_benchmarkMetrics",
149587
+ "pageHeader": "za6_jG_pageHeader",
149588
+ "pageIdentity": "za6_jG_pageIdentity",
149589
+ "spinning": "za6_jG_spinning",
149597
149590
  "taskProgress": "za6_jG_taskProgress",
149598
- "button": "za6_jG_button",
149591
+ "resultPlaceholder": "za6_jG_resultPlaceholder",
149592
+ "runList": "za6_jG_runList",
149599
149593
  "profileChoice": "za6_jG_profileChoice",
149594
+ "tableScroll": "za6_jG_tableScroll",
149595
+ "modelGroups": "za6_jG_modelGroups",
149596
+ "runId": "za6_jG_runId",
149597
+ "benchmarkOutput": "za6_jG_benchmarkOutput",
149598
+ "benchmarkOutputList": "za6_jG_benchmarkOutputList",
149599
+ "benchmarkCellStack": "za6_jG_benchmarkCellStack",
149600
+ "benchmarkPhases": "za6_jG_benchmarkPhases",
149600
149601
  "advancedInputs": "za6_jG_advancedInputs",
149601
- "launchBar": "za6_jG_launchBar",
149602
- "advanced": "za6_jG_advanced",
149603
- "metadataSection": "za6_jG_metadataSection",
149604
- "benchmarkTable": "za6_jG_benchmarkTable",
149602
+ "benchmarkProvenance": "za6_jG_benchmarkProvenance",
149605
149603
  "benchmarkSplit": "za6_jG_benchmarkSplit",
149606
- "executionRecord": "za6_jG_executionRecord",
149607
- "tableScroll": "za6_jG_tableScroll",
149608
- "body": "za6_jG_body",
149609
- "runHeading": "za6_jG_runHeading",
149604
+ "benchmarkResults": "za6_jG_benchmarkResults",
149605
+ "benchmarkSection": "za6_jG_benchmarkSection",
149610
149606
  "workload": "za6_jG_workload",
149611
- "configFields": "za6_jG_configFields",
149612
- "benchmarkOutputList": "za6_jG_benchmarkOutputList",
149613
- "benchmarkLegacy": "za6_jG_benchmarkLegacy",
149607
+ "scopeHint": "za6_jG_scopeHint",
149608
+ "benchmarkInputs": "za6_jG_benchmarkInputs",
149609
+ "runHeading": "za6_jG_runHeading",
149610
+ "benchmarkProfiles": "za6_jG_benchmarkProfiles",
149611
+ "button": "za6_jG_button",
149612
+ "benchmark": "za6_jG_benchmark",
149613
+ "benchmarkRun": "za6_jG_benchmarkRun",
149614
+ "benchmarkCost": "za6_jG_benchmarkCost",
149614
149615
  "benchmarkSources": "za6_jG_benchmarkSources",
149615
- "pageHeader": "za6_jG_pageHeader",
149616
+ "primaryButton": "za6_jG_primaryButton",
149617
+ "count": "za6_jG_count",
149618
+ "pipelineHeading": "za6_jG_pipelineHeading",
149619
+ "historyHeading": "za6_jG_historyHeading",
149616
149620
  "benchmarkRuns": "za6_jG_benchmarkRuns",
149617
- "benchmarkError": "za6_jG_benchmarkError",
149618
- "pipeline": "za6_jG_pipeline"
149621
+ "benchmarkControls": "za6_jG_benchmarkControls",
149622
+ "pageIcon": "za6_jG_pageIcon"
149619
149623
  };
149620
149624
  //#endregion
149621
149625
  //#region src/client/benchmark-options.ts
@@ -151275,6 +151279,8 @@ window.__ModuleLoader__.load({
151275
151279
  model: "",
151276
151280
  base_url: "",
151277
151281
  api_format: "chat",
151282
+ auth_source: "api_key",
151283
+ workspace_id: "",
151278
151284
  context_tokens: "64000",
151279
151285
  max_output_tokens: "24000",
151280
151286
  temperature: "0.7",
@@ -151295,6 +151301,22 @@ window.__ModuleLoader__.load({
151295
151301
  last_test: null,
151296
151302
  api_key: ""
151297
151303
  });
151304
+ const normalizeEmbeddingProvider = (value) => {
151305
+ const provider = (value || "openai").trim().toLowerCase().replaceAll("_", "-");
151306
+ if ([
151307
+ "cloud",
151308
+ "openai-compatible",
151309
+ "openai-compatible-api"
151310
+ ].includes(provider)) return "openai";
151311
+ if (["fastembed", "on-device"].includes(provider)) return "local";
151312
+ return provider;
151313
+ };
151314
+ const localEmbeddingPreset = {
151315
+ model: "BAAI/bge-small-zh-v1.5",
151316
+ dimension: "512",
151317
+ max_tokens: "512",
151318
+ base_url: ""
151319
+ };
151298
151320
  const newEmbeddingDraft = () => ({
151299
151321
  ...emptyEmbedding(),
151300
151322
  id: `embedding-${Date.now().toString(36)}`,
@@ -151303,6 +151325,15 @@ window.__ModuleLoader__.load({
151303
151325
  const snapshot = (value) => JSON.stringify(value);
151304
151326
  const embeddingSnapshot = ({ configured: _configured, active: _active, last_test: _test, ...fields }) => snapshot(fields);
151305
151327
  const errorText$1 = (cause) => cause instanceof StudioApiError && cause.code ? `${cause.code}: ${cause.message}` : cause instanceof Error ? cause.message : String(cause);
151328
+ const testErrorText = (cause, t) => {
151329
+ const base = errorText$1(cause);
151330
+ if (!(cause instanceof StudioApiError)) return base;
151331
+ switch (cause.code) {
151332
+ case "MODEL_TEST_INVALID_RESPONSE": return `${base} ${t("models.test.invalidResponseHint")}`;
151333
+ case "MODEL_TEST_UNSUPPORTED_PARAMETER": return `${base} ${t("models.test.unsupportedHint")}`;
151334
+ default: return base;
151335
+ }
151336
+ };
151306
151337
  const marker = (t, record, busy) => {
151307
151338
  if (busy) return t("models.test.loading");
151308
151339
  if (!record) return t("models.test.untested");
@@ -151410,6 +151441,8 @@ window.__ModuleLoader__.load({
151410
151441
  model: p.model,
151411
151442
  base_url: p.base_url,
151412
151443
  api_format: p.api_format || "chat",
151444
+ auth_source: p.auth_source || "api_key",
151445
+ workspace_id: p.workspace_id || "",
151413
151446
  context_tokens: String(p.context_tokens),
151414
151447
  max_output_tokens: String(p.max_output_tokens),
151415
151448
  temperature: String(p.temperature),
@@ -151458,7 +151491,7 @@ window.__ModuleLoader__.load({
151458
151491
  return {
151459
151492
  id: asText$2(x.id),
151460
151493
  label: asText$2(x.label),
151461
- provider: asText$2(x.provider) || "openai",
151494
+ provider: normalizeEmbeddingProvider(asText$2(x.provider)),
151462
151495
  model: asText$2(x.model),
151463
151496
  base_url: asText$2(x.base_url),
151464
151497
  dimension: String(asInteger(x.dimension, 1536)),
@@ -151575,6 +151608,13 @@ window.__ModuleLoader__.load({
151575
151608
  [key]: value
151576
151609
  }));
151577
151610
  };
151611
+ const applyLocalEmbeddingPreset = () => {
151612
+ discardedSections.current.delete("embedding");
151613
+ setEmbedding((current) => ({
151614
+ ...current,
151615
+ ...localEmbeddingPreset
151616
+ }));
151617
+ };
151578
151618
  const validationError = (message) => {
151579
151619
  setNotice({
151580
151620
  text: t(message),
@@ -151604,7 +151644,7 @@ window.__ModuleLoader__.load({
151604
151644
  temperature: Number(form.temperature),
151605
151645
  timeout_seconds: Number(form.timeout_seconds)
151606
151646
  };
151607
- if (!form.api_key) delete payload.api_key;
151647
+ if (!form.api_key || form.auth_source === "opencode_console") delete payload.api_key;
151608
151648
  await postStudioApi("/model/profiles", payload);
151609
151649
  clearSavedDraft(memoryKey, "chat", snapshot(form));
151610
151650
  discardedSections.current.add("chat");
@@ -151644,6 +151684,7 @@ window.__ModuleLoader__.load({
151644
151684
  embedding.label,
151645
151685
  embedding.model
151646
151686
  ].every((value) => value.trim())) return validationError("models.validation.required");
151687
+ if (!["openai", "local"].includes(embedding.provider)) return validationError("models.validation.embeddingProvider");
151647
151688
  if (![embedding.dimension, embedding.max_tokens].every(positiveInteger)) return validationError("models.validation.positive");
151648
151689
  setBusy("embedding-save");
151649
151690
  const finishSave = trackModelSave(memoryKey, "embedding");
@@ -151653,12 +151694,12 @@ window.__ModuleLoader__.load({
151653
151694
  label: embedding.label.trim(),
151654
151695
  provider: embedding.provider,
151655
151696
  model: embedding.model.trim(),
151656
- base_url: embedding.base_url,
151697
+ base_url: embedding.provider === "local" ? "" : embedding.base_url,
151657
151698
  dimension: Number(embedding.dimension),
151658
151699
  max_tokens: Number(embedding.max_tokens),
151659
151700
  remember_api_key: true
151660
151701
  };
151661
- if (embedding.api_key) payload.api_key = embedding.api_key;
151702
+ if (embedding.provider === "openai" && embedding.api_key) payload.api_key = embedding.api_key;
151662
151703
  await postStudioApi("/model/embedding", payload);
151663
151704
  clearSavedDraft(memoryKey, "embedding", snapshot(embedding));
151664
151705
  discardedSections.current.add("embedding");
@@ -151707,20 +151748,21 @@ window.__ModuleLoader__.load({
151707
151748
  label: embedding.label,
151708
151749
  provider: embedding.provider,
151709
151750
  model: embedding.model,
151710
- base_url: embedding.base_url,
151751
+ base_url: embedding.provider === "local" ? "" : embedding.base_url,
151711
151752
  dimension: Number(embedding.dimension),
151712
151753
  max_tokens: Number(embedding.max_tokens),
151713
- api_key: embedding.api_key
151754
+ api_key: embedding.provider === "openai" ? embedding.api_key : ""
151714
151755
  };
151715
- if (!target.api_key) delete target.api_key;
151756
+ if (!target.api_key || kind === "chat" && form.auth_source === "opencode_console") delete target.api_key;
151716
151757
  const result = parseConnectionTestResult(await postStudioApi(kind === "chat" ? "/model/test" : "/model/embedding/test", target));
151758
+ const vectorInfo = kind === "embedding" && result.dimension !== null ? ` · ${t("models.vectorDimension")}: ${Math.round(result.dimension)}` + (result.vectors !== null ? ` · ${t("models.vectorCount")}: ${Math.round(result.vectors)}` : "") : "";
151717
151759
  outcome = {
151718
- text: `${kind === "chat" ? t("models.chatOk") : t("models.embeddingOk")} · ${result.latency_ms === null ? "—" : `${Math.round(result.latency_ms)} ms`}`,
151760
+ text: `${kind === "chat" ? t("models.chatOk") : t("models.embeddingOk")} · ${result.latency_ms === null ? "—" : `${Math.round(result.latency_ms)} ms`}${vectorInfo}`,
151719
151761
  bad: false
151720
151762
  };
151721
151763
  } catch (cause) {
151722
151764
  outcome = {
151723
- text: errorText$1(cause),
151765
+ text: testErrorText(cause, t),
151724
151766
  bad: true
151725
151767
  };
151726
151768
  }
@@ -152011,6 +152053,7 @@ window.__ModuleLoader__.load({
152011
152053
  })] }),
152012
152054
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.provider"), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
152013
152055
  value: form.provider,
152056
+ disabled: form.auth_source === "opencode_console",
152014
152057
  onChange: (e) => setField("provider", e.target.value),
152015
152058
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
152016
152059
  value: "openai",
@@ -152038,10 +152081,12 @@ window.__ModuleLoader__.load({
152038
152081
  children: [
152039
152082
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.baseUrl"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152040
152083
  value: form.base_url,
152084
+ disabled: form.auth_source === "opencode_console",
152041
152085
  onChange: (e) => setField("base_url", e.target.value)
152042
152086
  })] }),
152043
152087
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.apiFormat"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152044
152088
  value: form.api_format,
152089
+ disabled: form.auth_source === "opencode_console",
152045
152090
  onChange: (e) => setField("api_format", e.target.value)
152046
152091
  })] }),
152047
152092
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.timeout"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
@@ -152088,7 +152133,34 @@ window.__ModuleLoader__.load({
152088
152133
  className: views_module_css_default.modelGroupTitle,
152089
152134
  children: t("models.group.credentials")
152090
152135
  }),
152091
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152136
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.authSource"), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
152137
+ "aria-label": t("models.authSource"),
152138
+ value: form.auth_source,
152139
+ onChange: (e) => {
152140
+ const source = e.target.value;
152141
+ discardedSections.current.delete("chat");
152142
+ setForm((current) => source === "opencode_console" ? {
152143
+ ...current,
152144
+ auth_source: source,
152145
+ provider: "openai",
152146
+ api_format: "chat",
152147
+ base_url: "https://opencode.ai/inference/go/openai/v1",
152148
+ model: "deepseek-v4.1-flash",
152149
+ api_key: ""
152150
+ } : {
152151
+ ...current,
152152
+ auth_source: source
152153
+ });
152154
+ },
152155
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
152156
+ value: "api_key",
152157
+ children: t("models.authApiKey")
152158
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
152159
+ value: "opencode_console",
152160
+ children: t("models.authConsole")
152161
+ })]
152162
+ })] }),
152163
+ form.auth_source === "opencode_console" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", { children: t("models.consoleHint") }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152092
152164
  className: views_module_css_default.modelApiKeyInput,
152093
152165
  type: "password",
152094
152166
  "aria-label": t("models.group.credentials"),
@@ -152096,15 +152168,23 @@ window.__ModuleLoader__.load({
152096
152168
  value: form.api_key,
152097
152169
  onChange: (e) => setField("api_key", e.target.value),
152098
152170
  placeholder: t("models.credentialHint")
152099
- }),
152100
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
152171
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
152101
152172
  className: views_module_css_default.modelCheckbox,
152102
152173
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152103
152174
  type: "checkbox",
152104
152175
  checked: form.remember_api_key,
152105
152176
  onChange: (e) => setField("remember_api_key", e.target.checked)
152106
152177
  }), t("models.remember")]
152107
- })
152178
+ })] }),
152179
+ form.base_url.startsWith("https://opencode.ai/") && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [
152180
+ t("models.goWorkspace"),
152181
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152182
+ "aria-label": t("models.goWorkspace"),
152183
+ value: form.workspace_id,
152184
+ onChange: (e) => setField("workspace_id", e.target.value)
152185
+ }),
152186
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("models.goWorkspaceHint") })
152187
+ ] })
152108
152188
  ]
152109
152189
  }),
152110
152190
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("fieldset", {
@@ -152334,63 +152414,113 @@ window.__ModuleLoader__.load({
152334
152414
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("fieldset", {
152335
152415
  className: views_module_css_default.modelGroup,
152336
152416
  disabled: !!busy,
152337
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("legend", {
152338
- className: views_module_css_default.modelGroupTitle,
152339
- children: t("models.group.connection")
152340
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
152341
- className: views_module_css_default.modelFormGrid,
152342
- children: [
152343
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.embeddingProvider"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152344
- value: embedding.provider,
152345
- onChange: (e) => setEmbed("provider", e.target.value)
152346
- })] }),
152347
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.embeddingModel"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152348
- value: embedding.model,
152349
- onChange: (e) => setEmbed("model", e.target.value)
152350
- })] }),
152351
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.embeddingBaseUrl"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152352
- value: embedding.base_url,
152353
- onChange: (e) => setEmbed("base_url", e.target.value)
152354
- })] })
152355
- ]
152356
- })]
152417
+ children: [
152418
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("legend", {
152419
+ className: views_module_css_default.modelGroupTitle,
152420
+ children: t("models.group.connection")
152421
+ }),
152422
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
152423
+ className: views_module_css_default.modelFormGrid,
152424
+ children: [
152425
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.embeddingProvider"), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("select", {
152426
+ value: embedding.provider,
152427
+ onChange: (e) => setEmbed("provider", e.target.value),
152428
+ children: [
152429
+ !["openai", "local"].includes(embedding.provider) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("option", {
152430
+ value: embedding.provider,
152431
+ disabled: true,
152432
+ children: [
152433
+ t("models.embeddingProviderUnknown"),
152434
+ ": ",
152435
+ embedding.provider
152436
+ ]
152437
+ }),
152438
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
152439
+ value: "openai",
152440
+ children: t("models.embeddingProviderOpenai")
152441
+ }),
152442
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
152443
+ value: "local",
152444
+ children: t("models.embeddingProviderLocal")
152445
+ })
152446
+ ]
152447
+ })] }),
152448
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.embeddingModel"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152449
+ value: embedding.model,
152450
+ onChange: (e) => setEmbed("model", e.target.value)
152451
+ })] }),
152452
+ embedding.provider === "openai" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.embeddingBaseUrl"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152453
+ value: embedding.base_url,
152454
+ onChange: (e) => setEmbed("base_url", e.target.value)
152455
+ })] })
152456
+ ]
152457
+ }),
152458
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
152459
+ className: views_module_css_default.modelHint,
152460
+ children: t(embedding.provider === "local" ? "models.embeddingProviderLocalHint" : "models.embeddingProviderOpenaiHint")
152461
+ }),
152462
+ embedding.provider === "local" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
152463
+ type: "button",
152464
+ className: views_module_css_default.button,
152465
+ onClick: applyLocalEmbeddingPreset,
152466
+ children: t("models.embeddingLocalPreset")
152467
+ })
152468
+ ]
152357
152469
  }),
152358
152470
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("fieldset", {
152359
152471
  className: views_module_css_default.modelGroup,
152360
152472
  disabled: !!busy,
152361
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("legend", {
152362
- className: views_module_css_default.modelGroupTitle,
152363
- children: "Vector parameters"
152364
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
152365
- className: views_module_css_default.modelFormGrid,
152366
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: ["Dimension", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152367
- type: "number",
152368
- value: embedding.dimension,
152369
- onChange: (e) => setEmbed("dimension", e.target.value)
152370
- })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: ["Max tokens", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152371
- type: "number",
152372
- value: embedding.max_tokens,
152373
- onChange: (e) => setEmbed("max_tokens", e.target.value)
152374
- })] })]
152375
- })]
152473
+ children: [
152474
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("legend", {
152475
+ className: views_module_css_default.modelGroupTitle,
152476
+ children: t("models.vectorParameters")
152477
+ }),
152478
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
152479
+ className: views_module_css_default.modelFormGrid,
152480
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.vectorDimension"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152481
+ type: "number",
152482
+ min: "1",
152483
+ step: "1",
152484
+ value: embedding.dimension,
152485
+ onChange: (e) => setEmbed("dimension", e.target.value)
152486
+ })] }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", { children: [t("models.vectorMaxTokens"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152487
+ type: "number",
152488
+ min: "1",
152489
+ step: "1",
152490
+ value: embedding.max_tokens,
152491
+ onChange: (e) => setEmbed("max_tokens", e.target.value)
152492
+ })] })]
152493
+ }),
152494
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
152495
+ className: views_module_css_default.modelHint,
152496
+ children: t(embedding.provider === "local" ? "models.vectorDimensionsLocalHint" : "models.vectorDimensionsHint")
152497
+ })
152498
+ ]
152376
152499
  }),
152377
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("fieldset", {
152500
+ embedding.provider === "openai" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("fieldset", {
152378
152501
  className: views_module_css_default.modelGroup,
152379
152502
  disabled: !!busy,
152380
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("legend", {
152381
- className: views_module_css_default.modelGroupTitle,
152382
- children: t("models.group.credentials")
152383
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
152384
- className: views_module_css_default.modelFormGrid,
152385
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152386
- className: views_module_css_default.modelApiKeyInput,
152387
- type: "password",
152388
- "aria-label": t("models.group.credentials"),
152389
- autoComplete: "new-password",
152390
- value: embedding.api_key,
152391
- onChange: (e) => setEmbed("api_key", e.target.value)
152503
+ children: [
152504
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("legend", {
152505
+ className: views_module_css_default.modelGroupTitle,
152506
+ children: t("models.group.credentials")
152507
+ }),
152508
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
152509
+ className: views_module_css_default.modelFormGrid,
152510
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
152511
+ className: views_module_css_default.modelApiKeyInput,
152512
+ type: "password",
152513
+ "aria-label": t("models.group.credentials"),
152514
+ autoComplete: "new-password",
152515
+ value: embedding.api_key,
152516
+ onChange: (e) => setEmbed("api_key", e.target.value)
152517
+ })
152518
+ }),
152519
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
152520
+ className: views_module_css_default.modelHint,
152521
+ children: t("models.credentialHint")
152392
152522
  })
152393
- })]
152523
+ ]
152394
152524
  }),
152395
152525
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
152396
152526
  className: views_module_css_default.modelTestRow,
@@ -154043,14 +154173,14 @@ window.__ModuleLoader__.load({
154043
154173
  document.head.appendChild(tag);
154044
154174
  }
154045
154175
  var SerialWritingView_module_css_default = {
154176
+ "controls": "lkYR5a_controls",
154046
154177
  "error": "lkYR5a_error",
154178
+ "overlap": "lkYR5a_overlap",
154179
+ "notice": "lkYR5a_notice",
154047
154180
  "scroll": "lkYR5a_scroll",
154048
154181
  "facts": "lkYR5a_facts",
154049
- "controls": "lkYR5a_controls",
154050
154182
  "root": "lkYR5a_root",
154051
- "warning": "lkYR5a_warning",
154052
- "notice": "lkYR5a_notice",
154053
- "overlap": "lkYR5a_overlap"
154183
+ "warning": "lkYR5a_warning"
154054
154184
  };
154055
154185
  //#endregion
154056
154186
  //#region src/client/SerialWritingView.tsx
@@ -155651,16 +155781,16 @@ window.__ModuleLoader__.load({
155651
155781
  document.head.appendChild(tag);
155652
155782
  }
155653
155783
  var DomainToolCard_module_css_default = {
155784
+ "family": "Pzee0G_family",
155785
+ "summary": "Pzee0G_summary",
155654
155786
  "body": "Pzee0G_body",
155655
- "chevron": "Pzee0G_chevron",
155787
+ "row": "Pzee0G_row",
155656
155788
  "action": "Pzee0G_action",
155657
155789
  "head": "Pzee0G_head",
155658
- "toolName": "Pzee0G_toolName",
155659
155790
  "card": "Pzee0G_card",
155660
- "row": "Pzee0G_row",
155661
- "family": "Pzee0G_family",
155791
+ "chevron": "Pzee0G_chevron",
155662
155792
  "spin": "Pzee0G_spin",
155663
- "summary": "Pzee0G_summary"
155793
+ "toolName": "Pzee0G_toolName"
155664
155794
  };
155665
155795
  //#endregion
155666
155796
  //#region src/client/DomainToolCard.tsx
@@ -156879,13 +157009,33 @@ window.__ModuleLoader__.load({
156879
157009
  "models.output": "输出 Token",
156880
157010
  "models.credential": "Chat",
156881
157011
  "models.embeddingProvider": "Embedding 协议适配器",
157012
+ "models.embeddingProviderOpenai": "OpenAI 兼容 API(云端)",
157013
+ "models.embeddingProviderLocal": "FastEmbed(本地)",
157014
+ "models.embeddingProviderUnknown": "未知适配器",
157015
+ "models.embeddingProviderOpenaiHint": "适用于 Gitee AI、OpenAI 及兼容 /embeddings 接口的服务,需要 Base URL 和 API Key。",
157016
+ "models.embeddingProviderLocalHint": "在本机运行 FastEmbed 模型,不需要 Base URL 或 API Key。切换适配器不会自动覆盖模型及向量参数。",
157017
+ "models.embeddingLocalPreset": "使用本地 FastEmbed 推荐参数(BGE-small,512 维)",
157018
+ "models.vectorDimensionsLocalHint": "本地 FastEmbed 输出固定维度,请根据实际模型配置。修改已有索引的维度后需要重新向量化。",
156882
157019
  "models.embeddingModel": "Embedding Model ID",
156883
157020
  "models.embeddingCredential": "Embedding",
156884
157021
  "models.credentialHint": "留空保持已有 API Key",
157022
+ "models.authSource": "认证方式",
157023
+ "models.authApiKey": "API Key",
157024
+ "models.authConsole": "本机 OpenCode Console(Go)",
157025
+ "models.consoleHint": "先在 Studio 所在电脑完成 OpenCode Console CLI 登录(opencode console login)。凭据按请求读取并由 CLI 自动续期,工作区信息自动携带;远程 Studio 需要在远程电脑登录。",
157026
+ "models.goWorkspace": "Go 工作区 ID(可选)",
157027
+ "models.goWorkspaceHint": "Console 模式留空跟随 CLI 当前工作区;填写后只允许该工作区。账户级 API Key 可在此填写所属工作区 ID。",
156885
157028
  "models.remember": "本次保存时记住新输入的 API Key(仅写不可读)",
156886
157029
  "models.save": "保存档案",
156887
157030
  "models.chatTest": "聊天测试",
156888
157031
  "models.embeddingTest": "Embedding 测试",
157032
+ "models.vectorParameters": "向量参数",
157033
+ "models.vectorDimension": "向量维度",
157034
+ "models.vectorMaxTokens": "文本 Token 上限",
157035
+ "models.vectorCount": "返回向量数",
157036
+ "models.vectorDimensionsHint": "云端模型会请求指定 dimensions 维度;不支持该参数的服务商将回退到默认维度,并检查实际返回是否匹配。修改维度后需要重新构建已有向量索引。",
157037
+ "models.test.invalidResponseHint": "请核对实际维度、响应向量数量以及服务商对 dimensions 参数的支持情况。",
157038
+ "models.test.unsupportedHint": "请检查服务商支持的模型参数和请求格式。",
156889
157039
  "models.delete": "删除档案",
156890
157040
  "models.delete.confirm": "确认删除",
156891
157041
  "models.delete.blocked": "删除受阻",
@@ -156918,6 +157068,7 @@ window.__ModuleLoader__.load({
156918
157068
  "models.validation.required": "必填项缺失:档案 ID、档案名、真实 Model ID。",
156919
157069
  "models.validation.positive": "数值字段必须为合法正数。",
156920
157070
  "models.validation.temperature": "温度必须在 0 到 2 之间。",
157071
+ "models.validation.embeddingProvider": "Embedding 协议适配器无效,请从下拉框选择支持的类型。",
156921
157072
  "models.unsavedChanges": "当前档案有未保存的修改。",
156922
157073
  "models.unsavedDiscard": "放弃修改",
156923
157074
  "models.unsavedKeep": "继续编辑",
@@ -158057,13 +158208,33 @@ window.__ModuleLoader__.load({
158057
158208
  "models.output": "Output tokens",
158058
158209
  "models.credential": "Chat",
158059
158210
  "models.embeddingProvider": "Embedding protocol adapter",
158211
+ "models.embeddingProviderOpenai": "OpenAI-compatible API (cloud)",
158212
+ "models.embeddingProviderLocal": "FastEmbed (local)",
158213
+ "models.embeddingProviderUnknown": "Unknown adapter",
158214
+ "models.embeddingProviderOpenaiHint": "For Gitee AI, OpenAI, and other compatible /embeddings endpoints. Requires a base URL and API key.",
158215
+ "models.embeddingProviderLocalHint": "Runs FastEmbed on this machine, without a base URL or API key. Switching providers does not automatically replace model or vector settings.",
158216
+ "models.embeddingLocalPreset": "Use recommended local FastEmbed preset (BGE-small, 512 dimensions)",
158217
+ "models.vectorDimensionsLocalHint": "Local FastEmbed models return fixed-size vectors. Match the dimensions to the actual model and rebuild existing vector indexes after changing them.",
158060
158218
  "models.embeddingModel": "Embedding model ID",
158061
158219
  "models.embeddingCredential": "Embedding",
158062
158220
  "models.credentialHint": "Leave blank to keep the stored API Key",
158221
+ "models.authSource": "Authentication",
158222
+ "models.authApiKey": "API Key",
158223
+ "models.authConsole": "Local OpenCode Console (Go)",
158224
+ "models.consoleHint": "Sign in with the official OpenCode Console CLI on the Studio machine (opencode console login). Credentials are resolved per request and refreshed by the CLI; workspace headers are included automatically. Remote Studio requires a login on that remote machine.",
158225
+ "models.goWorkspace": "Go workspace ID (optional)",
158226
+ "models.goWorkspaceHint": "Leave blank in Console mode to follow the active CLI workspace, or pin a workspace here. Account-level API keys can also specify their workspace ID.",
158063
158227
  "models.remember": "Remember the newly entered API Key on this save (write-only)",
158064
158228
  "models.save": "Save profile",
158065
158229
  "models.chatTest": "Chat test",
158066
158230
  "models.embeddingTest": "Embedding test",
158231
+ "models.vectorParameters": "Vector parameters",
158232
+ "models.vectorDimension": "Vector dimensions",
158233
+ "models.vectorMaxTokens": "Text token limit",
158234
+ "models.vectorCount": "Returned vectors",
158235
+ "models.vectorDimensionsHint": "Cloud models request the configured dimensions. Providers rejecting this field fall back to their native vector size, which is still checked. Rebuild existing vector indexes when changing dimensions.",
158236
+ "models.test.invalidResponseHint": "Check the actual dimensions, vector count and provider support for the dimensions parameter.",
158237
+ "models.test.unsupportedHint": "Check the provider-supported model parameters and request format.",
158067
158238
  "models.delete": "Delete profile",
158068
158239
  "models.delete.confirm": "Confirm delete",
158069
158240
  "models.delete.blocked": "Deletion blocked",
@@ -158096,6 +158267,7 @@ window.__ModuleLoader__.load({
158096
158267
  "models.validation.required": "Missing required fields: profile ID, name, real model ID.",
158097
158268
  "models.validation.positive": "Numeric fields must be valid positive numbers.",
158098
158269
  "models.validation.temperature": "Temperature must be between 0 and 2.",
158270
+ "models.validation.embeddingProvider": "Invalid embedding adapter. Select a supported option from the list.",
158099
158271
  "models.unsavedChanges": "This profile has unsaved changes.",
158100
158272
  "models.unsavedDiscard": "Discard changes",
158101
158273
  "models.unsavedKeep": "Keep editing",
@@ -158198,31 +158370,31 @@ window.__ModuleLoader__.load({
158198
158370
  document.head.appendChild(tag);
158199
158371
  }
158200
158372
  var ReviewCard_module_css_default = {
158373
+ "rawTitle": "InxF9G_rawTitle",
158201
158374
  "card": "InxF9G_card",
158202
- "issueGroupTitle": "InxF9G_issueGroupTitle",
158203
- "title": "InxF9G_title",
158204
- "issue": "InxF9G_issue",
158205
- "verdictRow": "InxF9G_verdictRow",
158206
158375
  "rawJson": "InxF9G_rawJson",
158207
- "issueGroup": "InxF9G_issueGroup",
158208
- "issueSummary": "InxF9G_issueSummary",
158209
- "verdict": "InxF9G_verdict",
158210
- "dimension": "InxF9G_dimension",
158211
- "quote": "InxF9G_quote",
158212
- "priority": "InxF9G_priority",
158376
+ "suggestion": "InxF9G_suggestion",
158213
158377
  "summary": "InxF9G_summary",
158214
- "sep": "InxF9G_sep",
158215
- "issueCount": "InxF9G_issueCount",
158378
+ "verdict": "InxF9G_verdict",
158379
+ "metric": "InxF9G_metric",
158380
+ "issue": "InxF9G_issue",
158216
158381
  "reportSummary": "InxF9G_reportSummary",
158217
158382
  "root": "InxF9G_root",
158218
- "score": "InxF9G_score",
158383
+ "title": "InxF9G_title",
158384
+ "bodyWrap": "InxF9G_bodyWrap",
158219
158385
  "suggestionLabel": "InxF9G_suggestionLabel",
158220
- "rawTitle": "InxF9G_rawTitle",
158386
+ "priority": "InxF9G_priority",
158387
+ "issueSummary": "InxF9G_issueSummary",
158388
+ "dimension": "InxF9G_dimension",
158389
+ "issueGroupTitle": "InxF9G_issueGroupTitle",
158390
+ "issueCount": "InxF9G_issueCount",
158391
+ "verdictRow": "InxF9G_verdictRow",
158392
+ "score": "InxF9G_score",
158393
+ "severity": "InxF9G_severity",
158394
+ "quote": "InxF9G_quote",
158395
+ "issueGroup": "InxF9G_issueGroup",
158221
158396
  "issueHead": "InxF9G_issueHead",
158222
- "bodyWrap": "InxF9G_bodyWrap",
158223
- "metric": "InxF9G_metric",
158224
- "suggestion": "InxF9G_suggestion",
158225
- "severity": "InxF9G_severity"
158397
+ "sep": "InxF9G_sep"
158226
158398
  };
158227
158399
  //#endregion
158228
158400
  //#region src/client/ReviewCard.tsx
@@ -159141,7 +159313,7 @@ window.__ModuleLoader__.load({
159141
159313
  pickDirectory: pickDirectoryCompat,
159142
159314
  connectWorkspace: async (id) => {
159143
159315
  const sessionId = await ctx.uiWorkspace.connectWorkspace(id);
159144
- const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-25");
159316
+ const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-27");
159145
159317
  if (!result.ok) throw new Error(result.error.message);
159146
159318
  return sessionId;
159147
159319
  },
@@ -159184,7 +159356,7 @@ window.__ModuleLoader__.load({
159184
159356
  if (selected === null) return false;
159185
159357
  const workspace = await ctx.workspaces.create({ path: selected });
159186
159358
  const sessionId = await ctx.sessions.create({ workspaceId: workspace.workspaceId });
159187
- const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-25");
159359
+ const result = await ctx.remote.agentPresets.select(sessionId, "openwrite-0-2-27");
159188
159360
  if (!result.ok) throw new Error(result.error.message);
159189
159361
  workspaceServices.openSession(sessionId);
159190
159362
  return true;