@blueking/ai-ui-sdk 0.4.1-beta.9 → 0.4.3-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/README.md +2214 -246
- package/dist/common/util.d.ts +0 -5
- package/dist/common/util.ts.js +0 -8
- package/dist/components/render-agent/agent-type.script.vue.js.js +9 -3
- package/dist/components/render-agent/agent-type.vue.css +7 -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/actions.script.vue.js.js +51 -28
- package/dist/components/render-card/agent/index.script.vue.js.js +7 -7
- 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/index.script.vue.js.js +4 -4
- package/dist/components/render-card/agent-command/info-tool.script.vue.js.js +4 -3
- package/dist/components/render-card/base/application-base-actions.script.vue.js.js +36 -2
- package/dist/components/render-card/base/application-base-actions.vue.d.ts +12 -0
- package/dist/components/render-card/base.vue.css +12 -12
- package/dist/components/render-card/base.vue.d.ts +2 -2
- package/dist/components/render-card/base.vue.js +1 -1
- package/dist/components/render-card/knowledgebase/actions.script.vue.js.js +13 -5
- package/dist/components/render-card/knowledgebase/actions.vue.d.ts +3 -0
- package/dist/components/render-card/knowledgebase/index.script.vue.js.js +2 -1
- package/dist/components/render-card/knowledgebase/index.vue.d.ts +1 -1
- package/dist/components/render-card/llm/corner-badge.vue.css +3 -3
- package/dist/components/render-card/llm/corner-badge.vue.js +1 -1
- package/dist/components/render-card/llm/icons.vue.css +2 -2
- package/dist/components/render-card/llm/icons.vue.js +1 -1
- package/dist/components/render-card/llm/info.vue.css +1 -1
- package/dist/components/render-card/llm/info.vue.js +1 -1
- package/dist/components/render-card/llm/tag-prefix.vue.css +3 -3
- package/dist/components/render-card/llm/tag-prefix.vue.js +1 -1
- package/dist/components/render-card/mcp/actions.script.vue.js.js +29 -12
- package/dist/components/render-card/mcp/index.vue.d.ts +1 -1
- package/dist/components/render-card/mcp/name-suffix.vue.css +2 -2
- package/dist/components/render-card/mcp/name-suffix.vue.js +1 -1
- package/dist/components/render-card/prompt/icons.vue.css +1 -1
- package/dist/components/render-card/prompt/icons.vue.js +1 -1
- package/dist/components/render-card/prompt/index.vue.d.ts +1 -1
- package/dist/components/render-card/role/index.vue.d.ts +1 -1
- package/dist/components/render-card/skill/index.vue.d.ts +2 -2
- 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 +23 -3
- package/dist/components/render-card/tool/index.vue.d.ts +1 -1
- package/dist/components/render-checkbox/index.vue.css +9 -9
- package/dist/components/render-checkbox/index.vue.js +1 -1
- package/dist/components/render-choose-tag/index.script.vue.js.js +24 -70
- package/dist/components/render-choose-tag/index.vue.css +7 -7
- package/dist/components/render-choose-tag/index.vue.js +1 -1
- package/dist/components/render-collapse/index.vue.css +2 -2
- package/dist/components/render-collapse/index.vue.js +1 -1
- package/dist/components/render-collection/actions/index.script.vue.js.js +23 -3
- package/dist/components/render-collection/content/index.vue.css +4 -4
- package/dist/components/render-collection/content/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/batch-delete-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.css +1 -1
- package/dist/components/render-dataset/components/batch-edit-valid-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-tool-icons/index.script.vue.js +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.css +1 -1
- package/dist/components/render-dataset/components/dataset-data-valid/index.vue.js +1 -1
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.css +3 -3
- package/dist/components/render-dataset/components/edit-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/index.vue.css +4 -4
- package/dist/components/render-dataset/components/operation-record/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.css +1 -1
- package/dist/components/render-dataset/components/operation-record/table/index.vue.js +1 -1
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.css +2 -2
- package/dist/components/render-dataset/components/operation-record/view-op-result/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset/index.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.css +2 -2
- package/dist/components/render-dataset/components/plus-dataset-data/form/api.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/footer.vue.js +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.css +1 -1
- package/dist/components/render-dataset/components/plus-dataset-data/form/index.vue.js +1 -1
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.css +10 -10
- package/dist/components/render-dataset/components/review-dataset-data/index.vue.js +1 -1
- package/dist/components/render-dataset-detail-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.vue.css +9 -9
- package/dist/components/render-dialog/choose-space.vue.js +1 -1
- package/dist/components/render-dialog/index.vue.css +6 -6
- package/dist/components/render-dialog/index.vue.js +1 -1
- package/dist/components/render-dropdown/index.script.vue.js.js +4 -0
- package/dist/components/render-dropdown/index.vue.css +3 -0
- package/dist/components/render-dropdown/index.vue.d.ts +2 -0
- 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-knowledge/icon/index.vue.css +1 -1
- package/dist/components/render-knowledge/icon/index.vue.js +1 -1
- package/dist/components/render-knowledge/search/index.script.vue.js.js +5 -1
- package/dist/components/render-prompt/actions/index.script.vue.js.js +22 -2
- 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 +11 -4
- package/dist/components/render-relate-agent/index.vue.d.ts +2 -0
- package/dist/components/render-resource-version/index.vue.css +2 -2
- package/dist/components/render-resource-version/index.vue.js +1 -1
- package/dist/components/render-router-tab/index.vue.css +3 -3
- package/dist/components/render-router-tab/index.vue.js +1 -1
- package/dist/components/render-select-plus-extension/index.vue.css +3 -3
- package/dist/components/render-select-plus-extension/index.vue.js +1 -1
- package/dist/components/render-skill/actions/index.script.vue.js.js +44 -6
- package/dist/components/render-skill/variable-form/index.script.vue.js +3 -5
- package/dist/components/render-t-table/index.script.vue.js +4 -3
- package/dist/components/render-t-table/index.vue.css +27 -27
- package/dist/components/render-t-table/index.vue.js +1 -1
- package/dist/components/render-tag-tree/index.vue.css +7 -7
- package/dist/components/render-tag-tree/index.vue.js +1 -1
- package/dist/components/render-tags/index.vue.css +6 -6
- package/dist/components/render-tags/index.vue.js +1 -1
- package/dist/css/g-utilities.css +9 -4
- package/dist/css/g-utilities.manifest.json +1 -1
- package/dist/hooks/use-dataset-http.d.ts +1 -2
- package/dist/hooks/use-dataset-http.ts.js +1 -1
- package/dist/hooks/use-form-leave-confirm.d.ts +1 -1
- package/dist/hooks/use-form-leave-confirm.ts.js +34 -5
- package/dist/hooks/use-meta-http.d.ts +1 -2
- package/dist/hooks/use-meta-http.ts.js +1 -1
- package/dist/hooks/use-permission.ts.js +2 -0
- package/dist/http/helper/agent.ts.js +2 -0
- package/dist/types/agent.d.ts +3 -1
- package/dist/types/enum.d.ts +7 -1
- package/dist/types/enum.ts.js +7 -0
- package/package.json +1 -1
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"!g-mr-12",
|
|
21
21
|
"!g-mt-16",
|
|
22
22
|
"!g-no-validate-form-item",
|
|
23
|
-
"!g-overflow-hidden",
|
|
24
23
|
"!g-pl-16",
|
|
25
24
|
"!g-pl-5",
|
|
26
25
|
"!g-pl-6",
|
|
@@ -35,6 +34,7 @@
|
|
|
35
34
|
"!g-text-2CAF5E",
|
|
36
35
|
"!g-text-ea3636",
|
|
37
36
|
"!g-text-white",
|
|
37
|
+
"!g-top-index",
|
|
38
38
|
"!g-w-220",
|
|
39
39
|
"!g-w-568",
|
|
40
40
|
"!g-w-full",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import type { IBatchRetryReviewDatasetData, IBatchReviewDatasetData, IBatchUpdateDatasetDataValidity, IComponent, IDatasetApi, IDatasetDataApi, IDatasetDataForm, IDatasetDataParam, IDatasetForm, IDatasetInfo, IDatasetListParam, IDatasetStatusInfo, IOperatRecordParam, ISchema, IUserInfoForm } from '@/types/dataset';
|
|
3
3
|
import { Module } from '@/types/enum';
|
|
4
|
-
import type { ITagApi } from '@/types/meta';
|
|
5
4
|
export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>) => {
|
|
6
5
|
getCompanyList: () => Promise<import("@/types/dataset").ICompany[]>;
|
|
7
6
|
getDatasetMineInfo: () => Promise<IDatasetInfo>;
|
|
@@ -48,6 +47,6 @@ export declare const useDatasetHttp: (apiPrefix?: string, spaceId?: Ref<string>)
|
|
|
48
47
|
batchRetryReviewDatasetData: (data: IBatchRetryReviewDatasetData) => Promise<unknown>;
|
|
49
48
|
batchUpdateDatasetDataValidity: (data: IBatchUpdateDatasetDataValidity) => Promise<unknown>;
|
|
50
49
|
getTags: (module: Module) => Promise<import("@/types/meta").ITag[]>;
|
|
51
|
-
plusTag: (tagNames: string[][], module: Module) => Promise<
|
|
50
|
+
plusTag: (tagNames: string[][], module: Module) => Promise<import("@/types/meta").ITag[]>;
|
|
52
51
|
checkTag: (tagNames: string[][], module: Module) => Promise<boolean>;
|
|
53
52
|
};
|
|
@@ -224,7 +224,7 @@ export const useDatasetHttp = (apiPrefix, spaceId)=>{
|
|
|
224
224
|
headers: {
|
|
225
225
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
226
226
|
}
|
|
227
|
-
});
|
|
227
|
+
}).then((res)=>res.map(transferTagApi2Tag));
|
|
228
228
|
// check tag
|
|
229
229
|
const checkTag = (tagNames, module)=>fetch.post(`${apiPrefix}/${datasetPerfix}/tag/check/`, {
|
|
230
230
|
tag_names: tagNames,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const useFormLeaveConfirm: () => {
|
|
2
2
|
handleInitFormLeaveConfirm: (val: object) => void;
|
|
3
|
-
handleFormLeaveConfirm: (leaveCallBack: () => void, val: object, noValidate?: boolean) => void;
|
|
3
|
+
handleFormLeaveConfirm: (leaveCallBack: () => void, val: object, noValidate?: boolean, cancelCallback?: () => void) => void;
|
|
4
4
|
};
|
|
@@ -1,19 +1,48 @@
|
|
|
1
|
+
function _define_property(obj, key, value) {
|
|
2
|
+
if (key in obj) {
|
|
3
|
+
Object.defineProperty(obj, key, {
|
|
4
|
+
value: value,
|
|
5
|
+
enumerable: true,
|
|
6
|
+
configurable: true,
|
|
7
|
+
writable: true
|
|
8
|
+
});
|
|
9
|
+
} else {
|
|
10
|
+
obj[key] = value;
|
|
11
|
+
}
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
function _object_spread(target) {
|
|
15
|
+
for(var i = 1; i < arguments.length; i++){
|
|
16
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
+
var ownKeys = Object.keys(source);
|
|
18
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
ownKeys.forEach(function(key) {
|
|
24
|
+
_define_property(target, key, source[key]);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
}
|
|
1
29
|
import { InfoBox } from 'bkui-vue';
|
|
2
|
-
import { hideTargetPopover } from '../util.ts.js';
|
|
3
30
|
export const useFormLeaveConfirm = ()=>{
|
|
4
31
|
let copyValue;
|
|
5
32
|
const handleInitFormLeaveConfirm = (val)=>{
|
|
6
33
|
copyValue = JSON.parse(JSON.stringify(val));
|
|
7
34
|
};
|
|
8
|
-
const handleFormLeaveConfirm = (leaveCallBack, val, noValidate)=>{
|
|
9
|
-
hideTargetPopover();
|
|
35
|
+
const handleFormLeaveConfirm = (leaveCallBack, val, noValidate, cancelCallback)=>{
|
|
10
36
|
if (!noValidate && copyValue && JSON.stringify(copyValue) !== JSON.stringify(val)) {
|
|
11
|
-
InfoBox({
|
|
37
|
+
InfoBox(_object_spread({
|
|
38
|
+
class: '!g-top-index',
|
|
12
39
|
title: '确认离开当前页?',
|
|
13
40
|
content: '离开将会导致未保存信息丢失',
|
|
14
41
|
cancelText: '取消',
|
|
15
42
|
onConfirm: leaveCallBack
|
|
16
|
-
}
|
|
43
|
+
}, cancelCallback ? {
|
|
44
|
+
onCancel: cancelCallback
|
|
45
|
+
} : {}));
|
|
17
46
|
} else {
|
|
18
47
|
leaveCallBack();
|
|
19
48
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import { Module } from '@/types/enum';
|
|
3
|
-
import type { ITagApi } from '@/types/meta';
|
|
4
3
|
export declare const useMetaHttp: (apiPrefix: string, spaceId?: Ref<string>) => {
|
|
5
4
|
nameValidator: (name: string, type: Module) => () => Promise<{
|
|
6
5
|
data: boolean;
|
|
@@ -11,6 +10,6 @@ export declare const useMetaHttp: (apiPrefix: string, spaceId?: Ref<string>) =>
|
|
|
11
10
|
message: string;
|
|
12
11
|
}>;
|
|
13
12
|
getTags: (module: Module) => Promise<import("@/types/meta").ITag[]>;
|
|
14
|
-
plusTag: (tagNames: string[][], module: Module) => Promise<
|
|
13
|
+
plusTag: (tagNames: string[][], module: Module) => Promise<import("@/types/meta").ITag[]>;
|
|
15
14
|
checkTag: (tagNames: string[][], module: Module) => Promise<boolean>;
|
|
16
15
|
};
|
|
@@ -67,7 +67,7 @@ export const useMetaHttp = (apiPrefix, spaceId)=>{
|
|
|
67
67
|
headers: {
|
|
68
68
|
'x-space-id': spaceId === null || spaceId === void 0 ? void 0 : spaceId.value
|
|
69
69
|
}
|
|
70
|
-
});
|
|
70
|
+
}).then((res)=>res.map(transferTagApi2Tag));
|
|
71
71
|
// check tag
|
|
72
72
|
const checkTag = (tagNames, module)=>fetch.post(`${apiPrefix}/${metaPerfix}/tag/check/`, {
|
|
73
73
|
tag_names: tagNames,
|
|
@@ -27,6 +27,7 @@ function _async_to_generator(fn) {
|
|
|
27
27
|
});
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
+
import { hideAll } from 'tippy.js';
|
|
30
31
|
import { renderAuthDialog } from '../components/render-auth/auth-dialog-fn.ts.js';
|
|
31
32
|
import { usePermissionHttp } from './use-permission-http.ts.js';
|
|
32
33
|
const element = document.createElement('div');
|
|
@@ -40,6 +41,7 @@ document.body.appendChild(element);
|
|
|
40
41
|
export function usePermission(apiPrefix, spaceId, backgroundColor) {
|
|
41
42
|
const { checkPermission, getPermissionData } = usePermissionHttp(apiPrefix, spaceId);
|
|
42
43
|
const hideAllPopover = ()=>{
|
|
44
|
+
hideAll();
|
|
43
45
|
document.querySelectorAll('.bk-popover').forEach((item)=>{
|
|
44
46
|
item.remove();
|
|
45
47
|
});
|
|
@@ -144,6 +144,7 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
144
144
|
agent_name: data.agentName,
|
|
145
145
|
icon: data.icon,
|
|
146
146
|
agent_type: data.agentType,
|
|
147
|
+
craw_type: data.crawType,
|
|
147
148
|
user_guide: data.userGuide,
|
|
148
149
|
is_bind_bk_saas: data.isBindBkSaas,
|
|
149
150
|
deploy_mode: data.deployMode,
|
|
@@ -210,6 +211,7 @@ import { transferTool2ToolApi, transferToolApi2Tool } from './tool.ts.js';
|
|
|
210
211
|
agentName: data.agent_name,
|
|
211
212
|
icon: data.icon,
|
|
212
213
|
agentType: data.agent_type,
|
|
214
|
+
crawType: data.craw_type,
|
|
213
215
|
userGuide: data.user_guide,
|
|
214
216
|
isBindBkSaas: data.is_bind_bk_saas,
|
|
215
217
|
deployMode: data.deploy_mode,
|
package/dist/types/agent.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IBaseCountParam, IBaseCountParamApi, IContent, IPaginationParam, IPaginationParamApi, IResourceCommon, IResourceCommonApi, IResourceCommonSearchParams, IResourceCommonSearchParamsApi, IResourceFormCommon, IResourceFormCommonApi, ISortParam, ISortParamApi, IVariable, IVariableApi } from './common';
|
|
2
|
-
import { AgentCommandType, AgentDeployMode, AgentType, EnumCharacter, Module, PromptSource, ResourceStatus, UserScope } from './enum';
|
|
2
|
+
import { AgentCommandType, AgentCrawType, AgentDeployMode, AgentType, EnumCharacter, Module, PromptSource, ResourceStatus, UserScope } from './enum';
|
|
3
3
|
import type { IKnowledge, IKnowledgeApi, IKnowledgebase, IKnowledgebaseApi, IKnowledgeQuerySetting, IKnowledgeQuerySettingApi } from './knowledge';
|
|
4
4
|
import type { IMcp, IMcpApi } from './mcp';
|
|
5
5
|
import type { ISkill, ISkillApi } from './skill';
|
|
@@ -84,6 +84,7 @@ export interface IAgentFormApi extends IResourceFormCommonApi {
|
|
|
84
84
|
agent_name: string;
|
|
85
85
|
icon: string;
|
|
86
86
|
agent_type: AgentType;
|
|
87
|
+
craw_type?: AgentCrawType;
|
|
87
88
|
user_guide: string;
|
|
88
89
|
is_bind_bk_saas: boolean;
|
|
89
90
|
is_bind_credential?: boolean;
|
|
@@ -142,6 +143,7 @@ export interface IAgentForm extends IResourceFormCommon {
|
|
|
142
143
|
agentName: string;
|
|
143
144
|
icon: string;
|
|
144
145
|
agentType: AgentType;
|
|
146
|
+
crawType?: AgentCrawType;
|
|
145
147
|
userGuide: string;
|
|
146
148
|
isBindBkSaas: boolean;
|
|
147
149
|
isBindCredential?: boolean;
|
package/dist/types/enum.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export declare enum FileStatus {
|
|
|
75
75
|
Init = "init",
|
|
76
76
|
Uploading = "uploading",
|
|
77
77
|
Uploaded = "uploaded",
|
|
78
|
+
UploadedOutdated = "uploaded_outdated",
|
|
78
79
|
Deleting = "deleting",
|
|
79
80
|
Deleted = "deleted",
|
|
80
81
|
Failed = "failed"
|
|
@@ -315,7 +316,12 @@ export declare enum ResourceCardType {
|
|
|
315
316
|
}
|
|
316
317
|
export declare enum AgentType {
|
|
317
318
|
Single = "single",
|
|
318
|
-
Flow = "flow"
|
|
319
|
+
Flow = "flow",
|
|
320
|
+
Craw = "craw"
|
|
321
|
+
}
|
|
322
|
+
export declare enum AgentCrawType {
|
|
323
|
+
Hermes = "hermes",
|
|
324
|
+
OpenClaw = "openclaw"
|
|
319
325
|
}
|
|
320
326
|
export declare enum AgentDeployMode {
|
|
321
327
|
CodePackage = "code_package",
|
package/dist/types/enum.ts.js
CHANGED
|
@@ -82,6 +82,7 @@ export var FileStatus;
|
|
|
82
82
|
FileStatus["Init"] = "init";
|
|
83
83
|
FileStatus["Uploading"] = "uploading";
|
|
84
84
|
FileStatus["Uploaded"] = "uploaded";
|
|
85
|
+
FileStatus["UploadedOutdated"] = "uploaded_outdated";
|
|
85
86
|
FileStatus["Deleting"] = "deleting";
|
|
86
87
|
FileStatus["Deleted"] = "deleted";
|
|
87
88
|
FileStatus["Failed"] = "failed";
|
|
@@ -356,7 +357,13 @@ export var AgentType;
|
|
|
356
357
|
(function(AgentType) {
|
|
357
358
|
AgentType["Single"] = "single";
|
|
358
359
|
AgentType["Flow"] = "flow";
|
|
360
|
+
AgentType["Craw"] = "craw";
|
|
359
361
|
})(AgentType || (AgentType = {}));
|
|
362
|
+
export var AgentCrawType;
|
|
363
|
+
(function(AgentCrawType) {
|
|
364
|
+
AgentCrawType["Hermes"] = "hermes";
|
|
365
|
+
AgentCrawType["OpenClaw"] = "openclaw";
|
|
366
|
+
})(AgentCrawType || (AgentCrawType = {}));
|
|
360
367
|
export var AgentDeployMode;
|
|
361
368
|
(function(AgentDeployMode) {
|
|
362
369
|
AgentDeployMode["CodePackage"] = "code_package";
|