@blueking/ai-ui-sdk 0.3.0-beta.22 → 0.3.0-beta.23

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.
Files changed (118) hide show
  1. package/dist/components/render-agent/agent-type.vue.css +3 -3
  2. package/dist/components/render-agent/agent-type.vue.js +1 -1
  3. package/dist/components/render-auto-height-textarea/index.vue.css +11 -11
  4. package/dist/components/render-auto-height-textarea/index.vue.js +1 -1
  5. package/dist/components/render-auto-refresh/index.vue.css +8 -8
  6. package/dist/components/render-auto-refresh/index.vue.js +1 -1
  7. package/dist/components/render-card/agent/prefix-info-tool.vue.css +5 -5
  8. package/dist/components/render-card/agent/prefix-info-tool.vue.js +1 -1
  9. package/dist/components/render-card/base.vue.css +12 -12
  10. package/dist/components/render-card/base.vue.js +1 -1
  11. package/dist/components/render-card/llm/corner-badge.vue.css +3 -3
  12. package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
  13. package/dist/components/render-card/llm/icons.vue.css +2 -2
  14. package/dist/components/render-card/llm/icons.vue.js +1 -1
  15. package/dist/components/render-card/llm/info.vue.css +1 -1
  16. package/dist/components/render-card/llm/info.vue.js +1 -1
  17. package/dist/components/render-card/llm/tag-prefix.vue.css +3 -3
  18. package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
  19. package/dist/components/render-card/mcp/name-suffix.vue.css +2 -2
  20. package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
  21. package/dist/components/render-card/prompt/icons.vue.css +1 -1
  22. package/dist/components/render-card/prompt/icons.vue.js +1 -1
  23. package/dist/components/render-card/skill/tag-prefix.vue.css +3 -3
  24. package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
  25. package/dist/components/render-checkbox/index.vue.css +9 -9
  26. package/dist/components/render-checkbox/index.vue.js +1 -1
  27. package/dist/components/render-choose-tag/index.vue.css +7 -7
  28. package/dist/components/render-choose-tag/index.vue.js +1 -1
  29. package/dist/components/render-collapse/index.vue.css +2 -2
  30. package/dist/components/render-collapse/index.vue.js +1 -1
  31. package/dist/components/render-collection/content/index.vue.css +4 -4
  32. package/dist/components/render-collection/content/index.vue.js +1 -1
  33. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
  34. package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
  35. package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
  36. package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
  37. package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
  38. package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
  39. package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
  40. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
  41. package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
  42. package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
  43. package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
  44. package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
  45. package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
  46. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
  47. package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
  48. package/dist/components/render-dataset/components/plus-dataset/index.vue.css +2 -2
  49. package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
  50. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
  51. package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
  52. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
  53. package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
  54. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +2 -2
  55. package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
  56. package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
  57. package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
  58. package/dist/components/render-dataset-detail-origin-data/index.vue.css +3 -3
  59. package/dist/components/render-dataset-detail-origin-data/index.vue.js +1 -1
  60. package/dist/components/render-dataset-list/components/main.vue.css +3 -3
  61. package/dist/components/render-dataset-list/components/main.vue.js +1 -1
  62. package/dist/components/render-dataset-list/index.vue.css +2 -2
  63. package/dist/components/render-dataset-list/index.vue.js +1 -1
  64. package/dist/components/render-dialog/choose-resource.vue.css +3 -3
  65. package/dist/components/render-dialog/choose-resource.vue.js +1 -1
  66. package/dist/components/render-dialog/choose-result.vue.css +14 -14
  67. package/dist/components/render-dialog/choose-result.vue.js +1 -1
  68. package/dist/components/render-dialog/choose-space.vue.css +9 -9
  69. package/dist/components/render-dialog/choose-space.vue.js +1 -1
  70. package/dist/components/render-dialog/index.script.vue.js +2 -1
  71. package/dist/components/render-dialog/index.vue.css +6 -6
  72. package/dist/components/render-dialog/index.vue.js +1 -1
  73. package/dist/components/render-file-card/index.vue.css +11 -11
  74. package/dist/components/render-file-card/index.vue.js +1 -1
  75. package/dist/components/render-file-type-icon/index.vue.css +6 -6
  76. package/dist/components/render-file-type-icon/index.vue.js +1 -1
  77. package/dist/components/render-generate-tag/index.vue.css +5 -5
  78. package/dist/components/render-generate-tag/index.vue.js +1 -1
  79. package/dist/components/render-header/index.vue.css +3 -3
  80. package/dist/components/render-header/index.vue.js +1 -1
  81. package/dist/components/render-knowledge/icon/index.vue.css +1 -1
  82. package/dist/components/render-knowledge/icon/index.vue.js +1 -1
  83. package/dist/components/render-like/index.vue.css +5 -5
  84. package/dist/components/render-like/index.vue.js +1 -1
  85. package/dist/components/render-markdown/filter-css.ts.js +5 -0
  86. package/dist/components/render-markdown/view.ts.js +3 -0
  87. package/dist/components/render-prompt/content/index.vue.css +1 -1
  88. package/dist/components/render-prompt/content/index.vue.js +1 -1
  89. package/dist/components/render-reference/index.vue.css +2 -2
  90. package/dist/components/render-reference/index.vue.js +1 -1
  91. package/dist/components/render-resource-version/index.vue.css +2 -2
  92. package/dist/components/render-resource-version/index.vue.js +1 -1
  93. package/dist/components/render-router-tab/index.vue.css +3 -3
  94. package/dist/components/render-router-tab/index.vue.js +1 -1
  95. package/dist/components/render-select-plus-extension/index.vue.css +3 -3
  96. package/dist/components/render-select-plus-extension/index.vue.js +1 -1
  97. package/dist/components/render-skill/install/index.script.vue.js.js +28 -10
  98. package/dist/components/render-skill/install/{openclaw-linux-guide.script.vue.js.js → install-guide.script.vue.js.js} +10 -4
  99. package/dist/components/render-skill/install/{openclaw-linux-guide.vue.d.ts → install-guide.vue.d.ts} +2 -0
  100. package/dist/components/render-skill/install/install-guide.vue.js +3 -0
  101. package/dist/components/render-skill/install/openclaw-windows-instances.script.vue.js.js +22 -9
  102. package/dist/components/render-t-table/index.vue.css +27 -27
  103. package/dist/components/render-t-table/index.vue.js +1 -1
  104. package/dist/components/render-tag-tree/index.vue.css +7 -7
  105. package/dist/components/render-tag-tree/index.vue.js +1 -1
  106. package/dist/components/render-tags/index.vue.css +6 -6
  107. package/dist/components/render-tags/index.vue.js +1 -1
  108. package/dist/css/g-utilities.css +33 -0
  109. package/dist/css/g-utilities.manifest.json +3 -0
  110. package/dist/hooks/use-skill-http.d.ts +2 -2
  111. package/dist/hooks/use-skill-http.ts.js +2 -2
  112. package/dist/http/helper/skill.d.ts +2 -1
  113. package/dist/http/helper/skill.ts.js +3 -0
  114. package/dist/types/enum.d.ts +2 -1
  115. package/dist/types/enum.ts.js +1 -0
  116. package/dist/types/skill.d.ts +6 -0
  117. package/package.json +1 -1
  118. package/dist/components/render-skill/install/openclaw-linux-guide.vue.js +0 -3
@@ -1,12 +1,12 @@
1
1
 
2
- .t-t-pagination[data-v-jt4bojrh] {
2
+ .t-t-pagination[data-v-wsspcyvu] {
3
3
  position: relative;
4
4
  padding: 16px 16px 0 16px;
5
5
  }
6
- .t-t-pagination[data-v-jt4bojrh] .bk-pagination-list.is-last {
6
+ .t-t-pagination[data-v-wsspcyvu] .bk-pagination-list.is-last {
7
7
  margin-left: auto;
8
8
  }
9
- .pagination-loading[data-v-jt4bojrh]::after {
9
+ .pagination-loading[data-v-wsspcyvu]::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-jt4bojrh] {
19
+ .pagination-border[data-v-wsspcyvu] {
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-jt4bojrh] {
25
+ .t-t-table[data-v-wsspcyvu] {
26
26
  display: inline;
27
27
  font-size: 12px;
28
28
  }
29
- .t-t-table[data-v-jt4bojrh] .t-table__th-cell-inner {
29
+ .t-t-table[data-v-wsspcyvu] .t-table__th-cell-inner {
30
30
  color: #313238;
31
31
  }
32
- .t-t-table[data-v-jt4bojrh] th {
32
+ .t-t-table[data-v-wsspcyvu] th {
33
33
  padding: 0 16px;
34
34
  height: 42px;
35
35
  background-color: #FAFBFD !important;
36
36
  }
37
- .t-t-table[data-v-jt4bojrh] .t-table__body tr {
37
+ .t-t-table[data-v-wsspcyvu] .t-table__body tr {
38
38
  color: #63656e;
39
39
  font-size: 12px;
40
40
  }
41
- .t-t-table[data-v-jt4bojrh] .t-table__body tr td {
41
+ .t-t-table[data-v-wsspcyvu] .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-jt4bojrh] .t-table__body tr:hover td {
46
+ .t-t-table[data-v-wsspcyvu] .t-table__body tr:hover td {
47
47
  background-color: #f5f7fa !important;
48
48
  color: #63656E;
49
49
  }
50
- .t-t-table[data-v-jt4bojrh] .t-table__content .t-table__body .t-table__empty-row {
50
+ .t-t-table[data-v-wsspcyvu] .t-table__content .t-table__body .t-table__empty-row {
51
51
  background-color: #fff !important;
52
52
  }
53
- .t-t-table[data-v-jt4bojrh] .t-table__content .t-table__body .t-table__empty-row >td {
53
+ .t-t-table[data-v-wsspcyvu] .t-table__content .t-table__body .t-table__empty-row >td {
54
54
  border: none;
55
55
  }
56
- .t-t-table[data-v-jt4bojrh] th .t-table__ellipsis {
56
+ .t-t-table[data-v-wsspcyvu] th .t-table__ellipsis {
57
57
  width: auto !important;
58
58
  }
59
- .t-t-table[data-v-jt4bojrh] .t-loading__gradient.t-icon-loading {
59
+ .t-t-table[data-v-wsspcyvu] .t-loading__gradient.t-icon-loading {
60
60
  display: none;
61
61
  }
62
- .t-t-table[data-v-jt4bojrh]:first-of-type .t-table__affixed-header-elm-wrap{
62
+ .t-t-table[data-v-wsspcyvu]:first-of-type .t-table__affixed-header-elm-wrap{
63
63
  width: calc(100% - 6px) !important;
64
64
  }
65
- .t-t-table[data-v-jt4bojrh] .t-table__affixed-header-elm-wrap>div {
65
+ .t-t-table[data-v-wsspcyvu] .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-jt4bojrh] .t-table--layout-fixed{
69
+ .t-t-table[data-v-wsspcyvu] .t-table--layout-fixed{
70
70
  width: 100% !important;
71
71
  }
72
- .t-t-table[data-v-jt4bojrh] .bk-exception-description{
72
+ .t-t-table[data-v-wsspcyvu] .bk-exception-description{
73
73
  margin-bottom: 0;
74
74
  }
75
- .t-t-table[data-v-jt4bojrh] .t-table__content{
75
+ .t-t-table[data-v-wsspcyvu] .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-jt4bojrh] .t-table__content::-webkit-scrollbar {
80
+ .t-t-table[data-v-wsspcyvu] .t-table__content::-webkit-scrollbar {
81
81
  width: 6px;
82
82
  height: 6px;
83
83
  }
84
- .t-t-table[data-v-jt4bojrh] .t-table__content::-webkit-scrollbar-thumb {
84
+ .t-t-table[data-v-wsspcyvu] .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-jt4bojrh] .t-table__content::-webkit-scrollbar-thumb:hover {
90
+ .t-t-table[data-v-wsspcyvu] .t-table__content::-webkit-scrollbar-thumb:hover {
91
91
  background-color: #979ba5;
92
92
  }
93
- .t-t-table[data-v-jt4bojrh] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
93
+ .t-t-table[data-v-wsspcyvu] .t-table__ellipsis.t-text-ellipsis:has(.checkbox){
94
94
  line-height: 100%;
95
95
  }
96
- .t-t-table[data-v-jt4bojrh] .t-table__cell--sort-trigger.t-table__double-icons{
96
+ .t-t-table[data-v-wsspcyvu] .t-table__cell--sort-trigger.t-table__double-icons{
97
97
  gap: 5px;
98
98
  }
99
- .t-t-table[data-v-jt4bojrh] .t-table__sort-icon--active>i{
99
+ .t-t-table[data-v-wsspcyvu] .t-table__sort-icon--active>i{
100
100
  color: #3a84ff !important;
101
101
  }
102
- .t-t-table[data-v-jt4bojrh] .t-table__cell--fixed-left:has(.checkbox){
102
+ .t-t-table[data-v-wsspcyvu] .t-table__cell--fixed-left:has(.checkbox){
103
103
  line-height: 100%;
104
104
  }
105
- .t-t-table[data-v-jt4bojrh] .t-table__filter-icon.t-is-focus>span{
105
+ .t-t-table[data-v-wsspcyvu] .t-table__filter-icon.t-is-focus>span{
106
106
  color: #3a84ff !important;
107
107
  }
108
108
 
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-jt4bojrh";
2
+ script.__scopeId = "data-v-wsspcyvu";
3
3
  script.__file = "./src/components/render-t-table/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,28 +1,28 @@
1
1
 
2
- .tag-tree[data-v-80yve6vx] {
2
+ .tag-tree[data-v-88cmcen2] {
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-80yve6vx] {
7
+ .tag-tree .manage-tree-item[data-v-88cmcen2] {
8
8
  height: 32px;
9
9
  flex: 1;
10
10
  }
11
- .tag-tree .quick-icon[data-v-80yve6vx] {
11
+ .tag-tree .quick-icon[data-v-88cmcen2] {
12
12
  margin-left: -24px;
13
13
  padding-left: 8px;
14
14
  }
15
- .tag-tree[data-v-80yve6vx] .tree-item:has(.bottom-line) {
15
+ .tag-tree[data-v-88cmcen2] .tree-item:has(.bottom-line) {
16
16
  border-bottom: 1px solid #F0F1F5;
17
17
  }
18
- .tag-tree[data-v-80yve6vx] .tree-item.active .quick-icon {
18
+ .tag-tree[data-v-88cmcen2] .tree-item.active .quick-icon {
19
19
  color: #3A84FF;
20
20
  }
21
- .tag-tree[data-v-80yve6vx] .tree-item.active .tag-number {
21
+ .tag-tree[data-v-88cmcen2] .tree-item.active .tag-number {
22
22
  background: #A3C5FD;
23
23
  color: #fff;
24
24
  }
25
- .tag-number[data-v-80yve6vx] {
25
+ .tag-number[data-v-88cmcen2] {
26
26
  line-height: 16px;
27
27
  padding: 0 4px;
28
28
  background-color: #F0F1F5;
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js.js';
2
- script.__scopeId = "data-v-80yve6vx";
2
+ script.__scopeId = "data-v-88cmcen2";
3
3
  script.__file = "./src/components/render-tag-tree/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -1,24 +1,24 @@
1
1
 
2
- .tag-container[data-v-6wy548ih] {
2
+ .tag-container[data-v-t6kr3t0l] {
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-6wy548ih] {
8
+ .tag-home[data-v-t6kr3t0l] {
9
9
  vertical-align: sub;
10
10
  flex-shrink: 0;
11
11
  }
12
- [is-show="true"][data-v-6wy548ih] {
12
+ [is-show="true"][data-v-t6kr3t0l] {
13
13
  visibility: visible;
14
14
  }
15
- [is-show="false"][data-v-6wy548ih] {
15
+ [is-show="false"][data-v-t6kr3t0l] {
16
16
  display: none !important;
17
17
  }
18
- .popover-main[data-v-6wy548ih] {
18
+ .popover-main[data-v-t6kr3t0l] {
19
19
  padding: 8px 8px 10px;
20
20
  }
21
- .tag-list[data-v-6wy548ih] {
21
+ .tag-list[data-v-t6kr3t0l] {
22
22
  border-radius: 2px;
23
23
  background: #F0F1F5;
24
24
  }
@@ -1,5 +1,5 @@
1
1
  import script from './index.script.vue.js';
2
- script.__scopeId = "data-v-6wy548ih";
2
+ script.__scopeId = "data-v-t6kr3t0l";
3
3
  script.__file = "./src/components/render-tags/index.vue";
4
4
  import './index.vue.css';
5
5
  export default script;
@@ -83,6 +83,10 @@
83
83
  margin-bottom: 16px !important;
84
84
  }
85
85
 
86
+ .\!g-mb-6 {
87
+ margin-bottom: 6px !important;
88
+ }
89
+
86
90
  .\!g-mr-12 {
87
91
  margin-right: 12px !important;
88
92
  }
@@ -217,6 +221,31 @@
217
221
  }
218
222
  }
219
223
 
224
+ .g-disabled {
225
+ cursor: not-allowed;
226
+ color: #dcdee5;
227
+
228
+ &.bk-button-primary:not(.is-text) {
229
+ background-color: #dcdee5;
230
+ color: #fff;
231
+ border-color: #dcdee5;
232
+ }
233
+
234
+ &.bk-button:not(.is-text) {
235
+ color: var(--disable-color);
236
+ border-color: var(--disable-color);
237
+ background-color: var(--disable-bg-color);
238
+ }
239
+
240
+ .bkaidev-icon {
241
+ color: #c4c6cc;
242
+ }
243
+
244
+ .g-disabled-text {
245
+ color: #dcdee5;
246
+ }
247
+ }
248
+
220
249
  .g-ellipsis {
221
250
  white-space: nowrap;
222
251
  overflow: hidden;
@@ -447,6 +476,10 @@
447
476
  margin-bottom: 8px;
448
477
  }
449
478
 
479
+ .g-min-h-98 {
480
+ min-height: 98px;
481
+ }
482
+
450
483
  .g-min-w-16 {
451
484
  min-width: 16px;
452
485
  }
@@ -15,6 +15,7 @@
15
15
  "!g-justify-between",
16
16
  "!g-mb-10",
17
17
  "!g-mb-16",
18
+ "!g-mb-6",
18
19
  "!g-mr-12",
19
20
  "!g-mt-16",
20
21
  "!g-no-validate-form-item",
@@ -41,6 +42,7 @@
41
42
  "g-cursor-grab",
42
43
  "g-cursor-pointer",
43
44
  "g-deleted-resource",
45
+ "g-disabled",
44
46
  "g-ellipsis",
45
47
  "g-exception",
46
48
  "g-fill-3a84ff",
@@ -86,6 +88,7 @@
86
88
  "g-mb-40",
87
89
  "g-mb-6",
88
90
  "g-mb-8",
91
+ "g-min-h-98",
89
92
  "g-min-w-16",
90
93
  "g-ml-10",
91
94
  "g-ml-12",
@@ -1,6 +1,6 @@
1
1
  import { Ref } from 'vue';
2
2
  import { IFetchConfig } from '@/http/fetch';
3
- import type { ISkillApi, ISkillCountParam, ISkillListParam, ISkillOpenclawWindowsInstallParam, ISkillOpenclawWindowsInstallTaskStatusMapApi, ISkillOpenclawWindowsInstallTaskStatusParam, ISkillOpenclawWindowsInstanceStatusParam } from '@/types/skill';
3
+ import type { ISkillApi, ISkillCountParam, ISkillInstallGuide, 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>>;
@@ -14,7 +14,7 @@ export declare const useSkillHttp: (apiPrefix: string, spaceId?: Ref<string>) =>
14
14
  deleteSkill: (id: number) => Promise<ISkillApi>;
15
15
  downloadSkill: (id: number) => Promise<import("@/types/skill").ISkill>;
16
16
  restoreSkill: (id: number) => Promise<unknown>;
17
- getSkillInstallGuide: (id: number) => Promise<{
17
+ getSkillInstallGuide: (id: number, param: ISkillInstallGuide) => Promise<{
18
18
  markdown: string;
19
19
  }>;
20
20
  getSkillInstallTargets: () => Promise<import("@/types/skill").ISkillInstallTarget[]>;
@@ -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, transferSkillInstallTargetApi2SkillInstallTarget, transferSkillOpenclawWindowsInstallParam2SkillOpenclawWindowsInstallParamApi, transferSkillOpenclawWindowsInstallTasksApi2SkillOpenclawWindowsInstallTasks, transferSkillOpenclawWindowsInstallTaskStatusParam2SkillOpenclawWindowsInstallTaskStatusParamApi, transferSkillOpenclawWindowsInstanceApi2SkillOpenclawWindowsInstance, transferSkillOpenclawWindowsInstanceStatusMapApi2SkillOpenclawWindowsInstanceStatusMap, transferSkillOpenclawWindowsInstanceStatusParam2SkillOpenclawWindowsInstanceStatusParamApi } from '../http/helper/skill.ts.js';
54
+ import { transferSkillApi2Skill, transferSkillBuildLogApi2SkillBuildLog, transferSkillCount2SkillCountApi, transferSkillInstallGuide2SkillInstallGuideApi, 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 列表
@@ -94,7 +94,7 @@ export const useSkillHttp = (apiPrefix, spaceId)=>{
94
94
  }
95
95
  }).then(transferSkillApi2Skill);
96
96
  // 获取 Skill 安装指南
97
- const getSkillInstallGuide = (id)=>fetch.get(`${apiPrefix}/skill/v1/skill/${id}/install_guide/`, undefined, {
97
+ const getSkillInstallGuide = (id, param)=>fetch.get(`${apiPrefix}/skill/v1/skill/${id}/install_guide/`, transferSkillInstallGuide2SkillInstallGuideApi(param), {
98
98
  headers: {
99
99
  'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
100
100
  }
@@ -1,4 +1,4 @@
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';
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';
2
2
  /**
3
3
  * ui转换为接口使用(表单字段)
4
4
  * @param data ISkillForm
@@ -36,6 +36,7 @@ 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 transferSkillInstallGuide2SkillInstallGuideApi: (data: ISkillInstallGuide) => ISkillInstallGuideApi;
39
40
  export declare const transferSkillInstallTargetApi2SkillInstallTarget: (data: ISkillInstallTargetApi) => ISkillInstallTarget;
40
41
  export declare const transferSkillOpenclawWindowsInstanceApi2SkillOpenclawWindowsInstance: (data: ISkillOpenclawWindowsInstanceApi) => ISkillOpenclawWindowsInstance;
41
42
  export declare const transferSkillOpenclawWindowsInstance2SkillOpenclawWindowsInstanceApi: (data: ISkillOpenclawWindowsInstance) => ISkillOpenclawWindowsInstanceApi;
@@ -163,6 +163,9 @@ export const transferSkillCount2SkillCountApi = (data)=>{
163
163
  can_apply: data.canApply,
164
164
  space_id: data.spaceId
165
165
  });
166
+ export const transferSkillInstallGuide2SkillInstallGuideApi = (data)=>({
167
+ target_type: data.targetType
168
+ });
166
169
  export const transferSkillInstallTargetApi2SkillInstallTarget = (data)=>({
167
170
  targetType: data.target_type,
168
171
  displayName: data.display_name
@@ -93,7 +93,8 @@ export declare enum SkillStatus {
93
93
  }
94
94
  export declare enum SkillInstallTargetType {
95
95
  OpenclawWindows = "openclaw_windows",
96
- OpenclawLinux = "openclaw_linux"
96
+ OpenclawLinux = "openclaw_linux",
97
+ Cursor = "cursor"
97
98
  }
98
99
  export declare enum SkillInstallTaskStatus {
99
100
  Pending = "pending",
@@ -105,6 +105,7 @@ export var SkillInstallTargetType;
105
105
  (function(SkillInstallTargetType) {
106
106
  SkillInstallTargetType["OpenclawWindows"] = "openclaw_windows";
107
107
  SkillInstallTargetType["OpenclawLinux"] = "openclaw_linux";
108
+ SkillInstallTargetType["Cursor"] = "cursor";
108
109
  })(SkillInstallTargetType || (SkillInstallTargetType = {}));
109
110
  export var SkillInstallTaskStatus;
110
111
  (function(SkillInstallTaskStatus) {
@@ -131,6 +131,12 @@ export interface ISkillBuildLog {
131
131
  startedAt: string;
132
132
  completedAt: string;
133
133
  }
134
+ export interface ISkillInstallGuideApi {
135
+ target_type: SkillInstallTargetType;
136
+ }
137
+ export interface ISkillInstallGuide {
138
+ targetType: SkillInstallTargetType;
139
+ }
134
140
  export interface ISkillInstallTargetApi {
135
141
  target_type: SkillInstallTargetType;
136
142
  display_name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/ai-ui-sdk",
3
- "version": "0.3.0-beta.22",
3
+ "version": "0.3.0-beta.23",
4
4
  "description": "蓝鲸AI UI SDK",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -1,3 +0,0 @@
1
- import script from './openclaw-linux-guide.script.vue.js.js';
2
- script.__file = "./src/components/render-skill/install/openclaw-linux-guide.vue";
3
- export default script;