@smythos/sre 1.5.37 → 1.5.40

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 (82) hide show
  1. package/dist/index.js +65 -45
  2. package/dist/index.js.map +1 -1
  3. package/dist/types/Components/ECMASandbox.class.d.ts +14 -0
  4. package/dist/types/Components/MemoryDeleteKeyVal.class.d.ts +19 -0
  5. package/dist/types/Components/MemoryReadKeyVal.class.d.ts +17 -0
  6. package/dist/types/Components/MemoryWriteKeyVal.class.d.ts +17 -0
  7. package/dist/types/Components/MemoryWriteObject.class.d.ts +19 -0
  8. package/dist/types/Components/index.d.ts +10 -0
  9. package/dist/types/Core/ConnectorsService.d.ts +2 -1
  10. package/dist/types/helpers/ECMASandbox.helper.d.ts +3 -0
  11. package/dist/types/helpers/Log.helper.d.ts +1 -1
  12. package/dist/types/index.d.ts +8 -1
  13. package/dist/types/subsystems/ComputeManager/Code.service/connectors/ECMASandbox.class.d.ts +19 -0
  14. package/dist/types/subsystems/LLMManager/LLM.helper.d.ts +21 -10
  15. package/dist/types/subsystems/LLMManager/LLM.service/LLMConnector.d.ts +5 -5
  16. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Anthropic.class.d.ts +2 -3
  17. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Bedrock.class.d.ts +2 -3
  18. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Echo.class.d.ts +2 -3
  19. package/dist/types/subsystems/LLMManager/LLM.service/connectors/GoogleAI.class.d.ts +2 -3
  20. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Groq.class.d.ts +2 -3
  21. package/dist/types/subsystems/LLMManager/LLM.service/connectors/Perplexity.class.d.ts +3 -4
  22. package/dist/types/subsystems/LLMManager/LLM.service/connectors/VertexAI.class.d.ts +19 -14
  23. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/OpenAIConnector.class.d.ts +95 -0
  24. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ChatCompletionsApiInterface.d.ts +87 -0
  25. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterface.d.ts +85 -0
  26. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterfaceFactory.d.ts +49 -0
  27. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ResponsesApiInterface.d.ts +146 -0
  28. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/constants.d.ts +10 -0
  29. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/index.d.ts +4 -0
  30. package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/types.d.ts +38 -0
  31. package/dist/types/subsystems/LLMManager/LLM.service/connectors/xAI.class.d.ts +1 -2
  32. package/dist/types/subsystems/Security/Vault.service/connectors/JSONFileVault.class.d.ts +5 -0
  33. package/dist/types/types/LLM.types.d.ts +82 -37
  34. package/dist/types/utils/data.utils.d.ts +2 -1
  35. package/package.json +4 -3
  36. package/src/Components/APICall/APICall.class.ts +2 -1
  37. package/src/Components/Component.class.ts +1 -1
  38. package/src/Components/ECMASandbox.class.ts +71 -0
  39. package/src/Components/GenAILLM.class.ts +1 -1
  40. package/src/Components/MemoryDeleteKeyVal.class.ts +70 -0
  41. package/src/Components/MemoryReadKeyVal.class.ts +66 -0
  42. package/src/Components/MemoryWriteKeyVal.class.ts +62 -0
  43. package/src/Components/MemoryWriteObject.class.ts +97 -0
  44. package/src/Components/index.ts +10 -0
  45. package/src/Core/ConnectorsService.ts +3 -3
  46. package/src/helpers/Conversation.helper.ts +11 -3
  47. package/src/helpers/ECMASandbox.helper.ts +54 -0
  48. package/src/helpers/Log.helper.ts +57 -17
  49. package/src/index.ts +192 -185
  50. package/src/index.ts.bak +192 -185
  51. package/src/subsystems/AgentManager/Agent.class.ts +11 -6
  52. package/src/subsystems/AgentManager/AgentRuntime.class.ts +13 -13
  53. package/src/subsystems/ComputeManager/Code.service/connectors/ECMASandbox.class.ts +131 -0
  54. package/src/subsystems/ComputeManager/Code.service/index.ts +2 -0
  55. package/src/subsystems/LLMManager/LLM.helper.ts +57 -27
  56. package/src/subsystems/LLMManager/LLM.inference.ts +4 -0
  57. package/src/subsystems/LLMManager/LLM.service/LLMConnector.ts +125 -28
  58. package/src/subsystems/LLMManager/LLM.service/connectors/Anthropic.class.ts +18 -17
  59. package/src/subsystems/LLMManager/LLM.service/connectors/Bedrock.class.ts +2 -7
  60. package/src/subsystems/LLMManager/LLM.service/connectors/Echo.class.ts +2 -6
  61. package/src/subsystems/LLMManager/LLM.service/connectors/GoogleAI.class.ts +26 -17
  62. package/src/subsystems/LLMManager/LLM.service/connectors/Groq.class.ts +2 -7
  63. package/src/subsystems/LLMManager/LLM.service/connectors/Perplexity.class.ts +2 -7
  64. package/src/subsystems/LLMManager/LLM.service/connectors/VertexAI.class.ts +314 -84
  65. package/src/subsystems/LLMManager/LLM.service/connectors/openai/OpenAIConnector.class.ts +455 -0
  66. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ChatCompletionsApiInterface.ts +528 -0
  67. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterface.ts +100 -0
  68. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterfaceFactory.ts +81 -0
  69. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ResponsesApiInterface.ts +853 -0
  70. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/constants.ts +37 -0
  71. package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/index.ts +4 -0
  72. package/src/subsystems/LLMManager/LLM.service/connectors/openai/types.ts +37 -0
  73. package/src/subsystems/LLMManager/LLM.service/connectors/xAI.class.ts +0 -5
  74. package/src/subsystems/LLMManager/LLM.service/index.ts +1 -1
  75. package/src/subsystems/LLMManager/ModelsProvider.service/ModelsProviderConnector.ts +2 -2
  76. package/src/subsystems/LLMManager/models.ts +1 -1
  77. package/src/subsystems/MemoryManager/Cache.service/connectors/RedisCache.class.ts +18 -0
  78. package/src/subsystems/MemoryManager/RuntimeContext.ts +33 -16
  79. package/src/subsystems/Security/Vault.service/connectors/JSONFileVault.class.ts +68 -42
  80. package/src/types/LLM.types.ts +91 -43
  81. package/src/utils/data.utils.ts +3 -2
  82. package/src/subsystems/LLMManager/LLM.service/connectors/OpenAI.class.ts +0 -848
@@ -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,195 @@
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/MemoryDeleteKeyVal.class';
42
+ export * from './Components/MemoryReadKeyVal.class';
43
+ export * from './Components/MemoryWriteKeyVal.class';
44
+ export * from './Components/MemoryWriteObject.class';
45
+ export * from './Components/MultimodalLLM.class';
46
+ export * from './Components/PromptGenerator.class';
47
+ export * from './Components/ScrapflyWebScrape.class';
48
+ export * from './Components/ServerlessCode.class';
49
+ export * from './Components/TavilyWebSearch.class';
50
+ export * from './Components/VisionLLM.class';
51
+ export * from './Components/ZapierAction.class';
52
+ export * from './Core/AgentProcess.helper';
53
+ export * from './Core/boot';
54
+ export * from './Core/Connector.class';
55
+ export * from './Core/ConnectorsService';
56
+ export * from './Core/DummyConnector';
57
+ export * from './Core/HookService';
58
+ export * from './Core/SmythRuntime.class';
59
+ export * from './Core/SystemEvents';
60
+ export * from './helpers/AWSLambdaCode.helper';
61
+ export * from './helpers/BinaryInput.helper';
62
+ export * from './helpers/Conversation.helper';
63
+ export * from './helpers/ECMASandbox.helper';
64
+ export * from './helpers/JsonContent.helper';
65
+ export * from './helpers/LocalCache.helper';
66
+ export * from './helpers/Log.helper';
67
+ export * from './helpers/OpenApiParser.helper';
68
+ export * from './helpers/S3Cache.helper';
69
+ export * from './helpers/SmythURI.helper';
70
+ export * from './helpers/Sysconfig.helper';
71
+ export * from './helpers/TemplateString.helper';
72
+ export * from './helpers/TypeChecker.helper';
73
+ export * from './types/ACL.types';
74
+ export * from './types/Agent.types';
75
+ export * from './types/AgentLogger.types';
76
+ export * from './types/AWS.types';
77
+ export * from './types/Cache.types';
78
+ export * from './types/Common.types';
79
+ export * from './types/LLM.types';
80
+ export * from './types/Redis.types';
81
+ export * from './types/Security.types';
82
+ export * from './types/SRE.types';
83
+ export * from './types/Storage.types';
84
+ export * from './types/VectorDB.types';
85
+ export * from './Components/APICall/AccessTokenManager';
86
+ export * from './Components/APICall/APICall.class';
87
+ export * from './Components/APICall/ArrayBufferResponse.helper';
88
+ export * from './Components/APICall/mimeTypeCategories';
89
+ export * from './Components/APICall/OAuth.helper';
90
+ export * from './Components/APICall/parseData';
91
+ export * from './Components/APICall/parseHeaders';
92
+ export * from './Components/APICall/parseProxy';
93
+ export * from './Components/APICall/parseUrl';
94
+ export * from './Components/Image/imageSettings.config';
95
+ export * from './subsystems/AgentManager/Agent.class';
96
+ export * from './subsystems/AgentManager/Agent.helper';
97
+ export * from './subsystems/AgentManager/AgentLogger.class';
98
+ export * from './subsystems/AgentManager/AgentRequest.class';
99
+ export * from './subsystems/AgentManager/AgentRuntime.class';
100
+ export * from './subsystems/AgentManager/AgentSettings.class';
101
+ export * from './subsystems/AgentManager/AgentSSE.class';
102
+ export * from './subsystems/AgentManager/EmbodimentSettings.class';
103
+ export * from './subsystems/AgentManager/ForkedAgent.class';
104
+ export * from './subsystems/AgentManager/OSResourceMonitor';
105
+ export * from './subsystems/LLMManager/custom-models';
106
+ export * from './subsystems/LLMManager/LLM.helper';
107
+ export * from './subsystems/LLMManager/LLM.inference';
108
+ export * from './subsystems/LLMManager/models';
109
+ export * from './subsystems/LLMManager/paramMappings';
110
+ export * from './subsystems/MemoryManager/LLMCache';
111
+ export * from './subsystems/MemoryManager/LLMContext';
112
+ export * from './subsystems/MemoryManager/RuntimeContext';
113
+ export * from './subsystems/Security/Credentials.helper';
114
+ export * from './subsystems/Security/SecureConnector.class';
115
+ export * from './subsystems/AgentManager/AgentData.service/AgentDataConnector';
116
+ export * from './subsystems/AgentManager/AgentData.service/index';
117
+ export * from './subsystems/AgentManager/Component.service/ComponentConnector';
118
+ export * from './subsystems/AgentManager/Component.service/index';
119
+ export * from './subsystems/ComputeManager/Code.service/CodeConnector';
120
+ export * from './subsystems/ComputeManager/Code.service/index';
121
+ export * from './subsystems/IO/CLI.service/CLIConnector';
122
+ export * from './subsystems/IO/CLI.service/index';
123
+ export * from './subsystems/IO/Log.service/index';
124
+ export * from './subsystems/IO/Log.service/LogConnector';
125
+ export * from './subsystems/IO/NKV.service/index';
126
+ export * from './subsystems/IO/NKV.service/NKVConnector';
127
+ export * from './subsystems/IO/Router.service/index';
128
+ export * from './subsystems/IO/Router.service/RouterConnector';
129
+ export * from './subsystems/IO/Storage.service/index';
130
+ export * from './subsystems/IO/Storage.service/SmythFS.class';
131
+ export * from './subsystems/IO/Storage.service/StorageConnector';
132
+ export * from './subsystems/IO/VectorDB.service/index';
133
+ export * from './subsystems/IO/VectorDB.service/VectorDBConnector';
134
+ export * from './subsystems/LLMManager/LLM.service/index';
135
+ export * from './subsystems/LLMManager/LLM.service/LLMConnector';
136
+ export * from './subsystems/LLMManager/LLM.service/LLMCredentials.helper';
137
+ export * from './subsystems/LLMManager/ModelsProvider.service/index';
138
+ export * from './subsystems/LLMManager/ModelsProvider.service/ModelsProviderConnector';
139
+ export * from './subsystems/MemoryManager/Cache.service/CacheConnector';
140
+ export * from './subsystems/MemoryManager/Cache.service/index';
141
+ export * from './subsystems/MemoryManager/LLMMemory.service/LLMMemoryConnector';
142
+ export * from './subsystems/Security/AccessControl/AccessCandidate.class';
143
+ export * from './subsystems/Security/AccessControl/AccessRequest.class';
144
+ export * from './subsystems/Security/AccessControl/ACL.class';
145
+ export * from './subsystems/Security/Account.service/AccountConnector';
146
+ export * from './subsystems/Security/Account.service/index';
147
+ export * from './subsystems/Security/ManagedVault.service/index';
148
+ export * from './subsystems/Security/ManagedVault.service/ManagedVaultConnector';
149
+ export * from './subsystems/Security/Vault.service/index';
150
+ export * from './subsystems/Security/Vault.service/Vault.helper';
151
+ export * from './subsystems/Security/Vault.service/VaultConnector';
152
+ export * from './subsystems/AgentManager/AgentData.service/connectors/CLIAgentDataConnector.class';
153
+ export * from './subsystems/AgentManager/AgentData.service/connectors/LocalAgentDataConnector.class';
154
+ export * from './subsystems/AgentManager/AgentData.service/connectors/NullAgentData.class';
155
+ export * from './subsystems/AgentManager/Component.service/connectors/LocalComponentConnector.class';
156
+ export * from './subsystems/ComputeManager/Code.service/connectors/AWSLambdaCode.class';
157
+ export * from './subsystems/IO/Log.service/connectors/ConsoleLog.class';
158
+ export * from './subsystems/IO/NKV.service/connectors/NKVLocalStorage.class';
159
+ export * from './subsystems/IO/NKV.service/connectors/NKVRAM.class';
160
+ export * from './subsystems/IO/NKV.service/connectors/NKVRedis.class';
161
+ export * from './subsystems/IO/Router.service/connectors/ExpressRouter.class';
162
+ export * from './subsystems/IO/Router.service/connectors/NullRouter.class';
163
+ export * from './subsystems/IO/Storage.service/connectors/LocalStorage.class';
164
+ export * from './subsystems/IO/Storage.service/connectors/S3Storage.class';
165
+ export * from './subsystems/IO/VectorDB.service/connectors/MilvusVectorDB.class';
166
+ export * from './subsystems/IO/VectorDB.service/connectors/PineconeVectorDB.class';
167
+ export * from './subsystems/IO/VectorDB.service/connectors/RAMVecrtorDB.class';
168
+ export * from './subsystems/IO/VectorDB.service/embed/BaseEmbedding';
169
+ export * from './subsystems/IO/VectorDB.service/embed/index';
170
+ export * from './subsystems/IO/VectorDB.service/embed/OpenAIEmbedding';
171
+ export * from './subsystems/LLMManager/LLM.service/connectors/Anthropic.class';
172
+ export * from './subsystems/LLMManager/LLM.service/connectors/Bedrock.class';
173
+ export * from './subsystems/LLMManager/LLM.service/connectors/Echo.class';
174
+ export * from './subsystems/LLMManager/LLM.service/connectors/GoogleAI.class';
175
+ export * from './subsystems/LLMManager/LLM.service/connectors/Groq.class';
176
+ export * from './subsystems/LLMManager/LLM.service/connectors/Perplexity.class';
177
+ export * from './subsystems/LLMManager/LLM.service/connectors/VertexAI.class';
178
+ export * from './subsystems/LLMManager/LLM.service/connectors/xAI.class';
179
+ export * from './subsystems/LLMManager/ModelsProvider.service/connectors/JSONModelsProvider.class';
180
+ export * from './subsystems/MemoryManager/Cache.service/connectors/LocalStorageCache.class';
181
+ export * from './subsystems/MemoryManager/Cache.service/connectors/RAMCache.class';
182
+ export * from './subsystems/MemoryManager/Cache.service/connectors/RedisCache.class';
183
+ export * from './subsystems/MemoryManager/Cache.service/connectors/S3Cache.class';
184
+ export * from './subsystems/Security/Account.service/connectors/AWSAccount.class';
185
+ export * from './subsystems/Security/Account.service/connectors/DummyAccount.class';
186
+ export * from './subsystems/Security/Account.service/connectors/JSONFileAccount.class';
187
+ export * from './subsystems/Security/ManagedVault.service/connectors/NullManagedVault.class';
188
+ export * from './subsystems/Security/ManagedVault.service/connectors/SecretManagerManagedVault';
189
+ export * from './subsystems/Security/Vault.service/connectors/HashicorpVault.class';
190
+ export * from './subsystems/Security/Vault.service/connectors/JSONFileVault.class';
191
+ export * from './subsystems/Security/Vault.service/connectors/NullVault.class';
188
192
  export * from './subsystems/Security/Vault.service/connectors/SecretsManager.class';
193
+ export * from './subsystems/LLMManager/LLM.service/connectors/openai/OpenAIConnector.class';
194
+ export * from './subsystems/LLMManager/LLM.service/connectors/openai/types';
195
+ export * from './subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/constants';