@blueking/ai-ui-sdk 0.3.0-beta.20 → 0.3.0-beta.22
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/common/constants.d.ts +1 -0
- package/dist/common/constants.ts.js +1 -0
- 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/index.script.vue.js.js +3 -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/agent-command/name-suffix.script.vue.js.js +20 -47
- package/dist/components/render-card/base.script.vue.js +5 -2
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.d.ts +1 -0
- package/dist/components/render-card/base.vue.js +1 -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/skill/index.script.vue.js.js +3 -1
- 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-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/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 +2 -2
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- 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 +2 -2
- 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-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.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.script.vue.js.js +2 -1
- package/dist/components/render-dialog/choose-space.vue.css +11 -8
- 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-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.vue.css +3 -3
- package/dist/components/render-header/index.vue.js +1 -1
- 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-like/index.vue.css +5 -5
- package/dist/components/render-like/index.vue.js +1 -1
- 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-info/index.script.vue.js +6 -1
- package/dist/components/render-resource-info/index.vue.d.ts +1 -0
- 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/install/index.script.vue.js.js +266 -30
- package/dist/components/render-skill/install/openclaw-linux-guide.script.vue.js.js +52 -0
- package/dist/components/render-skill/install/openclaw-linux-guide.vue.d.ts +8 -0
- package/dist/components/render-skill/install/openclaw-linux-guide.vue.js +3 -0
- package/dist/components/render-skill/install/openclaw-windows-instances.script.vue.js.js +134 -0
- package/dist/components/render-skill/install/openclaw-windows-instances.vue.d.ts +14 -0
- package/dist/components/render-skill/install/openclaw-windows-instances.vue.js +3 -0
- 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 +28 -0
- package/dist/css/g-utilities.manifest.json +7 -0
- package/dist/hooks/use-skill-http.d.ts +9 -1
- package/dist/hooks/use-skill-http.ts.js +37 -1
- package/dist/http/helper/agent.ts.js +4 -2
- package/dist/http/helper/skill.d.ts +9 -1
- package/dist/http/helper/skill.ts.js +40 -0
- package/dist/types/agent.d.ts +2 -0
- package/dist/types/enum.d.ts +13 -0
- package/dist/types/enum.ts.js +15 -0
- package/dist/types/skill.d.ts +61 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
.t-t-pagination[data-v-
|
|
2
|
+
.t-t-pagination[data-v-jt4bojrh] {
|
|
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-jt4bojrh] .bk-pagination-list.is-last {
|
|
7
7
|
margin-left: auto;
|
|
8
8
|
}
|
|
9
|
-
.pagination-loading[data-v-
|
|
9
|
+
.pagination-loading[data-v-jt4bojrh]::after {
|
|
10
10
|
content: '';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 0;
|
|
@@ -16,93 +16,93 @@
|
|
|
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-jt4bojrh] {
|
|
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-jt4bojrh] {
|
|
26
26
|
display: inline;
|
|
27
27
|
font-size: 12px;
|
|
28
28
|
}
|
|
29
|
-
.t-t-table[data-v-
|
|
29
|
+
.t-t-table[data-v-jt4bojrh] .t-table__th-cell-inner {
|
|
30
30
|
color: #313238;
|
|
31
31
|
}
|
|
32
|
-
.t-t-table[data-v-
|
|
32
|
+
.t-t-table[data-v-jt4bojrh] 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-jt4bojrh] .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-jt4bojrh] .t-table__body tr td {
|
|
42
42
|
padding: 0 16px;
|
|
43
43
|
height: 40px;
|
|
44
44
|
background-color: #fff;
|
|
45
45
|
}
|
|
46
|
-
.t-t-table[data-v-
|
|
46
|
+
.t-t-table[data-v-jt4bojrh] .t-table__body tr:hover td {
|
|
47
47
|
background-color: #f5f7fa !important;
|
|
48
48
|
color: #63656E;
|
|
49
49
|
}
|
|
50
|
-
.t-t-table[data-v-
|
|
50
|
+
.t-t-table[data-v-jt4bojrh] .t-table__content .t-table__body .t-table__empty-row {
|
|
51
51
|
background-color: #fff !important;
|
|
52
52
|
}
|
|
53
|
-
.t-t-table[data-v-
|
|
53
|
+
.t-t-table[data-v-jt4bojrh] .t-table__content .t-table__body .t-table__empty-row >td {
|
|
54
54
|
border: none;
|
|
55
55
|
}
|
|
56
|
-
.t-t-table[data-v-
|
|
56
|
+
.t-t-table[data-v-jt4bojrh] th .t-table__ellipsis {
|
|
57
57
|
width: auto !important;
|
|
58
58
|
}
|
|
59
|
-
.t-t-table[data-v-
|
|
59
|
+
.t-t-table[data-v-jt4bojrh] .t-loading__gradient.t-icon-loading {
|
|
60
60
|
display: none;
|
|
61
61
|
}
|
|
62
|
-
.t-t-table[data-v-
|
|
62
|
+
.t-t-table[data-v-jt4bojrh]:first-of-type .t-table__affixed-header-elm-wrap{
|
|
63
63
|
width: calc(100% - 6px) !important;
|
|
64
64
|
}
|
|
65
|
-
.t-t-table[data-v-
|
|
65
|
+
.t-t-table[data-v-jt4bojrh] .t-table__affixed-header-elm-wrap>div {
|
|
66
66
|
width: 100% !important;
|
|
67
67
|
scrollbar-width: none;
|
|
68
68
|
}
|
|
69
|
-
.t-t-table[data-v-
|
|
69
|
+
.t-t-table[data-v-jt4bojrh] .t-table--layout-fixed{
|
|
70
70
|
width: 100% !important;
|
|
71
71
|
}
|
|
72
|
-
.t-t-table[data-v-
|
|
72
|
+
.t-t-table[data-v-jt4bojrh] .bk-exception-description{
|
|
73
73
|
margin-bottom: 0;
|
|
74
74
|
}
|
|
75
|
-
.t-t-table[data-v-
|
|
75
|
+
.t-t-table[data-v-jt4bojrh] .t-table__content{
|
|
76
76
|
z-index: 2;
|
|
77
77
|
max-height: 100%;
|
|
78
78
|
overflow: auto;
|
|
79
79
|
}
|
|
80
|
-
.t-t-table[data-v-
|
|
80
|
+
.t-t-table[data-v-jt4bojrh] .t-table__content::-webkit-scrollbar {
|
|
81
81
|
width: 6px;
|
|
82
82
|
height: 6px;
|
|
83
83
|
}
|
|
84
|
-
.t-t-table[data-v-
|
|
84
|
+
.t-t-table[data-v-jt4bojrh] .t-table__content::-webkit-scrollbar-thumb {
|
|
85
85
|
width: 6px;
|
|
86
86
|
height: 6px;
|
|
87
87
|
border-radius: 3px;
|
|
88
88
|
background-color: #dcdee5;
|
|
89
89
|
}
|
|
90
|
-
.t-t-table[data-v-
|
|
90
|
+
.t-t-table[data-v-jt4bojrh] .t-table__content::-webkit-scrollbar-thumb:hover {
|
|
91
91
|
background-color: #979ba5;
|
|
92
92
|
}
|
|
93
|
-
.t-t-table[data-v-
|
|
93
|
+
.t-t-table[data-v-jt4bojrh] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
|
|
94
94
|
line-height: 100%;
|
|
95
95
|
}
|
|
96
|
-
.t-t-table[data-v-
|
|
96
|
+
.t-t-table[data-v-jt4bojrh] .t-table__cell--sort-trigger.t-table__double-icons{
|
|
97
97
|
gap: 5px;
|
|
98
98
|
}
|
|
99
|
-
.t-t-table[data-v-
|
|
99
|
+
.t-t-table[data-v-jt4bojrh] .t-table__sort-icon--active>i{
|
|
100
100
|
color: #3a84ff !important;
|
|
101
101
|
}
|
|
102
|
-
.t-t-table[data-v-
|
|
102
|
+
.t-t-table[data-v-jt4bojrh] .t-table__cell--fixed-left:has(.checkbox){
|
|
103
103
|
line-height: 100%;
|
|
104
104
|
}
|
|
105
|
-
.t-t-table[data-v-
|
|
105
|
+
.t-t-table[data-v-jt4bojrh] .t-table__filter-icon.t-is-focus>span{
|
|
106
106
|
color: #3a84ff !important;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-tree[data-v-
|
|
2
|
+
.tag-tree[data-v-80yve6vx] {
|
|
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-80yve6vx] {
|
|
8
8
|
height: 32px;
|
|
9
9
|
flex: 1;
|
|
10
10
|
}
|
|
11
|
-
.tag-tree .quick-icon[data-v-
|
|
11
|
+
.tag-tree .quick-icon[data-v-80yve6vx] {
|
|
12
12
|
margin-left: -24px;
|
|
13
13
|
padding-left: 8px;
|
|
14
14
|
}
|
|
15
|
-
.tag-tree[data-v-
|
|
15
|
+
.tag-tree[data-v-80yve6vx] .tree-item:has(.bottom-line) {
|
|
16
16
|
border-bottom: 1px solid #F0F1F5;
|
|
17
17
|
}
|
|
18
|
-
.tag-tree[data-v-
|
|
18
|
+
.tag-tree[data-v-80yve6vx] .tree-item.active .quick-icon {
|
|
19
19
|
color: #3A84FF;
|
|
20
20
|
}
|
|
21
|
-
.tag-tree[data-v-
|
|
21
|
+
.tag-tree[data-v-80yve6vx] .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-80yve6vx] {
|
|
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-6wy548ih] {
|
|
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-6wy548ih] {
|
|
9
9
|
vertical-align: sub;
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
}
|
|
12
|
-
[is-show="true"][data-v-
|
|
12
|
+
[is-show="true"][data-v-6wy548ih] {
|
|
13
13
|
visibility: visible;
|
|
14
14
|
}
|
|
15
|
-
[is-show="false"][data-v-
|
|
15
|
+
[is-show="false"][data-v-6wy548ih] {
|
|
16
16
|
display: none !important;
|
|
17
17
|
}
|
|
18
|
-
.popover-main[data-v-
|
|
18
|
+
.popover-main[data-v-6wy548ih] {
|
|
19
19
|
padding: 8px 8px 10px;
|
|
20
20
|
}
|
|
21
|
-
.tag-list[data-v-
|
|
21
|
+
.tag-list[data-v-6wy548ih] {
|
|
22
22
|
border-radius: 2px;
|
|
23
23
|
background: #F0F1F5;
|
|
24
24
|
}
|
package/dist/css/g-utilities.css
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
background-color: #FAFBFD !important;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
.\!g-bg-dark-gray {
|
|
6
|
+
background-color: #f5f7fa !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
.\!g-bg-white {
|
|
6
10
|
background-color: #fff !important;
|
|
7
11
|
}
|
|
@@ -105,6 +109,10 @@
|
|
|
105
109
|
padding-left: 6px !important;
|
|
106
110
|
}
|
|
107
111
|
|
|
112
|
+
.\!g-pr-16 {
|
|
113
|
+
padding-right: 16px !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
108
116
|
.\!g-pr-5 {
|
|
109
117
|
padding-right: 5px !important;
|
|
110
118
|
}
|
|
@@ -384,6 +392,10 @@
|
|
|
384
392
|
line-height: 32px;
|
|
385
393
|
}
|
|
386
394
|
|
|
395
|
+
.g-max-h-400 {
|
|
396
|
+
max-height: 400px;
|
|
397
|
+
}
|
|
398
|
+
|
|
387
399
|
.g-max-h-80vh {
|
|
388
400
|
max-height: 80vh;
|
|
389
401
|
}
|
|
@@ -539,6 +551,10 @@
|
|
|
539
551
|
margin-right: 8px;
|
|
540
552
|
}
|
|
541
553
|
|
|
554
|
+
.g-mt-10 {
|
|
555
|
+
margin-top: 10px;
|
|
556
|
+
}
|
|
557
|
+
|
|
542
558
|
.g-mt-100 {
|
|
543
559
|
margin-top: 100px;
|
|
544
560
|
}
|
|
@@ -603,6 +619,10 @@
|
|
|
603
619
|
padding: 2px;
|
|
604
620
|
}
|
|
605
621
|
|
|
622
|
+
.g-pb-12 {
|
|
623
|
+
padding-bottom: 12px;
|
|
624
|
+
}
|
|
625
|
+
|
|
606
626
|
.g-pb-14 {
|
|
607
627
|
padding-bottom: 14px;
|
|
608
628
|
}
|
|
@@ -621,6 +641,10 @@
|
|
|
621
641
|
width: 12px;
|
|
622
642
|
}
|
|
623
643
|
|
|
644
|
+
.g-pl-12 {
|
|
645
|
+
padding-left: 12px;
|
|
646
|
+
}
|
|
647
|
+
|
|
624
648
|
.g-pl-8 {
|
|
625
649
|
padding-left: 8px;
|
|
626
650
|
}
|
|
@@ -973,6 +997,10 @@ padding: 0px !important;
|
|
|
973
997
|
white-space: pre-line;
|
|
974
998
|
}
|
|
975
999
|
|
|
1000
|
+
.hover\:\!g-bg-light-blue:hover {
|
|
1001
|
+
background-color: #f0f5ff !important;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
976
1004
|
.hover\:\!g-border-blue:hover {
|
|
977
1005
|
border: 1px solid #3a84ff !important;
|
|
978
1006
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
[
|
|
2
2
|
"!g-bg-FAFBFD",
|
|
3
|
+
"!g-bg-dark-gray",
|
|
3
4
|
"!g-bg-white",
|
|
4
5
|
"!g-block",
|
|
5
6
|
"!g-border-f59500",
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
"!g-pl-24",
|
|
21
22
|
"!g-pl-5",
|
|
22
23
|
"!g-pl-6",
|
|
24
|
+
"!g-pr-16",
|
|
23
25
|
"!g-pr-5",
|
|
24
26
|
"!g-pr-6",
|
|
25
27
|
"!g-self-center",
|
|
@@ -71,6 +73,7 @@
|
|
|
71
73
|
"g-leading-24",
|
|
72
74
|
"g-leading-28",
|
|
73
75
|
"g-leading-32",
|
|
76
|
+
"g-max-h-400",
|
|
74
77
|
"g-max-h-80vh",
|
|
75
78
|
"g-max-truncate",
|
|
76
79
|
"g-max-w-400",
|
|
@@ -102,6 +105,7 @@
|
|
|
102
105
|
"g-mr-4",
|
|
103
106
|
"g-mr-6",
|
|
104
107
|
"g-mr-8",
|
|
108
|
+
"g-mt-10",
|
|
105
109
|
"g-mt-100",
|
|
106
110
|
"g-mt-12",
|
|
107
111
|
"g-mt-14",
|
|
@@ -116,10 +120,12 @@
|
|
|
116
120
|
"g-number-font",
|
|
117
121
|
"g-p-12",
|
|
118
122
|
"g-p-2",
|
|
123
|
+
"g-pb-12",
|
|
119
124
|
"g-pb-14",
|
|
120
125
|
"g-pb-20",
|
|
121
126
|
"g-pb-8",
|
|
122
127
|
"g-permission-cursor-element",
|
|
128
|
+
"g-pl-12",
|
|
123
129
|
"g-pl-8",
|
|
124
130
|
"g-popover-confirm",
|
|
125
131
|
"g-pr-24",
|
|
@@ -169,6 +175,7 @@
|
|
|
169
175
|
"g-w-88",
|
|
170
176
|
"g-white-footer-table",
|
|
171
177
|
"g-whitespace-pre-line",
|
|
178
|
+
"hover:!g-bg-light-blue",
|
|
172
179
|
"hover:!g-border-blue",
|
|
173
180
|
"hover:!g-text-blue",
|
|
174
181
|
"hover:g-text-danger-red",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { IFetchConfig } from '@/http/fetch';
|
|
3
|
-
import type { ISkillApi, ISkillCountParam, ISkillListParam } from '@/types/skill';
|
|
3
|
+
import type { ISkillApi, ISkillCountParam, ISkillListParam, ISkillOpenclawWindowsInstallParam, ISkillOpenclawWindowsInstallTaskStatusMapApi, 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>>;
|
|
@@ -17,6 +17,14 @@ export declare const useSkillHttp: (apiPrefix: string, spaceId?: Ref<string>) =>
|
|
|
17
17
|
getSkillInstallGuide: (id: number) => Promise<{
|
|
18
18
|
markdown: string;
|
|
19
19
|
}>;
|
|
20
|
+
getSkillInstallTargets: () => Promise<import("@/types/skill").ISkillInstallTarget[]>;
|
|
21
|
+
getSkillOpenclawWindowsInstances: () => Promise<import("@/types/skill").ISkillOpenclawWindowsInstance[]>;
|
|
22
|
+
getSkillOpenclawWindowsInstancesStatus: (data: ISkillOpenclawWindowsInstanceStatusParam) => Promise<import("@/types/skill").ISkillOpenclawWindowsInstanceStatusMap>;
|
|
23
|
+
installSkillToOpenclawWindows: (data: ISkillOpenclawWindowsInstallParam) => Promise<import("@/types/skill").ISkillOpenclawWindowsInstallTasks>;
|
|
24
|
+
getSkillOpenclawWindowsInstallTasksStatus: {
|
|
25
|
+
(data: ISkillOpenclawWindowsInstallTaskStatusParam): Promise<ISkillOpenclawWindowsInstallTaskStatusMapApi>;
|
|
26
|
+
abort(): void;
|
|
27
|
+
};
|
|
20
28
|
getSkillBuildLog: {
|
|
21
29
|
(id: number, version: string): Promise<import("@/types/skill").ISkillBuildLog>;
|
|
22
30
|
abort(): void;
|
|
@@ -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 } from '../http/helper/skill.ts.js';
|
|
54
|
+
import { transferSkillApi2Skill, transferSkillBuildLogApi2SkillBuildLog, transferSkillCount2SkillCountApi, transferSkillInstallTargetApi2SkillInstallTarget, transferSkillOpenclawWindowsInstallParam2SkillOpenclawWindowsInstallParamApi, transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsInstallTasks, 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 列表
|
|
@@ -99,6 +99,37 @@ export const useSkillHttp = (apiPrefix, spaceId)=>{
|
|
|
99
99
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
|
+
// 获取 Skill 安装目标列表
|
|
103
|
+
const getSkillInstallTargets = ()=>fetch.get(`${apiPrefix}/skill/v1/skill/install_targets/`, undefined, {
|
|
104
|
+
headers: {
|
|
105
|
+
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
106
|
+
}
|
|
107
|
+
}).then((data)=>data.map(transferSkillInstallTargetApi2SkillInstallTarget));
|
|
108
|
+
// 获取 Windows 云桌面实例列表
|
|
109
|
+
const getSkillOpenclawWindowsInstances = ()=>fetch.get(`${apiPrefix}/skill/v1/openclaw_windows/instances/`, undefined, {
|
|
110
|
+
headers: {
|
|
111
|
+
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
112
|
+
}
|
|
113
|
+
}).then((data)=>data.map(transferSkillOpenclawWindowsInstanceApi2SkillOpenclawWindowsInstance));
|
|
114
|
+
// 查询 Windows 云桌面实例安装状态
|
|
115
|
+
const getSkillOpenclawWindowsInstancesStatus = (data)=>fetch.post(`${apiPrefix}/skill/v1/openclaw_windows/check_install_on_instances/`, transferSkillOpenclawWindowsInstanceStatusParam2SkillOpenclawWindowsInstanceStatusParamApi(data), {
|
|
116
|
+
headers: {
|
|
117
|
+
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
118
|
+
}
|
|
119
|
+
}).then(transferSkillOpenclawWindowsInstanceStatusMapApi2SkillOpenclawWindowsInstanceStatusMap);
|
|
120
|
+
// 发起 Skill Windows 云桌面安装任务
|
|
121
|
+
const installSkillToOpenclawWindows = (data)=>fetch.post(`${apiPrefix}/skill/v1/openclaw_windows/install/`, transferSkillOpenclawWindowsInstallParam2SkillOpenclawWindowsInstallParamApi(data), {
|
|
122
|
+
headers: {
|
|
123
|
+
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
124
|
+
}
|
|
125
|
+
}).then(transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsInstallTasks);
|
|
126
|
+
// 查询 Skill Windows 云桌面安装任务状态
|
|
127
|
+
const getSkillOpenclawWindowsInstallTasksStatus = withAbort((signal, data)=>fetch.post(`${apiPrefix}/skill/v1/openclaw_windows/install_tasks_status/`, transferSkillOpenclawWindowsInstallTaskStatusParam2SkillOpenclawWindowsInstallTaskStatusParamApi(data), {
|
|
128
|
+
headers: {
|
|
129
|
+
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
130
|
+
},
|
|
131
|
+
signal
|
|
132
|
+
}));
|
|
102
133
|
// 获取 Skill 构建日志
|
|
103
134
|
const getSkillBuildLog = withAbort((signal, id, version)=>fetch.get(`${apiPrefix}/skill/v1/skill/${id}/build_log/`, {
|
|
104
135
|
version
|
|
@@ -116,6 +147,11 @@ export const useSkillHttp = (apiPrefix, spaceId)=>{
|
|
|
116
147
|
downloadSkill,
|
|
117
148
|
restoreSkill,
|
|
118
149
|
getSkillInstallGuide,
|
|
150
|
+
getSkillInstallTargets,
|
|
151
|
+
getSkillOpenclawWindowsInstances,
|
|
152
|
+
getSkillOpenclawWindowsInstancesStatus,
|
|
153
|
+
installSkillToOpenclawWindows,
|
|
154
|
+
getSkillOpenclawWindowsInstallTasksStatus,
|
|
119
155
|
getSkillBuildLog
|
|
120
156
|
};
|
|
121
157
|
};
|
|
@@ -219,7 +219,8 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
219
219
|
related_skills: data.relatedSkills ? {
|
|
220
220
|
skills: data.relatedSkills.skills.map(transferSkill2SkillApi)
|
|
221
221
|
} : undefined,
|
|
222
|
-
is_bind_credential: data.isBindCredential
|
|
222
|
+
is_bind_credential: data.isBindCredential,
|
|
223
|
+
business_ids: data.businessIds
|
|
223
224
|
});
|
|
224
225
|
};
|
|
225
226
|
/**
|
|
@@ -283,7 +284,8 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
283
284
|
relatedSkills: data.related_skills ? {
|
|
284
285
|
skills: (_data_related_skills_skills = data.related_skills.skills) === null || _data_related_skills_skills === void 0 ? void 0 : _data_related_skills_skills.map(transferSkillApi2Skill)
|
|
285
286
|
} : undefined,
|
|
286
|
-
isBindCredential: data.is_bind_credential
|
|
287
|
+
isBindCredential: data.is_bind_credential,
|
|
288
|
+
businessIds: data.business_ids
|
|
287
289
|
});
|
|
288
290
|
};
|
|
289
291
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ISkill, ISkillApi, ISkillBuildLog, ISkillBuildLogApi, ISkillCountParam, ISkillCountParamApi, ISkillForm, ISkillFormApi, ISkillListParam, ISkillListParamApi } from '@/types/skill';
|
|
1
|
+
import type { ISkill, ISkillApi, ISkillBuildLog, ISkillBuildLogApi, ISkillCountParam, ISkillCountParamApi, ISkillForm, ISkillFormApi, ISkillInstallTarget, ISkillInstallTargetApi, ISkillListParam, ISkillListParamApi, ISkillOpenclawWindowsInstallParam, ISkillOpenclawWindowsInstallParamApi, ISkillOpenclawWindowsInstallTasks, ISkillOpenclawWindowsInstallTasksApi, ISkillOpenclawWindowsInstallTaskStatusParam, ISkillOpenclawWindowsInstallTaskStatusParamApi, ISkillOpenclawWindowsInstance, ISkillOpenclawWindowsInstanceApi, ISkillOpenclawWindowsInstanceStatusMap, ISkillOpenclawWindowsInstanceStatusMapApi, ISkillOpenclawWindowsInstanceStatusParam, ISkillOpenclawWindowsInstanceStatusParamApi } from '@/types/skill';
|
|
2
2
|
/**
|
|
3
3
|
* ui转换为接口使用(表单字段)
|
|
4
4
|
* @param data ISkillForm
|
|
@@ -36,3 +36,11 @@ export declare const transferSkillBuildLogApi2SkillBuildLog: (data: ISkillBuildL
|
|
|
36
36
|
* @returns ISkillListParamApi
|
|
37
37
|
*/
|
|
38
38
|
export declare const transferSkillParam2SkillParamApi: (data: ISkillListParam) => ISkillListParamApi;
|
|
39
|
+
export declare const transferSkillInstallTargetApi2SkillInstallTarget: (data: ISkillInstallTargetApi) => ISkillInstallTarget;
|
|
40
|
+
export declare const transferSkillOpenclawWindowsInstanceApi2SkillOpenclawWindowsInstance: (data: ISkillOpenclawWindowsInstanceApi) => ISkillOpenclawWindowsInstance;
|
|
41
|
+
export declare const transferSkillOpenclawWindowsInstance2SkillOpenclawWindowsInstanceApi: (data: ISkillOpenclawWindowsInstance) => ISkillOpenclawWindowsInstanceApi;
|
|
42
|
+
export declare const transferSkillOpenclawWindowsInstallParam2SkillOpenclawWindowsInstallParamApi: (data: ISkillOpenclawWindowsInstallParam) => ISkillOpenclawWindowsInstallParamApi;
|
|
43
|
+
export declare const transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsInstallTasks: (data: ISkillOpenclawWindowsInstallTasksApi) => ISkillOpenclawWindowsInstallTasks;
|
|
44
|
+
export declare const transferSkillOpenclawWindowsInstallTaskStatusParam2SkillOpenclawWindowsInstallTaskStatusParamApi: (data: ISkillOpenclawWindowsInstallTaskStatusParam) => ISkillOpenclawWindowsInstallTaskStatusParamApi;
|
|
45
|
+
export declare const transferSkillOpenclawWindowsInstanceStatusParam2SkillOpenclawWindowsInstanceStatusParamApi: (data: ISkillOpenclawWindowsInstanceStatusParam) => ISkillOpenclawWindowsInstanceStatusParamApi;
|
|
46
|
+
export declare const transferSkillOpenclawWindowsInstanceStatusMapApi2SkillOpenclawWindowsInstanceStatusMap: (data: ISkillOpenclawWindowsInstanceStatusMapApi) => ISkillOpenclawWindowsInstanceStatusMap;
|
|
@@ -163,3 +163,43 @@ export const transferSkillCount2SkillCountApi = (data)=>{
|
|
|
163
163
|
can_apply: data.canApply,
|
|
164
164
|
space_id: data.spaceId
|
|
165
165
|
});
|
|
166
|
+
export const transferSkillInstallTargetApi2SkillInstallTarget = (data)=>({
|
|
167
|
+
targetType: data.target_type,
|
|
168
|
+
displayName: data.display_name
|
|
169
|
+
});
|
|
170
|
+
export const transferSkillOpenclawWindowsInstanceApi2SkillOpenclawWindowsInstance = (data)=>({
|
|
171
|
+
displayName: data.display_name,
|
|
172
|
+
hostName: data.host_name,
|
|
173
|
+
hostDescription: data.host_description
|
|
174
|
+
});
|
|
175
|
+
export const transferSkillOpenclawWindowsInstance2SkillOpenclawWindowsInstanceApi = (data)=>({
|
|
176
|
+
display_name: data.displayName,
|
|
177
|
+
host_name: data.hostName,
|
|
178
|
+
host_description: data.hostDescription
|
|
179
|
+
});
|
|
180
|
+
export const transferSkillOpenclawWindowsInstallParam2SkillOpenclawWindowsInstallParamApi = (data)=>({
|
|
181
|
+
skill_id: data.skillId,
|
|
182
|
+
workspaces: data.workspaces.map(transferSkillOpenclawWindowsInstance2SkillOpenclawWindowsInstanceApi)
|
|
183
|
+
});
|
|
184
|
+
export const transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsInstallTasks = (data)=>{
|
|
185
|
+
return Object.entries(data).reduce((result, [hostName, task])=>_object_spread_props(_object_spread({}, result), {
|
|
186
|
+
[hostName]: {
|
|
187
|
+
taskId: task.task_id,
|
|
188
|
+
taskName: task.task_name
|
|
189
|
+
}
|
|
190
|
+
}), {});
|
|
191
|
+
};
|
|
192
|
+
export const transferSkillOpenclawWindowsInstallTaskStatusParam2SkillOpenclawWindowsInstallTaskStatusParamApi = (data)=>({
|
|
193
|
+
task_ids: data.taskIds
|
|
194
|
+
});
|
|
195
|
+
export const transferSkillOpenclawWindowsInstanceStatusParam2SkillOpenclawWindowsInstanceStatusParamApi = (data)=>({
|
|
196
|
+
skill_id: data.skillId,
|
|
197
|
+
workspaces: data.workspaces.map(transferSkillOpenclawWindowsInstance2SkillOpenclawWindowsInstanceApi)
|
|
198
|
+
});
|
|
199
|
+
export const transferSkillOpenclawWindowsInstanceStatusMapApi2SkillOpenclawWindowsInstanceStatusMap = (data)=>{
|
|
200
|
+
return Object.entries(data).reduce((result, [hostName, status])=>_object_spread_props(_object_spread({}, result), {
|
|
201
|
+
[hostName]: {
|
|
202
|
+
isInstalled: status.is_installed
|
|
203
|
+
}
|
|
204
|
+
}), {});
|
|
205
|
+
};
|
package/dist/types/agent.d.ts
CHANGED
|
@@ -173,6 +173,7 @@ export interface IAgentFormApi extends IResourceFormCommonApi {
|
|
|
173
173
|
related_agents?: {
|
|
174
174
|
agents: IAgentApi[];
|
|
175
175
|
};
|
|
176
|
+
business_ids?: number[];
|
|
176
177
|
}
|
|
177
178
|
export interface IAgentForm extends IResourceFormCommon {
|
|
178
179
|
agentCode: string;
|
|
@@ -229,6 +230,7 @@ export interface IAgentForm extends IResourceFormCommon {
|
|
|
229
230
|
relatedAgents?: {
|
|
230
231
|
agents: IAgent[];
|
|
231
232
|
};
|
|
233
|
+
businessIds?: number[];
|
|
232
234
|
}
|
|
233
235
|
export interface IAgent extends IAgentForm, IResourceCommon {
|
|
234
236
|
version: string;
|
package/dist/types/enum.d.ts
CHANGED
|
@@ -91,6 +91,19 @@ export declare enum SkillStatus {
|
|
|
91
91
|
Failed = "failed",
|
|
92
92
|
Deleted = "deleted"
|
|
93
93
|
}
|
|
94
|
+
export declare enum SkillInstallTargetType {
|
|
95
|
+
OpenclawWindows = "openclaw_windows",
|
|
96
|
+
OpenclawLinux = "openclaw_linux"
|
|
97
|
+
}
|
|
98
|
+
export declare enum SkillInstallTaskStatus {
|
|
99
|
+
Pending = "pending",
|
|
100
|
+
Running = "running",
|
|
101
|
+
Polling = "polling",
|
|
102
|
+
WaitingCallback = "waiting_callback",
|
|
103
|
+
Success = "success",
|
|
104
|
+
Failed = "failed",
|
|
105
|
+
Cancelled = "cancelled"
|
|
106
|
+
}
|
|
94
107
|
export declare enum KnowledgePathType {
|
|
95
108
|
File = "file",
|
|
96
109
|
Folder = "folder"
|
package/dist/types/enum.ts.js
CHANGED
|
@@ -101,6 +101,21 @@ export var SkillStatus;
|
|
|
101
101
|
SkillStatus["Failed"] = "failed";
|
|
102
102
|
SkillStatus["Deleted"] = "deleted";
|
|
103
103
|
})(SkillStatus || (SkillStatus = {}));
|
|
104
|
+
export var SkillInstallTargetType;
|
|
105
|
+
(function(SkillInstallTargetType) {
|
|
106
|
+
SkillInstallTargetType["OpenclawWindows"] = "openclaw_windows";
|
|
107
|
+
SkillInstallTargetType["OpenclawLinux"] = "openclaw_linux";
|
|
108
|
+
})(SkillInstallTargetType || (SkillInstallTargetType = {}));
|
|
109
|
+
export var SkillInstallTaskStatus;
|
|
110
|
+
(function(SkillInstallTaskStatus) {
|
|
111
|
+
SkillInstallTaskStatus["Pending"] = "pending";
|
|
112
|
+
SkillInstallTaskStatus["Running"] = "running";
|
|
113
|
+
SkillInstallTaskStatus["Polling"] = "polling";
|
|
114
|
+
SkillInstallTaskStatus["WaitingCallback"] = "waiting_callback";
|
|
115
|
+
SkillInstallTaskStatus["Success"] = "success";
|
|
116
|
+
SkillInstallTaskStatus["Failed"] = "failed";
|
|
117
|
+
SkillInstallTaskStatus["Cancelled"] = "cancelled";
|
|
118
|
+
})(SkillInstallTaskStatus || (SkillInstallTaskStatus = {}));
|
|
104
119
|
export var KnowledgePathType;
|
|
105
120
|
(function(KnowledgePathType) {
|
|
106
121
|
KnowledgePathType["File"] = "file";
|
package/dist/types/skill.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IBaseCountParam, IBaseCountParamApi, IPaginationParam, IPaginationParamApi, IResourceCommon, IResourceCommonApi, IResourceCommonSearchParams, IResourceCommonSearchParamsApi, IResourceFormCommon, IResourceFormCommonApi, ISortParam, ISortParamApi } from './common';
|
|
2
|
-
import { EnumCharacter, Module, SkillStatus } from './enum';
|
|
2
|
+
import { EnumCharacter, Module, SkillInstallTargetType, SkillInstallTaskStatus, SkillStatus } from './enum';
|
|
3
3
|
export interface ISkillForm extends IResourceFormCommon {
|
|
4
4
|
skillName: string;
|
|
5
5
|
skillCode: string;
|
|
@@ -131,3 +131,63 @@ export interface ISkillBuildLog {
|
|
|
131
131
|
startedAt: string;
|
|
132
132
|
completedAt: string;
|
|
133
133
|
}
|
|
134
|
+
export interface ISkillInstallTargetApi {
|
|
135
|
+
target_type: SkillInstallTargetType;
|
|
136
|
+
display_name: string;
|
|
137
|
+
}
|
|
138
|
+
export interface ISkillInstallTarget {
|
|
139
|
+
targetType: SkillInstallTargetType;
|
|
140
|
+
displayName: string;
|
|
141
|
+
}
|
|
142
|
+
export interface ISkillOpenclawWindowsInstanceApi {
|
|
143
|
+
display_name: string;
|
|
144
|
+
host_name: string;
|
|
145
|
+
host_description: string;
|
|
146
|
+
}
|
|
147
|
+
export interface ISkillOpenclawWindowsInstance {
|
|
148
|
+
displayName: string;
|
|
149
|
+
hostName: string;
|
|
150
|
+
hostDescription: string;
|
|
151
|
+
}
|
|
152
|
+
export interface ISkillOpenclawWindowsInstallParam {
|
|
153
|
+
skillId: number;
|
|
154
|
+
workspaces: ISkillOpenclawWindowsInstance[];
|
|
155
|
+
}
|
|
156
|
+
export interface ISkillOpenclawWindowsInstallParamApi {
|
|
157
|
+
skill_id: number;
|
|
158
|
+
workspaces: ISkillOpenclawWindowsInstanceApi[];
|
|
159
|
+
}
|
|
160
|
+
export interface ISkillOpenclawWindowsInstallTaskApi {
|
|
161
|
+
task_id: number;
|
|
162
|
+
task_name: string;
|
|
163
|
+
}
|
|
164
|
+
export interface ISkillOpenclawWindowsInstallTask {
|
|
165
|
+
taskId: number;
|
|
166
|
+
taskName: string;
|
|
167
|
+
}
|
|
168
|
+
export type ISkillOpenclawWindowsInstallTasksApi = Record<string, ISkillOpenclawWindowsInstallTaskApi>;
|
|
169
|
+
export type ISkillOpenclawWindowsInstallTasks = Record<string, ISkillOpenclawWindowsInstallTask>;
|
|
170
|
+
export interface ISkillOpenclawWindowsInstallTaskStatusParam {
|
|
171
|
+
taskIds: number[];
|
|
172
|
+
}
|
|
173
|
+
export interface ISkillOpenclawWindowsInstallTaskStatusParamApi {
|
|
174
|
+
task_ids: number[];
|
|
175
|
+
}
|
|
176
|
+
export type ISkillOpenclawWindowsInstallTaskStatusMapApi = Record<string, SkillInstallTaskStatus>;
|
|
177
|
+
export type ISkillOpenclawWindowsInstallTaskStatusMap = Record<string, SkillInstallTaskStatus>;
|
|
178
|
+
export interface ISkillOpenclawWindowsInstanceStatusParam {
|
|
179
|
+
skillId: number;
|
|
180
|
+
workspaces: ISkillOpenclawWindowsInstance[];
|
|
181
|
+
}
|
|
182
|
+
export interface ISkillOpenclawWindowsInstanceStatusParamApi {
|
|
183
|
+
skill_id: number;
|
|
184
|
+
workspaces: ISkillOpenclawWindowsInstanceApi[];
|
|
185
|
+
}
|
|
186
|
+
export interface ISkillOpenclawWindowsInstanceStatusApi {
|
|
187
|
+
is_installed: boolean;
|
|
188
|
+
}
|
|
189
|
+
export interface ISkillOpenclawWindowsInstanceStatus {
|
|
190
|
+
isInstalled: boolean;
|
|
191
|
+
}
|
|
192
|
+
export type ISkillOpenclawWindowsInstanceStatusMapApi = Record<string, ISkillOpenclawWindowsInstanceStatusApi>;
|
|
193
|
+
export type ISkillOpenclawWindowsInstanceStatusMap = Record<string, ISkillOpenclawWindowsInstanceStatus>;
|