@smythos/sre 1.5.37 → 1.5.39

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 (71) hide show
  1. package/dist/index.js +62 -44
  2. package/dist/index.js.map +1 -1
  3. package/dist/types/Components/ECMASandbox.class.d.ts +14 -0
  4. package/dist/types/Components/index.d.ts +2 -0
  5. package/dist/types/Core/ConnectorsService.d.ts +2 -1
  6. package/dist/types/helpers/ECMASandbox.helper.d.ts +3 -0
  7. package/dist/types/helpers/Log.helper.d.ts +1 -1
  8. package/dist/types/index.d.ts +4 -1
  9. package/dist/types/subsystems/ComputeManager/Code.service/connectors/ECMASandbox.class.d.ts +19 -0
  10. package/dist/types/subsystems/LLMManager/LLM.helper.d.ts +21 -10
  11. package/dist/types/subsystems/LLMManager/LLM.service/LLMConnector.d.ts +5 -5
  12. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Anthropic.class.d.ts +2 -3
  13. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Bedrock.class.d.ts +2 -3
  14. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Echo.class.d.ts +2 -3
  15. package/dist/types/subsystems/LLMManager/LLM.service/connectors/GoogleAI.class.d.ts +2 -3
  16. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Groq.class.d.ts +2 -3
  17. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Perplexity.class.d.ts +3 -4
  18. package/dist/types/subsystems/LLMManager/LLM.service/connectors/VertexAI.class.d.ts +15 -7
  19. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/OpenAIConnector.class.d.ts +95 -0
  20. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ChatCompletionsApiInterface.d.ts +87 -0
  21. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterface.d.ts +85 -0
  22. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterfaceFactory.d.ts +49 -0
  23. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ResponsesApiInterface.d.ts +146 -0
  24. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/constants.d.ts +10 -0
  25. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/index.d.ts +4 -0
  26. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/types.d.ts +38 -0
  27. package/dist/types/subsystems/LLMManager/LLM.service/connectors/xAI.class.d.ts +1 -2
  28. package/dist/types/subsystems/Security/Vault.service/connectors/JSONFileVault.class.d.ts +5 -0
  29. package/dist/types/types/LLM.types.d.ts +82 -37
  30. package/dist/types/utils/data.utils.d.ts +2 -1
  31. package/package.json +4 -3
  32. package/src/Components/APICall/APICall.class.ts +2 -1
  33. package/src/Components/Component.class.ts +1 -1
  34. package/src/Components/ECMASandbox.class.ts +71 -0
  35. package/src/Components/GenAILLM.class.ts +1 -1
  36. package/src/Components/index.ts +2 -0
  37. package/src/Core/ConnectorsService.ts +3 -3
  38. package/src/helpers/ECMASandbox.helper.ts +54 -0
  39. package/src/helpers/Log.helper.ts +57 -17
  40. package/src/index.ts +188 -185
  41. package/src/index.ts.bak +188 -185
  42. package/src/subsystems/AgentManager/Agent.class.ts +11 -6
  43. package/src/subsystems/AgentManager/AgentRuntime.class.ts +13 -13
  44. package/src/subsystems/ComputeManager/Code.service/connectors/ECMASandbox.class.ts +131 -0
  45. package/src/subsystems/ComputeManager/Code.service/index.ts +2 -0
  46. package/src/subsystems/LLMManager/LLM.helper.ts +57 -27
  47. package/src/subsystems/LLMManager/LLM.inference.ts +4 -0
  48. package/src/subsystems/LLMManager/LLM.service/LLMConnector.ts +123 -28
  49. package/src/subsystems/LLMManager/LLM.service/connectors/Anthropic.class.ts +13 -14
  50. package/src/subsystems/LLMManager/LLM.service/connectors/Bedrock.class.ts +2 -7
  51. package/src/subsystems/LLMManager/LLM.service/connectors/Echo.class.ts +2 -6
  52. package/src/subsystems/LLMManager/LLM.service/connectors/GoogleAI.class.ts +8 -14
  53. package/src/subsystems/LLMManager/LLM.service/connectors/Groq.class.ts +2 -7
  54. package/src/subsystems/LLMManager/LLM.service/connectors/Perplexity.class.ts +2 -7
  55. package/src/subsystems/LLMManager/LLM.service/connectors/VertexAI.class.ts +121 -9
  56. package/src/subsystems/LLMManager/LLM.service/connectors/openai/OpenAIConnector.class.ts +455 -0
  57. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ChatCompletionsApiInterface.ts +528 -0
  58. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterface.ts +100 -0
  59. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterfaceFactory.ts +81 -0
  60. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ResponsesApiInterface.ts +853 -0
  61. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/constants.ts +37 -0
  62. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/index.ts +4 -0
  63. package/src/subsystems/LLMManager/LLM.service/connectors/openai/types.ts +37 -0
  64. package/src/subsystems/LLMManager/LLM.service/connectors/xAI.class.ts +0 -5
  65. package/src/subsystems/LLMManager/LLM.service/index.ts +1 -1
  66. package/src/subsystems/MemoryManager/Cache.service/connectors/RedisCache.class.ts +18 -0
  67. package/src/subsystems/MemoryManager/RuntimeContext.ts +33 -16
  68. package/src/subsystems/Security/Vault.service/connectors/JSONFileVault.class.ts +68 -42
  69. package/src/types/LLM.types.ts +91 -43
  70. package/src/utils/data.utils.ts +3 -2
  71. package/src/subsystems/LLMManager/LLM.service/connectors/OpenAI.class.ts +0 -848
@@ -0,0 +1,54 @@
1
+ import 'ses';
2
+
3
+
4
+
5
+
6
+ export function runJs(code: string) {
7
+ // Call lockdown to secure the environment
8
+ lockdown();
9
+ try {
10
+ // Endow the compartment with necessary APIs
11
+ const compartment = new Compartment({
12
+ globals: {
13
+ // add necessary globals here
14
+ setTimeout: harden(setTimeout),
15
+ clearTimeout: harden(clearTimeout),
16
+ setInterval: harden(setInterval),
17
+ clearInterval: harden(clearInterval),
18
+ console: harden(console),
19
+ Promise: harden(Promise),
20
+ fetch: harden(fetch),
21
+ },
22
+ __options__: true, // temporary migration affordance
23
+ });
24
+ const result = compartment.evaluate(code);
25
+ return result;
26
+ } catch (error) {
27
+ console.error(error);
28
+ throw error;
29
+ }
30
+
31
+ }
32
+
33
+ function getParametersString(parameters: string[], inputs: Record<string, any>) {
34
+ let params = [];
35
+ for (const parameter of parameters) {
36
+ if (typeof inputs[parameter] === 'string') {
37
+ params.push(`'${inputs[parameter]}'`);
38
+ } else {
39
+ params.push(`${inputs[parameter]}`);
40
+ }
41
+ }
42
+ return params.join(',');
43
+ }
44
+
45
+ export function generateExecutableCode(code: string, parameters: string[], inputs: Record<string, any>) {
46
+ const executableCode = `
47
+ (async () => {
48
+ ${code}
49
+ const result = await main(${getParametersString(parameters, inputs)});
50
+ return result;
51
+ })();
52
+ `
53
+ return executableCode;
54
+ }
@@ -4,6 +4,7 @@ import Transport from 'winston-transport';
4
4
  import { getFormattedStackTrace, parseCLIArgs } from '../utils';
5
5
  import config from '@sre/config';
6
6
  import { EventEmitter } from 'events';
7
+ import { AccessCandidate } from '../subsystems/Security/AccessControl/AccessCandidate.class';
7
8
  winston.addColors({
8
9
  error: 'red',
9
10
  warn: 'yellow',
@@ -64,39 +65,77 @@ export class LogHelper extends EventEmitter {
64
65
  public get elapsedTime() {
65
66
  return Date.now() - this.startTime;
66
67
  }
67
- constructor(
68
- private _logger: winston.Logger,
69
- public data,
70
- private labels: { [key: string]: any },
71
- ) {
68
+ constructor(private _logger: winston.Logger, public data, private labels: { [key: string]: any }) {
72
69
  super();
73
70
  }
74
71
 
75
72
  public log(...args) {
76
- this._logger.log('info', formatLogMessage(...args), this.labels);
73
+ let module = this.labels?.module;
74
+ const lastArg = args[args.length - 1];
75
+
76
+ if (lastArg instanceof AccessCandidate) {
77
+ module += `,${lastArg.role}<${lastArg.id}>`;
78
+ args.pop();
79
+ }
80
+ this._logger.log('info', formatLogMessage(...args), { ...this.labels, module });
77
81
  this.emit('logged', { level: 'info', message: formatLogMessage(...args) });
78
82
  }
79
83
  public warn(...args) {
80
- this._logger.log('warn', formatLogMessage(...args), this.labels);
84
+ let module = this.labels?.module;
85
+ const lastArg = args[args.length - 1];
86
+
87
+ if (lastArg instanceof AccessCandidate) {
88
+ module += `,${lastArg.role}<${lastArg.id}>`;
89
+ args.pop();
90
+ }
91
+
92
+ this._logger.log('warn', formatLogMessage(...args), { ...this.labels, module });
81
93
  this.emit('logged', { level: 'warn', message: formatLogMessage(...args) });
82
94
  }
83
95
  public debug(...args) {
84
- this._logger.log('debug', formatLogMessage(...args), this.labels);
96
+ let module = this.labels?.module;
97
+ const lastArg = args[args.length - 1];
98
+
99
+ if (lastArg instanceof AccessCandidate) {
100
+ module += `,${lastArg.role}<${lastArg.id}>`;
101
+ args.pop();
102
+ }
103
+ this._logger.log('debug', formatLogMessage(...args), { ...this.labels, module });
85
104
  this.emit('logged', { level: 'debug', message: formatLogMessage(...args) });
86
105
  }
87
106
  public info(...args) {
88
- this._logger.log('info', formatLogMessage(...args), this.labels);
107
+ let module = this.labels?.module;
108
+ const lastArg = args[args.length - 1];
109
+
110
+ if (lastArg instanceof AccessCandidate) {
111
+ module += `,${lastArg.role}<${lastArg.id}>`;
112
+ args.pop();
113
+ }
114
+ this._logger.log('info', formatLogMessage(...args), { ...this.labels, module });
89
115
  this.emit('logged', { level: 'info', message: formatLogMessage(...args) });
90
116
  }
91
117
  public verbose(...args) {
92
- this._logger.log('verbose', formatLogMessage(...args), this.labels);
118
+ let module = this.labels?.module;
119
+ const lastArg = args[args.length - 1];
120
+ if (lastArg instanceof AccessCandidate) {
121
+ module += `,${lastArg.role}<${lastArg.id}>`;
122
+ args.pop();
123
+ }
124
+ this._logger.log('verbose', formatLogMessage(...args), { ...this.labels, module });
93
125
  this.emit('logged', { level: 'verbose', message: formatLogMessage(...args) });
94
126
  }
95
127
 
96
128
  public error(...args) {
129
+ let module = this.labels?.module;
130
+ const lastArg = args[args.length - 1];
131
+
132
+ if (lastArg instanceof AccessCandidate) {
133
+ module += `,${lastArg.role}<${lastArg.id}>`;
134
+ args.pop();
135
+ }
97
136
  const stack = '\nCall Stack:\n' + getFormattedStackTrace(10).join('\n');
98
137
 
99
- this._logger.log('error', formatLogMessage(...args), { ...this.labels, stack });
138
+ this._logger.log('error', formatLogMessage(...args), { ...this.labels, stack, module });
100
139
 
101
140
  this.emit('logged', { level: 'error', message: formatLogMessage(...args) });
102
141
  }
@@ -154,7 +193,7 @@ function createBaseLogger(memoryStore?: any[]) {
154
193
  stack: true,
155
194
  }),
156
195
  winston.format.splat(),
157
- winston.format.json(),
196
+ winston.format.json()
158
197
  ),
159
198
 
160
199
  transports: [
@@ -166,7 +205,7 @@ function createBaseLogger(memoryStore?: any[]) {
166
205
  let message = info.message;
167
206
  message = message?.length > MAX_LOG_MESSAGE_LENGTH ? message.substring(0, MAX_LOG_MESSAGE_LENGTH) + '...' : message;
168
207
  return `${info.level}:${info.module || ''} ${message} ${info.stack || ''}`;
169
- }),
208
+ })
170
209
  ),
171
210
  stderrLevels: ['error'], // Define levels that should be logged to stderr
172
211
  }),
@@ -182,7 +221,7 @@ function createBaseLogger(memoryStore?: any[]) {
182
221
  message = message?.length > MAX_LOG_MESSAGE_LENGTH ? message.substring(0, MAX_LOG_MESSAGE_LENGTH) + '...' : message;
183
222
 
184
223
  return `${ns} - ${message}`;
185
- }),
224
+ })
186
225
  ),
187
226
 
188
227
  //handleExceptions: true,
@@ -195,7 +234,7 @@ function createBaseLogger(memoryStore?: any[]) {
195
234
  new ArrayTransport({
196
235
  level: 'debug',
197
236
  logs: memoryStore,
198
- }),
237
+ })
199
238
  );
200
239
  }
201
240
 
@@ -229,6 +268,7 @@ function createLabeledLogger(labels: { [key: string]: any }, memoryStore?: any[]
229
268
  return logger;
230
269
  }
231
270
 
232
- export function Logger(module: string, withMemoryStore = false) {
233
- return createLabeledLogger({ module }, withMemoryStore ? [] : undefined);
271
+ export function Logger(module: string | any, withMemoryStore = false) {
272
+ const labels: any = typeof module === 'string' ? { module } : module;
273
+ return createLabeledLogger(labels, withMemoryStore ? [] : undefined);
234
274
  }
package/src/index.ts CHANGED
@@ -1,188 +1,191 @@
1
- //!!! This is a generated file, do not edit it directly !!!//
2
-
3
- export { version } from '../package.json';
4
-
1
+ //!!! This is a generated file, do not edit it directly !!!//
5
2
 
3
+ export { version } from '../package.json';
6
4
 
7
-
8
- export * from './config';
9
- export * from './constants';
10
- export * from './Components/AgentPlugin.class';
11
- export * from './Components/APIEndpoint.class';
12
- export * from './Components/APIOutput.class';
13
- export * from './Components/Async.class';
14
- export * from './Components/Await.class';
15
- export * from './Components/Classifier.class';
16
- export * from './Components/Component.class';
17
- export * from './Components/ComponentHost.class';
18
- export * from './Components/DataSourceCleaner.class';
19
- export * from './Components/DataSourceIndexer.class';
20
- export * from './Components/DataSourceLookup.class';
21
- export * from './Components/FEncDec.class';
22
- export * from './Components/FHash.class';
23
- export * from './Components/FileStore.class';
24
- export * from './Components/ForEach.class';
25
- export * from './Components/FSign.class';
26
- export * from './Components/FSleep.class';
27
- export * from './Components/FTimestamp.class';
28
- export * from './Components/GenAILLM.class';
29
- export * from './Components/GPTPlugin.class';
30
- export * from './Components/HuggingFace.class';
31
- export * from './Components/ImageGenerator.class';
32
- export * from './Components/index';
33
- export * from './Components/JSONFilter.class';
34
- export * from './Components/LLMAssistant.class';
35
- export * from './Components/LogicAND.class';
36
- export * from './Components/LogicAtLeast.class';
37
- export * from './Components/LogicAtMost.class';
38
- export * from './Components/LogicOR.class';
39
- export * from './Components/LogicXOR.class';
40
- export * from './Components/MCPClient.class';
41
- export * from './Components/MultimodalLLM.class';
42
- export * from './Components/PromptGenerator.class';
43
- export * from './Components/ScrapflyWebScrape.class';
44
- export * from './Components/ServerlessCode.class';
45
- export * from './Components/TavilyWebSearch.class';
46
- export * from './Components/VisionLLM.class';
47
- export * from './Components/ZapierAction.class';
48
- export * from './Core/AgentProcess.helper';
49
- export * from './Core/boot';
50
- export * from './Core/Connector.class';
51
- export * from './Core/ConnectorsService';
52
- export * from './Core/DummyConnector';
53
- export * from './Core/HookService';
54
- export * from './Core/SmythRuntime.class';
55
- export * from './Core/SystemEvents';
56
- export * from './helpers/AWSLambdaCode.helper';
57
- export * from './helpers/BinaryInput.helper';
58
- export * from './helpers/Conversation.helper';
59
- export * from './helpers/JsonContent.helper';
60
- export * from './helpers/LocalCache.helper';
61
- export * from './helpers/Log.helper';
62
- export * from './helpers/OpenApiParser.helper';
63
- export * from './helpers/S3Cache.helper';
64
- export * from './helpers/SmythURI.helper';
65
- export * from './helpers/Sysconfig.helper';
66
- export * from './helpers/TemplateString.helper';
67
- export * from './helpers/TypeChecker.helper';
68
- export * from './types/ACL.types';
69
- export * from './types/Agent.types';
70
- export * from './types/AgentLogger.types';
71
- export * from './types/AWS.types';
72
- export * from './types/Cache.types';
73
- export * from './types/Common.types';
74
- export * from './types/LLM.types';
75
- export * from './types/Redis.types';
76
- export * from './types/Security.types';
77
- export * from './types/SRE.types';
78
- export * from './types/Storage.types';
79
- export * from './types/VectorDB.types';
80
- export * from './Components/APICall/AccessTokenManager';
81
- export * from './Components/APICall/APICall.class';
82
- export * from './Components/APICall/ArrayBufferResponse.helper';
83
- export * from './Components/APICall/mimeTypeCategories';
84
- export * from './Components/APICall/OAuth.helper';
85
- export * from './Components/APICall/parseData';
86
- export * from './Components/APICall/parseHeaders';
87
- export * from './Components/APICall/parseProxy';
88
- export * from './Components/APICall/parseUrl';
89
- export * from './Components/Image/imageSettings.config';
90
- export * from './subsystems/AgentManager/Agent.class';
91
- export * from './subsystems/AgentManager/Agent.helper';
92
- export * from './subsystems/AgentManager/AgentLogger.class';
93
- export * from './subsystems/AgentManager/AgentRequest.class';
94
- export * from './subsystems/AgentManager/AgentRuntime.class';
95
- export * from './subsystems/AgentManager/AgentSettings.class';
96
- export * from './subsystems/AgentManager/AgentSSE.class';
97
- export * from './subsystems/AgentManager/EmbodimentSettings.class';
98
- export * from './subsystems/AgentManager/ForkedAgent.class';
99
- export * from './subsystems/AgentManager/OSResourceMonitor';
100
- export * from './subsystems/LLMManager/custom-models';
101
- export * from './subsystems/LLMManager/LLM.helper';
102
- export * from './subsystems/LLMManager/LLM.inference';
103
- export * from './subsystems/LLMManager/models';
104
- export * from './subsystems/LLMManager/paramMappings';
105
- export * from './subsystems/MemoryManager/LLMCache';
106
- export * from './subsystems/MemoryManager/LLMContext';
107
- export * from './subsystems/MemoryManager/RuntimeContext';
108
- export * from './subsystems/Security/Credentials.helper';
109
- export * from './subsystems/Security/SecureConnector.class';
110
- export * from './subsystems/AgentManager/AgentData.service/AgentDataConnector';
111
- export * from './subsystems/AgentManager/AgentData.service/index';
112
- export * from './subsystems/AgentManager/Component.service/ComponentConnector';
113
- export * from './subsystems/AgentManager/Component.service/index';
114
- export * from './subsystems/ComputeManager/Code.service/CodeConnector';
115
- export * from './subsystems/ComputeManager/Code.service/index';
116
- export * from './subsystems/IO/CLI.service/CLIConnector';
117
- export * from './subsystems/IO/CLI.service/index';
118
- export * from './subsystems/IO/Log.service/index';
119
- export * from './subsystems/IO/Log.service/LogConnector';
120
- export * from './subsystems/IO/NKV.service/index';
121
- export * from './subsystems/IO/NKV.service/NKVConnector';
122
- export * from './subsystems/IO/Router.service/index';
123
- export * from './subsystems/IO/Router.service/RouterConnector';
124
- export * from './subsystems/IO/Storage.service/index';
125
- export * from './subsystems/IO/Storage.service/SmythFS.class';
126
- export * from './subsystems/IO/Storage.service/StorageConnector';
127
- export * from './subsystems/IO/VectorDB.service/index';
128
- export * from './subsystems/IO/VectorDB.service/VectorDBConnector';
129
- export * from './subsystems/LLMManager/LLM.service/index';
130
- export * from './subsystems/LLMManager/LLM.service/LLMConnector';
131
- export * from './subsystems/LLMManager/LLM.service/LLMCredentials.helper';
132
- export * from './subsystems/LLMManager/ModelsProvider.service/index';
133
- export * from './subsystems/LLMManager/ModelsProvider.service/ModelsProviderConnector';
134
- export * from './subsystems/MemoryManager/Cache.service/CacheConnector';
135
- export * from './subsystems/MemoryManager/Cache.service/index';
136
- export * from './subsystems/MemoryManager/LLMMemory.service/LLMMemoryConnector';
137
- export * from './subsystems/Security/AccessControl/AccessCandidate.class';
138
- export * from './subsystems/Security/AccessControl/AccessRequest.class';
139
- export * from './subsystems/Security/AccessControl/ACL.class';
140
- export * from './subsystems/Security/Account.service/AccountConnector';
141
- export * from './subsystems/Security/Account.service/index';
142
- export * from './subsystems/Security/ManagedVault.service/index';
143
- export * from './subsystems/Security/ManagedVault.service/ManagedVaultConnector';
144
- export * from './subsystems/Security/Vault.service/index';
145
- export * from './subsystems/Security/Vault.service/Vault.helper';
146
- export * from './subsystems/Security/Vault.service/VaultConnector';
147
- export * from './subsystems/AgentManager/AgentData.service/connectors/CLIAgentDataConnector.class';
148
- export * from './subsystems/AgentManager/AgentData.service/connectors/LocalAgentDataConnector.class';
149
- export * from './subsystems/AgentManager/AgentData.service/connectors/NullAgentData.class';
150
- export * from './subsystems/AgentManager/Component.service/connectors/LocalComponentConnector.class';
151
- export * from './subsystems/ComputeManager/Code.service/connectors/AWSLambdaCode.class';
152
- export * from './subsystems/IO/Log.service/connectors/ConsoleLog.class';
153
- export * from './subsystems/IO/NKV.service/connectors/NKVLocalStorage.class';
154
- export * from './subsystems/IO/NKV.service/connectors/NKVRAM.class';
155
- export * from './subsystems/IO/NKV.service/connectors/NKVRedis.class';
156
- export * from './subsystems/IO/Router.service/connectors/ExpressRouter.class';
157
- export * from './subsystems/IO/Router.service/connectors/NullRouter.class';
158
- export * from './subsystems/IO/Storage.service/connectors/LocalStorage.class';
159
- export * from './subsystems/IO/Storage.service/connectors/S3Storage.class';
160
- export * from './subsystems/IO/VectorDB.service/connectors/MilvusVectorDB.class';
161
- export * from './subsystems/IO/VectorDB.service/connectors/PineconeVectorDB.class';
162
- export * from './subsystems/IO/VectorDB.service/connectors/RAMVecrtorDB.class';
163
- export * from './subsystems/IO/VectorDB.service/embed/BaseEmbedding';
164
- export * from './subsystems/IO/VectorDB.service/embed/index';
165
- export * from './subsystems/IO/VectorDB.service/embed/OpenAIEmbedding';
166
- export * from './subsystems/LLMManager/LLM.service/connectors/Anthropic.class';
167
- export * from './subsystems/LLMManager/LLM.service/connectors/Bedrock.class';
168
- export * from './subsystems/LLMManager/LLM.service/connectors/Echo.class';
169
- export * from './subsystems/LLMManager/LLM.service/connectors/GoogleAI.class';
170
- export * from './subsystems/LLMManager/LLM.service/connectors/Groq.class';
171
- export * from './subsystems/LLMManager/LLM.service/connectors/OpenAI.class';
172
- export * from './subsystems/LLMManager/LLM.service/connectors/Perplexity.class';
173
- export * from './subsystems/LLMManager/LLM.service/connectors/VertexAI.class';
174
- export * from './subsystems/LLMManager/LLM.service/connectors/xAI.class';
175
- export * from './subsystems/LLMManager/ModelsProvider.service/connectors/JSONModelsProvider.class';
176
- export * from './subsystems/MemoryManager/Cache.service/connectors/LocalStorageCache.class';
177
- export * from './subsystems/MemoryManager/Cache.service/connectors/RAMCache.class';
178
- export * from './subsystems/MemoryManager/Cache.service/connectors/RedisCache.class';
179
- export * from './subsystems/MemoryManager/Cache.service/connectors/S3Cache.class';
180
- export * from './subsystems/Security/Account.service/connectors/AWSAccount.class';
181
- export * from './subsystems/Security/Account.service/connectors/DummyAccount.class';
182
- export * from './subsystems/Security/Account.service/connectors/JSONFileAccount.class';
183
- export * from './subsystems/Security/ManagedVault.service/connectors/NullManagedVault.class';
184
- export * from './subsystems/Security/ManagedVault.service/connectors/SecretManagerManagedVault';
185
- export * from './subsystems/Security/Vault.service/connectors/HashicorpVault.class';
186
- export * from './subsystems/Security/Vault.service/connectors/JSONFileVault.class';
187
- export * from './subsystems/Security/Vault.service/connectors/NullVault.class';
5
+
6
+
7
+
8
+ export * from './config';
9
+ export * from './constants';
10
+ export * from './Components/AgentPlugin.class';
11
+ export * from './Components/APIEndpoint.class';
12
+ export * from './Components/APIOutput.class';
13
+ export * from './Components/Async.class';
14
+ export * from './Components/Await.class';
15
+ export * from './Components/Classifier.class';
16
+ export * from './Components/Component.class';
17
+ export * from './Components/ComponentHost.class';
18
+ export * from './Components/DataSourceCleaner.class';
19
+ export * from './Components/DataSourceIndexer.class';
20
+ export * from './Components/DataSourceLookup.class';
21
+ export * from './Components/FEncDec.class';
22
+ export * from './Components/FHash.class';
23
+ export * from './Components/FileStore.class';
24
+ export * from './Components/ForEach.class';
25
+ export * from './Components/FSign.class';
26
+ export * from './Components/FSleep.class';
27
+ export * from './Components/FTimestamp.class';
28
+ export * from './Components/GenAILLM.class';
29
+ export * from './Components/GPTPlugin.class';
30
+ export * from './Components/HuggingFace.class';
31
+ export * from './Components/ImageGenerator.class';
32
+ export * from './Components/index';
33
+ export * from './Components/JSONFilter.class';
34
+ export * from './Components/LLMAssistant.class';
35
+ export * from './Components/LogicAND.class';
36
+ export * from './Components/LogicAtLeast.class';
37
+ export * from './Components/LogicAtMost.class';
38
+ export * from './Components/LogicOR.class';
39
+ export * from './Components/LogicXOR.class';
40
+ export * from './Components/MCPClient.class';
41
+ export * from './Components/MultimodalLLM.class';
42
+ export * from './Components/PromptGenerator.class';
43
+ export * from './Components/ScrapflyWebScrape.class';
44
+ export * from './Components/ServerlessCode.class';
45
+ export * from './Components/TavilyWebSearch.class';
46
+ export * from './Components/VisionLLM.class';
47
+ export * from './Components/ZapierAction.class';
48
+ export * from './Core/AgentProcess.helper';
49
+ export * from './Core/boot';
50
+ export * from './Core/Connector.class';
51
+ export * from './Core/ConnectorsService';
52
+ export * from './Core/DummyConnector';
53
+ export * from './Core/HookService';
54
+ export * from './Core/SmythRuntime.class';
55
+ export * from './Core/SystemEvents';
56
+ export * from './helpers/AWSLambdaCode.helper';
57
+ export * from './helpers/BinaryInput.helper';
58
+ export * from './helpers/Conversation.helper';
59
+ export * from './helpers/ECMASandbox.helper';
60
+ export * from './helpers/JsonContent.helper';
61
+ export * from './helpers/LocalCache.helper';
62
+ export * from './helpers/Log.helper';
63
+ export * from './helpers/OpenApiParser.helper';
64
+ export * from './helpers/S3Cache.helper';
65
+ export * from './helpers/SmythURI.helper';
66
+ export * from './helpers/Sysconfig.helper';
67
+ export * from './helpers/TemplateString.helper';
68
+ export * from './helpers/TypeChecker.helper';
69
+ export * from './types/ACL.types';
70
+ export * from './types/Agent.types';
71
+ export * from './types/AgentLogger.types';
72
+ export * from './types/AWS.types';
73
+ export * from './types/Cache.types';
74
+ export * from './types/Common.types';
75
+ export * from './types/LLM.types';
76
+ export * from './types/Redis.types';
77
+ export * from './types/Security.types';
78
+ export * from './types/SRE.types';
79
+ export * from './types/Storage.types';
80
+ export * from './types/VectorDB.types';
81
+ export * from './Components/APICall/AccessTokenManager';
82
+ export * from './Components/APICall/APICall.class';
83
+ export * from './Components/APICall/ArrayBufferResponse.helper';
84
+ export * from './Components/APICall/mimeTypeCategories';
85
+ export * from './Components/APICall/OAuth.helper';
86
+ export * from './Components/APICall/parseData';
87
+ export * from './Components/APICall/parseHeaders';
88
+ export * from './Components/APICall/parseProxy';
89
+ export * from './Components/APICall/parseUrl';
90
+ export * from './Components/Image/imageSettings.config';
91
+ export * from './subsystems/AgentManager/Agent.class';
92
+ export * from './subsystems/AgentManager/Agent.helper';
93
+ export * from './subsystems/AgentManager/AgentLogger.class';
94
+ export * from './subsystems/AgentManager/AgentRequest.class';
95
+ export * from './subsystems/AgentManager/AgentRuntime.class';
96
+ export * from './subsystems/AgentManager/AgentSettings.class';
97
+ export * from './subsystems/AgentManager/AgentSSE.class';
98
+ export * from './subsystems/AgentManager/EmbodimentSettings.class';
99
+ export * from './subsystems/AgentManager/ForkedAgent.class';
100
+ export * from './subsystems/AgentManager/OSResourceMonitor';
101
+ export * from './subsystems/LLMManager/custom-models';
102
+ export * from './subsystems/LLMManager/LLM.helper';
103
+ export * from './subsystems/LLMManager/LLM.inference';
104
+ export * from './subsystems/LLMManager/models';
105
+ export * from './subsystems/LLMManager/paramMappings';
106
+ export * from './subsystems/MemoryManager/LLMCache';
107
+ export * from './subsystems/MemoryManager/LLMContext';
108
+ export * from './subsystems/MemoryManager/RuntimeContext';
109
+ export * from './subsystems/Security/Credentials.helper';
110
+ export * from './subsystems/Security/SecureConnector.class';
111
+ export * from './subsystems/AgentManager/AgentData.service/AgentDataConnector';
112
+ export * from './subsystems/AgentManager/AgentData.service/index';
113
+ export * from './subsystems/AgentManager/Component.service/ComponentConnector';
114
+ export * from './subsystems/AgentManager/Component.service/index';
115
+ export * from './subsystems/ComputeManager/Code.service/CodeConnector';
116
+ export * from './subsystems/ComputeManager/Code.service/index';
117
+ export * from './subsystems/IO/CLI.service/CLIConnector';
118
+ export * from './subsystems/IO/CLI.service/index';
119
+ export * from './subsystems/IO/Log.service/index';
120
+ export * from './subsystems/IO/Log.service/LogConnector';
121
+ export * from './subsystems/IO/NKV.service/index';
122
+ export * from './subsystems/IO/NKV.service/NKVConnector';
123
+ export * from './subsystems/IO/Router.service/index';
124
+ export * from './subsystems/IO/Router.service/RouterConnector';
125
+ export * from './subsystems/IO/Storage.service/index';
126
+ export * from './subsystems/IO/Storage.service/SmythFS.class';
127
+ export * from './subsystems/IO/Storage.service/StorageConnector';
128
+ export * from './subsystems/IO/VectorDB.service/index';
129
+ export * from './subsystems/IO/VectorDB.service/VectorDBConnector';
130
+ export * from './subsystems/LLMManager/LLM.service/index';
131
+ export * from './subsystems/LLMManager/LLM.service/LLMConnector';
132
+ export * from './subsystems/LLMManager/LLM.service/LLMCredentials.helper';
133
+ export * from './subsystems/LLMManager/ModelsProvider.service/index';
134
+ export * from './subsystems/LLMManager/ModelsProvider.service/ModelsProviderConnector';
135
+ export * from './subsystems/MemoryManager/Cache.service/CacheConnector';
136
+ export * from './subsystems/MemoryManager/Cache.service/index';
137
+ export * from './subsystems/MemoryManager/LLMMemory.service/LLMMemoryConnector';
138
+ export * from './subsystems/Security/AccessControl/AccessCandidate.class';
139
+ export * from './subsystems/Security/AccessControl/AccessRequest.class';
140
+ export * from './subsystems/Security/AccessControl/ACL.class';
141
+ export * from './subsystems/Security/Account.service/AccountConnector';
142
+ export * from './subsystems/Security/Account.service/index';
143
+ export * from './subsystems/Security/ManagedVault.service/index';
144
+ export * from './subsystems/Security/ManagedVault.service/ManagedVaultConnector';
145
+ export * from './subsystems/Security/Vault.service/index';
146
+ export * from './subsystems/Security/Vault.service/Vault.helper';
147
+ export * from './subsystems/Security/Vault.service/VaultConnector';
148
+ export * from './subsystems/AgentManager/AgentData.service/connectors/CLIAgentDataConnector.class';
149
+ export * from './subsystems/AgentManager/AgentData.service/connectors/LocalAgentDataConnector.class';
150
+ export * from './subsystems/AgentManager/AgentData.service/connectors/NullAgentData.class';
151
+ export * from './subsystems/AgentManager/Component.service/connectors/LocalComponentConnector.class';
152
+ export * from './subsystems/ComputeManager/Code.service/connectors/AWSLambdaCode.class';
153
+ export * from './subsystems/IO/Log.service/connectors/ConsoleLog.class';
154
+ export * from './subsystems/IO/NKV.service/connectors/NKVLocalStorage.class';
155
+ export * from './subsystems/IO/NKV.service/connectors/NKVRAM.class';
156
+ export * from './subsystems/IO/NKV.service/connectors/NKVRedis.class';
157
+ export * from './subsystems/IO/Router.service/connectors/ExpressRouter.class';
158
+ export * from './subsystems/IO/Router.service/connectors/NullRouter.class';
159
+ export * from './subsystems/IO/Storage.service/connectors/LocalStorage.class';
160
+ export * from './subsystems/IO/Storage.service/connectors/S3Storage.class';
161
+ export * from './subsystems/IO/VectorDB.service/connectors/MilvusVectorDB.class';
162
+ export * from './subsystems/IO/VectorDB.service/connectors/PineconeVectorDB.class';
163
+ export * from './subsystems/IO/VectorDB.service/connectors/RAMVecrtorDB.class';
164
+ export * from './subsystems/IO/VectorDB.service/embed/BaseEmbedding';
165
+ export * from './subsystems/IO/VectorDB.service/embed/index';
166
+ export * from './subsystems/IO/VectorDB.service/embed/OpenAIEmbedding';
167
+ export * from './subsystems/LLMManager/LLM.service/connectors/Anthropic.class';
168
+ export * from './subsystems/LLMManager/LLM.service/connectors/Bedrock.class';
169
+ export * from './subsystems/LLMManager/LLM.service/connectors/Echo.class';
170
+ export * from './subsystems/LLMManager/LLM.service/connectors/GoogleAI.class';
171
+ export * from './subsystems/LLMManager/LLM.service/connectors/Groq.class';
172
+ export * from './subsystems/LLMManager/LLM.service/connectors/Perplexity.class';
173
+ export * from './subsystems/LLMManager/LLM.service/connectors/VertexAI.class';
174
+ export * from './subsystems/LLMManager/LLM.service/connectors/xAI.class';
175
+ export * from './subsystems/LLMManager/ModelsProvider.service/connectors/JSONModelsProvider.class';
176
+ export * from './subsystems/MemoryManager/Cache.service/connectors/LocalStorageCache.class';
177
+ export * from './subsystems/MemoryManager/Cache.service/connectors/RAMCache.class';
178
+ export * from './subsystems/MemoryManager/Cache.service/connectors/RedisCache.class';
179
+ export * from './subsystems/MemoryManager/Cache.service/connectors/S3Cache.class';
180
+ export * from './subsystems/Security/Account.service/connectors/AWSAccount.class';
181
+ export * from './subsystems/Security/Account.service/connectors/DummyAccount.class';
182
+ export * from './subsystems/Security/Account.service/connectors/JSONFileAccount.class';
183
+ export * from './subsystems/Security/ManagedVault.service/connectors/NullManagedVault.class';
184
+ export * from './subsystems/Security/ManagedVault.service/connectors/SecretManagerManagedVault';
185
+ export * from './subsystems/Security/Vault.service/connectors/HashicorpVault.class';
186
+ export * from './subsystems/Security/Vault.service/connectors/JSONFileVault.class';
187
+ export * from './subsystems/Security/Vault.service/connectors/NullVault.class';
188
188
  export * from './subsystems/Security/Vault.service/connectors/SecretsManager.class';
189
+ export * from './subsystems/LLMManager/LLM.service/connectors/openai/OpenAIConnector.class';
190
+ export * from './subsystems/LLMManager/LLM.service/connectors/openai/types';
191
+ export * from './subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/constants';