vome-core 0.1.19 → 0.1.21
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/config/plugin-dev.js +1 -1
- package/dist/admin/crud/components/vm-json-kv-editor.vue +295 -0
- package/dist/admin/crud/config.js +1 -1
- package/dist/admin/crud/confirm.js +1 -1
- package/dist/admin/crud/dict.js +1 -1
- package/dist/admin/crud/index.d.ts +2 -0
- package/dist/admin/crud/index.js +1 -1
- package/dist/admin/crud/json-kv.d.ts +9 -0
- package/dist/admin/crud/json-kv.js +0 -0
- 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.js +1 -1
- package/dist/admin/crud/validate.js +1 -1
- 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.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/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/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/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;
|
|
@@ -28723,39 +28725,39 @@ function buildAiCallLogResult(payload) {
|
|
|
28723
28725
|
return out;
|
|
28724
28726
|
}
|
|
28725
28727
|
export {
|
|
28726
|
-
|
|
28727
|
-
stripAiDefaultMeta,
|
|
28728
|
-
sseResponse,
|
|
28729
|
-
resolvePollUrl,
|
|
28730
|
-
resolvePath,
|
|
28731
|
-
resolveAiTimeoutMs,
|
|
28732
|
-
resolveAiCapability,
|
|
28733
|
-
requirePath,
|
|
28734
|
-
requireAsyncSpec,
|
|
28735
|
-
readUpstreamError,
|
|
28736
|
-
postUpstreamMultipart,
|
|
28737
|
-
postUpstreamJson,
|
|
28738
|
-
postUpstream,
|
|
28739
|
-
pickUpstreamTaskId,
|
|
28740
|
-
normalizeSyncData,
|
|
28741
|
-
normalizeAiContentType,
|
|
28742
|
-
mergeInput,
|
|
28743
|
-
mergeAbortSignal,
|
|
28744
|
-
mapUpstreamTaskStatus,
|
|
28745
|
-
listAiProtocols,
|
|
28746
|
-
joinUrl,
|
|
28747
|
-
isAiCapability,
|
|
28748
|
-
inferAiMode,
|
|
28749
|
-
httpMethod,
|
|
28750
|
-
getJsonPath,
|
|
28751
|
-
getAiAdapter,
|
|
28752
|
-
defaultResponseSpec,
|
|
28753
|
-
buildSyncResult,
|
|
28754
|
-
buildBinarySyncData,
|
|
28755
|
-
buildAiCallLogResult,
|
|
28756
|
-
buildAiCallLogRequest,
|
|
28757
|
-
appendFormFields,
|
|
28758
|
-
INTERNAL_BODY_KEYS,
|
|
28728
|
+
AI_TIMEOUT_DEFAULT_MS,
|
|
28759
28729
|
AI_TIMEOUT_SYNC_MS,
|
|
28760
|
-
|
|
28730
|
+
INTERNAL_BODY_KEYS,
|
|
28731
|
+
appendFormFields,
|
|
28732
|
+
buildAiCallLogRequest,
|
|
28733
|
+
buildAiCallLogResult,
|
|
28734
|
+
buildBinarySyncData,
|
|
28735
|
+
buildSyncResult,
|
|
28736
|
+
defaultResponseSpec,
|
|
28737
|
+
getAiAdapter,
|
|
28738
|
+
getJsonPath,
|
|
28739
|
+
httpMethod,
|
|
28740
|
+
inferAiMode,
|
|
28741
|
+
isAiCapability,
|
|
28742
|
+
joinUrl,
|
|
28743
|
+
listAiProtocols,
|
|
28744
|
+
mapUpstreamTaskStatus,
|
|
28745
|
+
mergeAbortSignal,
|
|
28746
|
+
mergeInput,
|
|
28747
|
+
normalizeAiContentType,
|
|
28748
|
+
normalizeSyncData,
|
|
28749
|
+
pickUpstreamTaskId,
|
|
28750
|
+
postUpstream,
|
|
28751
|
+
postUpstreamJson,
|
|
28752
|
+
postUpstreamMultipart,
|
|
28753
|
+
readUpstreamError,
|
|
28754
|
+
requireAsyncSpec,
|
|
28755
|
+
requirePath,
|
|
28756
|
+
resolveAiCapability,
|
|
28757
|
+
resolveAiTimeoutMs,
|
|
28758
|
+
resolvePath,
|
|
28759
|
+
resolvePollUrl,
|
|
28760
|
+
sseResponse,
|
|
28761
|
+
stripAiDefaultMeta,
|
|
28762
|
+
toUpstreamJson
|
|
28761
28763
|
};
|
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
|
};
|