@blueking/ai-ui-sdk 0.3.0-beta.9 → 0.4.1-beta.1
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/common/util.d.ts +7 -1
- package/dist/common/util.ts.js +64 -11
- package/dist/components/render-agent/agent-share.script.vue.js.js +1 -1
- 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-auth/auth-dialog.script.vue.js.js +1 -1
- package/dist/components/render-auto-height-textarea/index.script.vue.js.js +3 -2
- 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.script.vue.js.js +2 -2
- 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/actions.script.vue.js.js +53 -52
- package/dist/components/render-card/agent/actions.vue.d.ts +0 -2
- package/dist/components/render-card/agent/index.script.vue.js.js +3 -3
- package/dist/components/render-card/agent/index.vue.d.ts +1 -1
- package/dist/components/render-card/agent/prefix-info-tool.script.vue.js.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/agent-command/info-tool.script.vue.js.js +4 -4
- package/dist/components/render-card/agent-command/name-suffix.script.vue.js.js +20 -47
- package/dist/components/render-card/base/application-base-actions.script.vue.js.js +1 -1
- package/dist/components/render-card/base/application-base-actions.vue.d.ts +2 -2
- package/dist/components/render-card/base/approval-strategy-popover.script.vue.js.js +209 -0
- package/dist/components/render-card/base/approval-strategy-popover.vue.d.ts +19 -0
- package/dist/components/render-card/base/approval-strategy-popover.vue.js +3 -0
- package/dist/components/render-card/base/reference-icon.script.vue.js.js +13 -6
- package/dist/components/render-card/base.script.vue.js +13 -6
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.d.ts +4 -2
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/knowledge/index.vue.d.ts +1 -1
- package/dist/components/render-card/knowledge/info-tool.script.vue.js.js +2 -2
- package/dist/components/render-card/knowledgebase/index.vue.d.ts +1 -1
- package/dist/components/render-card/knowledgebase/info-tool.script.vue.js.js +1 -1
- package/dist/components/render-card/llm/actions.script.vue.js.js +2 -5
- package/dist/components/render-card/llm/actions.vue.d.ts +0 -2
- package/dist/components/render-card/llm/corner-badge.script.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 +7 -9
- 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 +25 -4
- package/dist/components/render-card/llm/index.vue.d.ts +4 -1
- 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 +11 -7
- package/dist/components/render-card/mcp/actions.vue.d.ts +0 -2
- package/dist/components/render-card/mcp/index.script.vue.js.js +24 -5
- package/dist/components/render-card/mcp/index.vue.d.ts +6 -3
- 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/mcp/prefix-info-tool.script.vue.js.js +1 -1
- package/dist/components/render-card/mcp/selected-tools-info.script.vue.js.js +156 -0
- package/dist/components/render-card/mcp/selected-tools-info.vue.d.ts +26 -0
- package/dist/components/render-card/mcp/selected-tools-info.vue.js +3 -0
- package/dist/components/render-card/prompt/icons.script.vue.js.js +1 -1
- package/dist/components/render-card/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/prompt/index.vue.d.ts +1 -1
- package/dist/components/render-card/role/index.vue.d.ts +2 -2
- package/dist/components/render-card/skill/index.script.vue.js.js +28 -6
- package/dist/components/render-card/skill/index.vue.d.ts +4 -2
- package/dist/components/render-card/skill/prefix-info-tool.script.vue.js +112 -0
- package/dist/components/render-card/skill/prefix-info-tool.vue.d.ts +12 -0
- package/dist/components/render-card/skill/prefix-info-tool.vue.js +3 -0
- package/dist/components/render-card/skill/tag-prefix.script.vue.js.js +5 -5
- package/dist/components/render-card/skill/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/skill/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/tool/actions.script.vue.js.js +2 -5
- package/dist/components/render-card/tool/actions.vue.d.ts +0 -2
- package/dist/components/render-card/tool/index.script.vue.js.js +15 -8
- package/dist/components/render-card/tool/index.vue.d.ts +5 -2
- package/dist/components/render-card/tool/prefix-info-tool.script.vue.js.js +70 -20
- package/dist/components/render-card/tool/prefix-info-tool.vue.d.ts +4 -0
- 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.script.vue.js.js +7 -2
- 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.script.vue.js.js +2 -2
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/actions/index.script.vue.js.js +1 -1
- package/dist/components/render-collection/actions/index.vue.d.ts +2 -2
- 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.script.vue.js.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.script.vue.js.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-footer.script.vue.js.js +75 -8
- package/dist/components/render-dialog/choose-resource.script.vue.js +1 -3
- package/dist/components/render-dialog/choose-resource.vue.css +3 -3
- package/dist/components/render-dialog/choose-resource.vue.d.ts +3 -2
- 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 +81 -102
- package/dist/components/render-dialog/choose-space.vue.css +11 -8
- package/dist/components/render-dialog/choose-space.vue.d.ts +4 -4
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.script.vue.js +63 -45
- 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.d.ts +1 -1
- package/dist/components/render-file-card/index.vue.js +1 -1
- package/dist/components/render-file-type-icon/index.script.vue.js.js +2 -1
- package/dist/components/render-file-type-icon/index.vue.css +8 -5
- package/dist/components/render-file-type-icon/index.vue.js +1 -1
- package/dist/components/render-generate-tag/index.script.vue.js.js +3 -3
- package/dist/components/render-generate-tag/index.vue.css +5 -5
- package/dist/components/render-generate-tag/index.vue.js +1 -1
- package/dist/components/render-header/index.script.vue.js.js +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.script.vue.js.js +3 -3
- package/dist/components/render-knowledge/icon/index.vue.css +1 -1
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-knowledge/search/index.vue.d.ts +1 -1
- package/dist/components/render-knowledgebase/search/index.vue.d.ts +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/edit.ts.js +20 -20
- package/dist/components/render-markdown/filter-css.d.ts +1 -0
- package/dist/components/render-markdown/filter-css.ts.js +96 -0
- package/dist/components/render-markdown/view.postcss.css +5 -5
- package/dist/components/render-markdown/view.ts.js +5 -91
- package/dist/components/render-mcp/install/index.script.vue.js.js +72 -38
- 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-permission-tag/index.script.vue.js +2 -2
- package/dist/components/render-prompt/actions/index.script.vue.js.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-relate-agent/index.script.vue.js +591 -0
- package/dist/components/render-relate-agent/index.vue.d.ts +5 -5
- package/dist/components/render-relate-agent/index.vue.js +1 -1
- package/dist/components/render-resource-info/index.script.vue.js +7 -2
- 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-search-empty/index.vue.d.ts +1 -1
- package/dist/components/render-search-select/index.script.vue.js.js +31 -12
- package/dist/components/render-search-select/index.vue.d.ts +3 -1
- package/dist/components/render-select-plus-extension/index.script.vue.js.js +1 -1
- package/dist/components/render-select-plus-extension/index.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-skill/actions/index.script.vue.js.js +73 -39
- package/dist/components/render-skill/actions/index.vue.d.ts +0 -2
- package/dist/components/render-skill/icons/index.script.vue.js.js +1 -1
- package/dist/components/render-skill/install/index.script.vue.js.js +290 -30
- package/dist/components/render-skill/install/install-guide.script.vue.js.js +58 -0
- package/dist/components/render-skill/install/install-guide.vue.d.ts +10 -0
- package/dist/components/render-skill/install/install-guide.vue.js +3 -0
- package/dist/components/render-skill/install/openclaw-windows-instances.script.vue.js.js +147 -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-skill/variable-form/index.script.vue.js +114 -0
- package/dist/components/render-skill/variable-form/index.vue.d.ts +15 -0
- package/dist/components/render-skill/variable-form/index.vue.js +3 -0
- package/dist/components/render-t-table/index.script.vue.js +3 -3
- package/dist/components/render-t-table/index.vue.css +27 -28
- package/dist/components/render-t-table/index.vue.d.ts +1 -1
- 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/render-tree/index.vue.d.ts +1 -1
- package/dist/components.d.ts +3 -1
- package/dist/components.ts.js +3 -1
- package/dist/css/fonts/iconcool.eot +0 -0
- package/dist/css/fonts/iconcool.svg +102 -0
- package/dist/css/fonts/iconcool.ttf +0 -0
- package/dist/css/fonts/iconcool.woff +0 -0
- package/dist/css/g-utilities.css +285 -2
- package/dist/css/g-utilities.manifest.json +60 -1
- package/dist/css/iconcool.js +1 -1
- package/dist/css/style.css +102 -0
- package/dist/hooks/use-agent-http.d.ts +7 -2
- package/dist/hooks/use-agent-http.ts.js +17 -6
- package/dist/hooks/use-chat.d.ts +4 -0
- package/dist/hooks/use-click-proxy.ts.js +1 -3
- package/dist/hooks/use-clickoutside.d.ts +3 -0
- package/dist/hooks/use-clickoutside.ts.js +28 -0
- package/dist/hooks/use-collection-http.d.ts +5 -2
- package/dist/hooks/use-collection-http.ts.js +4 -3
- package/dist/hooks/use-dataset-http.ts.js +2 -2
- package/dist/hooks/use-knowledge-http.d.ts +9 -3
- package/dist/hooks/use-knowledge-http.ts.js +8 -6
- package/dist/hooks/use-mcp-http.d.ts +9 -2
- package/dist/hooks/use-mcp-http.ts.js +20 -5
- package/dist/hooks/use-prompt-http.d.ts +5 -2
- package/dist/hooks/use-prompt-http.ts.js +4 -3
- package/dist/hooks/use-scroll-load.d.ts +3 -1
- package/dist/hooks/use-scroll-load.ts.js +12 -2
- package/dist/hooks/use-skill-http.d.ts +21 -6
- package/dist/hooks/use-skill-http.ts.js +53 -6
- package/dist/hooks/use-space-http.d.ts +2 -1
- package/dist/hooks/use-space-http.ts.js +7 -1
- package/dist/hooks/use-tool-http.d.ts +5 -2
- package/dist/hooks/use-tool-http.ts.js +4 -3
- package/dist/hooks.d.ts +1 -0
- package/dist/hooks.ts.js +1 -0
- package/dist/http/helper/agent.d.ts +20 -1
- package/dist/http/helper/agent.ts.js +47 -6
- package/dist/http/helper/collection.ts.js +2 -2
- package/dist/http/helper/common.d.ts +17 -4
- package/dist/http/helper/common.ts.js +18 -2
- package/dist/http/helper/dataset.ts.js +1 -0
- package/dist/http/helper/knowledge.ts.js +2 -3
- package/dist/http/helper/mcp.d.ts +3 -1
- package/dist/http/helper/mcp.ts.js +17 -7
- package/dist/http/helper/model.ts.js +4 -1
- package/dist/http/helper/prompt.ts.js +2 -2
- package/dist/http/helper/skill.d.ts +16 -1
- package/dist/http/helper/skill.ts.js +76 -5
- package/dist/http/helper/space.d.ts +13 -1
- package/dist/http/helper/space.ts.js +24 -0
- package/dist/http/helper/tool.ts.js +4 -4
- package/dist/types/agent.d.ts +34 -0
- package/dist/types/common.d.ts +15 -7
- package/dist/types/dataset.d.ts +4 -0
- package/dist/types/enum.d.ts +25 -0
- package/dist/types/enum.ts.js +29 -0
- package/dist/types/mcp.d.ts +24 -4
- package/dist/types/model.d.ts +6 -0
- package/dist/types/navigate.d.ts +1 -0
- package/dist/types/skill.d.ts +106 -5
- package/dist/types/space.d.ts +11 -1
- package/dist/types/tool.d.ts +3 -3
- package/dist/util.d.ts +1 -0
- package/dist/util.ts.js +1 -0
- package/package.json +3 -2
- package/dist/components/render-relate-agent/index.script.vue.js.js +0 -454
package/dist/types/model.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface IModel {
|
|
|
9
9
|
baseModel?: string;
|
|
10
10
|
contextLength?: string;
|
|
11
11
|
activatedParams?: string;
|
|
12
|
+
trainingParams?: string;
|
|
12
13
|
createdBy?: string;
|
|
13
14
|
createdAt?: string;
|
|
14
15
|
updatedBy?: string;
|
|
@@ -18,6 +19,7 @@ export interface IModel {
|
|
|
18
19
|
like?: boolean;
|
|
19
20
|
dislikeCount?: number;
|
|
20
21
|
dislike?: boolean;
|
|
22
|
+
refCount?: number;
|
|
21
23
|
spaceAuthMode?: ModelSpaceAuthMode;
|
|
22
24
|
property?: {
|
|
23
25
|
onlyUserAssistant?: boolean;
|
|
@@ -28,6 +30,7 @@ export interface IModel {
|
|
|
28
30
|
supportThinkingQuick?: boolean;
|
|
29
31
|
default?: boolean;
|
|
30
32
|
isSelfHost?: boolean;
|
|
33
|
+
maxModelLen?: number;
|
|
31
34
|
};
|
|
32
35
|
hyperparameters?: {
|
|
33
36
|
temperature?: {
|
|
@@ -68,6 +71,7 @@ export interface IModelApi {
|
|
|
68
71
|
base_model?: string;
|
|
69
72
|
context_length?: string;
|
|
70
73
|
activated_params?: string;
|
|
74
|
+
training_params?: string;
|
|
71
75
|
created_by?: string;
|
|
72
76
|
created_at?: string;
|
|
73
77
|
updated_by?: string;
|
|
@@ -76,6 +80,7 @@ export interface IModelApi {
|
|
|
76
80
|
like?: boolean;
|
|
77
81
|
dislike_count?: number;
|
|
78
82
|
dislike?: boolean;
|
|
83
|
+
ref_count?: number;
|
|
79
84
|
space_auth_mode?: ModelSpaceAuthMode;
|
|
80
85
|
property?: {
|
|
81
86
|
only_user_assistant?: boolean;
|
|
@@ -86,6 +91,7 @@ export interface IModelApi {
|
|
|
86
91
|
support_thinking_quick?: boolean;
|
|
87
92
|
default?: boolean;
|
|
88
93
|
is_self_host?: boolean;
|
|
94
|
+
max_model_len?: number;
|
|
89
95
|
};
|
|
90
96
|
hyperparameters?: {
|
|
91
97
|
temperature?: {
|
package/dist/types/navigate.d.ts
CHANGED
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,
|
|
2
|
+
import { EnumCharacter, Module, SkillInstallTargetType, SkillInstallTaskStatus, SkillStatus } from './enum';
|
|
3
3
|
export interface ISkillForm extends IResourceFormCommon {
|
|
4
4
|
skillName: string;
|
|
5
5
|
skillCode: string;
|
|
@@ -28,7 +28,7 @@ export interface ISkillListParam extends IPaginationParam, IResourceCommonSearch
|
|
|
28
28
|
description?: string;
|
|
29
29
|
updatedBy?: string;
|
|
30
30
|
createdBy?: string;
|
|
31
|
-
status?:
|
|
31
|
+
status?: SkillStatus;
|
|
32
32
|
canApply?: boolean;
|
|
33
33
|
spaceId?: string;
|
|
34
34
|
}
|
|
@@ -40,7 +40,7 @@ export interface ISkillListParamApi extends IPaginationParamApi, IResourceCommon
|
|
|
40
40
|
description?: string;
|
|
41
41
|
updated_by?: string;
|
|
42
42
|
created_by?: string;
|
|
43
|
-
status?:
|
|
43
|
+
status?: SkillStatus;
|
|
44
44
|
can_apply?: boolean;
|
|
45
45
|
space_id?: string;
|
|
46
46
|
}
|
|
@@ -56,19 +56,40 @@ export interface ISkillScanner {
|
|
|
56
56
|
lastScanAt: string;
|
|
57
57
|
reportContent: string;
|
|
58
58
|
}
|
|
59
|
-
export interface
|
|
59
|
+
export interface ISkillEnv {
|
|
60
|
+
key: string;
|
|
61
|
+
description: string;
|
|
62
|
+
required: boolean;
|
|
63
|
+
default: string;
|
|
64
|
+
secret: boolean;
|
|
65
|
+
value?: string;
|
|
66
|
+
}
|
|
67
|
+
export type ISkillEnvApi = ISkillEnv;
|
|
68
|
+
export interface ISkill extends ISkillForm, IResourceCommon<SkillStatus> {
|
|
69
|
+
latestStatus?: SkillStatus;
|
|
70
|
+
latestVersion?: string;
|
|
60
71
|
skillMarkdown?: string;
|
|
61
72
|
downloadCount?: number;
|
|
62
73
|
installCount?: number;
|
|
63
74
|
refCount?: number;
|
|
64
75
|
scanner?: ISkillScanner;
|
|
76
|
+
envs?: ISkillEnv[];
|
|
77
|
+
bkaiDependencies?: {
|
|
78
|
+
envs?: ISkillEnv[];
|
|
79
|
+
};
|
|
65
80
|
}
|
|
66
|
-
export interface ISkillApi extends ISkillFormApi, IResourceCommonApi {
|
|
81
|
+
export interface ISkillApi extends ISkillFormApi, IResourceCommonApi<SkillStatus> {
|
|
82
|
+
latest_status?: SkillStatus;
|
|
83
|
+
latest_version?: string;
|
|
67
84
|
skill_markdown?: string;
|
|
68
85
|
download_count?: number;
|
|
69
86
|
install_count?: number;
|
|
70
87
|
ref_count?: number;
|
|
71
88
|
scanner?: ISkillScannerApi;
|
|
89
|
+
envs?: ISkillEnvApi[];
|
|
90
|
+
bkai_dependencies?: {
|
|
91
|
+
envs?: ISkillEnvApi[];
|
|
92
|
+
};
|
|
72
93
|
}
|
|
73
94
|
export interface IApplicationSkill extends ISkill {
|
|
74
95
|
resourceId: number;
|
|
@@ -96,3 +117,83 @@ export interface IApplicationSkillApi extends ISkillApi {
|
|
|
96
117
|
}
|
|
97
118
|
export type ISkillCountParam = Omit<IBaseCountParam, 'groupType'>;
|
|
98
119
|
export type ISkillCountParamApi = Omit<IBaseCountParamApi, 'group_type'>;
|
|
120
|
+
export interface ISkillBuildLogApi {
|
|
121
|
+
status: SkillStatus;
|
|
122
|
+
build_logs: string;
|
|
123
|
+
error_message: string;
|
|
124
|
+
started_at: string;
|
|
125
|
+
completed_at: string;
|
|
126
|
+
}
|
|
127
|
+
export interface ISkillBuildLog {
|
|
128
|
+
status: SkillStatus;
|
|
129
|
+
buildLogs: string;
|
|
130
|
+
errorMessage: string;
|
|
131
|
+
startedAt: string;
|
|
132
|
+
completedAt: string;
|
|
133
|
+
}
|
|
134
|
+
export interface ISkillInstallGuideApi {
|
|
135
|
+
target_type: SkillInstallTargetType;
|
|
136
|
+
}
|
|
137
|
+
export interface ISkillInstallGuide {
|
|
138
|
+
targetType: SkillInstallTargetType;
|
|
139
|
+
}
|
|
140
|
+
export interface ISkillInstallTargetApi {
|
|
141
|
+
target_type: SkillInstallTargetType;
|
|
142
|
+
display_name: string;
|
|
143
|
+
}
|
|
144
|
+
export interface ISkillInstallTarget {
|
|
145
|
+
targetType: SkillInstallTargetType;
|
|
146
|
+
displayName: string;
|
|
147
|
+
}
|
|
148
|
+
export interface ISkillOpenclawWindowsInstanceApi {
|
|
149
|
+
display_name: string;
|
|
150
|
+
host_name: string;
|
|
151
|
+
host_description: string;
|
|
152
|
+
}
|
|
153
|
+
export interface ISkillOpenclawWindowsInstance {
|
|
154
|
+
displayName: string;
|
|
155
|
+
hostName: string;
|
|
156
|
+
hostDescription: string;
|
|
157
|
+
}
|
|
158
|
+
export interface ISkillOpenclawWindowsInstallParam {
|
|
159
|
+
skillId: number;
|
|
160
|
+
workspaces: ISkillOpenclawWindowsInstance[];
|
|
161
|
+
}
|
|
162
|
+
export interface ISkillOpenclawWindowsInstallParamApi {
|
|
163
|
+
skill_id: number;
|
|
164
|
+
workspaces: ISkillOpenclawWindowsInstanceApi[];
|
|
165
|
+
}
|
|
166
|
+
export interface ISkillOpenclawWindowsInstallTaskApi {
|
|
167
|
+
task_id: number;
|
|
168
|
+
task_name: string;
|
|
169
|
+
}
|
|
170
|
+
export interface ISkillOpenclawWindowsInstallTask {
|
|
171
|
+
taskId: number;
|
|
172
|
+
taskName: string;
|
|
173
|
+
}
|
|
174
|
+
export type ISkillOpenclawWindowsInstallTasksApi = Record<string, ISkillOpenclawWindowsInstallTaskApi>;
|
|
175
|
+
export type ISkillOpenclawWindowsInstallTasks = Record<string, ISkillOpenclawWindowsInstallTask>;
|
|
176
|
+
export interface ISkillOpenclawWindowsInstallTaskStatusParam {
|
|
177
|
+
taskIds: number[];
|
|
178
|
+
}
|
|
179
|
+
export interface ISkillOpenclawWindowsInstallTaskStatusParamApi {
|
|
180
|
+
task_ids: number[];
|
|
181
|
+
}
|
|
182
|
+
export type ISkillOpenclawWindowsInstallTaskStatusMapApi = Record<string, SkillInstallTaskStatus>;
|
|
183
|
+
export type ISkillOpenclawWindowsInstallTaskStatusMap = Record<string, SkillInstallTaskStatus>;
|
|
184
|
+
export interface ISkillOpenclawWindowsInstanceStatusParam {
|
|
185
|
+
skillId: number;
|
|
186
|
+
workspaces: ISkillOpenclawWindowsInstance[];
|
|
187
|
+
}
|
|
188
|
+
export interface ISkillOpenclawWindowsInstanceStatusParamApi {
|
|
189
|
+
skill_id: number;
|
|
190
|
+
workspaces: ISkillOpenclawWindowsInstanceApi[];
|
|
191
|
+
}
|
|
192
|
+
export interface ISkillOpenclawWindowsInstanceStatusApi {
|
|
193
|
+
is_installed: boolean;
|
|
194
|
+
}
|
|
195
|
+
export interface ISkillOpenclawWindowsInstanceStatus {
|
|
196
|
+
isInstalled: boolean;
|
|
197
|
+
}
|
|
198
|
+
export type ISkillOpenclawWindowsInstanceStatusMapApi = Record<string, ISkillOpenclawWindowsInstanceStatusApi>;
|
|
199
|
+
export type ISkillOpenclawWindowsInstanceStatusMap = Record<string, ISkillOpenclawWindowsInstanceStatus>;
|
package/dist/types/space.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Module } from './enum';
|
|
1
|
+
import { McpType, Module } from './enum';
|
|
2
2
|
import type { IResourcePermission, IResourcePermissionApi } from './permission';
|
|
3
3
|
export interface IResourcesRemoveApplication {
|
|
4
4
|
resourceType: Module;
|
|
@@ -48,3 +48,13 @@ export interface ISpace {
|
|
|
48
48
|
iamGradeManagerMembers?: string[];
|
|
49
49
|
permission?: IResourcePermission;
|
|
50
50
|
}
|
|
51
|
+
export interface IResourceAuthorizedSpacesParam {
|
|
52
|
+
resourceType: Module;
|
|
53
|
+
resourceId: number;
|
|
54
|
+
mcpType?: McpType;
|
|
55
|
+
}
|
|
56
|
+
export interface IResourceAuthorizedSpacesParamApi {
|
|
57
|
+
resource_type: Module;
|
|
58
|
+
resource_id: number;
|
|
59
|
+
mcp_type?: McpType;
|
|
60
|
+
}
|
package/dist/types/tool.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IBaseCountParam, IBaseCountParamApi, IPaginationParam, IPaginationParamApi, IResourceCommon, IResourceCommonApi, IResourceCommonSearchParams, IResourceCommonSearchParamsApi, IResourceFormCommon, IResourceFormCommonApi, ISortParam, ISortParamApi } from './common';
|
|
1
|
+
import type { IApprovalSettingValue, IApprovalSettingValueApi, IBaseCountParam, IBaseCountParamApi, IPaginationParam, IPaginationParamApi, IResourceCommon, IResourceCommonApi, IResourceCommonSearchParams, IResourceCommonSearchParamsApi, IResourceFormCommon, IResourceFormCommonApi, ISortParam, ISortParamApi } from './common';
|
|
2
2
|
import { ApiValueType, EnumCharacter, IsSensitiveParam, Module, ToolCrdentialType } from './enum';
|
|
3
3
|
export interface IToolRule {
|
|
4
4
|
func: string;
|
|
@@ -32,7 +32,7 @@ export interface IToolFormApi extends IResourceFormCommonApi {
|
|
|
32
32
|
credential_id?: number;
|
|
33
33
|
credential_type?: ToolCrdentialType;
|
|
34
34
|
}
|
|
35
|
-
export interface IToolApi extends IToolFormApi, Omit<IResourceCommonApi, 'id'
|
|
35
|
+
export interface IToolApi extends IToolFormApi, Omit<IResourceCommonApi, 'id'>, IApprovalSettingValueApi {
|
|
36
36
|
tool_id: number;
|
|
37
37
|
ref_count?: number;
|
|
38
38
|
}
|
|
@@ -49,7 +49,7 @@ export interface IToolForm extends IResourceFormCommon {
|
|
|
49
49
|
credentialId?: number;
|
|
50
50
|
credentialType?: ToolCrdentialType;
|
|
51
51
|
}
|
|
52
|
-
export interface ITool extends IToolForm, IResourceCommon {
|
|
52
|
+
export interface ITool extends IToolForm, IResourceCommon, IApprovalSettingValue {
|
|
53
53
|
refCount?: number;
|
|
54
54
|
}
|
|
55
55
|
export interface IApplicationTool extends ITool {
|
package/dist/util.d.ts
CHANGED
package/dist/util.ts.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueking/ai-ui-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1-beta.1",
|
|
4
4
|
"description": "蓝鲸AI UI SDK",
|
|
5
5
|
"main": "dist/main.js",
|
|
6
6
|
"types": "dist/main.d.ts",
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"author": "",
|
|
91
91
|
"license": "ISC",
|
|
92
92
|
"peerDependencies": {
|
|
93
|
+
"@blueking/ediatable": "^0.0.1-beta.31",
|
|
93
94
|
"@blueking/xss-filter": "^0.0.10",
|
|
94
95
|
"@toast-ui/editor": "^3.2.2",
|
|
95
96
|
"@toast-ui/editor-plugin-code-syntax-highlight": "^3.1.0",
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
"vue-router": "^4.2.4"
|
|
104
105
|
},
|
|
105
106
|
"devDependencies": {
|
|
106
|
-
"@blueking/aidev-g-utilities": "0.1.0-beta.
|
|
107
|
+
"@blueking/aidev-g-utilities": "0.1.0-beta.12",
|
|
107
108
|
"@blueking/babel-preset-bk": "2.1.0",
|
|
108
109
|
"@blueking/cli-service": "0.1.0-beta.31",
|
|
109
110
|
"@blueking/eslint-config-bk": "2.1.0",
|