@nocobase/plugin-ai-gigachat 2.3.0-beta.13 → 2.3.0-beta.14

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 (87) hide show
  1. package/dist/externalVersion.js +5 -5
  2. package/dist/node_modules/gigachat/package.json +1 -1
  3. package/dist/node_modules/langchain-gigachat/package.json +1 -1
  4. package/package.json +2 -2
  5. package/dist/node_modules/gigachat/node_modules/axios/dist/axios.js +0 -5249
  6. package/dist/node_modules/gigachat/node_modules/axios/dist/axios.min.js +0 -5
  7. package/dist/node_modules/gigachat/node_modules/axios/dist/browser/axios.cjs +0 -5146
  8. package/dist/node_modules/gigachat/node_modules/axios/dist/esm/axios.js +0 -5167
  9. package/dist/node_modules/gigachat/node_modules/axios/dist/esm/axios.min.js +0 -3
  10. package/dist/node_modules/gigachat/node_modules/axios/dist/node/axios.cjs +0 -5996
  11. package/dist/node_modules/gigachat/node_modules/axios/index.d.cts +0 -738
  12. package/dist/node_modules/gigachat/node_modules/axios/index.d.ts +0 -755
  13. package/dist/node_modules/gigachat/node_modules/axios/index.js +0 -45
  14. package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/adapters.js +0 -132
  15. package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/fetch.js +0 -643
  16. package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/http.js +0 -1417
  17. package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/xhr.js +0 -228
  18. package/dist/node_modules/gigachat/node_modules/axios/lib/axios.js +0 -89
  19. package/dist/node_modules/gigachat/node_modules/axios/lib/cancel/CancelToken.js +0 -135
  20. package/dist/node_modules/gigachat/node_modules/axios/lib/cancel/CanceledError.js +0 -22
  21. package/dist/node_modules/gigachat/node_modules/axios/lib/cancel/isCancel.js +0 -5
  22. package/dist/node_modules/gigachat/node_modules/axios/lib/core/Axios.js +0 -283
  23. package/dist/node_modules/gigachat/node_modules/axios/lib/core/AxiosError.js +0 -188
  24. package/dist/node_modules/gigachat/node_modules/axios/lib/core/AxiosHeaders.js +0 -351
  25. package/dist/node_modules/gigachat/node_modules/axios/lib/core/InterceptorManager.js +0 -72
  26. package/dist/node_modules/gigachat/node_modules/axios/lib/core/buildFullPath.js +0 -50
  27. package/dist/node_modules/gigachat/node_modules/axios/lib/core/dispatchRequest.js +0 -89
  28. package/dist/node_modules/gigachat/node_modules/axios/lib/core/mergeConfig.js +0 -159
  29. package/dist/node_modules/gigachat/node_modules/axios/lib/core/settle.js +0 -27
  30. package/dist/node_modules/gigachat/node_modules/axios/lib/core/transformData.js +0 -28
  31. package/dist/node_modules/gigachat/node_modules/axios/lib/defaults/index.js +0 -177
  32. package/dist/node_modules/gigachat/node_modules/axios/lib/defaults/transitional.js +0 -10
  33. package/dist/node_modules/gigachat/node_modules/axios/lib/env/classes/FormData.js +0 -2
  34. package/dist/node_modules/gigachat/node_modules/axios/lib/env/data.js +0 -1
  35. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
  36. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
  37. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/Http2Sessions.js +0 -119
  38. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
  39. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
  40. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/bind.js +0 -14
  41. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/buildURL.js +0 -69
  42. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/callbackify.js +0 -18
  43. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/combineURLs.js +0 -15
  44. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/composeSignals.js +0 -57
  45. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/cookies.js +0 -64
  46. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -31
  47. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -105
  48. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/formDataToJSON.js +0 -119
  49. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
  50. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/fromDataURI.js +0 -68
  51. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
  52. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
  53. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
  54. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/null.js +0 -2
  55. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/parseHeaders.js +0 -69
  56. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  57. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
  58. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/readBlob.js +0 -15
  59. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/resolveConfig.js +0 -119
  60. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
  61. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -210
  62. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/speedometer.js +0 -55
  63. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/spread.js +0 -28
  64. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/throttle.js +0 -44
  65. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/toFormData.js +0 -285
  66. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
  67. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/trackStream.js +0 -89
  68. package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/validator.js +0 -112
  69. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
  70. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  71. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
  72. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/index.js +0 -13
  73. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/common/utils.js +0 -52
  74. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/index.js +0 -7
  75. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  76. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
  77. package/dist/node_modules/gigachat/node_modules/axios/lib/platform/node/index.js +0 -37
  78. package/dist/node_modules/gigachat/node_modules/axios/lib/utils.js +0 -1017
  79. package/dist/node_modules/gigachat/node_modules/axios/package.json +0 -201
  80. package/dist/node_modules/gigachat/node_modules/follow-redirects/debug.js +0 -15
  81. package/dist/node_modules/gigachat/node_modules/follow-redirects/http.js +0 -1
  82. package/dist/node_modules/gigachat/node_modules/follow-redirects/https.js +0 -1
  83. package/dist/node_modules/gigachat/node_modules/follow-redirects/index.js +0 -709
  84. package/dist/node_modules/gigachat/node_modules/follow-redirects/package.json +0 -58
  85. package/dist/node_modules/gigachat/node_modules/proxy-from-env/index.cjs +0 -105
  86. package/dist/node_modules/gigachat/node_modules/proxy-from-env/index.js +0 -103
  87. package/dist/node_modules/gigachat/node_modules/proxy-from-env/package.json +0 -43
@@ -1,45 +0,0 @@
1
- import axios from './lib/axios.js';
2
-
3
- // This module is intended to unwrap Axios default export as named.
4
- // Keep top-level export same with static properties
5
- // so that it can keep same with es module or cjs
6
- const {
7
- Axios,
8
- AxiosError,
9
- CanceledError,
10
- isCancel,
11
- CancelToken,
12
- VERSION,
13
- all,
14
- Cancel,
15
- isAxiosError,
16
- spread,
17
- toFormData,
18
- AxiosHeaders,
19
- HttpStatusCode,
20
- formToJSON,
21
- getAdapter,
22
- mergeConfig,
23
- create,
24
- } = axios;
25
-
26
- export {
27
- axios as default,
28
- create,
29
- Axios,
30
- AxiosError,
31
- CanceledError,
32
- isCancel,
33
- CancelToken,
34
- VERSION,
35
- all,
36
- Cancel,
37
- isAxiosError,
38
- spread,
39
- toFormData,
40
- AxiosHeaders,
41
- HttpStatusCode,
42
- formToJSON,
43
- getAdapter,
44
- mergeConfig,
45
- };
@@ -1,132 +0,0 @@
1
- import utils from '../utils.js';
2
- import httpAdapter from './http.js';
3
- import xhrAdapter from './xhr.js';
4
- import * as fetchAdapter from './fetch.js';
5
- import AxiosError from '../core/AxiosError.js';
6
-
7
- /**
8
- * Known adapters mapping.
9
- * Provides environment-specific adapters for Axios:
10
- * - `http` for Node.js
11
- * - `xhr` for browsers
12
- * - `fetch` for fetch API-based requests
13
- *
14
- * @type {Object<string, Function|Object>}
15
- */
16
- const knownAdapters = {
17
- http: httpAdapter,
18
- xhr: xhrAdapter,
19
- fetch: {
20
- get: fetchAdapter.getFetch,
21
- },
22
- };
23
-
24
- // Assign adapter names for easier debugging and identification
25
- utils.forEach(knownAdapters, (fn, value) => {
26
- if (fn) {
27
- try {
28
- // Null-proto descriptors so a polluted Object.prototype.get cannot turn
29
- // these data descriptors into accessor descriptors on the way in.
30
- Object.defineProperty(fn, 'name', { __proto__: null, value });
31
- } catch (e) {
32
- // eslint-disable-next-line no-empty
33
- }
34
- Object.defineProperty(fn, 'adapterName', { __proto__: null, value });
35
- }
36
- });
37
-
38
- /**
39
- * Render a rejection reason string for unknown or unsupported adapters
40
- *
41
- * @param {string} reason
42
- * @returns {string}
43
- */
44
- const renderReason = (reason) => `- ${reason}`;
45
-
46
- /**
47
- * Check if the adapter is resolved (function, null, or false)
48
- *
49
- * @param {Function|null|false} adapter
50
- * @returns {boolean}
51
- */
52
- const isResolvedHandle = (adapter) =>
53
- utils.isFunction(adapter) || adapter === null || adapter === false;
54
-
55
- /**
56
- * Get the first suitable adapter from the provided list.
57
- * Tries each adapter in order until a supported one is found.
58
- * Throws an AxiosError if no adapter is suitable.
59
- *
60
- * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
61
- * @param {Object} config - Axios request configuration
62
- * @throws {AxiosError} If no suitable adapter is available
63
- * @returns {Function} The resolved adapter function
64
- */
65
- function getAdapter(adapters, config) {
66
- adapters = utils.isArray(adapters) ? adapters : [adapters];
67
-
68
- const { length } = adapters;
69
- let nameOrAdapter;
70
- let adapter;
71
-
72
- const rejectedReasons = {};
73
-
74
- for (let i = 0; i < length; i++) {
75
- nameOrAdapter = adapters[i];
76
- let id;
77
-
78
- adapter = nameOrAdapter;
79
-
80
- if (!isResolvedHandle(nameOrAdapter)) {
81
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
82
-
83
- if (adapter === undefined) {
84
- throw new AxiosError(`Unknown adapter '${id}'`);
85
- }
86
- }
87
-
88
- if (adapter && (utils.isFunction(adapter) || (adapter = adapter.get(config)))) {
89
- break;
90
- }
91
-
92
- rejectedReasons[id || '#' + i] = adapter;
93
- }
94
-
95
- if (!adapter) {
96
- const reasons = Object.entries(rejectedReasons).map(
97
- ([id, state]) =>
98
- `adapter ${id} ` +
99
- (state === false ? 'is not supported by the environment' : 'is not available in the build')
100
- );
101
-
102
- let s = length
103
- ? reasons.length > 1
104
- ? 'since :\n' + reasons.map(renderReason).join('\n')
105
- : ' ' + renderReason(reasons[0])
106
- : 'as no adapter specified';
107
-
108
- throw new AxiosError(
109
- `There is no suitable adapter to dispatch the request ` + s,
110
- AxiosError.ERR_NOT_SUPPORT
111
- );
112
- }
113
-
114
- return adapter;
115
- }
116
-
117
- /**
118
- * Exports Axios adapters and utility to resolve an adapter
119
- */
120
- export default {
121
- /**
122
- * Resolve an adapter from a list of adapter names or functions.
123
- * @type {Function}
124
- */
125
- getAdapter,
126
-
127
- /**
128
- * Exposes all known adapters
129
- * @type {Object<string, Function|Object>}
130
- */
131
- adapters: knownAdapters,
132
- };