@yugoo-design/dsh-design-provider-web-app 0.2.8 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +86 -14
- package/licenses/dsh-distribution.json +132 -132
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -94966,7 +94966,7 @@ window.__ModuleLoader__.load({
|
|
|
94966
94966
|
Modeler.prototype._modules = [].concat(Viewer.prototype._modules, Modeler.prototype._interactionModules, Modeler.prototype._modelingModules);
|
|
94967
94967
|
}));
|
|
94968
94968
|
//#endregion
|
|
94969
|
-
//#region ../panel/lib/question-list-
|
|
94969
|
+
//#region ../panel/lib/question-list-Dye9sbeQ.js
|
|
94970
94970
|
/** Ordinary multiline inputs fit their content up to five lines. A native
|
|
94971
94971
|
* manual resize belongs to the user and survives subsequent value updates. */
|
|
94972
94972
|
const PanelTextarea = (0, react$1.forwardRef)(function PanelTextarea({ className, value, defaultValue, onInput, rows = 5, ...props }, forwardedRef) {
|
|
@@ -95545,6 +95545,15 @@ window.__ModuleLoader__.load({
|
|
|
95545
95545
|
reviewSettingsTitle: "GRA 评审设置",
|
|
95546
95546
|
reviewSettingsScope: "仅对当前项目生效,保存后应用。",
|
|
95547
95547
|
reviewSettingsClose: "关闭评审设置",
|
|
95548
|
+
reviewSaveFailed: "设置保存失败,当前选择已保留。请重试保存。",
|
|
95549
|
+
reviewDepth: "评审深度",
|
|
95550
|
+
reviewDepthLight: "轻量",
|
|
95551
|
+
reviewDepthStandard: "标准",
|
|
95552
|
+
reviewDepthThorough: "深入",
|
|
95553
|
+
reviewDepthLightHint: "聚焦当前任务及其中最重要的问题。",
|
|
95554
|
+
reviewDepthStandardHint: "检查当前任务及直接相关的设计决策。",
|
|
95555
|
+
reviewDepthThoroughHint: "检查更广泛的设计一致性、依赖关系和重要例外。",
|
|
95556
|
+
reviewDepthCostHint: "保存后应用于后续评审;“保存并检查”同时按保存后的设置请求评审。深入评审通常消耗更多 token;这不是固定的 token 预算。",
|
|
95548
95557
|
reviewMode: "评审模式",
|
|
95549
95558
|
reviewModeContinuous: "持续(定时重新检查)",
|
|
95550
95559
|
reviewModeAuto: "自动(AI + 发布规则)",
|
|
@@ -95558,9 +95567,19 @@ window.__ModuleLoader__.load({
|
|
|
95558
95567
|
reviewSettingsSaved: "设置已保存并生效。",
|
|
95559
95568
|
reviewSaving: "保存中…",
|
|
95560
95569
|
reviewSave: "保存设置",
|
|
95570
|
+
reviewQueued: "检查已排队,可在评审列表查看进度。",
|
|
95571
|
+
reviewAlreadyRequested: "检查已发起,可在评审列表查看进度。",
|
|
95572
|
+
reviewAlreadyCompleted: "本次检查已完成,可在评审列表查看结果。",
|
|
95573
|
+
reviewRequestUnconfirmed: "暂时无法确认检查请求是否已收到。设置不变时,重试会核对同一个请求。",
|
|
95574
|
+
reviewNeedsProject: "请先打开设计项目,再发起检查。",
|
|
95575
|
+
reviewNeedsSavedDesign: "请先保存设计内容,再发起检查。",
|
|
95576
|
+
reviewNotConfigured: "当前 Kit 未配置评审。",
|
|
95577
|
+
reviewUnavailable: "当前宿主无法在后台评审。可在对话中请 Agent 检查设计。",
|
|
95578
|
+
reviewTargetChanged: "项目或设计已变化,请核对当前项目后重试。",
|
|
95579
|
+
reviewRequestRejected: "暂时无法启动检查,请在对话中查看评审状态后重试。",
|
|
95561
95580
|
reviewRequestSent: "手动检查请求已发送,请在原对话查看执行状态。",
|
|
95562
|
-
reviewSending: "
|
|
95563
|
-
reviewCheck: "
|
|
95581
|
+
reviewSending: "保存并发送请求中…",
|
|
95582
|
+
reviewCheck: "保存并检查",
|
|
95564
95583
|
reviewLoading: "正在读取设置…",
|
|
95565
95584
|
reviewRequestPrompt: "用户明确要求对当前已发布设计手动执行 GRA 检查,requestId={requestId}。先读取当前能力与评审策略;可用且不占用主对话时,使用 design_recheck_reviews 正常后台执行,不等待完成。后台不可用或会占用主对话时,先询问用户是否关闭自动 GRA(保留手动检查),或确认本次在主对话同步检查;只有明确确认同步后,才使用 executionMode=\"foreground\"。未经用户选择不改变评审策略、不自动同步运行。",
|
|
95566
95585
|
graphCameraControls: "画布控件",
|
|
@@ -95797,7 +95816,24 @@ window.__ModuleLoader__.load({
|
|
|
95797
95816
|
knowledgeGraphLifecycleRejected: "已拒绝",
|
|
95798
95817
|
knowledgeGraphLifecycleSuperseded: "已被替代",
|
|
95799
95818
|
knowledgeGraphLifecycleUnknown: "状态未知",
|
|
95800
|
-
knowledgeGraphOriginalRelations: "{meaning} · {count} 条原始关系"
|
|
95819
|
+
knowledgeGraphOriginalRelations: "{meaning} · {count} 条原始关系",
|
|
95820
|
+
docLifecycleAction: "动作",
|
|
95821
|
+
docLifecycleRenameAxis: "重命名状态轴 {axis}",
|
|
95822
|
+
docLifecycleUnchanged: "不改变",
|
|
95823
|
+
docLifecycleEffect: "{action} 在 {axis} 的效果",
|
|
95824
|
+
docLifecycleProcessMissing: "相关流程不可用:尚无动作引用流程节点。",
|
|
95825
|
+
docLifecycleDerivationsMissing: "上下游单据不可用:尚无单据引用上游对象。",
|
|
95826
|
+
docLifecycleLedgerMissing: "移动台账不可用:未绑定 movement_sign 或无移动记录。",
|
|
95827
|
+
docLifecycleDirection: "{action} 方向:{direction}",
|
|
95828
|
+
docLifecycleInbound: "入库(+)",
|
|
95829
|
+
docLifecycleOutbound: "出库(−)",
|
|
95830
|
+
docLifecycleQuantity: "{action} 数量说明",
|
|
95831
|
+
docLifecycleStatesActions: "状态与动作",
|
|
95832
|
+
docLifecycleStatesEmpty: "尚未登记可比较的状态与动作,可从左侧添加;未知状态不自动补全。",
|
|
95833
|
+
docLifecycleProcess: "相关流程",
|
|
95834
|
+
docLifecycleDerivations: "上下游单据",
|
|
95835
|
+
docLifecycleLedger: "移动台账",
|
|
95836
|
+
docLifecycleMatrixHelp: "行是动作,列是状态。空白表示不改变;带单据名称的列表示对其他单据的影响。直接改写结果值即可。"
|
|
95801
95837
|
};
|
|
95802
95838
|
const english = {
|
|
95803
95839
|
colorNotSet: "Not set",
|
|
@@ -95838,13 +95874,13 @@ window.__ModuleLoader__.load({
|
|
|
95838
95874
|
galleryArtifactUnreadable: "Artifact cannot be read",
|
|
95839
95875
|
panelEditorUnavailable: "This diagram is no longer editable.",
|
|
95840
95876
|
autoPanelGenerating: "Organizing the design panel",
|
|
95841
|
-
autoPanelGeneratingHint: "
|
|
95877
|
+
autoPanelGeneratingHint: "Creating a readable view of saved design content. Your Design Files are unchanged.",
|
|
95842
95878
|
autoPanelAwaitingAgent: "Waiting for the native Agent",
|
|
95843
|
-
autoPanelAwaitingAgentHint: "
|
|
95879
|
+
autoPanelAwaitingAgentHint: "The request is ready. Continue in the main conversation to generate and submit this panel.",
|
|
95844
95880
|
autoPanelFailed: "Panel generation did not finish",
|
|
95845
|
-
autoPanelFailedHint: "
|
|
95881
|
+
autoPanelFailedHint: "Your Design Files are still available. Ask the agent to try again.",
|
|
95846
95882
|
autoPanelNotReady: "Design panel is not ready",
|
|
95847
|
-
autoPanelNotReadyHint: "
|
|
95883
|
+
autoPanelNotReadyHint: "Ask your agent to create this view. You can read the current Design Files here.",
|
|
95848
95884
|
autoPanelRequest: "Ask the agent to generate a panel",
|
|
95849
95885
|
autoPanelReadonlySource: "View current Design Files (read-only)",
|
|
95850
95886
|
ambiguousReference: "{value} (ambiguous reference; clarify the target)",
|
|
@@ -95921,7 +95957,7 @@ window.__ModuleLoader__.load({
|
|
|
95921
95957
|
canvasPending: "This scene has not been created yet. It will appear after the scene file is saved; you can also request a drawing in the main conversation.",
|
|
95922
95958
|
canvasChanged: "The file has changed. Your unsaved scene is retained; discard local changes to load the new version.",
|
|
95923
95959
|
canvasMissingImages: "Some images could not be read; their original references are retained:",
|
|
95924
|
-
canvasSaveError: "
|
|
95960
|
+
canvasSaveError: "Could not prepare the canvas for saving:",
|
|
95925
95961
|
sources: "Sources",
|
|
95926
95962
|
executionTrace: "Execution Trace (latest 200 entries)",
|
|
95927
95963
|
traceUnavailable: "Trace unavailable; the last received entries are retained.",
|
|
@@ -95984,7 +96020,7 @@ window.__ModuleLoader__.load({
|
|
|
95984
96020
|
diagramUnavailable: "No readable diagram yet.",
|
|
95985
96021
|
diagramLoading: "Loading diagram…",
|
|
95986
96022
|
diagramInvalid: "The diagram could not be loaded.",
|
|
95987
|
-
diagramSaveError: "
|
|
96023
|
+
diagramSaveError: "Could not prepare the diagram for saving. Your changes have not been saved.",
|
|
95988
96024
|
unsavedDiagram: "Unsaved diagram edits",
|
|
95989
96025
|
retry: "Retry",
|
|
95990
96026
|
closeDetails: "Close details",
|
|
@@ -96029,7 +96065,7 @@ window.__ModuleLoader__.load({
|
|
|
96029
96065
|
deselectAll: "Deselect all",
|
|
96030
96066
|
answerPlaceholder: "Enter your answer, or describe what is still uncertain",
|
|
96031
96067
|
detail: "Additional context",
|
|
96032
|
-
skipQuestion: "Skip
|
|
96068
|
+
skipQuestion: "Skip",
|
|
96033
96069
|
restoreQuestion: "Restore question",
|
|
96034
96070
|
skipped: "Skipped",
|
|
96035
96071
|
noQuestions: "There are no questions to answer.",
|
|
@@ -96266,6 +96302,15 @@ window.__ModuleLoader__.load({
|
|
|
96266
96302
|
reviewSettingsTitle: "GRA Review Settings",
|
|
96267
96303
|
reviewSettingsScope: "Applies to this project after saving.",
|
|
96268
96304
|
reviewSettingsClose: "Close review settings",
|
|
96305
|
+
reviewSaveFailed: "Could not save settings. Your choices are preserved. Try saving again.",
|
|
96306
|
+
reviewDepth: "Review depth",
|
|
96307
|
+
reviewDepthLight: "Light",
|
|
96308
|
+
reviewDepthStandard: "Standard",
|
|
96309
|
+
reviewDepthThorough: "Thorough",
|
|
96310
|
+
reviewDepthLightHint: "Focus on the current task and its most important issues.",
|
|
96311
|
+
reviewDepthStandardHint: "Check the current task and its related design decisions.",
|
|
96312
|
+
reviewDepthThoroughHint: "Check broader consistency, dependencies and important edge cases.",
|
|
96313
|
+
reviewDepthCostHint: "Save applies these settings to future reviews. Save & check also requests a review with the saved settings. Deeper reviews generally use more tokens; usage varies.",
|
|
96269
96314
|
reviewMode: "Review mode",
|
|
96270
96315
|
reviewModeContinuous: "Continuous (scheduled checks)",
|
|
96271
96316
|
reviewModeAuto: "Automatic (AI and publication rules)",
|
|
@@ -96279,9 +96324,19 @@ window.__ModuleLoader__.load({
|
|
|
96279
96324
|
reviewSettingsSaved: "Settings saved and applied.",
|
|
96280
96325
|
reviewSaving: "Saving…",
|
|
96281
96326
|
reviewSave: "Save settings",
|
|
96327
|
+
reviewQueued: "Review queued. Check its progress in the review list.",
|
|
96328
|
+
reviewAlreadyRequested: "Review already requested. Check its progress in the review list.",
|
|
96329
|
+
reviewAlreadyCompleted: "This review has already completed. See the review list for results.",
|
|
96330
|
+
reviewRequestUnconfirmed: "Could not confirm the review request. Retry with unchanged settings to check the same request.",
|
|
96331
|
+
reviewNeedsProject: "Open a design project before requesting a review.",
|
|
96332
|
+
reviewNeedsSavedDesign: "Save your design before requesting a review.",
|
|
96333
|
+
reviewNotConfigured: "No reviews are configured for the current Kit.",
|
|
96334
|
+
reviewUnavailable: "Background review is unavailable in this host. Ask your Agent to review the design in the conversation.",
|
|
96335
|
+
reviewTargetChanged: "The project or design changed. Check the current project, then try again.",
|
|
96336
|
+
reviewRequestRejected: "The review could not be started. Check the review status in the conversation before retrying.",
|
|
96282
96337
|
reviewRequestSent: "Review requested. Check its progress in the conversation.",
|
|
96283
|
-
reviewSending: "
|
|
96284
|
-
reviewCheck: "
|
|
96338
|
+
reviewSending: "Saving & requesting…",
|
|
96339
|
+
reviewCheck: "Save & check",
|
|
96285
96340
|
reviewLoading: "Loading settings…",
|
|
96286
96341
|
reviewRequestPrompt: "The user explicitly requests a manual GRA review of the currently published design. requestId={requestId}. Read the current capabilities and review policy first. If background execution is available without occupying the main conversation, use design_recheck_reviews normally in the background without waiting for completion. If background execution is unavailable or would occupy the main conversation, ask whether the user wants to turn off automatic GRA while keeping manual checks, or run this review synchronously in the main conversation. Use executionMode=\"foreground\" only after explicit confirmation of synchronous execution. Do not change the review policy or start synchronous execution without the user’s choice.",
|
|
96287
96342
|
graphCameraControls: "Graph controls",
|
|
@@ -96518,7 +96573,24 @@ window.__ModuleLoader__.load({
|
|
|
96518
96573
|
knowledgeGraphLifecycleRejected: "Rejected",
|
|
96519
96574
|
knowledgeGraphLifecycleSuperseded: "Superseded",
|
|
96520
96575
|
knowledgeGraphLifecycleUnknown: "Unknown status",
|
|
96521
|
-
knowledgeGraphOriginalRelations: "{meaning} · Original relationships: {count}"
|
|
96576
|
+
knowledgeGraphOriginalRelations: "{meaning} · Original relationships: {count}",
|
|
96577
|
+
docLifecycleAction: "Action",
|
|
96578
|
+
docLifecycleRenameAxis: "Rename state axis {axis}",
|
|
96579
|
+
docLifecycleUnchanged: "No change",
|
|
96580
|
+
docLifecycleEffect: "Effect of {action} on {axis}",
|
|
96581
|
+
docLifecycleProcessMissing: "No actions link to process steps yet.",
|
|
96582
|
+
docLifecycleDerivationsMissing: "No documents reference an upstream document yet.",
|
|
96583
|
+
docLifecycleLedgerMissing: "No stock movements to show. Add movement records and bind movement_sign to display them.",
|
|
96584
|
+
docLifecycleDirection: "{action} direction: {direction}",
|
|
96585
|
+
docLifecycleInbound: "Inbound (+)",
|
|
96586
|
+
docLifecycleOutbound: "Outbound (−)",
|
|
96587
|
+
docLifecycleQuantity: "Quantity note for {action}",
|
|
96588
|
+
docLifecycleStatesActions: "States and Actions",
|
|
96589
|
+
docLifecycleStatesEmpty: "Add states and actions from the sidebar to compare their effects. Unknown states stay blank.",
|
|
96590
|
+
docLifecycleProcess: "Related Process",
|
|
96591
|
+
docLifecycleDerivations: "Upstream and Downstream Documents",
|
|
96592
|
+
docLifecycleLedger: "Stock Movements",
|
|
96593
|
+
docLifecycleMatrixHelp: "Rows are actions; columns are states. A blank cell means no change. Columns with a document name show effects on other documents. Edit a cell to change its result."
|
|
96522
96594
|
};
|
|
96523
96595
|
const PanelLocaleContext = (0, react$1.createContext)("zh-CN");
|
|
96524
96596
|
/** Literal replacement only; substituted record text is never evaluated again. */
|