vome-core 0.1.48 → 0.1.50
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/admin/api/client.d.ts +2 -0
- package/dist/admin/components/vm-auto-perm-dialog.vue +6 -0
- package/dist/admin/components/vm-eps-perm-picker.vue +6 -0
- package/dist/admin/components/vm-group-cascader.vue +1 -0
- package/dist/admin/components/vm-view-path-picker.vue +1 -0
- package/dist/admin/config/plugin-dev.js +1 -1
- package/dist/admin/crud/components/vm-column-custom.vue +1 -0
- package/dist/admin/crud/components/vm-context-menu.vue +1 -0
- package/dist/admin/crud/components/vm-richtext-extensions.js +1 -1
- package/dist/admin/crud/components/vm-tree-select.vue +1 -0
- package/dist/admin/crud/config.d.ts +1 -0
- package/dist/admin/crud/config.js +1 -1
- package/dist/admin/crud/confirm.js +1 -1
- package/dist/admin/crud/dict.d.ts +1 -0
- package/dist/admin/crud/dict.js +1 -1
- package/dist/admin/crud/key.js +1 -1
- package/dist/admin/crud/mitt.js +1 -1
- package/dist/admin/crud/plugins.js +1 -1
- package/dist/admin/crud/span.js +1 -1
- package/dist/admin/crud/style.d.ts +1 -0
- package/dist/admin/crud/style.js +1 -1
- package/dist/admin/crud/useCrud.d.ts +2 -1
- package/dist/admin/crud/validate.d.ts +1 -0
- package/dist/admin/crud/validate.js +1 -1
- package/dist/admin/crud/vm-adv-search.vue +1 -0
- package/dist/admin/crud/vm-crud.vue +6 -0
- package/dist/admin/crud/vm-export-btn.vue +4 -0
- package/dist/admin/crud/vm-form.vue +1 -0
- package/dist/admin/crud/vm-import-btn.vue +1 -0
- package/dist/admin/crud/vm-search.vue +1 -0
- package/dist/admin/crud/vm-table.vue +5 -0
- package/dist/admin/crud/vm-toolbar.vue +14 -4
- package/dist/admin/crud/vm-upsert.vue +1 -0
- package/dist/admin/directives/perm.js +1 -1
- package/dist/admin/hooks/useUpload.js +1 -1
- package/dist/admin/lib/browser.js +1 -1
- package/dist/admin/lib/cn.js +1 -1
- package/dist/admin/lib/dialog-float.js +1 -1
- package/dist/admin/lib/export-excel.js +1 -1
- package/dist/admin/lib/import-excel.js +1 -1
- package/dist/admin/lib/json.js +1 -1
- package/dist/admin/lib/menu.d.ts +1 -0
- package/dist/admin/lib/menu.js +1 -1
- package/dist/admin/lib/tree.js +1 -1
- package/dist/admin/lib/upload.js +1 -1
- package/dist/admin/lib/video-frame.js +1 -1
- package/dist/admin/router/menu-routes.d.ts +1 -0
- package/dist/agent/index.js +18 -16
- package/dist/ai/index.js +42 -40
- package/dist/config/index.js +11 -9
- package/dist/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/shared/datetime-picker.js +1 -1
- package/dist/shared/excel.js +1 -1
- package/dist/shared/index.js +1 -1
- package/dist/shared/locale-json.js +1 -1
- package/dist/shared/tree.js +1 -1
- package/package.json +1 -1
package/dist/agent/index.js
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -71,15 +73,15 @@ ${part.content}`).join(`
|
|
|
71
73
|
`);
|
|
72
74
|
}
|
|
73
75
|
export {
|
|
74
|
-
|
|
75
|
-
AGENT_STATE_FILE,
|
|
76
|
-
AGENT_MANIFEST_FILE,
|
|
77
|
-
AGENT_LOCAL_HOST,
|
|
78
|
-
AGENT_LOCAL_DEFAULT_PORT,
|
|
79
|
-
AGENT_KB_KINDS,
|
|
80
|
-
AGENT_HOME_NAME,
|
|
81
|
-
AGENT_DEFAULT_TOP_K,
|
|
82
|
-
AGENT_DEFAULT_HOST,
|
|
76
|
+
AGENT_API_SUCCESS,
|
|
83
77
|
AGENT_BILLING_MODES,
|
|
84
|
-
|
|
78
|
+
AGENT_DEFAULT_HOST,
|
|
79
|
+
AGENT_DEFAULT_TOP_K,
|
|
80
|
+
AGENT_HOME_NAME,
|
|
81
|
+
AGENT_KB_KINDS,
|
|
82
|
+
AGENT_LOCAL_DEFAULT_PORT,
|
|
83
|
+
AGENT_LOCAL_HOST,
|
|
84
|
+
AGENT_MANIFEST_FILE,
|
|
85
|
+
AGENT_STATE_FILE,
|
|
86
|
+
buildPromptSections
|
|
85
87
|
};
|
package/dist/ai/index.js
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -28876,39 +28878,39 @@ function buildAiCallLogResult(payload) {
|
|
|
28876
28878
|
return out;
|
|
28877
28879
|
}
|
|
28878
28880
|
export {
|
|
28879
|
-
|
|
28880
|
-
stripAiDefaultMeta,
|
|
28881
|
-
sseResponse,
|
|
28882
|
-
resolvePollUrl,
|
|
28883
|
-
resolvePath,
|
|
28884
|
-
resolveAiTimeoutMs,
|
|
28885
|
-
resolveAiCapability,
|
|
28886
|
-
requirePath,
|
|
28887
|
-
requireAsyncSpec,
|
|
28888
|
-
readUpstreamError,
|
|
28889
|
-
postUpstreamMultipart,
|
|
28890
|
-
postUpstreamJson,
|
|
28891
|
-
postUpstream,
|
|
28892
|
-
pickUpstreamTaskId,
|
|
28893
|
-
normalizeSyncData,
|
|
28894
|
-
normalizeAiContentType,
|
|
28895
|
-
mergeInput,
|
|
28896
|
-
mergeAbortSignal,
|
|
28897
|
-
mapUpstreamTaskStatus,
|
|
28898
|
-
listAiProtocols,
|
|
28899
|
-
joinUrl,
|
|
28900
|
-
isAiCapability,
|
|
28901
|
-
inferAiMode,
|
|
28902
|
-
httpMethod,
|
|
28903
|
-
getJsonPath,
|
|
28904
|
-
getAiAdapter,
|
|
28905
|
-
defaultResponseSpec,
|
|
28906
|
-
buildSyncResult,
|
|
28907
|
-
buildBinarySyncData,
|
|
28908
|
-
buildAiCallLogResult,
|
|
28909
|
-
buildAiCallLogRequest,
|
|
28910
|
-
appendFormFields,
|
|
28911
|
-
INTERNAL_BODY_KEYS,
|
|
28881
|
+
AI_TIMEOUT_DEFAULT_MS,
|
|
28912
28882
|
AI_TIMEOUT_SYNC_MS,
|
|
28913
|
-
|
|
28883
|
+
INTERNAL_BODY_KEYS,
|
|
28884
|
+
appendFormFields,
|
|
28885
|
+
buildAiCallLogRequest,
|
|
28886
|
+
buildAiCallLogResult,
|
|
28887
|
+
buildBinarySyncData,
|
|
28888
|
+
buildSyncResult,
|
|
28889
|
+
defaultResponseSpec,
|
|
28890
|
+
getAiAdapter,
|
|
28891
|
+
getJsonPath,
|
|
28892
|
+
httpMethod,
|
|
28893
|
+
inferAiMode,
|
|
28894
|
+
isAiCapability,
|
|
28895
|
+
joinUrl,
|
|
28896
|
+
listAiProtocols,
|
|
28897
|
+
mapUpstreamTaskStatus,
|
|
28898
|
+
mergeAbortSignal,
|
|
28899
|
+
mergeInput,
|
|
28900
|
+
normalizeAiContentType,
|
|
28901
|
+
normalizeSyncData,
|
|
28902
|
+
pickUpstreamTaskId,
|
|
28903
|
+
postUpstream,
|
|
28904
|
+
postUpstreamJson,
|
|
28905
|
+
postUpstreamMultipart,
|
|
28906
|
+
readUpstreamError,
|
|
28907
|
+
requireAsyncSpec,
|
|
28908
|
+
requirePath,
|
|
28909
|
+
resolveAiCapability,
|
|
28910
|
+
resolveAiTimeoutMs,
|
|
28911
|
+
resolvePath,
|
|
28912
|
+
resolvePollUrl,
|
|
28913
|
+
sseResponse,
|
|
28914
|
+
stripAiDefaultMeta,
|
|
28915
|
+
toUpstreamJson
|
|
28914
28916
|
};
|
package/dist/config/index.js
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -109,8 +111,8 @@ function merge(base, override) {
|
|
|
109
111
|
return result;
|
|
110
112
|
}
|
|
111
113
|
export {
|
|
112
|
-
|
|
113
|
-
merge,
|
|
114
|
+
getEnv,
|
|
114
115
|
hasHostConfig,
|
|
115
|
-
|
|
116
|
+
merge,
|
|
117
|
+
provideHostConfig
|
|
116
118
|
};
|