@blueking/ai-ui-sdk 0.3.0-beta.24 → 0.3.0-beta.26
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/util.d.ts +6 -0
- package/dist/common/util.ts.js +16 -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/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/reference-icon.script.vue.js.js +12 -5
- 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/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.script.vue.js.js +5 -7
- 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/index.script.vue.js.js +18 -0
- package/dist/components/render-card/llm/info.script.vue.js.js +4 -3
- 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/actions.script.vue.js.js +6 -2
- package/dist/components/render-card/mcp/index.script.vue.js.js +3 -24
- package/dist/components/render-card/mcp/index.vue.d.ts +2 -5
- 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/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/tool/index.script.vue.js.js +4 -12
- package/dist/components/render-card/tool/index.vue.d.ts +1 -4
- package/dist/components/render-card/tool/prefix-info-tool.script.vue.js.js +20 -70
- package/dist/components/render-card/tool/prefix-info-tool.vue.d.ts +0 -4
- 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.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +1 -5
- 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.script.vue.js.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +1 -4
- 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 +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-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-markdown/filter-css.ts.js +7 -2
- package/dist/components/render-mcp/install/index.script.vue.js.js +65 -36
- package/dist/components/render-mcp/install/index.vue.d.ts +4 -2
- package/dist/components/render-mcp/install/install-guide.script.vue.js.js +60 -0
- package/dist/components/render-mcp/install/install-guide.vue.d.ts +11 -0
- package/dist/components/render-mcp/install/install-guide.vue.js +3 -0
- 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-t-table/index.vue.css +28 -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/components.d.ts +1 -3
- package/dist/components.ts.js +1 -3
- package/dist/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/g-utilities.css +13 -77
- package/dist/css/g-utilities.manifest.json +4 -20
- package/dist/hooks/use-chat.d.ts +0 -4
- package/dist/hooks/use-mcp-http.d.ts +5 -1
- package/dist/hooks/use-mcp-http.ts.js +16 -2
- package/dist/http/helper/agent.d.ts +1 -13
- package/dist/http/helper/agent.ts.js +2 -24
- package/dist/http/helper/common.d.ts +1 -13
- package/dist/http/helper/common.ts.js +0 -16
- package/dist/http/helper/mcp.d.ts +3 -1
- package/dist/http/helper/mcp.ts.js +16 -6
- package/dist/http/helper/model.ts.js +4 -1
- package/dist/http/helper/tool.ts.js +3 -3
- package/dist/types/agent.d.ts +0 -14
- package/dist/types/common.d.ts +0 -8
- package/dist/types/enum.d.ts +4 -0
- package/dist/types/enum.ts.js +5 -0
- package/dist/types/mcp.d.ts +24 -4
- package/dist/types/model.d.ts +6 -0
- package/dist/types/tool.d.ts +3 -3
- package/package.json +2 -2
- package/dist/components/render-card/base/approval-strategy-popover.script.vue.js.js +0 -198
- package/dist/components/render-card/base/approval-strategy-popover.vue.d.ts +0 -19
- package/dist/components/render-card/base/approval-strategy-popover.vue.js +0 -3
- package/dist/components/render-card/mcp/selected-tools-info.script.vue.js.js +0 -156
- package/dist/components/render-card/mcp/selected-tools-info.vue.d.ts +0 -26
- package/dist/components/render-card/mcp/selected-tools-info.vue.js +0 -3
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
.tag-container[data-v-
|
|
2
|
+
.tag-container[data-v-xdm7y8j2] {
|
|
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-xdm7y8j2] {
|
|
9
9
|
vertical-align: sub;
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
}
|
|
12
|
-
[is-show="true"][data-v-
|
|
12
|
+
[is-show="true"][data-v-xdm7y8j2] {
|
|
13
13
|
visibility: visible;
|
|
14
14
|
}
|
|
15
|
-
[is-show="false"][data-v-
|
|
15
|
+
[is-show="false"][data-v-xdm7y8j2] {
|
|
16
16
|
display: none !important;
|
|
17
17
|
}
|
|
18
|
-
.popover-main[data-v-
|
|
18
|
+
.popover-main[data-v-xdm7y8j2] {
|
|
19
19
|
padding: 8px 8px 10px;
|
|
20
20
|
}
|
|
21
|
-
.tag-list[data-v-
|
|
21
|
+
.tag-list[data-v-xdm7y8j2] {
|
|
22
22
|
border-radius: 2px;
|
|
23
23
|
background: #F0F1F5;
|
|
24
24
|
}
|
package/dist/components.d.ts
CHANGED
|
@@ -5,14 +5,12 @@ import RenderAgentType from './components/render-agent/agent-type.vue';
|
|
|
5
5
|
import { renderAuthDialog } from './components/render-auth/auth-dialog-fn';
|
|
6
6
|
import RenderAutoHeightTextarea from './components/render-auto-height-textarea/index.vue';
|
|
7
7
|
import RenderAutoRefresh from './components/render-auto-refresh/index.vue';
|
|
8
|
-
import RenderApprovalStrategyPopover from './components/render-card/base/approval-strategy-popover.vue';
|
|
9
8
|
import RenderAgentCard from './components/render-card/agent/index.vue';
|
|
10
9
|
import RenderAgentCommandCard from './components/render-card/agent-command/index.vue';
|
|
11
10
|
import RenderKnowledgeCard from './components/render-card/knowledge/index.vue';
|
|
12
11
|
import RenderKnowledgebaseCard from './components/render-card/knowledgebase/index.vue';
|
|
13
12
|
import RenderLlmCard from './components/render-card/llm/index.vue';
|
|
14
13
|
import RenderMcpCard from './components/render-card/mcp/index.vue';
|
|
15
|
-
import RenderSelectedToolsInfo from './components/render-card/mcp/selected-tools-info.vue';
|
|
16
14
|
import RenderPromptCard from './components/render-card/prompt/index.vue';
|
|
17
15
|
import RenderRoleCard from './components/render-card/role/index.vue';
|
|
18
16
|
import RenderSkillCard from './components/render-card/skill/index.vue';
|
|
@@ -58,4 +56,4 @@ import RenderTagTree from './components/render-tag-tree/index.vue';
|
|
|
58
56
|
import RenderTags from './components/render-tags/index.vue';
|
|
59
57
|
import RenderToolSearch from './components/render-tool/search/index.vue';
|
|
60
58
|
import RenderTree from './components/render-tree/index.vue';
|
|
61
|
-
export { RenderAgentDownload, RenderAgentSearch, RenderAgentShare, RenderAgentType, renderAuthDialog, RenderAutoHeightTextarea, RenderAutoRefresh, RenderAgentCard, RenderAgentCommandCard,
|
|
59
|
+
export { RenderAgentDownload, RenderAgentSearch, RenderAgentShare, RenderAgentType, renderAuthDialog, RenderAutoHeightTextarea, RenderAutoRefresh, RenderAgentCard, RenderAgentCommandCard, RenderKnowledgeCard, RenderKnowledgebaseCard, RenderLlmCard, RenderMcpCard, RenderPromptCard, RenderRoleCard, RenderSkillCard, RenderToolCard, RenderCheckbox, RenderChooseTag, RenderRoleActions, RenderRoleContent, RenderRoleSearch, RenderDataset, RenderDatasetDetail, RenderDatasetDetailOriginData, RenderDatasetList, RenderResourceDialog, RenderDropdown, RenderFileTypeIcon, RenderGenerateTag, RenderHeader, RenderImage, RenderKnowledgeIcon, RenderKnowledgeSearch, RenderKnowledgebaseSearch, RenderLike, RenderMarkdownEdit, RenderMarkdown, RenderMcpSearch, RenderPromptActions, RenderPromptContent, RenderPromptSearch, RenderResourceInfo, RenderResourceVersion, RenderSearchEmpty, RenderSearchSelect, RenderSelectPlusExtension, RenderSkillActions, RenderSkillIcons, RenderSkillInstall, RenderSkillSearch, RenderTTable, RenderTagTree, RenderTags, RenderToolSearch, RenderTree, RenderReference, RenderRelateAgent, };
|
package/dist/components.ts.js
CHANGED
|
@@ -6,14 +6,12 @@ import RenderAgentType from './components/render-agent/agent-type.vue.js';
|
|
|
6
6
|
import { renderAuthDialog } from './components/render-auth/auth-dialog-fn.ts.js';
|
|
7
7
|
import RenderAutoHeightTextarea from './components/render-auto-height-textarea/index.vue.js';
|
|
8
8
|
import RenderAutoRefresh from './components/render-auto-refresh/index.vue.js';
|
|
9
|
-
import RenderApprovalStrategyPopover from './components/render-card/base/approval-strategy-popover.vue.js';
|
|
10
9
|
import RenderAgentCard from './components/render-card/agent/index.vue.js';
|
|
11
10
|
import RenderAgentCommandCard from './components/render-card/agent-command/index.vue.js';
|
|
12
11
|
import RenderKnowledgeCard from './components/render-card/knowledge/index.vue.js';
|
|
13
12
|
import RenderKnowledgebaseCard from './components/render-card/knowledgebase/index.vue.js';
|
|
14
13
|
import RenderLlmCard from './components/render-card/llm/index.vue.js';
|
|
15
14
|
import RenderMcpCard from './components/render-card/mcp/index.vue.js';
|
|
16
|
-
import RenderSelectedToolsInfo from './components/render-card/mcp/selected-tools-info.vue.js';
|
|
17
15
|
import RenderPromptCard from './components/render-card/prompt/index.vue.js';
|
|
18
16
|
import RenderRoleCard from './components/render-card/role/index.vue.js';
|
|
19
17
|
import RenderSkillCard from './components/render-card/skill/index.vue.js';
|
|
@@ -59,4 +57,4 @@ import RenderTagTree from './components/render-tag-tree/index.vue.js';
|
|
|
59
57
|
import RenderTags from './components/render-tags/index.vue.js';
|
|
60
58
|
import RenderToolSearch from './components/render-tool/search/index.vue.js';
|
|
61
59
|
import RenderTree from './components/render-tree/index.vue.js';
|
|
62
|
-
export { RenderAgentDownload, RenderAgentSearch, RenderAgentShare, RenderAgentType, renderAuthDialog, RenderAutoHeightTextarea, RenderAutoRefresh, RenderAgentCard, RenderAgentCommandCard,
|
|
60
|
+
export { RenderAgentDownload, RenderAgentSearch, RenderAgentShare, RenderAgentType, renderAuthDialog, RenderAutoHeightTextarea, RenderAutoRefresh, RenderAgentCard, RenderAgentCommandCard, RenderKnowledgeCard, RenderKnowledgebaseCard, RenderLlmCard, RenderMcpCard, RenderPromptCard, RenderRoleCard, RenderSkillCard, RenderToolCard, RenderCheckbox, RenderChooseTag, RenderRoleActions, RenderRoleContent, RenderRoleSearch, RenderDataset, RenderDatasetDetail, RenderDatasetDetailOriginData, RenderDatasetList, RenderResourceDialog, RenderDropdown, RenderFileTypeIcon, RenderGenerateTag, RenderHeader, RenderImage, RenderKnowledgeIcon, RenderKnowledgeSearch, RenderKnowledgebaseSearch, RenderLike, RenderMarkdownEdit, RenderMarkdown, RenderMcpSearch, RenderPromptActions, RenderPromptContent, RenderPromptSearch, RenderResourceInfo, RenderResourceVersion, RenderSearchEmpty, RenderSearchSelect, RenderSelectPlusExtension, RenderSkillActions, RenderSkillIcons, RenderSkillInstall, RenderSkillSearch, RenderTTable, RenderTagTree, RenderTags, RenderToolSearch, RenderTree, RenderReference, RenderRelateAgent };
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/css/g-utilities.css
CHANGED
|
@@ -173,14 +173,6 @@
|
|
|
173
173
|
border-radius: 100%;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.g-border-t-1 {
|
|
177
|
-
border-top-width: 1px;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.g-border-t-F0F1F5 {
|
|
181
|
-
border-top: 1px solid #F0F1F5;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
176
|
.g-confirm {
|
|
185
177
|
.bk-pop-confirm-title {
|
|
186
178
|
padding-bottom: 6px;
|
|
@@ -319,10 +311,6 @@
|
|
|
319
311
|
align-items: center;
|
|
320
312
|
}
|
|
321
313
|
|
|
322
|
-
.g-flex-shrink-0 {
|
|
323
|
-
flex-shrink: 0;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
314
|
.g-flex-truncate {
|
|
327
315
|
overflow: hidden;
|
|
328
316
|
text-overflow: ellipsis;
|
|
@@ -358,14 +346,6 @@
|
|
|
358
346
|
gap: 4px;
|
|
359
347
|
}
|
|
360
348
|
|
|
361
|
-
.g-gap-8 {
|
|
362
|
-
gap: 8px;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.g-gap-y-4 {
|
|
366
|
-
row-gap: 4px;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
349
|
.g-gray-header-table {
|
|
370
350
|
.bk-table-head {
|
|
371
351
|
th {
|
|
@@ -379,10 +359,6 @@
|
|
|
379
359
|
height: 16px;
|
|
380
360
|
}
|
|
381
361
|
|
|
382
|
-
.g-h-24 {
|
|
383
|
-
height: 24px;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
362
|
.g-h-56 {
|
|
387
363
|
height: 56px;
|
|
388
364
|
}
|
|
@@ -391,6 +367,10 @@
|
|
|
391
367
|
height: 70px;
|
|
392
368
|
}
|
|
393
369
|
|
|
370
|
+
.g-h-full {
|
|
371
|
+
height: 100%;
|
|
372
|
+
}
|
|
373
|
+
|
|
394
374
|
.g-hidden {
|
|
395
375
|
display: none;
|
|
396
376
|
}
|
|
@@ -409,14 +389,6 @@
|
|
|
409
389
|
align-items: center;
|
|
410
390
|
}
|
|
411
391
|
|
|
412
|
-
.g-items-start {
|
|
413
|
-
align-items: flex-start;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
.g-justify-between {
|
|
417
|
-
justify-content: space-between;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
392
|
.g-justify-center {
|
|
421
393
|
justify-content: center;
|
|
422
394
|
}
|
|
@@ -453,14 +425,6 @@
|
|
|
453
425
|
line-height: 32px;
|
|
454
426
|
}
|
|
455
427
|
|
|
456
|
-
.g-m-0 {
|
|
457
|
-
margin: 0px;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
.g-max-h-260 {
|
|
461
|
-
max-height: 260px;
|
|
462
|
-
}
|
|
463
|
-
|
|
464
428
|
.g-max-h-400 {
|
|
465
429
|
max-height: 400px;
|
|
466
430
|
}
|
|
@@ -596,6 +560,10 @@
|
|
|
596
560
|
margin-right: 10px;
|
|
597
561
|
}
|
|
598
562
|
|
|
563
|
+
.g-mr-12 {
|
|
564
|
+
margin-right: 12px;
|
|
565
|
+
}
|
|
566
|
+
|
|
599
567
|
.g-mr-14 {
|
|
600
568
|
margin-right: 14px;
|
|
601
569
|
}
|
|
@@ -684,10 +652,6 @@
|
|
|
684
652
|
font-variant-numeric: tabular-nums;
|
|
685
653
|
}
|
|
686
654
|
|
|
687
|
-
.g-p-0 {
|
|
688
|
-
padding: 0px;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
655
|
.g-p-12 {
|
|
692
656
|
padding: 12px;
|
|
693
657
|
}
|
|
@@ -708,10 +672,6 @@
|
|
|
708
672
|
padding-bottom: 20px;
|
|
709
673
|
}
|
|
710
674
|
|
|
711
|
-
.g-pb-4 {
|
|
712
|
-
padding-bottom: 4px;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
675
|
.g-pb-8 {
|
|
716
676
|
padding-bottom: 8px;
|
|
717
677
|
}
|
|
@@ -726,10 +686,6 @@
|
|
|
726
686
|
padding-left: 12px;
|
|
727
687
|
}
|
|
728
688
|
|
|
729
|
-
.g-pl-16 {
|
|
730
|
-
padding-left: 16px;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
689
|
.g-pl-8 {
|
|
734
690
|
padding-left: 8px;
|
|
735
691
|
}
|
|
@@ -755,10 +711,6 @@ padding: 0px !important;
|
|
|
755
711
|
}
|
|
756
712
|
}
|
|
757
713
|
|
|
758
|
-
.g-pr-16 {
|
|
759
|
-
padding-right: 16px;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
714
|
.g-pr-24 {
|
|
763
715
|
padding-right: 24px;
|
|
764
716
|
}
|
|
@@ -775,13 +727,13 @@ padding: 0px !important;
|
|
|
775
727
|
padding-top: 14px;
|
|
776
728
|
}
|
|
777
729
|
|
|
778
|
-
.g-pt-
|
|
779
|
-
padding-top:
|
|
730
|
+
.g-pt-16 {
|
|
731
|
+
padding-top: 16px;
|
|
780
732
|
}
|
|
781
733
|
|
|
782
|
-
.g-px-
|
|
783
|
-
padding-left:
|
|
784
|
-
padding-right:
|
|
734
|
+
.g-px-24 {
|
|
735
|
+
padding-left: 24px;
|
|
736
|
+
padding-right: 24px;
|
|
785
737
|
}
|
|
786
738
|
|
|
787
739
|
.g-radio-group {
|
|
@@ -823,10 +775,6 @@ padding: 0px !important;
|
|
|
823
775
|
position: relative;
|
|
824
776
|
}
|
|
825
777
|
|
|
826
|
-
.g-rotate--90 {
|
|
827
|
-
transform: rotate(-90deg);
|
|
828
|
-
}
|
|
829
|
-
|
|
830
778
|
.g-rotate-infinite {
|
|
831
779
|
animation: rotate 2s linear infinite;
|
|
832
780
|
}
|
|
@@ -1067,10 +1015,6 @@ padding: 0px !important;
|
|
|
1067
1015
|
color: #ea3636;
|
|
1068
1016
|
}
|
|
1069
1017
|
|
|
1070
|
-
.g-transition-transform {
|
|
1071
|
-
transition: transform .3s cubic-bezier(.4, 0, .2, 1), -webkit-transform .3s cubic-bezier(.4, 0, .2, 1);
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
1018
|
.g-truncate {
|
|
1075
1019
|
overflow: hidden;
|
|
1076
1020
|
text-overflow: ellipsis;
|
|
@@ -1115,14 +1059,6 @@ padding: 0px !important;
|
|
|
1115
1059
|
color: #3a84ff !important;
|
|
1116
1060
|
}
|
|
1117
1061
|
|
|
1118
|
-
.hover\:g-bg-\[\#f5f7fa\]:hover {
|
|
1119
|
-
background-color: #f5f7fa;
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
.hover\:g-cursor-pointer:hover {
|
|
1123
|
-
cursor: pointer;
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
1062
|
.hover\:g-text-danger-red:hover {
|
|
1127
1063
|
color: #ff4d4f;
|
|
1128
1064
|
}
|
|
@@ -37,8 +37,6 @@
|
|
|
37
37
|
"!g-w-full",
|
|
38
38
|
"g-absolute",
|
|
39
39
|
"g-border-radio-100",
|
|
40
|
-
"g-border-t-1",
|
|
41
|
-
"g-border-t-F0F1F5",
|
|
42
40
|
"g-confirm",
|
|
43
41
|
"g-confirm-delete",
|
|
44
42
|
"g-cursor-grab",
|
|
@@ -53,7 +51,6 @@
|
|
|
53
51
|
"g-flex-col",
|
|
54
52
|
"g-flex-main-text",
|
|
55
53
|
"g-flex-row",
|
|
56
|
-
"g-flex-shrink-0",
|
|
57
54
|
"g-flex-truncate",
|
|
58
55
|
"g-flex-wrap",
|
|
59
56
|
"g-float-left",
|
|
@@ -61,19 +58,15 @@
|
|
|
61
58
|
"g-font-normal",
|
|
62
59
|
"g-gap",
|
|
63
60
|
"g-gap-4",
|
|
64
|
-
"g-gap-8",
|
|
65
|
-
"g-gap-y-4",
|
|
66
61
|
"g-gray-header-table",
|
|
67
62
|
"g-h-16",
|
|
68
|
-
"g-h-24",
|
|
69
63
|
"g-h-56",
|
|
70
64
|
"g-h-70",
|
|
65
|
+
"g-h-full",
|
|
71
66
|
"g-hidden",
|
|
72
67
|
"g-inline",
|
|
73
68
|
"g-inline-flex-row",
|
|
74
69
|
"g-items-center",
|
|
75
|
-
"g-items-start",
|
|
76
|
-
"g-justify-between",
|
|
77
70
|
"g-justify-center",
|
|
78
71
|
"g-justify-end",
|
|
79
72
|
"g-last-form-item",
|
|
@@ -83,8 +76,6 @@
|
|
|
83
76
|
"g-leading-24",
|
|
84
77
|
"g-leading-28",
|
|
85
78
|
"g-leading-32",
|
|
86
|
-
"g-m-0",
|
|
87
|
-
"g-max-h-260",
|
|
88
79
|
"g-max-h-400",
|
|
89
80
|
"g-max-h-80vh",
|
|
90
81
|
"g-max-truncate",
|
|
@@ -111,6 +102,7 @@
|
|
|
111
102
|
"g-ml-8",
|
|
112
103
|
"g-more-menu",
|
|
113
104
|
"g-mr-10",
|
|
105
|
+
"g-mr-12",
|
|
114
106
|
"g-mr-14",
|
|
115
107
|
"g-mr-16",
|
|
116
108
|
"g-mr-2",
|
|
@@ -131,32 +123,27 @@
|
|
|
131
123
|
"g-mx-16",
|
|
132
124
|
"g-no-permission-resource",
|
|
133
125
|
"g-number-font",
|
|
134
|
-
"g-p-0",
|
|
135
126
|
"g-p-12",
|
|
136
127
|
"g-p-2",
|
|
137
128
|
"g-pb-12",
|
|
138
129
|
"g-pb-14",
|
|
139
130
|
"g-pb-20",
|
|
140
|
-
"g-pb-4",
|
|
141
131
|
"g-pb-8",
|
|
142
132
|
"g-permission-cursor-element",
|
|
143
133
|
"g-pl-12",
|
|
144
|
-
"g-pl-16",
|
|
145
134
|
"g-pl-8",
|
|
146
135
|
"g-popover-confirm",
|
|
147
|
-
"g-pr-16",
|
|
148
136
|
"g-pr-24",
|
|
149
137
|
"g-pr-8",
|
|
150
138
|
"g-pt-12",
|
|
151
139
|
"g-pt-14",
|
|
152
|
-
"g-pt-
|
|
153
|
-
"g-px-
|
|
140
|
+
"g-pt-16",
|
|
141
|
+
"g-px-24",
|
|
154
142
|
"g-radio-group",
|
|
155
143
|
"g-relative",
|
|
156
144
|
"g-resource-description",
|
|
157
145
|
"g-resource-main",
|
|
158
146
|
"g-resource-name",
|
|
159
|
-
"g-rotate--90",
|
|
160
147
|
"g-rotate-infinite",
|
|
161
148
|
"g-rounded-2",
|
|
162
149
|
"g-scrollbar",
|
|
@@ -188,7 +175,6 @@
|
|
|
188
175
|
"g-text-light-gray",
|
|
189
176
|
"g-text-normal",
|
|
190
177
|
"g-text-red",
|
|
191
|
-
"g-transition-transform",
|
|
192
178
|
"g-truncate",
|
|
193
179
|
"g-w-16",
|
|
194
180
|
"g-w-200",
|
|
@@ -199,8 +185,6 @@
|
|
|
199
185
|
"hover:!g-bg-light-blue",
|
|
200
186
|
"hover:!g-border-blue",
|
|
201
187
|
"hover:!g-text-blue",
|
|
202
|
-
"hover:g-bg-[#f5f7fa]",
|
|
203
|
-
"hover:g-cursor-pointer",
|
|
204
188
|
"hover:g-text-danger-red",
|
|
205
189
|
"hover:g-text-normal"
|
|
206
190
|
]
|
package/dist/hooks/use-chat.d.ts
CHANGED
|
@@ -152,8 +152,6 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
152
152
|
viewMcp?: boolean;
|
|
153
153
|
useMcp?: boolean;
|
|
154
154
|
};
|
|
155
|
-
approvalEnabled?: boolean;
|
|
156
|
-
approvalStrategyId?: string;
|
|
157
155
|
}[];
|
|
158
156
|
anchorPathResources?: {
|
|
159
157
|
knowledges?: {
|
|
@@ -662,8 +660,6 @@ export declare const useChat: ({ handleStart, handleText, handleReferenceDoc, ha
|
|
|
662
660
|
viewMcp?: boolean;
|
|
663
661
|
useMcp?: boolean;
|
|
664
662
|
};
|
|
665
|
-
approvalEnabled?: boolean;
|
|
666
|
-
approvalStrategyId?: string;
|
|
667
663
|
}[];
|
|
668
664
|
anchorPathResources?: {
|
|
669
665
|
knowledges?: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { IFetchConfig } from '@/http/fetch';
|
|
3
|
-
import type { IMcpApi, IMcpCountParam, IMcpListParam, IRegisterMcpParam } from '@/types/mcp';
|
|
3
|
+
import type { IMcpApi, IMcpCountParam, IMcpInstallGuideParam, IMcpListParam, IRegisterMcpParam } from '@/types/mcp';
|
|
4
4
|
export declare const useMcpHttp: (apiPrefix: string, spaceId?: Ref<string>) => {
|
|
5
5
|
getMcpList: {
|
|
6
6
|
(param: IMcpListParam, config?: IFetchConfig): Promise<import("@/types").IPaginationResponse<import("@/types").IMcp>>;
|
|
@@ -14,4 +14,8 @@ export declare const useMcpHttp: (apiPrefix: string, spaceId?: Ref<string>) => {
|
|
|
14
14
|
abort(): void;
|
|
15
15
|
};
|
|
16
16
|
getMcpReferringAgents: (mcpId: number) => Promise<import("@/types").IReferringAgent[]>;
|
|
17
|
+
getMcpInstallGuide: (param: IMcpInstallGuideParam) => Promise<{
|
|
18
|
+
markdown: string;
|
|
19
|
+
}>;
|
|
20
|
+
getMcpInstallTargets: () => Promise<import("@/types").IMcpInstallTarget[]>;
|
|
17
21
|
};
|
|
@@ -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 { transferMcpApi2Mcp, transferMcpCount2McpCountApi, transferMcpParam2McpParamApi, transferRegisterMcpParam2RegisterMcpParamApi } from '../http/helper/mcp.ts.js';
|
|
54
|
+
import { transferMcpApi2Mcp, transferMcpCount2McpCountApi, transferMcpInstallGuideParam2McpInstallGuideParamApi, transferMcpInstallTargetApi2McpInstallTarget, transferMcpParam2McpParamApi, transferRegisterMcpParam2RegisterMcpParamApi } from '../http/helper/mcp.ts.js';
|
|
55
55
|
import { transferPaginationResponseApi2PaginationResponse, transferReferringAgentApi2ReferringAgent, transferResourceCountApi2ResourceCount } from '../transforms.ts.js';
|
|
56
56
|
export const useMcpHttp = (apiPrefix, spaceId)=>{
|
|
57
57
|
// 获取 MCP 列表 侧边tab切换 搜索栏搜索
|
|
@@ -93,12 +93,26 @@ export const useMcpHttp = (apiPrefix, spaceId)=>{
|
|
|
93
93
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
94
94
|
}
|
|
95
95
|
}).then((data)=>data.map(transferReferringAgentApi2ReferringAgent));
|
|
96
|
+
// 获取 MCP 安装指南
|
|
97
|
+
const getMcpInstallGuide = (param)=>fetch.get(`${apiPrefix}/mcp/v1/mcp/install_guide/`, transferMcpInstallGuideParam2McpInstallGuideParamApi(param), {
|
|
98
|
+
headers: {
|
|
99
|
+
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
// 获取 MCP 安装目标列表
|
|
103
|
+
const getMcpInstallTargets = ()=>fetch.get(`${apiPrefix}/mcp/v1/mcp/install_targets/`, undefined, {
|
|
104
|
+
headers: {
|
|
105
|
+
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
106
|
+
}
|
|
107
|
+
}).then((data)=>data.map(transferMcpInstallTargetApi2McpInstallTarget));
|
|
96
108
|
return {
|
|
97
109
|
getMcpList,
|
|
98
110
|
deleteMcp,
|
|
99
111
|
getMcpConfig,
|
|
100
112
|
restoreMcp,
|
|
101
113
|
getMcpCount,
|
|
102
|
-
getMcpReferringAgents
|
|
114
|
+
getMcpReferringAgents,
|
|
115
|
+
getMcpInstallGuide,
|
|
116
|
+
getMcpInstallTargets
|
|
103
117
|
};
|
|
104
118
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IAgent, IAgentApi, IAgentApigwMcpPermission, IAgentApigwMcpPermissionApi, IAgentCommand, IAgentCommandApi, IAgentCountParam, IAgentCountParamApi, IAgentForm, IAgentFormApi, IAgentInfo, IAgentInfoApi, IAgentListParam, IAgentListParamApi,
|
|
1
|
+
import type { IAgent, IAgentApi, IAgentApigwMcpPermission, IAgentApigwMcpPermissionApi, IAgentCommand, IAgentCommandApi, IAgentCountParam, IAgentCountParamApi, IAgentForm, IAgentFormApi, IAgentInfo, IAgentInfoApi, IAgentListParam, IAgentListParamApi, IResourceApply, IResourceApplyApi } from '@/types/agent';
|
|
2
2
|
/**
|
|
3
3
|
* 转换agentapi为agent
|
|
4
4
|
* @param data IAgentInfoApi
|
|
@@ -61,15 +61,3 @@ export declare const transferAgentCount2AgentCountApi: (data: IAgentCountParam)
|
|
|
61
61
|
* @returns IAgentApigwMcpPermission
|
|
62
62
|
*/
|
|
63
63
|
export declare const transferAgentApigwMcpPermissionApi2AgentApigwMcpPermission: (data: IAgentApigwMcpPermissionApi) => IAgentApigwMcpPermission;
|
|
64
|
-
/**
|
|
65
|
-
* ui转换为接口使用(配置审批)
|
|
66
|
-
* @param data IApprovalSetting,
|
|
67
|
-
* @returns IApprovalSettingApi
|
|
68
|
-
*/
|
|
69
|
-
export declare const transferIApprovalSetting2IApprovalSettingApi: (data: IApprovalSetting) => IApprovalSettingApi;
|
|
70
|
-
/**
|
|
71
|
-
* 接口转换为ui使用(配置审批)
|
|
72
|
-
* @param data IApprovalSettingApi
|
|
73
|
-
* @returns IApprovalSetting
|
|
74
|
-
*/
|
|
75
|
-
export declare const transferIApprovalSettingApi2IApprovalSetting: (data: IApprovalSettingApi) => IApprovalSetting;
|
|
@@ -163,7 +163,7 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
163
163
|
* @param data IAgentForm
|
|
164
164
|
* @returns IAgentFormApi
|
|
165
165
|
*/ export const transferAgentForm2AgentFormApi = (data)=>{
|
|
166
|
-
var _data_conversationSettings, _data_conversationSettings1, _data_conversationSettings_commands, _data_conversationSettings2, _data_conversationSettings3, _data_conversationSettings4, _data_promptSetting_collectionVariables, _data_relatedTools_tools, _data_relatedTools_mcps
|
|
166
|
+
var _data_conversationSettings, _data_conversationSettings1, _data_conversationSettings_commands, _data_conversationSettings2, _data_conversationSettings3, _data_conversationSettings4, _data_promptSetting_collectionVariables, _data_relatedTools_tools, _data_relatedTools_mcps;
|
|
167
167
|
var _data_conversationSettings_openingRemark, _data_conversationSettings_predefinedQuestions;
|
|
168
168
|
return _object_spread_props(_object_spread({}, transferResourceFormCommon2ResourceFormCommonApi(data)), {
|
|
169
169
|
agent_code: data.agentCode,
|
|
@@ -219,7 +219,6 @@ 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
|
-
approval_settings: (_data_approvalSettings = data.approvalSettings) === null || _data_approvalSettings === void 0 ? void 0 : _data_approvalSettings.map(transferIApprovalSetting2IApprovalSettingApi),
|
|
223
222
|
is_bind_credential: data.isBindCredential,
|
|
224
223
|
business_ids: data.businessIds
|
|
225
224
|
});
|
|
@@ -229,7 +228,7 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
229
228
|
* @param data IAgentFormApi
|
|
230
229
|
* @returns IAgentForm
|
|
231
230
|
*/ export const transferAgentFormApi2AgentForm = (data)=>{
|
|
232
|
-
var _data_conversation_settings, _data_conversation_settings1, _data_conversation_settings_commands, _data_conversation_settings2, _data_conversation_settings3, _data_conversation_settings4, _data_prompt_setting_collection_variables, _data_related_tools_tools, _data_related_tools_mcps, _data_related_skills_skills
|
|
231
|
+
var _data_conversation_settings, _data_conversation_settings1, _data_conversation_settings_commands, _data_conversation_settings2, _data_conversation_settings3, _data_conversation_settings4, _data_prompt_setting_collection_variables, _data_related_tools_tools, _data_related_tools_mcps, _data_related_skills_skills;
|
|
233
232
|
var _data_conversation_settings_opening_remark, _data_conversation_settings_predefined_questions;
|
|
234
233
|
return _object_spread_props(_object_spread({}, transferResourceFormCommonApi2ResourceFormCommon(data)), {
|
|
235
234
|
agentCode: data.agent_code,
|
|
@@ -285,7 +284,6 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
285
284
|
relatedSkills: data.related_skills ? {
|
|
286
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)
|
|
287
286
|
} : undefined,
|
|
288
|
-
approvalSettings: (_data_approval_settings = data.approval_settings) === null || _data_approval_settings === void 0 ? void 0 : _data_approval_settings.map(transferIApprovalSettingApi2IApprovalSetting),
|
|
289
287
|
isBindCredential: data.is_bind_credential,
|
|
290
288
|
businessIds: data.business_ids
|
|
291
289
|
});
|
|
@@ -390,23 +388,3 @@ export const transferAgentCount2AgentCountApi = (data)=>{
|
|
|
390
388
|
url: data.url,
|
|
391
389
|
protocolType: data.protocol_type
|
|
392
390
|
});
|
|
393
|
-
/**
|
|
394
|
-
* ui转换为接口使用(配置审批)
|
|
395
|
-
* @param data IApprovalSetting,
|
|
396
|
-
* @returns IApprovalSettingApi
|
|
397
|
-
*/ export const transferIApprovalSetting2IApprovalSettingApi = (data)=>({
|
|
398
|
-
strategy_id: data.strategyId,
|
|
399
|
-
approval_name: data.approvalName,
|
|
400
|
-
approvers: data.approvers,
|
|
401
|
-
is_default: data.isDefault
|
|
402
|
-
});
|
|
403
|
-
/**
|
|
404
|
-
* 接口转换为ui使用(配置审批)
|
|
405
|
-
* @param data IApprovalSettingApi
|
|
406
|
-
* @returns IApprovalSetting
|
|
407
|
-
*/ export const transferIApprovalSettingApi2IApprovalSetting = (data)=>({
|
|
408
|
-
strategyId: data.strategy_id,
|
|
409
|
-
approvalName: data.approval_name,
|
|
410
|
-
approvers: data.approvers,
|
|
411
|
-
isDefault: data.is_default
|
|
412
|
-
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResourceStatus } from '@/enums';
|
|
2
|
-
import type { IBaseCountParam, IBaseCountParamApi, IPaginationParam, IPaginationParamApi, IPaginationResponse, IPaginationResponseApi, IReferringAgent, IReferringAgentApi, IResourceCommon, IResourceCommonApi, IResourceCommonSearchParams, IResourceCommonSearchParamsApi, IResourceCount, IResourceCountApi, IResourceFormCommon, IResourceFormCommonApi, IResourceReference, IResourceReferenceApi, ISortParam, ISortParamApi, ITagTree, ITagTreeApi, ITagTreeNode, ITagTreeNodeApi, IVariable, IVariableApi
|
|
2
|
+
import type { IBaseCountParam, IBaseCountParamApi, IPaginationParam, IPaginationParamApi, IPaginationResponse, IPaginationResponseApi, IReferringAgent, IReferringAgentApi, IResourceCommon, IResourceCommonApi, IResourceCommonSearchParams, IResourceCommonSearchParamsApi, IResourceCount, IResourceCountApi, IResourceFormCommon, IResourceFormCommonApi, IResourceReference, IResourceReferenceApi, ISortParam, ISortParamApi, ITagTree, ITagTreeApi, ITagTreeNode, ITagTreeNodeApi, IVariable, IVariableApi } from '@/types/common';
|
|
3
3
|
/**
|
|
4
4
|
* 接口转换为ui使用
|
|
5
5
|
* @param data ITagsTreeApi
|
|
@@ -61,15 +61,3 @@ export declare const transferBaseCountParam2BaseCountParamApi: (data: IBaseCount
|
|
|
61
61
|
export declare const transferResourceCountApi2ResourceCount: (data: IResourceCountApi) => IResourceCount;
|
|
62
62
|
export declare const transferReferringAgentApi2ReferringAgent: (data: IReferringAgentApi) => IReferringAgent;
|
|
63
63
|
export declare const transferIResourceReferenceApi2IResourceReference: (data: IResourceReferenceApi) => IResourceReference;
|
|
64
|
-
/**
|
|
65
|
-
* ui转换为接口使用(配置审批策略)
|
|
66
|
-
* @param data IApprovalSettingValue,
|
|
67
|
-
* @returns IApprovalSettingValueApi
|
|
68
|
-
*/
|
|
69
|
-
export declare const transferIApprovalSettingValue2IApprovalSettingValueApi: (data: IApprovalSettingValue) => IApprovalSettingValueApi;
|
|
70
|
-
/**
|
|
71
|
-
* 接口转换为ui使用(配置审批策略)
|
|
72
|
-
* @param data IApprovalSettingValueApi
|
|
73
|
-
* @returns IApprovalSettingValue
|
|
74
|
-
*/
|
|
75
|
-
export declare const transferIApprovalSettingValueApi2IApprovalSettingValue: (data: IApprovalSettingValueApi) => IApprovalSettingValue;
|
|
@@ -168,19 +168,3 @@ export const transferIResourceReferenceApi2IResourceReference = (data)=>{
|
|
|
168
168
|
spaceId: data.space_id
|
|
169
169
|
};
|
|
170
170
|
};
|
|
171
|
-
/**
|
|
172
|
-
* ui转换为接口使用(配置审批策略)
|
|
173
|
-
* @param data IApprovalSettingValue,
|
|
174
|
-
* @returns IApprovalSettingValueApi
|
|
175
|
-
*/ export const transferIApprovalSettingValue2IApprovalSettingValueApi = (data)=>({
|
|
176
|
-
approval_enabled: data.approvalEnabled,
|
|
177
|
-
approval_strategy_id: data.approvalStrategyId
|
|
178
|
-
});
|
|
179
|
-
/**
|
|
180
|
-
* 接口转换为ui使用(配置审批策略)
|
|
181
|
-
* @param data IApprovalSettingValueApi
|
|
182
|
-
* @returns IApprovalSettingValue
|
|
183
|
-
*/ export const transferIApprovalSettingValueApi2IApprovalSettingValue = (data)=>({
|
|
184
|
-
approvalEnabled: data.approval_enabled,
|
|
185
|
-
approvalStrategyId: data.approval_strategy_id
|
|
186
|
-
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IMcp, IMcpApi, IMcpCountParam, IMcpCountParamApi, IMcpForm, IMcpFormApi, IMcpListParam, IMcpListParamApi, IMcpTool, IMcpToolApi, IMcpToolInputParam, IMcpToolInputParamApi, IMcpToolOutputParam, IMcpToolOutputParamApi, IRegisterMcpParam, IRegisterMcpParamApi } from '@/types/mcp';
|
|
1
|
+
import type { IMcp, IMcpApi, IMcpCountParam, IMcpCountParamApi, IMcpForm, IMcpFormApi, IMcpInstallGuideParam, IMcpInstallGuideParamApi, IMcpInstallTarget, IMcpInstallTargetApi, IMcpListParam, IMcpListParamApi, IMcpTool, IMcpToolApi, IMcpToolInputParam, IMcpToolInputParamApi, IMcpToolOutputParam, IMcpToolOutputParamApi, IRegisterMcpParam, IRegisterMcpParamApi } from '@/types/mcp';
|
|
2
2
|
/**
|
|
3
3
|
* ui转换为接口使用
|
|
4
4
|
* @param data IMcpListParam
|
|
@@ -60,3 +60,5 @@ export declare const transferMcp2McpApi: (data: IMcp) => IMcpApi;
|
|
|
60
60
|
*/
|
|
61
61
|
export declare const transferRegisterMcpParam2RegisterMcpParamApi: (data: IRegisterMcpParam) => IRegisterMcpParamApi;
|
|
62
62
|
export declare const transferMcpCount2McpCountApi: (data: IMcpCountParam) => IMcpCountParamApi;
|
|
63
|
+
export declare const transferMcpInstallGuideParam2McpInstallGuideParamApi: (data: IMcpInstallGuideParam) => IMcpInstallGuideParamApi;
|
|
64
|
+
export declare const transferMcpInstallTargetApi2McpInstallTarget: (data: IMcpInstallTargetApi) => IMcpInstallTarget;
|