@blueking/ai-ui-sdk 0.4.1-beta.3 → 0.4.1-beta.5
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/dist/components/render-agent/agent-type.vue.css +3 -3
- package/dist/components/render-agent/agent-type.vue.js +1 -1
- package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
- package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
- package/dist/components/render-auto-refresh/index.vue.css +8 -8
- package/dist/components/render-auto-refresh/index.vue.js +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.vue.css +5 -5
- package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
- package/dist/components/render-card/base.script.vue.js +8 -7
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/knowledgebase/index.script.vue.js.js +13 -3
- package/dist/components/render-card/knowledgebase/index.vue.d.ts +3 -1
- package/dist/components/render-card/llm/corner-badge.vue.css +3 -3
- package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
- package/dist/components/render-card/llm/icons.vue.css +2 -2
- package/dist/components/render-card/llm/icons.vue.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +1 -1
- package/dist/components/render-card/llm/info.vue.js +1 -1
- package/dist/components/render-card/llm/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/name-suffix.vue.css +2 -2
- package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
- package/dist/components/render-card/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/prompt/index.script.vue.js.js +5 -9
- package/dist/components/render-card/role/index.script.vue.js.js +15 -15
- package/dist/components/render-card/role/index.vue.d.ts +1 -0
- package/dist/components/render-card/skill/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/tool/actions.script.vue.js.js +19 -39
- package/dist/components/render-card/tool/index.script.vue.js.js +13 -13
- package/dist/components/render-card/tool/index.vue.d.ts +2 -2
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/actions/index.script.vue.js.js +22 -59
- package/dist/components/render-collection/actions/index.vue.d.ts +1 -6
- package/dist/components/render-collection/content/index.script.vue.js +2 -1
- package/dist/components/render-collection/content/index.vue.css +4 -4
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.script.vue.js.js +6 -6
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset-detail/components/header.script.vue.js.js +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
- package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
- package/dist/components/render-dataset-list/components/main.vue.css +3 -3
- package/dist/components/render-dataset-list/components/main.vue.js +1 -1
- package/dist/components/render-dataset-list/index.vue.css +2 -2
- package/dist/components/render-dataset-list/index.vue.js +1 -1
- package/dist/components/render-dialog/choose-resource.script.vue.js +3 -2
- package/dist/components/render-dialog/choose-resource.vue.css +3 -3
- package/dist/components/render-dialog/choose-resource.vue.js +1 -1
- package/dist/components/render-dialog/choose-result.vue.css +14 -14
- package/dist/components/render-dialog/choose-result.vue.js +1 -1
- package/dist/components/render-dialog/choose-space.vue.css +9 -9
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-dropdown/index.vue.d.ts +2 -2
- package/dist/components/render-file-card/index.vue.css +11 -11
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.vue.css +6 -6
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.vue.css +5 -5
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-header/index.script.vue.js.js +56 -44
- package/dist/components/render-header/index.vue.d.ts +5 -1
- package/dist/components/render-header/index.vue.js +0 -2
- package/dist/components/render-knowledge/icon/index.vue.css +1 -1
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-knowledge/search/index.script.vue.js.js +31 -26
- package/dist/components/render-knowledge/search/index.vue.d.ts +1 -0
- package/dist/components/render-prompt/actions/index.script.vue.js.js +17 -50
- package/dist/components/render-prompt/actions/index.vue.d.ts +0 -4
- package/dist/components/render-prompt/content/index.vue.css +1 -1
- package/dist/components/render-prompt/content/index.vue.js +1 -1
- package/dist/components/render-reference/index.vue.css +2 -2
- package/dist/components/render-reference/index.vue.js +1 -1
- package/dist/components/render-resource-version/index.vue.css +2 -2
- package/dist/components/render-resource-version/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-select-plus-extension/index.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-skill/actions/index.script.vue.js.js +9 -12
- package/dist/components/render-skill/actions/index.vue.d.ts +0 -1
- package/dist/components/render-skill/install/index.script.vue.js.js +22 -16
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tags/index.vue.css +6 -6
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/css/g-utilities.css +45 -18
- package/dist/css/g-utilities.manifest.json +11 -5
- package/dist/hooks/use-skill-http.d.ts +2 -2
- package/dist/hooks/use-skill-http.ts.js +2 -2
- package/dist/http/helper/agent.ts.js +2 -2
- package/dist/http/helper/skill.d.ts +2 -1
- package/dist/http/helper/skill.ts.js +8 -0
- package/dist/types/agent.d.ts +2 -2
- package/dist/types/common.d.ts +2 -2
- package/dist/types/enum.d.ts +49 -1
- package/dist/types/enum.ts.js +51 -0
- package/dist/types/skill.d.ts +8 -2
- package/package.json +1 -1
- package/dist/components/render-header/index.vue.css +0 -13
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.t-t-pagination[data-v-
|
|
2
|
+
.t-t-pagination[data-v-9i6bojgy] {
|
|
3
3
|
position: relative;
|
|
4
4
|
padding: 16px 16px 0 16px;
|
|
5
5
|
}
|
|
6
|
-
.t-t-pagination[data-v-
|
|
6
|
+
.t-t-pagination[data-v-9i6bojgy] .bk-pagination-list.is-last {
|
|
7
7
|
margin-left: auto;
|
|
8
8
|
}
|
|
9
|
-
.pagination-loading[data-v-
|
|
9
|
+
.pagination-loading[data-v-9i6bojgy]::after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 0;
|
|
@@ -16,92 +16,92 @@
|
|
|
16
16
|
background-color: rgba(255, 255, 255, 0.6);
|
|
17
17
|
z-index: 72;
|
|
18
18
|
}
|
|
19
|
-
.pagination-border[data-v-
|
|
19
|
+
.pagination-border[data-v-9i6bojgy] {
|
|
20
20
|
border-right: 1px solid #dcdee5;
|
|
21
21
|
border-left: 1px solid #dcdee5;
|
|
22
22
|
border-bottom: 1px solid #dcdee5;
|
|
23
23
|
padding-bottom: 16px;
|
|
24
24
|
}
|
|
25
|
-
.t-t-table[data-v-
|
|
25
|
+
.t-t-table[data-v-9i6bojgy] {
|
|
26
26
|
display: inline;
|
|
27
27
|
font-size: 12px;
|
|
28
28
|
}
|
|
29
|
-
.t-t-table[data-v-
|
|
29
|
+
.t-t-table[data-v-9i6bojgy] .t-table__th-cell-inner {
|
|
30
30
|
color: #313238;
|
|
31
31
|
}
|
|
32
|
-
.t-t-table[data-v-
|
|
32
|
+
.t-t-table[data-v-9i6bojgy] th {
|
|
33
33
|
padding: 0 16px;
|
|
34
34
|
height: 42px;
|
|
35
35
|
background-color: #FAFBFD !important;
|
|
36
36
|
}
|
|
37
|
-
.t-t-table[data-v-
|
|
37
|
+
.t-t-table[data-v-9i6bojgy] .t-table__body tr {
|
|
38
38
|
color: #63656e;
|
|
39
39
|
font-size: 12px;
|
|
40
40
|
}
|
|
41
|
-
.t-t-table[data-v-
|
|
41
|
+
.t-t-table[data-v-9i6bojgy] .t-table__body tr td {
|
|
42
42
|
padding: 0 16px;
|
|
43
43
|
height: 40px;
|
|
44
44
|
}
|
|
45
|
-
.t-t-table[data-v-
|
|
45
|
+
.t-t-table[data-v-9i6bojgy] .t-table__body tr:hover td {
|
|
46
46
|
background-color: #f5f7fa !important;
|
|
47
47
|
color: #63656E;
|
|
48
48
|
}
|
|
49
|
-
.t-t-table[data-v-
|
|
49
|
+
.t-t-table[data-v-9i6bojgy] .t-table__content .t-table__body .t-table__empty-row {
|
|
50
50
|
background-color: #fff !important;
|
|
51
51
|
}
|
|
52
|
-
.t-t-table[data-v-
|
|
52
|
+
.t-t-table[data-v-9i6bojgy] .t-table__content .t-table__body .t-table__empty-row >td {
|
|
53
53
|
border: none;
|
|
54
54
|
}
|
|
55
|
-
.t-t-table[data-v-
|
|
55
|
+
.t-t-table[data-v-9i6bojgy] th .t-table__ellipsis {
|
|
56
56
|
width: auto !important;
|
|
57
57
|
}
|
|
58
|
-
.t-t-table[data-v-
|
|
58
|
+
.t-t-table[data-v-9i6bojgy] .t-loading__gradient.t-icon-loading {
|
|
59
59
|
display: none;
|
|
60
60
|
}
|
|
61
|
-
.t-t-table[data-v-
|
|
61
|
+
.t-t-table[data-v-9i6bojgy]:first-of-type .t-table__affixed-header-elm-wrap{
|
|
62
62
|
width: calc(100% - 6px) !important;
|
|
63
63
|
}
|
|
64
|
-
.t-t-table[data-v-
|
|
64
|
+
.t-t-table[data-v-9i6bojgy] .t-table__affixed-header-elm-wrap>div {
|
|
65
65
|
width: 100% !important;
|
|
66
66
|
scrollbar-width: none;
|
|
67
67
|
}
|
|
68
|
-
.t-t-table[data-v-
|
|
68
|
+
.t-t-table[data-v-9i6bojgy] .t-table--layout-fixed{
|
|
69
69
|
width: 100% !important;
|
|
70
70
|
}
|
|
71
|
-
.t-t-table[data-v-
|
|
71
|
+
.t-t-table[data-v-9i6bojgy] .bk-exception-description{
|
|
72
72
|
margin-bottom: 0;
|
|
73
73
|
}
|
|
74
|
-
.t-t-table[data-v-
|
|
74
|
+
.t-t-table[data-v-9i6bojgy] .t-table__content{
|
|
75
75
|
z-index: 2;
|
|
76
76
|
max-height: 100%;
|
|
77
77
|
overflow: auto;
|
|
78
78
|
}
|
|
79
|
-
.t-t-table[data-v-
|
|
79
|
+
.t-t-table[data-v-9i6bojgy] .t-table__content::-webkit-scrollbar {
|
|
80
80
|
width: 6px;
|
|
81
81
|
height: 6px;
|
|
82
82
|
}
|
|
83
|
-
.t-t-table[data-v-
|
|
83
|
+
.t-t-table[data-v-9i6bojgy] .t-table__content::-webkit-scrollbar-thumb {
|
|
84
84
|
width: 6px;
|
|
85
85
|
height: 6px;
|
|
86
86
|
border-radius: 3px;
|
|
87
87
|
background-color: #dcdee5;
|
|
88
88
|
}
|
|
89
|
-
.t-t-table[data-v-
|
|
89
|
+
.t-t-table[data-v-9i6bojgy] .t-table__content::-webkit-scrollbar-thumb:hover {
|
|
90
90
|
background-color: #979ba5;
|
|
91
91
|
}
|
|
92
|
-
.t-t-table[data-v-
|
|
92
|
+
.t-t-table[data-v-9i6bojgy] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
|
|
93
93
|
line-height: 100%;
|
|
94
94
|
}
|
|
95
|
-
.t-t-table[data-v-
|
|
95
|
+
.t-t-table[data-v-9i6bojgy] .t-table__cell--sort-trigger.t-table__double-icons{
|
|
96
96
|
gap: 5px;
|
|
97
97
|
}
|
|
98
|
-
.t-t-table[data-v-
|
|
98
|
+
.t-t-table[data-v-9i6bojgy] .t-table__sort-icon--active>i{
|
|
99
99
|
color: #3a84ff !important;
|
|
100
100
|
}
|
|
101
|
-
.t-t-table[data-v-
|
|
101
|
+
.t-t-table[data-v-9i6bojgy] .t-table__cell--fixed-left:has(.checkbox){
|
|
102
102
|
line-height: 100%;
|
|
103
103
|
}
|
|
104
|
-
.t-t-table[data-v-
|
|
104
|
+
.t-t-table[data-v-9i6bojgy] .t-table__filter-icon.t-is-focus>span{
|
|
105
105
|
color: #3a84ff !important;
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-tree[data-v-
|
|
2
|
+
.tag-tree[data-v-nbdxhopb] {
|
|
3
3
|
font-size: 12px;
|
|
4
4
|
height: auto;
|
|
5
5
|
max-height: calc(100% - 44px);
|
|
6
6
|
}
|
|
7
|
-
.tag-tree .manage-tree-item[data-v-
|
|
7
|
+
.tag-tree .manage-tree-item[data-v-nbdxhopb] {
|
|
8
8
|
height: 32px;
|
|
9
9
|
flex: 1;
|
|
10
10
|
}
|
|
11
|
-
.tag-tree .quick-icon[data-v-
|
|
11
|
+
.tag-tree .quick-icon[data-v-nbdxhopb] {
|
|
12
12
|
margin-left: -24px;
|
|
13
13
|
padding-left: 8px;
|
|
14
14
|
}
|
|
15
|
-
.tag-tree[data-v-
|
|
15
|
+
.tag-tree[data-v-nbdxhopb] .tree-item:has(.bottom-line) {
|
|
16
16
|
border-bottom: 1px solid #F0F1F5;
|
|
17
17
|
}
|
|
18
|
-
.tag-tree[data-v-
|
|
18
|
+
.tag-tree[data-v-nbdxhopb] .tree-item.active .quick-icon {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
}
|
|
21
|
-
.tag-tree[data-v-
|
|
21
|
+
.tag-tree[data-v-nbdxhopb] .tree-item.active .tag-number {
|
|
22
22
|
background: #A3C5FD;
|
|
23
23
|
color: #fff;
|
|
24
24
|
}
|
|
25
|
-
.tag-number[data-v-
|
|
25
|
+
.tag-number[data-v-nbdxhopb] {
|
|
26
26
|
line-height: 16px;
|
|
27
27
|
padding: 0 4px;
|
|
28
28
|
background-color: #F0F1F5;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-container[data-v-
|
|
2
|
+
.tag-container[data-v-0xpodbd6] {
|
|
3
3
|
visibility: hidden;
|
|
4
4
|
white-space: nowrap;
|
|
5
5
|
column-gap: 4px;
|
|
6
6
|
width: calc(100% - 20px);
|
|
7
7
|
}
|
|
8
|
-
.tag-home[data-v-
|
|
8
|
+
.tag-home[data-v-0xpodbd6] {
|
|
9
9
|
vertical-align: sub;
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
}
|
|
12
|
-
[is-show="true"][data-v-
|
|
12
|
+
[is-show="true"][data-v-0xpodbd6] {
|
|
13
13
|
visibility: visible;
|
|
14
14
|
}
|
|
15
|
-
[is-show="false"][data-v-
|
|
15
|
+
[is-show="false"][data-v-0xpodbd6] {
|
|
16
16
|
display: none !important;
|
|
17
17
|
}
|
|
18
|
-
.popover-main[data-v-
|
|
18
|
+
.popover-main[data-v-0xpodbd6] {
|
|
19
19
|
padding: 8px 8px 10px;
|
|
20
20
|
}
|
|
21
|
-
.tag-list[data-v-
|
|
21
|
+
.tag-list[data-v-0xpodbd6] {
|
|
22
22
|
border-radius: 2px;
|
|
23
23
|
background: #F0F1F5;
|
|
24
24
|
}
|
package/dist/css/g-utilities.css
CHANGED
|
@@ -109,10 +109,6 @@
|
|
|
109
109
|
padding-left: 16px !important;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.\!g-pl-24 {
|
|
113
|
-
padding-left: 24px !important;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
112
|
.\!g-pl-5 {
|
|
117
113
|
padding-left: 5px !important;
|
|
118
114
|
}
|
|
@@ -185,10 +181,22 @@
|
|
|
185
181
|
position: absolute;
|
|
186
182
|
}
|
|
187
183
|
|
|
184
|
+
.g-bg-F0F1F5 {
|
|
185
|
+
background-color: #F0F1F5;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
188
|
.g-bg-fafbfd {
|
|
189
189
|
background-color: #fafbfd;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
+
.g-bg-white {
|
|
193
|
+
background-color: #fff;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.g-border-b-\[\#EAEBF0\] {
|
|
197
|
+
border-bottom: 1px solid #EAEBF0;
|
|
198
|
+
}
|
|
199
|
+
|
|
192
200
|
.g-border-radio-100 {
|
|
193
201
|
border-radius: 100%;
|
|
194
202
|
}
|
|
@@ -235,6 +243,10 @@
|
|
|
235
243
|
cursor: grab;
|
|
236
244
|
}
|
|
237
245
|
|
|
246
|
+
.g-cursor-not-allowed {
|
|
247
|
+
cursor: not-allowed;
|
|
248
|
+
}
|
|
249
|
+
|
|
238
250
|
.g-cursor-pointer {
|
|
239
251
|
cursor: pointer;
|
|
240
252
|
}
|
|
@@ -733,6 +745,10 @@
|
|
|
733
745
|
padding: 2px;
|
|
734
746
|
}
|
|
735
747
|
|
|
748
|
+
.g-p-4 {
|
|
749
|
+
padding: 4px;
|
|
750
|
+
}
|
|
751
|
+
|
|
736
752
|
.g-pb-12 {
|
|
737
753
|
padding-bottom: 12px;
|
|
738
754
|
}
|
|
@@ -749,10 +765,6 @@
|
|
|
749
765
|
padding-bottom: 4px;
|
|
750
766
|
}
|
|
751
767
|
|
|
752
|
-
.g-pb-8 {
|
|
753
|
-
padding-bottom: 8px;
|
|
754
|
-
}
|
|
755
|
-
|
|
756
768
|
.g-permission-cursor-element {
|
|
757
769
|
mask-image: url('../assets/svg/lock.svg?inline');
|
|
758
770
|
height: 16px;
|
|
@@ -767,8 +779,8 @@
|
|
|
767
779
|
padding-left: 16px;
|
|
768
780
|
}
|
|
769
781
|
|
|
770
|
-
.g-pl-
|
|
771
|
-
padding-left:
|
|
782
|
+
.g-pl-24 {
|
|
783
|
+
padding-left: 24px;
|
|
772
784
|
}
|
|
773
785
|
|
|
774
786
|
.g-popover-confirm {
|
|
@@ -800,14 +812,6 @@ padding: 0px !important;
|
|
|
800
812
|
padding-right: 16px;
|
|
801
813
|
}
|
|
802
814
|
|
|
803
|
-
.g-pr-24 {
|
|
804
|
-
padding-right: 24px;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
.g-pr-8 {
|
|
808
|
-
padding-right: 8px;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
815
|
.g-pt-12 {
|
|
812
816
|
padding-top: 12px;
|
|
813
817
|
}
|
|
@@ -824,6 +828,11 @@ padding: 0px !important;
|
|
|
824
828
|
padding-top: 8px;
|
|
825
829
|
}
|
|
826
830
|
|
|
831
|
+
.g-px-12 {
|
|
832
|
+
padding-left: 12px;
|
|
833
|
+
padding-right: 12px;
|
|
834
|
+
}
|
|
835
|
+
|
|
827
836
|
.g-px-16 {
|
|
828
837
|
padding-left: 16px;
|
|
829
838
|
padding-right: 16px;
|
|
@@ -839,6 +848,16 @@ padding: 0px !important;
|
|
|
839
848
|
padding-right: 4px;
|
|
840
849
|
}
|
|
841
850
|
|
|
851
|
+
.g-py-12 {
|
|
852
|
+
padding-top: 12px;
|
|
853
|
+
padding-bottom: 12px;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.g-py-2 {
|
|
857
|
+
padding-top: 2px;
|
|
858
|
+
padding-bottom: 2px;
|
|
859
|
+
}
|
|
860
|
+
|
|
842
861
|
.g-radio-group {
|
|
843
862
|
width: 100%;
|
|
844
863
|
|
|
@@ -930,6 +949,10 @@ padding: 0px !important;
|
|
|
930
949
|
}
|
|
931
950
|
}
|
|
932
951
|
|
|
952
|
+
.g-shadow-\[0_3px_4px_0_\#0000000a\] {
|
|
953
|
+
box-shadow: 0 3px 4px 0 #0000000a;
|
|
954
|
+
}
|
|
955
|
+
|
|
933
956
|
.g-short-form {
|
|
934
957
|
.form-item {
|
|
935
958
|
margin-bottom: 16px;
|
|
@@ -1148,6 +1171,10 @@ padding: 0px !important;
|
|
|
1148
1171
|
width: 88px;
|
|
1149
1172
|
}
|
|
1150
1173
|
|
|
1174
|
+
.g-w-full {
|
|
1175
|
+
width: 100%;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1151
1178
|
.g-white-footer-table {
|
|
1152
1179
|
.bk-table-footer {
|
|
1153
1180
|
background-color: #fff;
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"!g-no-validate-form-item",
|
|
22
22
|
"!g-overflow-hidden",
|
|
23
23
|
"!g-pl-16",
|
|
24
|
-
"!g-pl-24",
|
|
25
24
|
"!g-pl-5",
|
|
26
25
|
"!g-pl-6",
|
|
27
26
|
"!g-pr-16",
|
|
@@ -40,13 +39,17 @@
|
|
|
40
39
|
"!g-w-full",
|
|
41
40
|
"!g-z-9999",
|
|
42
41
|
"g-absolute",
|
|
42
|
+
"g-bg-F0F1F5",
|
|
43
43
|
"g-bg-fafbfd",
|
|
44
|
+
"g-bg-white",
|
|
45
|
+
"g-border-b-[#EAEBF0]",
|
|
44
46
|
"g-border-radio-100",
|
|
45
47
|
"g-border-t-1",
|
|
46
48
|
"g-border-t-F0F1F5",
|
|
47
49
|
"g-confirm",
|
|
48
50
|
"g-confirm-delete",
|
|
49
51
|
"g-cursor-grab",
|
|
52
|
+
"g-cursor-not-allowed",
|
|
50
53
|
"g-cursor-pointer",
|
|
51
54
|
"g-deleted-resource",
|
|
52
55
|
"g-disabled",
|
|
@@ -143,26 +146,27 @@
|
|
|
143
146
|
"g-p-0",
|
|
144
147
|
"g-p-12",
|
|
145
148
|
"g-p-2",
|
|
149
|
+
"g-p-4",
|
|
146
150
|
"g-pb-12",
|
|
147
151
|
"g-pb-14",
|
|
148
152
|
"g-pb-20",
|
|
149
153
|
"g-pb-4",
|
|
150
|
-
"g-pb-8",
|
|
151
154
|
"g-permission-cursor-element",
|
|
152
155
|
"g-pl-12",
|
|
153
156
|
"g-pl-16",
|
|
154
|
-
"g-pl-
|
|
157
|
+
"g-pl-24",
|
|
155
158
|
"g-popover-confirm",
|
|
156
159
|
"g-pr-16",
|
|
157
|
-
"g-pr-24",
|
|
158
|
-
"g-pr-8",
|
|
159
160
|
"g-pt-12",
|
|
160
161
|
"g-pt-14",
|
|
161
162
|
"g-pt-16",
|
|
162
163
|
"g-pt-8",
|
|
164
|
+
"g-px-12",
|
|
163
165
|
"g-px-16",
|
|
164
166
|
"g-px-24",
|
|
165
167
|
"g-px-4",
|
|
168
|
+
"g-py-12",
|
|
169
|
+
"g-py-2",
|
|
166
170
|
"g-radio-group",
|
|
167
171
|
"g-relative",
|
|
168
172
|
"g-resource-description",
|
|
@@ -173,6 +177,7 @@
|
|
|
173
177
|
"g-rounded-2",
|
|
174
178
|
"g-scrollbar",
|
|
175
179
|
"g-scrollbar-page",
|
|
180
|
+
"g-shadow-[0_3px_4px_0_#0000000a]",
|
|
176
181
|
"g-short-form",
|
|
177
182
|
"g-show-dialog",
|
|
178
183
|
"g-shrink-0",
|
|
@@ -206,6 +211,7 @@
|
|
|
206
211
|
"g-w-200",
|
|
207
212
|
"g-w-64",
|
|
208
213
|
"g-w-88",
|
|
214
|
+
"g-w-full",
|
|
209
215
|
"g-white-footer-table",
|
|
210
216
|
"g-whitespace-pre-line",
|
|
211
217
|
"hover:!g-bg-[#dcdee5]",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { IFetchConfig } from '@/http/fetch';
|
|
3
|
-
import type { ISkillApi, ISkillCountParam, ISkillInstallGuide, ISkillListParam, ISkillOpenclawWindowsInstallParam,
|
|
3
|
+
import type { ISkillApi, ISkillCountParam, ISkillInstallGuide, ISkillListParam, ISkillOpenclawWindowsInstallParam, ISkillOpenclawWindowsInstallTaskStatusParam, ISkillOpenclawWindowsInstanceStatusParam } from '@/types/skill';
|
|
4
4
|
export declare const useSkillHttp: (apiPrefix: string, spaceId?: Ref<string>) => {
|
|
5
5
|
getSkillList: {
|
|
6
6
|
(param: ISkillListParam, config?: IFetchConfig): Promise<import("@/types/common").IPaginationResponse<import("@/types/skill").ISkill>>;
|
|
@@ -22,7 +22,7 @@ export declare const useSkillHttp: (apiPrefix: string, spaceId?: Ref<string>) =>
|
|
|
22
22
|
getSkillOpenclawWindowsInstancesStatus: (data: ISkillOpenclawWindowsInstanceStatusParam) => Promise<import("@/types/skill").ISkillOpenclawWindowsInstanceStatusMap>;
|
|
23
23
|
installSkillToOpenclawWindows: (data: ISkillOpenclawWindowsInstallParam) => Promise<import("@/types/skill").ISkillOpenclawWindowsInstallTasks>;
|
|
24
24
|
getSkillOpenclawWindowsInstallTasksStatus: {
|
|
25
|
-
(data: ISkillOpenclawWindowsInstallTaskStatusParam): Promise<
|
|
25
|
+
(data: ISkillOpenclawWindowsInstallTaskStatusParam): Promise<import("@/types/skill").ISkillOpenclawWindowsInstallTaskStatusMap>;
|
|
26
26
|
abort(): void;
|
|
27
27
|
};
|
|
28
28
|
getSkillBuildLog: {
|
|
@@ -51,7 +51,7 @@ function _object_spread_props(target, source) {
|
|
|
51
51
|
return target;
|
|
52
52
|
}
|
|
53
53
|
import fetch, { withAbort } from '../http/fetch/index.ts.js';
|
|
54
|
-
import { transferSkillApi2Skill, transferSkillBuildLogApi2SkillBuildLog, transferSkillCount2SkillCountApi, transferSkillInstallGuide2SkillInstallGuideApi, transferSkillInstallTargetApi2SkillInstallTarget, transferSkillOpenclawWindowsInstallParam2SkillOpenclawWindowsInstallParamApi, transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsInstallTasks, transferSkillOpenclawWindowsInstallTaskStatusParam2SkillOpenclawWindowsInstallTaskStatusParamApi, transferSkillOpenclawWindowsInstanceApi2SkillOpenclawWindowsInstance, transferSkillOpenclawWindowsInstanceStatusMapApi2SkillOpenclawWindowsInstanceStatusMap, transferSkillOpenclawWindowsInstanceStatusParam2SkillOpenclawWindowsInstanceStatusParamApi } from '../http/helper/skill.ts.js';
|
|
54
|
+
import { transferSkillApi2Skill, transferSkillBuildLogApi2SkillBuildLog, transferSkillCount2SkillCountApi, transferSkillInstallGuide2SkillInstallGuideApi, transferSkillInstallTargetApi2SkillInstallTarget, transferSkillOpenclawWindowsInstallParam2SkillOpenclawWindowsInstallParamApi, transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsInstallTasks, transferSkillOpenclawWindowsInstallTaskStatusMapApi2SkillOpenclawWindowsInstallTaskStatusMap, transferSkillOpenclawWindowsInstallTaskStatusParam2SkillOpenclawWindowsInstallTaskStatusParamApi, transferSkillOpenclawWindowsInstanceApi2SkillOpenclawWindowsInstance, transferSkillOpenclawWindowsInstanceStatusMapApi2SkillOpenclawWindowsInstanceStatusMap, transferSkillOpenclawWindowsInstanceStatusParam2SkillOpenclawWindowsInstanceStatusParamApi } from '../http/helper/skill.ts.js';
|
|
55
55
|
import { transferPaginationResponseApi2PaginationResponse, transferReferringAgentApi2ReferringAgent, transferResourceCountApi2ResourceCount, transferSkillParam2SkillParamApi } from '../transforms.ts.js';
|
|
56
56
|
export const useSkillHttp = (apiPrefix, spaceId)=>{
|
|
57
57
|
// 获取 Skill 列表
|
|
@@ -129,7 +129,7 @@ export const useSkillHttp = (apiPrefix, spaceId)=>{
|
|
|
129
129
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
130
130
|
},
|
|
131
131
|
signal
|
|
132
|
-
}));
|
|
132
|
+
}).then(transferSkillOpenclawWindowsInstallTaskStatusMapApi2SkillOpenclawWindowsInstallTaskStatusMap));
|
|
133
133
|
// 获取 Skill 构建日志
|
|
134
134
|
const getSkillBuildLog = withAbort((signal, id, version)=>fetch.get(`${apiPrefix}/skill/v1/skill/${id}/build_log/`, {
|
|
135
135
|
version
|
|
@@ -173,7 +173,7 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
173
173
|
collection_variables: ((_data_promptSetting_collectionVariables = data.promptSetting.collectionVariables) === null || _data_promptSetting_collectionVariables === void 0 ? void 0 : _data_promptSetting_collectionVariables.map(transferVariable2VariableApi)) || [],
|
|
174
174
|
collection_content: data.promptSetting.collectionContent,
|
|
175
175
|
llm_code: data.promptSetting.llmCode,
|
|
176
|
-
|
|
176
|
+
fallback_model: data.promptSetting.fallbackModel,
|
|
177
177
|
temperature: data.promptSetting.temperature,
|
|
178
178
|
context_window: data.promptSetting.contextWindow,
|
|
179
179
|
llm_token_limit: data.promptSetting.llmTokenLimit,
|
|
@@ -239,7 +239,7 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
239
239
|
collectionVariables: ((_data_prompt_setting_collection_variables = data.prompt_setting.collection_variables) === null || _data_prompt_setting_collection_variables === void 0 ? void 0 : _data_prompt_setting_collection_variables.map(transferVariableApi2Variable)) || [],
|
|
240
240
|
collectionContent: data.prompt_setting.collection_content,
|
|
241
241
|
llmCode: data.prompt_setting.llm_code,
|
|
242
|
-
|
|
242
|
+
fallbackModel: data.prompt_setting.fallback_model,
|
|
243
243
|
temperature: data.prompt_setting.temperature,
|
|
244
244
|
contextWindow: data.prompt_setting.context_window,
|
|
245
245
|
llmTokenLimit: data.prompt_setting.llm_token_limit,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ISkill, ISkillApi, ISkillBuildLog, ISkillBuildLogApi, ISkillCountParam, ISkillCountParamApi, ISkillForm, ISkillFormApi, ISkillInstallGuide, ISkillInstallGuideApi, ISkillInstallTarget, ISkillInstallTargetApi, ISkillListParam, ISkillListParamApi, ISkillOpenclawWindowsInstallParam, ISkillOpenclawWindowsInstallParamApi, ISkillOpenclawWindowsInstallTasks, ISkillOpenclawWindowsInstallTasksApi, ISkillOpenclawWindowsInstallTaskStatusParam, ISkillOpenclawWindowsInstallTaskStatusParamApi, ISkillOpenclawWindowsInstance, ISkillOpenclawWindowsInstanceApi, ISkillOpenclawWindowsInstanceStatusMap, ISkillOpenclawWindowsInstanceStatusMapApi, ISkillOpenclawWindowsInstanceStatusParam, ISkillOpenclawWindowsInstanceStatusParamApi } from '@/types/skill';
|
|
1
|
+
import type { ISkill, ISkillApi, ISkillBuildLog, ISkillBuildLogApi, ISkillCountParam, ISkillCountParamApi, ISkillForm, ISkillFormApi, ISkillInstallGuide, ISkillInstallGuideApi, ISkillInstallTarget, ISkillInstallTargetApi, ISkillListParam, ISkillListParamApi, ISkillOpenclawWindowsInstallParam, ISkillOpenclawWindowsInstallParamApi, ISkillOpenclawWindowsInstallTasks, ISkillOpenclawWindowsInstallTasksApi, ISkillOpenclawWindowsInstallTaskStatusMap, ISkillOpenclawWindowsInstallTaskStatusMapApi, ISkillOpenclawWindowsInstallTaskStatusParam, ISkillOpenclawWindowsInstallTaskStatusParamApi, ISkillOpenclawWindowsInstance, ISkillOpenclawWindowsInstanceApi, ISkillOpenclawWindowsInstanceStatusMap, ISkillOpenclawWindowsInstanceStatusMapApi, ISkillOpenclawWindowsInstanceStatusParam, ISkillOpenclawWindowsInstanceStatusParamApi } from '@/types/skill';
|
|
2
2
|
/**
|
|
3
3
|
* ui转换为接口使用(表单字段)
|
|
4
4
|
* @param data ISkillForm
|
|
@@ -43,5 +43,6 @@ export declare const transferSkillOpenclawWindowsInstance2SkillOpenclawWindowsIn
|
|
|
43
43
|
export declare const transferSkillOpenclawWindowsInstallParam2SkillOpenclawWindowsInstallParamApi: (data: ISkillOpenclawWindowsInstallParam) => ISkillOpenclawWindowsInstallParamApi;
|
|
44
44
|
export declare const transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsInstallTasks: (data: ISkillOpenclawWindowsInstallTasksApi) => ISkillOpenclawWindowsInstallTasks;
|
|
45
45
|
export declare const transferSkillOpenclawWindowsInstallTaskStatusParam2SkillOpenclawWindowsInstallTaskStatusParamApi: (data: ISkillOpenclawWindowsInstallTaskStatusParam) => ISkillOpenclawWindowsInstallTaskStatusParamApi;
|
|
46
|
+
export declare const transferSkillOpenclawWindowsInstallTaskStatusMapApi2SkillOpenclawWindowsInstallTaskStatusMap: (data: ISkillOpenclawWindowsInstallTaskStatusMapApi) => ISkillOpenclawWindowsInstallTaskStatusMap;
|
|
46
47
|
export declare const transferSkillOpenclawWindowsInstanceStatusParam2SkillOpenclawWindowsInstanceStatusParamApi: (data: ISkillOpenclawWindowsInstanceStatusParam) => ISkillOpenclawWindowsInstanceStatusParamApi;
|
|
47
48
|
export declare const transferSkillOpenclawWindowsInstanceStatusMapApi2SkillOpenclawWindowsInstanceStatusMap: (data: ISkillOpenclawWindowsInstanceStatusMapApi) => ISkillOpenclawWindowsInstanceStatusMap;
|
|
@@ -195,6 +195,14 @@ export const transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsIns
|
|
|
195
195
|
export const transferSkillOpenclawWindowsInstallTaskStatusParam2SkillOpenclawWindowsInstallTaskStatusParamApi = (data)=>({
|
|
196
196
|
task_ids: data.taskIds
|
|
197
197
|
});
|
|
198
|
+
export const transferSkillOpenclawWindowsInstallTaskStatusMapApi2SkillOpenclawWindowsInstallTaskStatusMap = (data)=>{
|
|
199
|
+
return Object.entries(data).reduce((result, [taskId, task])=>_object_spread_props(_object_spread({}, result), {
|
|
200
|
+
[taskId]: {
|
|
201
|
+
status: task.status,
|
|
202
|
+
failMsg: task.fail_msg
|
|
203
|
+
}
|
|
204
|
+
}), {});
|
|
205
|
+
};
|
|
198
206
|
export const transferSkillOpenclawWindowsInstanceStatusParam2SkillOpenclawWindowsInstanceStatusParamApi = (data)=>({
|
|
199
207
|
skill_id: data.skillId,
|
|
200
208
|
workspaces: data.workspaces.map(transferSkillOpenclawWindowsInstance2SkillOpenclawWindowsInstanceApi)
|
package/dist/types/agent.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export interface IAgentFormApi extends IResourceFormCommonApi {
|
|
|
114
114
|
collection_variables?: IVariableApi[];
|
|
115
115
|
collection_content?: IContent[];
|
|
116
116
|
llm_code: string;
|
|
117
|
-
|
|
117
|
+
fallback_model?: string;
|
|
118
118
|
temperature?: number;
|
|
119
119
|
context_window?: number;
|
|
120
120
|
llm_token_limit?: number;
|
|
@@ -172,7 +172,7 @@ export interface IAgentForm extends IResourceFormCommon {
|
|
|
172
172
|
collectionVariables?: IVariable[];
|
|
173
173
|
collectionContent?: IContent[];
|
|
174
174
|
llmCode: string;
|
|
175
|
-
|
|
175
|
+
fallbackModel?: string;
|
|
176
176
|
temperature?: number;
|
|
177
177
|
contextWindow?: number;
|
|
178
178
|
llmTokenLimit?: number;
|
package/dist/types/common.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PrimaryTableCol, TableColumnFilter } from 'tdesign-vue-next';
|
|
2
|
-
import { EnumCharacter, GroupType, OrderMethod, ResourceStatus, TTableFilterType } from './enum';
|
|
2
|
+
import { EnumCharacter, GroupType, OrderMethod, ResourceStatus, SessionPromptRole, TTableFilterType } from './enum';
|
|
3
3
|
import type { IResourcePermission, IResourcePermissionApi } from './permission';
|
|
4
4
|
export interface ITab {
|
|
5
5
|
id?: string | number;
|
|
@@ -133,7 +133,7 @@ export interface IVariableApi {
|
|
|
133
133
|
field_value: string | IContent[];
|
|
134
134
|
}
|
|
135
135
|
export interface IContent {
|
|
136
|
-
role:
|
|
136
|
+
role: SessionPromptRole;
|
|
137
137
|
content: string;
|
|
138
138
|
}
|
|
139
139
|
export interface IVariable {
|
package/dist/types/enum.d.ts
CHANGED
|
@@ -1,3 +1,50 @@
|
|
|
1
|
+
export declare enum SessionPromptRole {
|
|
2
|
+
System = "system",
|
|
3
|
+
Assistant = "assistant",
|
|
4
|
+
User = "user",
|
|
5
|
+
Guide = "guide",
|
|
6
|
+
Pause = "pause",
|
|
7
|
+
UserImage = "user-image",
|
|
8
|
+
Placeholder = "placeholder",
|
|
9
|
+
Hidden = "hidden",
|
|
10
|
+
HiddenUser = "hidden-user",
|
|
11
|
+
HiddenAssistant = "hidden-assistant",
|
|
12
|
+
HiddenSystem = "hidden-system",
|
|
13
|
+
HiddenGuide = "hidden-guide",
|
|
14
|
+
TemplateUser = "template-user",
|
|
15
|
+
TemplateAssistant = "template-assistant",
|
|
16
|
+
TemplateSystem = "template-system",
|
|
17
|
+
TemplateGuide = "template-guide",
|
|
18
|
+
TemplateHidden = "template-hidden"
|
|
19
|
+
}
|
|
20
|
+
export declare enum SessionContentStatus {
|
|
21
|
+
Fail = "fail",
|
|
22
|
+
Loading = "loading",
|
|
23
|
+
Success = "success"
|
|
24
|
+
}
|
|
25
|
+
export declare enum SessionContentRole {
|
|
26
|
+
Ai = "ai",
|
|
27
|
+
User = "user",
|
|
28
|
+
Time = "time",
|
|
29
|
+
System = "system",
|
|
30
|
+
Role = "role",
|
|
31
|
+
Hidden = "hidden",
|
|
32
|
+
Guide = "guide",
|
|
33
|
+
Pause = "pause",
|
|
34
|
+
TokenExpired = "token-expired",
|
|
35
|
+
UserImage = "user-image",
|
|
36
|
+
Placeholder = "placeholder",
|
|
37
|
+
HiddenUser = "hidden-user",
|
|
38
|
+
HiddenAi = "hidden-ai",
|
|
39
|
+
HiddenRole = "hidden-role",
|
|
40
|
+
HiddenGuide = "hidden-guide",
|
|
41
|
+
TemplateUser = "template-user",
|
|
42
|
+
TemplateAi = "template-ai",
|
|
43
|
+
TemplateRole = "template-role",
|
|
44
|
+
TemplateGuide = "template-guide",
|
|
45
|
+
TemplateHidden = "template-hidden",
|
|
46
|
+
ImageNotSupported = "image-not-supported"
|
|
47
|
+
}
|
|
1
48
|
export declare enum HttpErrorCode {
|
|
2
49
|
TokenExpired = "80003",
|
|
3
50
|
ImageNotSupported = "82003",
|
|
@@ -35,7 +82,8 @@ export declare enum FileStatus {
|
|
|
35
82
|
export declare enum ResourceStatus {
|
|
36
83
|
Deleted = "deleted",
|
|
37
84
|
NoPermission = "no_permission",
|
|
38
|
-
PermissionPending = "permission-pending"
|
|
85
|
+
PermissionPending = "permission-pending",
|
|
86
|
+
Ready = "ready"
|
|
39
87
|
}
|
|
40
88
|
export declare enum SkillStatus {
|
|
41
89
|
Publishing = "publishing",
|