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.
Files changed (58) hide show
  1. package/dist/admin/api/client.d.ts +2 -0
  2. package/dist/admin/components/vm-auto-perm-dialog.vue +6 -0
  3. package/dist/admin/components/vm-eps-perm-picker.vue +6 -0
  4. package/dist/admin/components/vm-group-cascader.vue +1 -0
  5. package/dist/admin/components/vm-view-path-picker.vue +1 -0
  6. package/dist/admin/config/plugin-dev.js +1 -1
  7. package/dist/admin/crud/components/vm-column-custom.vue +1 -0
  8. package/dist/admin/crud/components/vm-context-menu.vue +1 -0
  9. package/dist/admin/crud/components/vm-richtext-extensions.js +1 -1
  10. package/dist/admin/crud/components/vm-tree-select.vue +1 -0
  11. package/dist/admin/crud/config.d.ts +1 -0
  12. package/dist/admin/crud/config.js +1 -1
  13. package/dist/admin/crud/confirm.js +1 -1
  14. package/dist/admin/crud/dict.d.ts +1 -0
  15. package/dist/admin/crud/dict.js +1 -1
  16. package/dist/admin/crud/key.js +1 -1
  17. package/dist/admin/crud/mitt.js +1 -1
  18. package/dist/admin/crud/plugins.js +1 -1
  19. package/dist/admin/crud/span.js +1 -1
  20. package/dist/admin/crud/style.d.ts +1 -0
  21. package/dist/admin/crud/style.js +1 -1
  22. package/dist/admin/crud/useCrud.d.ts +2 -1
  23. package/dist/admin/crud/validate.d.ts +1 -0
  24. package/dist/admin/crud/validate.js +1 -1
  25. package/dist/admin/crud/vm-adv-search.vue +1 -0
  26. package/dist/admin/crud/vm-crud.vue +6 -0
  27. package/dist/admin/crud/vm-export-btn.vue +4 -0
  28. package/dist/admin/crud/vm-form.vue +1 -0
  29. package/dist/admin/crud/vm-import-btn.vue +1 -0
  30. package/dist/admin/crud/vm-search.vue +1 -0
  31. package/dist/admin/crud/vm-table.vue +5 -0
  32. package/dist/admin/crud/vm-toolbar.vue +14 -4
  33. package/dist/admin/crud/vm-upsert.vue +1 -0
  34. package/dist/admin/directives/perm.js +1 -1
  35. package/dist/admin/hooks/useUpload.js +1 -1
  36. package/dist/admin/lib/browser.js +1 -1
  37. package/dist/admin/lib/cn.js +1 -1
  38. package/dist/admin/lib/dialog-float.js +1 -1
  39. package/dist/admin/lib/export-excel.js +1 -1
  40. package/dist/admin/lib/import-excel.js +1 -1
  41. package/dist/admin/lib/json.js +1 -1
  42. package/dist/admin/lib/menu.d.ts +1 -0
  43. package/dist/admin/lib/menu.js +1 -1
  44. package/dist/admin/lib/tree.js +1 -1
  45. package/dist/admin/lib/upload.js +1 -1
  46. package/dist/admin/lib/video-frame.js +1 -1
  47. package/dist/admin/router/menu-routes.d.ts +1 -0
  48. package/dist/agent/index.js +18 -16
  49. package/dist/ai/index.js +42 -40
  50. package/dist/config/index.js +11 -9
  51. package/dist/index.js +1 -1
  52. package/dist/server/index.js +1 -1
  53. package/dist/shared/datetime-picker.js +1 -1
  54. package/dist/shared/excel.js +1 -1
  55. package/dist/shared/index.js +1 -1
  56. package/dist/shared/locale-json.js +1 -1
  57. package/dist/shared/tree.js +1 -1
  58. package/package.json +1 -1
@@ -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
- for (let key of __getOwnPropNames(mod))
23
- if (!__hasOwnProp.call(to, key))
24
- __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
26
- enumerable: true
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
- buildPromptSections,
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
- AGENT_API_SUCCESS
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
- for (let key of __getOwnPropNames(mod))
23
- if (!__hasOwnProp.call(to, key))
24
- __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
26
- enumerable: true
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
- toUpstreamJson,
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
- AI_TIMEOUT_DEFAULT_MS
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
  };
@@ -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
- for (let key of __getOwnPropNames(mod))
23
- if (!__hasOwnProp.call(to, key))
24
- __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
26
- enumerable: true
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
- provideHostConfig,
113
- merge,
114
+ getEnv,
114
115
  hasHostConfig,
115
- getEnv
116
+ merge,
117
+ provideHostConfig
116
118
  };