@sparkelf/dsh-dataops-managed 0.3.45 → 0.3.46
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 +154 -154
- package/lib/index.js +17 -1
- package/lib/types/tool-scope.d.ts +9 -0
- package/package.json +1 -1
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
|
-
"section": "_2dqzjG_section",
|
|
839
838
|
"title": "_2dqzjG_title",
|
|
840
|
-
"
|
|
841
|
-
"fields": "_2dqzjG_fields",
|
|
842
|
-
"reviewHint": "_2dqzjG_reviewHint",
|
|
843
|
-
"row": "_2dqzjG_row",
|
|
844
|
-
"card": "_2dqzjG_card",
|
|
845
|
-
"refusal": "_2dqzjG_refusal",
|
|
839
|
+
"reviewRow": "_2dqzjG_reviewRow",
|
|
846
840
|
"actions": "_2dqzjG_actions",
|
|
841
|
+
"card": "_2dqzjG_card",
|
|
847
842
|
"label": "_2dqzjG_label",
|
|
848
|
-
"
|
|
843
|
+
"refusal": "_2dqzjG_refusal",
|
|
849
844
|
"reviewActions": "_2dqzjG_reviewActions",
|
|
845
|
+
"section": "_2dqzjG_section",
|
|
846
|
+
"row": "_2dqzjG_row",
|
|
850
847
|
"status": "_2dqzjG_status",
|
|
851
|
-
"reviewRows": "_2dqzjG_reviewRows",
|
|
852
848
|
"copy": "_2dqzjG_copy",
|
|
853
|
-
"meta": "_2dqzjG_meta"
|
|
849
|
+
"meta": "_2dqzjG_meta",
|
|
850
|
+
"heading": "_2dqzjG_heading",
|
|
851
|
+
"fields": "_2dqzjG_fields",
|
|
852
|
+
"reviewRows": "_2dqzjG_reviewRows",
|
|
853
|
+
"reviewHint": "_2dqzjG_reviewHint"
|
|
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
|
-
"
|
|
1607
|
-
"
|
|
1608
|
-
"auditDialog": "_9FdZvq_auditDialog",
|
|
1609
|
-
"card": "_9FdZvq_card",
|
|
1603
|
+
"cardEnd": "_9FdZvq_cardEnd",
|
|
1604
|
+
"section": "_9FdZvq_section",
|
|
1605
|
+
"detailValue": "_9FdZvq_detailValue",
|
|
1606
|
+
"status": "_9FdZvq_status",
|
|
1607
|
+
"cards": "_9FdZvq_cards",
|
|
1610
1608
|
"cardTitle": "_9FdZvq_cardTitle",
|
|
1611
|
-
"
|
|
1609
|
+
"cardIcon": "_9FdZvq_cardIcon",
|
|
1610
|
+
"detail": "_9FdZvq_detail",
|
|
1611
|
+
"detailButton": "_9FdZvq_detailButton",
|
|
1612
|
+
"empty": "_9FdZvq_empty",
|
|
1612
1613
|
"departmentSelect": "_9FdZvq_departmentSelect",
|
|
1613
|
-
"head": "_9FdZvq_head",
|
|
1614
|
-
"mine": "_9FdZvq_mine",
|
|
1615
|
-
"severity": "_9FdZvq_severity",
|
|
1616
|
-
"notice": "_9FdZvq_notice",
|
|
1617
1614
|
"demoTag": "_9FdZvq_demoTag",
|
|
1618
|
-
"
|
|
1619
|
-
"detailRow": "_9FdZvq_detailRow",
|
|
1615
|
+
"cardTop": "_9FdZvq_cardTop",
|
|
1620
1616
|
"tabCount": "_9FdZvq_tabCount",
|
|
1621
|
-
"empty": "_9FdZvq_empty",
|
|
1622
|
-
"headRow": "_9FdZvq_headRow",
|
|
1623
|
-
"sharedTag": "_9FdZvq_sharedTag",
|
|
1624
|
-
"riskHead": "_9FdZvq_riskHead",
|
|
1625
|
-
"riskSummary": "_9FdZvq_riskSummary",
|
|
1626
|
-
"cardEnd": "_9FdZvq_cardEnd",
|
|
1627
|
-
"tab": "_9FdZvq_tab",
|
|
1628
|
-
"reviewButton": "_9FdZvq_reviewButton",
|
|
1629
1617
|
"title": "_9FdZvq_title",
|
|
1630
|
-
"
|
|
1618
|
+
"detailRow": "_9FdZvq_detailRow",
|
|
1619
|
+
"reviewButton": "_9FdZvq_reviewButton",
|
|
1620
|
+
"tabActive": "_9FdZvq_tabActive",
|
|
1631
1621
|
"audit": "_9FdZvq_audit",
|
|
1632
|
-
"reviewError": "_9FdZvq_reviewError",
|
|
1633
|
-
"findingText": "_9FdZvq_findingText",
|
|
1634
|
-
"status": "_9FdZvq_status",
|
|
1635
|
-
"mark": "_9FdZvq_mark",
|
|
1636
|
-
"cardDesc": "_9FdZvq_cardDesc",
|
|
1637
|
-
"emptyIcon": "_9FdZvq_emptyIcon",
|
|
1638
|
-
"pendingTag": "_9FdZvq_pendingTag",
|
|
1639
1622
|
"auditFooter": "_9FdZvq_auditFooter",
|
|
1640
|
-
"
|
|
1641
|
-
"cardTop": "_9FdZvq_cardTop",
|
|
1642
|
-
"cardIcon": "_9FdZvq_cardIcon",
|
|
1643
|
-
"departmentBar": "_9FdZvq_departmentBar",
|
|
1644
|
-
"tagTop": "_9FdZvq_tagTop",
|
|
1645
|
-
"rejectedTag": "_9FdZvq_rejectedTag",
|
|
1646
|
-
"tabActive": "_9FdZvq_tabActive",
|
|
1647
|
-
"detailLabel": "_9FdZvq_detailLabel",
|
|
1648
|
-
"risk": "_9FdZvq_risk",
|
|
1649
|
-
"riskEmpty": "_9FdZvq_riskEmpty",
|
|
1650
|
-
"riskFailed": "_9FdZvq_riskFailed",
|
|
1623
|
+
"notice": "_9FdZvq_notice",
|
|
1651
1624
|
"emptyText": "_9FdZvq_emptyText",
|
|
1652
|
-
"
|
|
1653
|
-
"detailButton": "_9FdZvq_detailButton",
|
|
1625
|
+
"riskEmpty": "_9FdZvq_riskEmpty",
|
|
1654
1626
|
"riskScore": "_9FdZvq_riskScore",
|
|
1627
|
+
"dialog": "_9FdZvq_dialog",
|
|
1628
|
+
"tagTop": "_9FdZvq_tagTop",
|
|
1629
|
+
"reviewNote": "_9FdZvq_reviewNote",
|
|
1630
|
+
"riskFailed": "_9FdZvq_riskFailed",
|
|
1631
|
+
"riskSummary": "_9FdZvq_riskSummary",
|
|
1655
1632
|
"findings": "_9FdZvq_findings",
|
|
1656
|
-
"
|
|
1633
|
+
"cardDesc": "_9FdZvq_cardDesc",
|
|
1634
|
+
"sharedTag": "_9FdZvq_sharedTag",
|
|
1635
|
+
"rejectedTag": "_9FdZvq_rejectedTag",
|
|
1636
|
+
"headRow": "_9FdZvq_headRow",
|
|
1637
|
+
"tab": "_9FdZvq_tab",
|
|
1638
|
+
"departmentBar": "_9FdZvq_departmentBar",
|
|
1639
|
+
"head": "_9FdZvq_head",
|
|
1640
|
+
"tabs": "_9FdZvq_tabs",
|
|
1641
|
+
"auditDialog": "_9FdZvq_auditDialog",
|
|
1642
|
+
"findingText": "_9FdZvq_findingText",
|
|
1657
1643
|
"findingHint": "_9FdZvq_findingHint",
|
|
1658
|
-
"
|
|
1644
|
+
"mine": "_9FdZvq_mine",
|
|
1645
|
+
"cardMarks": "_9FdZvq_cardMarks",
|
|
1646
|
+
"mark": "_9FdZvq_mark",
|
|
1647
|
+
"detailLabel": "_9FdZvq_detailLabel",
|
|
1648
|
+
"departmentLabel": "_9FdZvq_departmentLabel",
|
|
1649
|
+
"reviewError": "_9FdZvq_reviewError",
|
|
1650
|
+
"emptyIcon": "_9FdZvq_emptyIcon",
|
|
1651
|
+
"titleCount": "_9FdZvq_titleCount",
|
|
1652
|
+
"risk": "_9FdZvq_risk",
|
|
1653
|
+
"card": "_9FdZvq_card",
|
|
1654
|
+
"noteField": "_9FdZvq_noteField",
|
|
1655
|
+
"riskHead": "_9FdZvq_riskHead",
|
|
1656
|
+
"pendingTag": "_9FdZvq_pendingTag",
|
|
1657
|
+
"severity": "_9FdZvq_severity",
|
|
1658
|
+
"finding": "_9FdZvq_finding"
|
|
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
|
-
"wordmark": "s0HPxG_wordmark",
|
|
2313
|
+
"unit-right": "s0HPxG_unit-right",
|
|
2315
2314
|
"unit-core": "s0HPxG_unit-core",
|
|
2316
|
-
"animatedMark": "s0HPxG_animatedMark",
|
|
2317
2315
|
"sidebarName": "s0HPxG_sidebarName",
|
|
2318
|
-
"
|
|
2316
|
+
"harness": "s0HPxG_harness",
|
|
2317
|
+
"unitLeft": "s0HPxG_unitLeft",
|
|
2318
|
+
"animatedMark": "s0HPxG_animatedMark",
|
|
2319
2319
|
"unit-left": "s0HPxG_unit-left",
|
|
2320
|
+
"unitRight": "s0HPxG_unitRight",
|
|
2320
2321
|
"mark": "s0HPxG_mark",
|
|
2321
|
-
"
|
|
2322
|
-
"unit-right": "s0HPxG_unit-right",
|
|
2323
|
-
"unitLeft": "s0HPxG_unitLeft",
|
|
2322
|
+
"wordmark": "s0HPxG_wordmark",
|
|
2324
2323
|
"unitCore": "s0HPxG_unitCore",
|
|
2325
|
-
"unit-top": "s0HPxG_unit-top"
|
|
2324
|
+
"unit-top": "s0HPxG_unit-top",
|
|
2325
|
+
"unitTop": "s0HPxG_unitTop"
|
|
2326
2326
|
};
|
|
2327
2327
|
//#endregion
|
|
2328
2328
|
//#region src/client/WanxiangBrand.tsx
|
|
@@ -2739,92 +2739,92 @@ window.__ModuleLoader__.load({
|
|
|
2739
2739
|
document.head.appendChild(tag);
|
|
2740
2740
|
}
|
|
2741
2741
|
var PermissionCenterSection_module_css_default = {
|
|
2742
|
-
"tabGroup": "PNbOqW_tabGroup",
|
|
2743
|
-
"treeToggle": "PNbOqW_treeToggle",
|
|
2744
|
-
"subtitle": "PNbOqW_subtitle",
|
|
2745
|
-
"empty": "PNbOqW_empty",
|
|
2746
|
-
"comboboxPlaceholder": "PNbOqW_comboboxPlaceholder",
|
|
2747
|
-
"deptAdmins": "PNbOqW_deptAdmins",
|
|
2748
|
-
"treeRoot": "PNbOqW_treeRoot",
|
|
2749
|
-
"error": "PNbOqW_error",
|
|
2750
|
-
"field": "PNbOqW_field",
|
|
2751
|
-
"permCopy": "PNbOqW_permCopy",
|
|
2752
|
-
"panelFoot": "PNbOqW_panelFoot",
|
|
2753
|
-
"treeSpacer": "PNbOqW_treeSpacer",
|
|
2754
2742
|
"matrix": "PNbOqW_matrix",
|
|
2755
|
-
"readOnly": "PNbOqW_readOnly",
|
|
2756
|
-
"combobox": "PNbOqW_combobox",
|
|
2757
|
-
"matrixTool": "PNbOqW_matrixTool",
|
|
2758
|
-
"matrixRoleHead": "PNbOqW_matrixRoleHead",
|
|
2759
|
-
"comboboxCheck": "PNbOqW_comboboxCheck",
|
|
2760
|
-
"rowActions": "PNbOqW_rowActions",
|
|
2761
|
-
"roleTag": "PNbOqW_roleTag",
|
|
2762
|
-
"candidate": "PNbOqW_candidate",
|
|
2763
|
-
"matrixHead": "PNbOqW_matrixHead",
|
|
2764
2743
|
"onlyAdmin": "PNbOqW_onlyAdmin",
|
|
2765
|
-
"
|
|
2766
|
-
"
|
|
2744
|
+
"waiting": "PNbOqW_waiting",
|
|
2745
|
+
"permCopy": "PNbOqW_permCopy",
|
|
2746
|
+
"roleTag": "PNbOqW_roleTag",
|
|
2747
|
+
"tableScroll": "PNbOqW_tableScroll",
|
|
2748
|
+
"head": "PNbOqW_head",
|
|
2749
|
+
"demo": "PNbOqW_demo",
|
|
2750
|
+
"matrixRoleHead": "PNbOqW_matrixRoleHead",
|
|
2767
2751
|
"tabDivider": "PNbOqW_tabDivider",
|
|
2768
|
-
"candidates": "PNbOqW_candidates",
|
|
2769
|
-
"matrixNote": "PNbOqW_matrixNote",
|
|
2770
|
-
"matrixModule": "PNbOqW_matrixModule",
|
|
2771
|
-
"treeRow": "PNbOqW_treeRow",
|
|
2772
|
-
"comboboxTrigger": "PNbOqW_comboboxTrigger",
|
|
2773
|
-
"protected": "PNbOqW_protected",
|
|
2774
|
-
"matrixRoleCell": "PNbOqW_matrixRoleCell",
|
|
2775
|
-
"roleSearch": "PNbOqW_roleSearch",
|
|
2776
2752
|
"department": "PNbOqW_department",
|
|
2777
|
-
"
|
|
2778
|
-
"
|
|
2779
|
-
"
|
|
2780
|
-
"
|
|
2781
|
-
"
|
|
2782
|
-
"
|
|
2783
|
-
"headText": "PNbOqW_headText",
|
|
2784
|
-
"notice": "PNbOqW_notice",
|
|
2785
|
-
"waiting": "PNbOqW_waiting",
|
|
2786
|
-
"panelHead": "PNbOqW_panelHead",
|
|
2787
|
-
"treeChildren": "PNbOqW_treeChildren",
|
|
2788
|
-
"dialogFooter": "PNbOqW_dialogFooter",
|
|
2789
|
-
"sectionTitle": "PNbOqW_sectionTitle",
|
|
2753
|
+
"protected": "PNbOqW_protected",
|
|
2754
|
+
"matrixNote": "PNbOqW_matrixNote",
|
|
2755
|
+
"field": "PNbOqW_field",
|
|
2756
|
+
"combobox": "PNbOqW_combobox",
|
|
2757
|
+
"muted": "PNbOqW_muted",
|
|
2758
|
+
"treeName": "PNbOqW_treeName",
|
|
2790
2759
|
"roleSearchWrap": "PNbOqW_roleSearchWrap",
|
|
2791
|
-
"
|
|
2760
|
+
"rowActions": "PNbOqW_rowActions",
|
|
2761
|
+
"copied": "PNbOqW_copied",
|
|
2762
|
+
"error": "PNbOqW_error",
|
|
2763
|
+
"panelHead": "PNbOqW_panelHead",
|
|
2764
|
+
"empty": "PNbOqW_empty",
|
|
2765
|
+
"pager": "PNbOqW_pager",
|
|
2792
2766
|
"title": "PNbOqW_title",
|
|
2793
|
-
"
|
|
2794
|
-
"
|
|
2795
|
-
"
|
|
2796
|
-
"
|
|
2767
|
+
"tabGroup": "PNbOqW_tabGroup",
|
|
2768
|
+
"sectionTitle": "PNbOqW_sectionTitle",
|
|
2769
|
+
"subtitle": "PNbOqW_subtitle",
|
|
2770
|
+
"tabBadge": "PNbOqW_tabBadge",
|
|
2771
|
+
"panelFoot": "PNbOqW_panelFoot",
|
|
2772
|
+
"deptAdmins": "PNbOqW_deptAdmins",
|
|
2773
|
+
"treeChildren": "PNbOqW_treeChildren",
|
|
2774
|
+
"matrixHead": "PNbOqW_matrixHead",
|
|
2775
|
+
"matrixHeadLeft": "PNbOqW_matrixHeadLeft",
|
|
2776
|
+
"candidates": "PNbOqW_candidates",
|
|
2777
|
+
"matrixPermission": "PNbOqW_matrixPermission",
|
|
2778
|
+
"matrixScroll": "PNbOqW_matrixScroll",
|
|
2797
2779
|
"departments": "PNbOqW_departments",
|
|
2798
|
-
"search": "PNbOqW_search",
|
|
2799
2780
|
"comboboxOption": "PNbOqW_comboboxOption",
|
|
2800
|
-
"
|
|
2801
|
-
"
|
|
2802
|
-
"
|
|
2803
|
-
"
|
|
2804
|
-
"
|
|
2805
|
-
"comboboxMenu": "PNbOqW_comboboxMenu",
|
|
2806
|
-
"table": "PNbOqW_table",
|
|
2781
|
+
"comboboxOptionActive": "PNbOqW_comboboxOptionActive",
|
|
2782
|
+
"comboboxEmpty": "PNbOqW_comboboxEmpty",
|
|
2783
|
+
"roleGrant": "PNbOqW_roleGrant",
|
|
2784
|
+
"treeRow": "PNbOqW_treeRow",
|
|
2785
|
+
"adminTag": "PNbOqW_adminTag",
|
|
2807
2786
|
"dialogHint": "PNbOqW_dialogHint",
|
|
2808
|
-
"tab": "PNbOqW_tab",
|
|
2809
|
-
"tableScroll": "PNbOqW_tableScroll",
|
|
2810
|
-
"comboboxList": "PNbOqW_comboboxList",
|
|
2811
|
-
"roleRevoke": "PNbOqW_roleRevoke",
|
|
2812
2787
|
"panel": "PNbOqW_panel",
|
|
2813
|
-
"
|
|
2814
|
-
"
|
|
2788
|
+
"headActions": "PNbOqW_headActions",
|
|
2789
|
+
"matrixModule": "PNbOqW_matrixModule",
|
|
2790
|
+
"notice": "PNbOqW_notice",
|
|
2815
2791
|
"dialog": "PNbOqW_dialog",
|
|
2816
|
-
"
|
|
2817
|
-
"
|
|
2792
|
+
"headText": "PNbOqW_headText",
|
|
2793
|
+
"treeSpacer": "PNbOqW_treeSpacer",
|
|
2794
|
+
"matrixGroup": "PNbOqW_matrixGroup",
|
|
2795
|
+
"comboboxList": "PNbOqW_comboboxList",
|
|
2796
|
+
"roleTags": "PNbOqW_roleTags",
|
|
2797
|
+
"comboboxHint": "PNbOqW_comboboxHint",
|
|
2798
|
+
"treeToggle": "PNbOqW_treeToggle",
|
|
2799
|
+
"tabs": "PNbOqW_tabs",
|
|
2800
|
+
"comboboxTrigger": "PNbOqW_comboboxTrigger",
|
|
2801
|
+
"tabActive": "PNbOqW_tabActive",
|
|
2802
|
+
"matrixRoleCell": "PNbOqW_matrixRoleCell",
|
|
2803
|
+
"detailGrid": "PNbOqW_detailGrid",
|
|
2804
|
+
"search": "PNbOqW_search",
|
|
2805
|
+
"permDescription": "PNbOqW_permDescription",
|
|
2806
|
+
"readOnly": "PNbOqW_readOnly",
|
|
2807
|
+
"matrixPermHead": "PNbOqW_matrixPermHead",
|
|
2808
|
+
"treeRoot": "PNbOqW_treeRoot",
|
|
2818
2809
|
"dialogBody": "PNbOqW_dialogBody",
|
|
2819
|
-
"
|
|
2820
|
-
"
|
|
2821
|
-
"
|
|
2810
|
+
"tab": "PNbOqW_tab",
|
|
2811
|
+
"page": "PNbOqW_page",
|
|
2812
|
+
"matrixTool": "PNbOqW_matrixTool",
|
|
2822
2813
|
"treeActions": "PNbOqW_treeActions",
|
|
2823
2814
|
"scopeBadge": "PNbOqW_scopeBadge",
|
|
2824
|
-
"
|
|
2815
|
+
"comboboxMenu": "PNbOqW_comboboxMenu",
|
|
2816
|
+
"comboboxCheck": "PNbOqW_comboboxCheck",
|
|
2817
|
+
"table": "PNbOqW_table",
|
|
2818
|
+
"dialogFooter": "PNbOqW_dialogFooter",
|
|
2819
|
+
"roleSearch": "PNbOqW_roleSearch",
|
|
2820
|
+
"comboboxPlaceholder": "PNbOqW_comboboxPlaceholder",
|
|
2821
|
+
"matrixToolActive": "PNbOqW_matrixToolActive",
|
|
2822
|
+
"candidate": "PNbOqW_candidate",
|
|
2823
|
+
"roleCell": "PNbOqW_roleCell",
|
|
2824
|
+
"roleSearchIcon": "PNbOqW_roleSearchIcon",
|
|
2825
2825
|
"permission": "PNbOqW_permission",
|
|
2826
|
-
"
|
|
2827
|
-
"
|
|
2826
|
+
"roleRevoke": "PNbOqW_roleRevoke",
|
|
2827
|
+
"comboboxSearch": "PNbOqW_comboboxSearch"
|
|
2828
2828
|
};
|
|
2829
2829
|
//#endregion
|
|
2830
2830
|
//#region src/client/combobox.ts
|
|
@@ -4475,17 +4475,17 @@ window.__ModuleLoader__.load({
|
|
|
4475
4475
|
document.head.appendChild(tag);
|
|
4476
4476
|
}
|
|
4477
4477
|
var WorkspaceUpgradePrompt_module_css_default = {
|
|
4478
|
-
"
|
|
4479
|
-
"
|
|
4480
|
-
"sessionTitle": "razUfG_sessionTitle",
|
|
4478
|
+
"sessionRow": "razUfG_sessionRow",
|
|
4479
|
+
"sessionPath": "razUfG_sessionPath",
|
|
4481
4480
|
"title": "razUfG_title",
|
|
4482
|
-
"
|
|
4481
|
+
"banner": "razUfG_banner",
|
|
4482
|
+
"body": "razUfG_body",
|
|
4483
|
+
"sessionList": "razUfG_sessionList",
|
|
4483
4484
|
"error": "razUfG_error",
|
|
4484
|
-
"
|
|
4485
|
+
"dialogText": "razUfG_dialogText",
|
|
4486
|
+
"sessionTitle": "razUfG_sessionTitle",
|
|
4485
4487
|
"dialogBody": "razUfG_dialogBody",
|
|
4486
|
-
"sessionRow": "razUfG_sessionRow",
|
|
4487
4488
|
"copy": "razUfG_copy",
|
|
4488
|
-
"body": "razUfG_body",
|
|
4489
4489
|
"actions": "razUfG_actions"
|
|
4490
4490
|
};
|
|
4491
4491
|
//#endregion
|
|
@@ -4799,23 +4799,23 @@ window.__ModuleLoader__.load({
|
|
|
4799
4799
|
document.head.appendChild(tag);
|
|
4800
4800
|
}
|
|
4801
4801
|
var NotificationBell_module_css_default = {
|
|
4802
|
-
"
|
|
4803
|
-
"
|
|
4802
|
+
"row": "tE0trG_row",
|
|
4803
|
+
"rowBody": "tE0trG_rowBody",
|
|
4804
4804
|
"linkButton": "tE0trG_linkButton",
|
|
4805
|
-
"
|
|
4806
|
-
"
|
|
4807
|
-
"rowText": "tE0trG_rowText",
|
|
4808
|
-
"rowTime": "tE0trG_rowTime",
|
|
4809
|
-
"rowTitle": "tE0trG_rowTitle",
|
|
4810
|
-
"rowIcon": "tE0trG_rowIcon",
|
|
4811
|
-
"rowMeta": "tE0trG_rowMeta",
|
|
4812
|
-
"pager": "tE0trG_pager",
|
|
4805
|
+
"empty": "tE0trG_empty",
|
|
4806
|
+
"button": "tE0trG_button",
|
|
4813
4807
|
"dialog": "tE0trG_dialog",
|
|
4814
|
-
"
|
|
4808
|
+
"dot": "tE0trG_dot",
|
|
4809
|
+
"rowMeta": "tE0trG_rowMeta",
|
|
4810
|
+
"demo": "tE0trG_demo",
|
|
4815
4811
|
"badge": "tE0trG_badge",
|
|
4812
|
+
"pager": "tE0trG_pager",
|
|
4813
|
+
"rowTime": "tE0trG_rowTime",
|
|
4814
|
+
"rowText": "tE0trG_rowText",
|
|
4816
4815
|
"bell": "tE0trG_bell",
|
|
4817
|
-
"
|
|
4818
|
-
"
|
|
4816
|
+
"list": "tE0trG_list",
|
|
4817
|
+
"rowIcon": "tE0trG_rowIcon",
|
|
4818
|
+
"rowTitle": "tE0trG_rowTitle",
|
|
4819
4819
|
"actions": "tE0trG_actions"
|
|
4820
4820
|
};
|
|
4821
4821
|
//#endregion
|
package/lib/index.js
CHANGED
|
@@ -1005,8 +1005,23 @@ function isScopeActor(actor) {
|
|
|
1005
1005
|
* @param workspaceScope - the scope the registration set was built from.
|
|
1006
1006
|
* @returns true to hide the tool for this Session.
|
|
1007
1007
|
*/
|
|
1008
|
+
/**
|
|
1009
|
+
* Whether a tool's access is declared at all.
|
|
1010
|
+
*
|
|
1011
|
+
* A tool without a policy was written for the workspace principal; a Session acting for a member
|
|
1012
|
+
* must not inherit it, so the disclosure rule treats "no declaration" as "not for visitors".
|
|
1013
|
+
* @param name - the registered tool name.
|
|
1014
|
+
* @returns true when the catalog states who may use the tool.
|
|
1015
|
+
*/
|
|
1016
|
+
function declaresAccessPolicy(name) {
|
|
1017
|
+
const policy = AI_TOOL_ACCESS[name];
|
|
1018
|
+
return policy.superAdminOnly === true || policy.adminOnly === true || policy.reviewer === true || policy.permission !== void 0;
|
|
1019
|
+
}
|
|
1008
1020
|
function sessionHidesTool(name, actor, workspaceScope) {
|
|
1009
|
-
if (actor !== void 0)
|
|
1021
|
+
if (actor !== void 0) {
|
|
1022
|
+
if (!declaresAccessPolicy(name)) return true;
|
|
1023
|
+
return !isScopeActor(actor) || !isToolVisible(name, actor);
|
|
1024
|
+
}
|
|
1010
1025
|
if (workspaceScope === void 0) return true;
|
|
1011
1026
|
return !isToolVisible(name, workspaceScope);
|
|
1012
1027
|
}
|
|
@@ -1038,6 +1053,7 @@ function skillPermissions(metadata) {
|
|
|
1038
1053
|
function sessionHidesSkill(permissions, actor, workspaceScope) {
|
|
1039
1054
|
const effective = actor !== void 0 ? isScopeActor(actor) ? actor : void 0 : workspaceScope;
|
|
1040
1055
|
if (effective === void 0) return true;
|
|
1056
|
+
if (actor !== void 0 && permissions.length === 0) return true;
|
|
1041
1057
|
const held = new Set(permissionList(effective) ?? []);
|
|
1042
1058
|
return !permissions.every((permission) => held.has(permission));
|
|
1043
1059
|
}
|
|
@@ -231,6 +231,15 @@ export declare function isScopeActor(actor: unknown): actor is DataOpsScope;
|
|
|
231
231
|
* @param workspaceScope - the scope the registration set was built from.
|
|
232
232
|
* @returns true to hide the tool for this Session.
|
|
233
233
|
*/
|
|
234
|
+
/**
|
|
235
|
+
* Whether a tool's access is declared at all.
|
|
236
|
+
*
|
|
237
|
+
* A tool without a policy was written for the workspace principal; a Session acting for a member
|
|
238
|
+
* must not inherit it, so the disclosure rule treats "no declaration" as "not for visitors".
|
|
239
|
+
* @param name - the registered tool name.
|
|
240
|
+
* @returns true when the catalog states who may use the tool.
|
|
241
|
+
*/
|
|
242
|
+
export declare function declaresAccessPolicy(name: AiToolName): boolean;
|
|
234
243
|
export declare function sessionHidesTool(name: AiToolName, actor: unknown, workspaceScope: DataOpsScope | undefined): boolean;
|
|
235
244
|
/**
|
|
236
245
|
* Whether the model must not see one skill in this Session.
|
package/package.json
CHANGED