@sparkelf/dsh-dataops-managed 0.3.47 → 0.3.49
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/README.md +2 -2
- package/lib/client.js +164 -167
- package/lib/client.js.map +1 -1
- package/lib/index.js +72 -2
- package/lib/types/tool-scope.d.ts +24 -0
- package/package.json +10 -7
- package/skills/api-connector-authoring/SKILL.md +117 -0
- package/skills/prefect-script-authoring/SKILL.md +97 -0
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ DataOps设置中的“应用万相品牌”默认开启,并在本机浏览器
|
|
|
18
18
|
|
|
19
19
|
### 工具按权限披露
|
|
20
20
|
|
|
21
|
-
工作区的DataOps角色决定模型能看到哪些技能/审核工具:插件在JWT变更、首次连接和审核上下文刷新时读取`/api/ai/review/context`,按`skill:*`能力与审核角色注册或注销工具;没有能力的工具不会出现在模型工具列表中。工具执行时不再重复读取角色,DataOps后端仍对每次API调用做最终授权、参数校验、审批与审计。`dataops_api_docs`只向「超级管理员」披露,用于只读检索`/api/openapi.json
|
|
21
|
+
工作区的DataOps角色决定模型能看到哪些技能/审核工具:插件在JWT变更、首次连接和审核上下文刷新时读取`/api/ai/review/context`,按`skill:*`能力与审核角色注册或注销工具;没有能力的工具不会出现在模型工具列表中。工具执行时不再重复读取角色,DataOps后端仍对每次API调用做最终授权、参数校验、审批与审计。`dataops_api_docs`只向「超级管理员」披露,用于只读检索`/api/openapi.json`。后端 MCP 工作流工具`workflow_query`/`workflow_definition`/`workflow_deployment`/`workflow_run_control`同样只向「超级管理员」披露:它们在模型侧的名称是`mcp__<serverName>__<name>`,插件把该名称映射回声明表后参与会话级披露,群聊房间会按发言人身份隐藏非超管不可见的工具。同一份 scope 还会通过`ctx.skills.useViewer`约束技能目录;技能中心的连接器 Tab 读取`/api/dsh-skill-center/connectors`,未授权能力不会出现在目录中。
|
|
22
22
|
|
|
23
23
|
### 已知限制
|
|
24
24
|
|
|
@@ -42,7 +42,7 @@ The package adds namespaced DataOps MCP tool schemas but never places the JWT in
|
|
|
42
42
|
|
|
43
43
|
### Permission-Based Tool Disclosure
|
|
44
44
|
|
|
45
|
-
The workspace's DataOps role decides which skill and review tools the model can see. The plugin reads `/api/ai/review/context` when the JWT changes, on the first connect, and whenever the review-context route refreshes, then registers or disposes tools according to the `skill:*` capabilities and review role. A tool the principal cannot use is never offered. Execution does not re-read the role; DataOps still performs final authorization, parameter validation, approval and audit on every API call. `dataops_api_docs` is disclosed only to 超级管理员 and searches `/api/openapi.json` read-only. The same scope is applied to the skill catalog through `ctx.skills.useViewer`; the skill center's connector tab reads `/api/dsh-skill-center/connectors`, which omits capabilities the account cannot use.
|
|
45
|
+
The workspace's DataOps role decides which skill and review tools the model can see. The plugin reads `/api/ai/review/context` when the JWT changes, on the first connect, and whenever the review-context route refreshes, then registers or disposes tools according to the `skill:*` capabilities and review role. A tool the principal cannot use is never offered. Execution does not re-read the role; DataOps still performs final authorization, parameter validation, approval and audit on every API call. `dataops_api_docs` is disclosed only to 超级管理员 and searches `/api/openapi.json` read-only. The backend's MCP workflow tools — `workflow_query`, `workflow_definition`, `workflow_deployment`, and `workflow_run_control` — are likewise disclosed only to 超级管理员: their model-facing names are `mcp__<serverName>__<name>`, and the plugin maps that name back to the declaration so a group-chat room hides any tool its speaker could not use. The same scope is applied to the skill catalog through `ctx.skills.useViewer`; the skill center's connector tab reads `/api/dsh-skill-center/connectors`, which omits capabilities the account cannot use.
|
|
46
46
|
|
|
47
47
|
### Known Limitations
|
|
48
48
|
|
package/lib/client.js
CHANGED
|
@@ -835,22 +835,22 @@ window.__ModuleLoader__.load({
|
|
|
835
835
|
document.head.appendChild(tag);
|
|
836
836
|
}
|
|
837
837
|
var ManagedDataOpsSection_module_css_default = {
|
|
838
|
-
"
|
|
838
|
+
"section": "_2dqzjG_section",
|
|
839
|
+
"card": "_2dqzjG_card",
|
|
839
840
|
"label": "_2dqzjG_label",
|
|
840
|
-
"fields": "_2dqzjG_fields",
|
|
841
|
-
"row": "_2dqzjG_row",
|
|
842
841
|
"title": "_2dqzjG_title",
|
|
842
|
+
"fields": "_2dqzjG_fields",
|
|
843
843
|
"refusal": "_2dqzjG_refusal",
|
|
844
|
+
"status": "_2dqzjG_status",
|
|
845
|
+
"reviewHint": "_2dqzjG_reviewHint",
|
|
846
|
+
"heading": "_2dqzjG_heading",
|
|
844
847
|
"copy": "_2dqzjG_copy",
|
|
845
|
-
"actions": "_2dqzjG_actions",
|
|
846
848
|
"reviewRows": "_2dqzjG_reviewRows",
|
|
847
849
|
"reviewActions": "_2dqzjG_reviewActions",
|
|
848
|
-
"
|
|
849
|
-
"
|
|
850
|
-
"card": "_2dqzjG_card",
|
|
850
|
+
"row": "_2dqzjG_row",
|
|
851
|
+
"actions": "_2dqzjG_actions",
|
|
851
852
|
"reviewRow": "_2dqzjG_reviewRow",
|
|
852
|
-
"meta": "_2dqzjG_meta"
|
|
853
|
-
"heading": "_2dqzjG_heading"
|
|
853
|
+
"meta": "_2dqzjG_meta"
|
|
854
854
|
};
|
|
855
855
|
//#endregion
|
|
856
856
|
//#region src/client/ReviewSettingsCard.tsx
|
|
@@ -1600,62 +1600,62 @@ window.__ModuleLoader__.load({
|
|
|
1600
1600
|
document.head.appendChild(tag);
|
|
1601
1601
|
}
|
|
1602
1602
|
var SkillPlazaSection_module_css_default = {
|
|
1603
|
-
"
|
|
1604
|
-
"
|
|
1605
|
-
"
|
|
1606
|
-
"departmentSelect": "_9FdZvq_departmentSelect",
|
|
1607
|
-
"detailButton": "_9FdZvq_detailButton",
|
|
1608
|
-
"detailLabel": "_9FdZvq_detailLabel",
|
|
1609
|
-
"emptyText": "_9FdZvq_emptyText",
|
|
1610
|
-
"demoTag": "_9FdZvq_demoTag",
|
|
1611
|
-
"tab": "_9FdZvq_tab",
|
|
1612
|
-
"pendingTag": "_9FdZvq_pendingTag",
|
|
1613
|
-
"findingText": "_9FdZvq_findingText",
|
|
1614
|
-
"cardTop": "_9FdZvq_cardTop",
|
|
1615
|
-
"mine": "_9FdZvq_mine",
|
|
1616
|
-
"riskHead": "_9FdZvq_riskHead",
|
|
1617
|
-
"sharedTag": "_9FdZvq_sharedTag",
|
|
1603
|
+
"departmentLabel": "_9FdZvq_departmentLabel",
|
|
1604
|
+
"card": "_9FdZvq_card",
|
|
1605
|
+
"findings": "_9FdZvq_findings",
|
|
1618
1606
|
"findingHint": "_9FdZvq_findingHint",
|
|
1619
|
-
"notice": "_9FdZvq_notice",
|
|
1620
1607
|
"reviewError": "_9FdZvq_reviewError",
|
|
1621
|
-
"
|
|
1622
|
-
"
|
|
1608
|
+
"notice": "_9FdZvq_notice",
|
|
1609
|
+
"cardDesc": "_9FdZvq_cardDesc",
|
|
1610
|
+
"detailButton": "_9FdZvq_detailButton",
|
|
1611
|
+
"auditFooter": "_9FdZvq_auditFooter",
|
|
1623
1612
|
"empty": "_9FdZvq_empty",
|
|
1624
|
-
"
|
|
1625
|
-
"
|
|
1613
|
+
"auditDialog": "_9FdZvq_auditDialog",
|
|
1614
|
+
"riskScore": "_9FdZvq_riskScore",
|
|
1626
1615
|
"rejectedTag": "_9FdZvq_rejectedTag",
|
|
1627
|
-
"
|
|
1616
|
+
"finding": "_9FdZvq_finding",
|
|
1617
|
+
"dialog": "_9FdZvq_dialog",
|
|
1618
|
+
"cardEnd": "_9FdZvq_cardEnd",
|
|
1619
|
+
"head": "_9FdZvq_head",
|
|
1620
|
+
"title": "_9FdZvq_title",
|
|
1621
|
+
"status": "_9FdZvq_status",
|
|
1622
|
+
"cardTop": "_9FdZvq_cardTop",
|
|
1623
|
+
"mine": "_9FdZvq_mine",
|
|
1624
|
+
"tagTop": "_9FdZvq_tagTop",
|
|
1628
1625
|
"audit": "_9FdZvq_audit",
|
|
1629
|
-
"
|
|
1630
|
-
"
|
|
1631
|
-
"
|
|
1626
|
+
"riskEmpty": "_9FdZvq_riskEmpty",
|
|
1627
|
+
"riskFailed": "_9FdZvq_riskFailed",
|
|
1628
|
+
"cardIcon": "_9FdZvq_cardIcon",
|
|
1632
1629
|
"tabActive": "_9FdZvq_tabActive",
|
|
1630
|
+
"demoTag": "_9FdZvq_demoTag",
|
|
1631
|
+
"noteField": "_9FdZvq_noteField",
|
|
1632
|
+
"findingText": "_9FdZvq_findingText",
|
|
1633
|
+
"cardTitle": "_9FdZvq_cardTitle",
|
|
1634
|
+
"departmentBar": "_9FdZvq_departmentBar",
|
|
1635
|
+
"riskHead": "_9FdZvq_riskHead",
|
|
1633
1636
|
"titleCount": "_9FdZvq_titleCount",
|
|
1634
|
-
"cardMarks": "_9FdZvq_cardMarks",
|
|
1635
|
-
"cardEnd": "_9FdZvq_cardEnd",
|
|
1636
|
-
"auditDialog": "_9FdZvq_auditDialog",
|
|
1637
|
-
"auditFooter": "_9FdZvq_auditFooter",
|
|
1638
|
-
"severity": "_9FdZvq_severity",
|
|
1639
|
-
"findings": "_9FdZvq_findings",
|
|
1640
|
-
"cardDesc": "_9FdZvq_cardDesc",
|
|
1641
|
-
"departmentLabel": "_9FdZvq_departmentLabel",
|
|
1642
1637
|
"detailRow": "_9FdZvq_detailRow",
|
|
1643
|
-
"
|
|
1638
|
+
"mark": "_9FdZvq_mark",
|
|
1639
|
+
"detailLabel": "_9FdZvq_detailLabel",
|
|
1640
|
+
"riskSummary": "_9FdZvq_riskSummary",
|
|
1641
|
+
"reviewNote": "_9FdZvq_reviewNote",
|
|
1644
1642
|
"detailValue": "_9FdZvq_detailValue",
|
|
1645
|
-
"
|
|
1646
|
-
"
|
|
1643
|
+
"pendingTag": "_9FdZvq_pendingTag",
|
|
1644
|
+
"emptyText": "_9FdZvq_emptyText",
|
|
1645
|
+
"tab": "_9FdZvq_tab",
|
|
1646
|
+
"detail": "_9FdZvq_detail",
|
|
1647
|
+
"section": "_9FdZvq_section",
|
|
1648
|
+
"headRow": "_9FdZvq_headRow",
|
|
1649
|
+
"risk": "_9FdZvq_risk",
|
|
1650
|
+
"departmentSelect": "_9FdZvq_departmentSelect",
|
|
1651
|
+
"cards": "_9FdZvq_cards",
|
|
1652
|
+
"emptyIcon": "_9FdZvq_emptyIcon",
|
|
1647
1653
|
"tabCount": "_9FdZvq_tabCount",
|
|
1648
|
-
"
|
|
1654
|
+
"sharedTag": "_9FdZvq_sharedTag",
|
|
1655
|
+
"tabs": "_9FdZvq_tabs",
|
|
1649
1656
|
"reviewButton": "_9FdZvq_reviewButton",
|
|
1650
|
-
"
|
|
1651
|
-
"
|
|
1652
|
-
"riskEmpty": "_9FdZvq_riskEmpty",
|
|
1653
|
-
"riskFailed": "_9FdZvq_riskFailed",
|
|
1654
|
-
"status": "_9FdZvq_status",
|
|
1655
|
-
"detail": "_9FdZvq_detail",
|
|
1656
|
-
"riskScore": "_9FdZvq_riskScore",
|
|
1657
|
-
"finding": "_9FdZvq_finding",
|
|
1658
|
-
"mark": "_9FdZvq_mark"
|
|
1657
|
+
"severity": "_9FdZvq_severity",
|
|
1658
|
+
"cardMarks": "_9FdZvq_cardMarks"
|
|
1659
1659
|
};
|
|
1660
1660
|
//#endregion
|
|
1661
1661
|
//#region src/client/SkillPlazaSection.tsx
|
|
@@ -2310,19 +2310,19 @@ window.__ModuleLoader__.load({
|
|
|
2310
2310
|
document.head.appendChild(tag);
|
|
2311
2311
|
}
|
|
2312
2312
|
var WanxiangBrand_module_css_default = {
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
2315
|
-
"unitCore": "s0HPxG_unitCore",
|
|
2316
|
-
"harness": "s0HPxG_harness",
|
|
2313
|
+
"sidebarName": "s0HPxG_sidebarName",
|
|
2314
|
+
"wordmark": "s0HPxG_wordmark",
|
|
2317
2315
|
"unit-top": "s0HPxG_unit-top",
|
|
2316
|
+
"unit-left": "s0HPxG_unit-left",
|
|
2318
2317
|
"unit-core": "s0HPxG_unit-core",
|
|
2319
|
-
"
|
|
2318
|
+
"mark": "s0HPxG_mark",
|
|
2319
|
+
"animatedMark": "s0HPxG_animatedMark",
|
|
2320
2320
|
"unitLeft": "s0HPxG_unitLeft",
|
|
2321
|
-
"sidebarName": "s0HPxG_sidebarName",
|
|
2322
2321
|
"unitRight": "s0HPxG_unitRight",
|
|
2323
|
-
"
|
|
2322
|
+
"unitCore": "s0HPxG_unitCore",
|
|
2323
|
+
"harness": "s0HPxG_harness",
|
|
2324
2324
|
"unit-right": "s0HPxG_unit-right",
|
|
2325
|
-
"
|
|
2325
|
+
"unitTop": "s0HPxG_unitTop"
|
|
2326
2326
|
};
|
|
2327
2327
|
//#endregion
|
|
2328
2328
|
//#region src/client/WanxiangBrand.tsx
|
|
@@ -2732,92 +2732,92 @@ window.__ModuleLoader__.load({
|
|
|
2732
2732
|
document.head.appendChild(tag);
|
|
2733
2733
|
}
|
|
2734
2734
|
var PermissionCenterSection_module_css_default = {
|
|
2735
|
-
"dialogHint": "PNbOqW_dialogHint",
|
|
2736
|
-
"sectionTitle": "PNbOqW_sectionTitle",
|
|
2737
|
-
"notice": "PNbOqW_notice",
|
|
2738
|
-
"panelHead": "PNbOqW_panelHead",
|
|
2739
|
-
"treeRoot": "PNbOqW_treeRoot",
|
|
2740
|
-
"tabs": "PNbOqW_tabs",
|
|
2741
|
-
"dialog": "PNbOqW_dialog",
|
|
2742
|
-
"protected": "PNbOqW_protected",
|
|
2743
|
-
"rowActions": "PNbOqW_rowActions",
|
|
2744
|
-
"copied": "PNbOqW_copied",
|
|
2745
|
-
"roleCell": "PNbOqW_roleCell",
|
|
2746
|
-
"search": "PNbOqW_search",
|
|
2747
|
-
"comboboxCheck": "PNbOqW_comboboxCheck",
|
|
2748
|
-
"deptAdmins": "PNbOqW_deptAdmins",
|
|
2749
|
-
"comboboxList": "PNbOqW_comboboxList",
|
|
2750
|
-
"adminTag": "PNbOqW_adminTag",
|
|
2751
|
-
"comboboxEmpty": "PNbOqW_comboboxEmpty",
|
|
2752
|
-
"comboboxSearch": "PNbOqW_comboboxSearch",
|
|
2753
|
-
"headActions": "PNbOqW_headActions",
|
|
2754
|
-
"treeRow": "PNbOqW_treeRow",
|
|
2755
|
-
"tabBadge": "PNbOqW_tabBadge",
|
|
2756
|
-
"matrixRoleHead": "PNbOqW_matrixRoleHead",
|
|
2757
|
-
"matrixToolActive": "PNbOqW_matrixToolActive",
|
|
2758
|
-
"matrixRoleCell": "PNbOqW_matrixRoleCell",
|
|
2759
|
-
"treeSpacer": "PNbOqW_treeSpacer",
|
|
2760
|
-
"department": "PNbOqW_department",
|
|
2761
|
-
"roleSearchIcon": "PNbOqW_roleSearchIcon",
|
|
2762
2735
|
"treeActions": "PNbOqW_treeActions",
|
|
2736
|
+
"matrixScroll": "PNbOqW_matrixScroll",
|
|
2737
|
+
"muted": "PNbOqW_muted",
|
|
2738
|
+
"roleSearchIcon": "PNbOqW_roleSearchIcon",
|
|
2739
|
+
"detailGrid": "PNbOqW_detailGrid",
|
|
2763
2740
|
"permCopy": "PNbOqW_permCopy",
|
|
2764
|
-
"table": "PNbOqW_table",
|
|
2765
|
-
"dialogBody": "PNbOqW_dialogBody",
|
|
2766
2741
|
"candidates": "PNbOqW_candidates",
|
|
2767
|
-
"
|
|
2768
|
-
"
|
|
2769
|
-
"
|
|
2770
|
-
"
|
|
2771
|
-
"matrixTool": "PNbOqW_matrixTool",
|
|
2772
|
-
"empty": "PNbOqW_empty",
|
|
2742
|
+
"comboboxSearch": "PNbOqW_comboboxSearch",
|
|
2743
|
+
"treeRoot": "PNbOqW_treeRoot",
|
|
2744
|
+
"matrixToolActive": "PNbOqW_matrixToolActive",
|
|
2745
|
+
"treeSpacer": "PNbOqW_treeSpacer",
|
|
2773
2746
|
"tableScroll": "PNbOqW_tableScroll",
|
|
2774
|
-
"
|
|
2775
|
-
"
|
|
2776
|
-
"
|
|
2747
|
+
"comboboxHint": "PNbOqW_comboboxHint",
|
|
2748
|
+
"roleCell": "PNbOqW_roleCell",
|
|
2749
|
+
"permission": "PNbOqW_permission",
|
|
2750
|
+
"roleTag": "PNbOqW_roleTag",
|
|
2751
|
+
"protected": "PNbOqW_protected",
|
|
2752
|
+
"tabs": "PNbOqW_tabs",
|
|
2753
|
+
"table": "PNbOqW_table",
|
|
2754
|
+
"deptAdmins": "PNbOqW_deptAdmins",
|
|
2755
|
+
"treeChildren": "PNbOqW_treeChildren",
|
|
2777
2756
|
"roleSearch": "PNbOqW_roleSearch",
|
|
2778
|
-
"matrix": "PNbOqW_matrix",
|
|
2779
2757
|
"treeToggle": "PNbOqW_treeToggle",
|
|
2780
|
-
"
|
|
2781
|
-
"
|
|
2782
|
-
"
|
|
2783
|
-
"comboboxOptionActive": "PNbOqW_comboboxOptionActive",
|
|
2784
|
-
"comboboxHint": "PNbOqW_comboboxHint",
|
|
2785
|
-
"title": "PNbOqW_title",
|
|
2786
|
-
"matrixPermHead": "PNbOqW_matrixPermHead",
|
|
2787
|
-
"matrixNote": "PNbOqW_matrixNote",
|
|
2788
|
-
"scopeBadge": "PNbOqW_scopeBadge",
|
|
2789
|
-
"candidate": "PNbOqW_candidate",
|
|
2790
|
-
"muted": "PNbOqW_muted",
|
|
2791
|
-
"headText": "PNbOqW_headText",
|
|
2792
|
-
"tabActive": "PNbOqW_tabActive",
|
|
2793
|
-
"error": "PNbOqW_error",
|
|
2758
|
+
"matrixPermission": "PNbOqW_matrixPermission",
|
|
2759
|
+
"comboboxEmpty": "PNbOqW_comboboxEmpty",
|
|
2760
|
+
"panelHead": "PNbOqW_panelHead",
|
|
2794
2761
|
"departments": "PNbOqW_departments",
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2797
|
-
"matrixHeadLeft": "PNbOqW_matrixHeadLeft",
|
|
2762
|
+
"roleRevoke": "PNbOqW_roleRevoke",
|
|
2763
|
+
"head": "PNbOqW_head",
|
|
2798
2764
|
"page": "PNbOqW_page",
|
|
2799
|
-
"
|
|
2800
|
-
"
|
|
2765
|
+
"matrixHead": "PNbOqW_matrixHead",
|
|
2766
|
+
"pager": "PNbOqW_pager",
|
|
2767
|
+
"search": "PNbOqW_search",
|
|
2768
|
+
"matrixTool": "PNbOqW_matrixTool",
|
|
2801
2769
|
"panel": "PNbOqW_panel",
|
|
2802
|
-
"
|
|
2803
|
-
"
|
|
2804
|
-
"
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2807
|
-
"
|
|
2808
|
-
"combobox": "PNbOqW_combobox",
|
|
2770
|
+
"department": "PNbOqW_department",
|
|
2771
|
+
"comboboxMenu": "PNbOqW_comboboxMenu",
|
|
2772
|
+
"readOnly": "PNbOqW_readOnly",
|
|
2773
|
+
"comboboxTrigger": "PNbOqW_comboboxTrigger",
|
|
2774
|
+
"scopeBadge": "PNbOqW_scopeBadge",
|
|
2775
|
+
"comboboxList": "PNbOqW_comboboxList",
|
|
2809
2776
|
"dialogFooter": "PNbOqW_dialogFooter",
|
|
2810
|
-
"
|
|
2811
|
-
"matrixGroup": "PNbOqW_matrixGroup",
|
|
2777
|
+
"matrixRoleHead": "PNbOqW_matrixRoleHead",
|
|
2812
2778
|
"permDescription": "PNbOqW_permDescription",
|
|
2813
|
-
"
|
|
2814
|
-
"
|
|
2815
|
-
"
|
|
2816
|
-
"
|
|
2817
|
-
"
|
|
2779
|
+
"comboboxPlaceholder": "PNbOqW_comboboxPlaceholder",
|
|
2780
|
+
"adminTag": "PNbOqW_adminTag",
|
|
2781
|
+
"tab": "PNbOqW_tab",
|
|
2782
|
+
"matrixRoleCell": "PNbOqW_matrixRoleCell",
|
|
2783
|
+
"tabBadge": "PNbOqW_tabBadge",
|
|
2784
|
+
"dialog": "PNbOqW_dialog",
|
|
2818
2785
|
"roleGrant": "PNbOqW_roleGrant",
|
|
2786
|
+
"candidate": "PNbOqW_candidate",
|
|
2787
|
+
"error": "PNbOqW_error",
|
|
2788
|
+
"demo": "PNbOqW_demo",
|
|
2789
|
+
"notice": "PNbOqW_notice",
|
|
2790
|
+
"treeName": "PNbOqW_treeName",
|
|
2791
|
+
"matrixGroup": "PNbOqW_matrixGroup",
|
|
2792
|
+
"matrixHeadLeft": "PNbOqW_matrixHeadLeft",
|
|
2793
|
+
"dialogHint": "PNbOqW_dialogHint",
|
|
2794
|
+
"roleTags": "PNbOqW_roleTags",
|
|
2819
2795
|
"subtitle": "PNbOqW_subtitle",
|
|
2820
|
-
"
|
|
2796
|
+
"title": "PNbOqW_title",
|
|
2797
|
+
"treeRow": "PNbOqW_treeRow",
|
|
2798
|
+
"combobox": "PNbOqW_combobox",
|
|
2799
|
+
"tabDivider": "PNbOqW_tabDivider",
|
|
2800
|
+
"empty": "PNbOqW_empty",
|
|
2801
|
+
"matrixModule": "PNbOqW_matrixModule",
|
|
2802
|
+
"headActions": "PNbOqW_headActions",
|
|
2803
|
+
"comboboxCheck": "PNbOqW_comboboxCheck",
|
|
2804
|
+
"tabGroup": "PNbOqW_tabGroup",
|
|
2805
|
+
"headText": "PNbOqW_headText",
|
|
2806
|
+
"field": "PNbOqW_field",
|
|
2807
|
+
"matrixPermHead": "PNbOqW_matrixPermHead",
|
|
2808
|
+
"waiting": "PNbOqW_waiting",
|
|
2809
|
+
"tabActive": "PNbOqW_tabActive",
|
|
2810
|
+
"matrix": "PNbOqW_matrix",
|
|
2811
|
+
"matrixNote": "PNbOqW_matrixNote",
|
|
2812
|
+
"onlyAdmin": "PNbOqW_onlyAdmin",
|
|
2813
|
+
"comboboxOption": "PNbOqW_comboboxOption",
|
|
2814
|
+
"comboboxOptionActive": "PNbOqW_comboboxOptionActive",
|
|
2815
|
+
"rowActions": "PNbOqW_rowActions",
|
|
2816
|
+
"roleSearchWrap": "PNbOqW_roleSearchWrap",
|
|
2817
|
+
"copied": "PNbOqW_copied",
|
|
2818
|
+
"sectionTitle": "PNbOqW_sectionTitle",
|
|
2819
|
+
"dialogBody": "PNbOqW_dialogBody",
|
|
2820
|
+
"panelFoot": "PNbOqW_panelFoot"
|
|
2821
2821
|
};
|
|
2822
2822
|
//#endregion
|
|
2823
2823
|
//#region src/client/combobox.ts
|
|
@@ -4468,18 +4468,18 @@ window.__ModuleLoader__.load({
|
|
|
4468
4468
|
document.head.appendChild(tag);
|
|
4469
4469
|
}
|
|
4470
4470
|
var WorkspaceUpgradePrompt_module_css_default = {
|
|
4471
|
-
"actions": "razUfG_actions",
|
|
4472
4471
|
"copy": "razUfG_copy",
|
|
4473
4472
|
"error": "razUfG_error",
|
|
4474
|
-
"sessionPath": "razUfG_sessionPath",
|
|
4475
|
-
"sessionRow": "razUfG_sessionRow",
|
|
4476
|
-
"banner": "razUfG_banner",
|
|
4477
4473
|
"dialogBody": "razUfG_dialogBody",
|
|
4478
|
-
"
|
|
4479
|
-
"
|
|
4474
|
+
"banner": "razUfG_banner",
|
|
4475
|
+
"body": "razUfG_body",
|
|
4480
4476
|
"sessionList": "razUfG_sessionList",
|
|
4477
|
+
"actions": "razUfG_actions",
|
|
4478
|
+
"sessionPath": "razUfG_sessionPath",
|
|
4479
|
+
"title": "razUfG_title",
|
|
4481
4480
|
"sessionTitle": "razUfG_sessionTitle",
|
|
4482
|
-
"
|
|
4481
|
+
"sessionRow": "razUfG_sessionRow",
|
|
4482
|
+
"dialogText": "razUfG_dialogText"
|
|
4483
4483
|
};
|
|
4484
4484
|
//#endregion
|
|
4485
4485
|
//#region src/client/WorkspaceUpgradePrompt.tsx
|
|
@@ -4793,23 +4793,23 @@ window.__ModuleLoader__.load({
|
|
|
4793
4793
|
}
|
|
4794
4794
|
var NotificationBell_module_css_default = {
|
|
4795
4795
|
"badge": "tE0trG_badge",
|
|
4796
|
+
"empty": "tE0trG_empty",
|
|
4797
|
+
"dot": "tE0trG_dot",
|
|
4796
4798
|
"rowText": "tE0trG_rowText",
|
|
4797
|
-
"row": "tE0trG_row",
|
|
4798
|
-
"rowBody": "tE0trG_rowBody",
|
|
4799
|
-
"dialog": "tE0trG_dialog",
|
|
4800
4799
|
"bell": "tE0trG_bell",
|
|
4800
|
+
"dialog": "tE0trG_dialog",
|
|
4801
|
+
"actions": "tE0trG_actions",
|
|
4802
|
+
"pager": "tE0trG_pager",
|
|
4803
|
+
"rowBody": "tE0trG_rowBody",
|
|
4804
|
+
"rowMeta": "tE0trG_rowMeta",
|
|
4805
|
+
"row": "tE0trG_row",
|
|
4801
4806
|
"rowTitle": "tE0trG_rowTitle",
|
|
4802
4807
|
"rowTime": "tE0trG_rowTime",
|
|
4803
|
-
"button": "tE0trG_button",
|
|
4804
4808
|
"list": "tE0trG_list",
|
|
4805
|
-
"
|
|
4809
|
+
"button": "tE0trG_button",
|
|
4810
|
+
"demo": "tE0trG_demo",
|
|
4806
4811
|
"rowIcon": "tE0trG_rowIcon",
|
|
4807
|
-
"linkButton": "tE0trG_linkButton"
|
|
4808
|
-
"dot": "tE0trG_dot",
|
|
4809
|
-
"actions": "tE0trG_actions",
|
|
4810
|
-
"empty": "tE0trG_empty",
|
|
4811
|
-
"pager": "tE0trG_pager",
|
|
4812
|
-
"demo": "tE0trG_demo"
|
|
4812
|
+
"linkButton": "tE0trG_linkButton"
|
|
4813
4813
|
};
|
|
4814
4814
|
//#endregion
|
|
4815
4815
|
//#region src/client/NotificationBell.tsx
|
|
@@ -6203,20 +6203,17 @@ window.__ModuleLoader__.load({
|
|
|
6203
6203
|
const onLogoClick = (event) => {
|
|
6204
6204
|
const target = event.target;
|
|
6205
6205
|
if (!(target instanceof Element)) return;
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
return;
|
|
6218
|
-
}
|
|
6219
|
-
}
|
|
6206
|
+
const interactive = target.closest("button, a");
|
|
6207
|
+
if (interactive === null) return;
|
|
6208
|
+
const className = typeof interactive.className === "string" ? interactive.className : "";
|
|
6209
|
+
if (!/brand|logo/i.test(className)) return;
|
|
6210
|
+
if (!/万相AI中台|Wanxiang AI/i.test((interactive.textContent ?? "").trim())) return;
|
|
6211
|
+
event.preventDefault();
|
|
6212
|
+
event.stopPropagation();
|
|
6213
|
+
window.parent.postMessage({
|
|
6214
|
+
type: "dataops:return-to",
|
|
6215
|
+
version: 1
|
|
6216
|
+
}, "*");
|
|
6220
6217
|
};
|
|
6221
6218
|
document.addEventListener("click", onLogoClick, true);
|
|
6222
6219
|
return () => document.removeEventListener("click", onLogoClick, true);
|