@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.
- package/dist/index.js +62 -44
- package/dist/index.js.map +1 -1
- package/dist/types/Components/ECMASandbox.class.d.ts +14 -0
- package/dist/types/Components/index.d.ts +2 -0
- package/dist/types/Core/ConnectorsService.d.ts +2 -1
- package/dist/types/helpers/ECMASandbox.helper.d.ts +3 -0
- package/dist/types/helpers/Log.helper.d.ts +1 -1
- package/dist/types/index.d.ts +4 -1
- package/dist/types/subsystems/ComputeManager/Code.service/connectors/ECMASandbox.class.d.ts +19 -0
- package/dist/types/subsystems/LLMManager/LLM.helper.d.ts +21 -10
- package/dist/types/subsystems/LLMManager/LLM.service/LLMConnector.d.ts +5 -5
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/Anthropic.class.d.ts +2 -3
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/Bedrock.class.d.ts +2 -3
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/Echo.class.d.ts +2 -3
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/GoogleAI.class.d.ts +2 -3
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/Groq.class.d.ts +2 -3
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/Perplexity.class.d.ts +3 -4
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/VertexAI.class.d.ts +15 -7
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/OpenAIConnector.class.d.ts +95 -0
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ChatCompletionsApiInterface.d.ts +87 -0
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterface.d.ts +85 -0
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterfaceFactory.d.ts +49 -0
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ResponsesApiInterface.d.ts +146 -0
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/constants.d.ts +10 -0
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/index.d.ts +4 -0
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/openai/types.d.ts +38 -0
- package/dist/types/subsystems/LLMManager/LLM.service/connectors/xAI.class.d.ts +1 -2
- package/dist/types/subsystems/Security/Vault.service/connectors/JSONFileVault.class.d.ts +5 -0
- package/dist/types/types/LLM.types.d.ts +82 -37
- package/dist/types/utils/data.utils.d.ts +2 -1
- package/package.json +4 -3
- package/src/Components/APICall/APICall.class.ts +2 -1
- package/src/Components/Component.class.ts +1 -1
- package/src/Components/ECMASandbox.class.ts +71 -0
- package/src/Components/GenAILLM.class.ts +1 -1
- package/src/Components/index.ts +2 -0
- package/src/Core/ConnectorsService.ts +3 -3
- package/src/helpers/ECMASandbox.helper.ts +54 -0
- package/src/helpers/Log.helper.ts +57 -17
- package/src/index.ts +188 -185
- package/src/index.ts.bak +188 -185
- package/src/subsystems/AgentManager/Agent.class.ts +11 -6
- package/src/subsystems/AgentManager/AgentRuntime.class.ts +13 -13
- package/src/subsystems/ComputeManager/Code.service/connectors/ECMASandbox.class.ts +131 -0
- package/src/subsystems/ComputeManager/Code.service/index.ts +2 -0
- package/src/subsystems/LLMManager/LLM.helper.ts +57 -27
- package/src/subsystems/LLMManager/LLM.inference.ts +4 -0
- package/src/subsystems/LLMManager/LLM.service/LLMConnector.ts +123 -28
- package/src/subsystems/LLMManager/LLM.service/connectors/Anthropic.class.ts +13 -14
- package/src/subsystems/LLMManager/LLM.service/connectors/Bedrock.class.ts +2 -7
- package/src/subsystems/LLMManager/LLM.service/connectors/Echo.class.ts +2 -6
- package/src/subsystems/LLMManager/LLM.service/connectors/GoogleAI.class.ts +8 -14
- package/src/subsystems/LLMManager/LLM.service/connectors/Groq.class.ts +2 -7
- package/src/subsystems/LLMManager/LLM.service/connectors/Perplexity.class.ts +2 -7
- package/src/subsystems/LLMManager/LLM.service/connectors/VertexAI.class.ts +121 -9
- package/src/subsystems/LLMManager/LLM.service/connectors/openai/OpenAIConnector.class.ts +455 -0
- package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ChatCompletionsApiInterface.ts +528 -0
- package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterface.ts +100 -0
- package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/OpenAIApiInterfaceFactory.ts +81 -0
- package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/ResponsesApiInterface.ts +853 -0
- package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/constants.ts +37 -0
- package/src/subsystems/LLMManager/LLM.service/connectors/openai/apiInterfaces/index.ts +4 -0
- package/src/subsystems/LLMManager/LLM.service/connectors/openai/types.ts +37 -0
- package/src/subsystems/LLMManager/LLM.service/connectors/xAI.class.ts +0 -5
- package/src/subsystems/LLMManager/LLM.service/index.ts +1 -1
- package/src/subsystems/MemoryManager/Cache.service/connectors/RedisCache.class.ts +18 -0
- package/src/subsystems/MemoryManager/RuntimeContext.ts +33 -16
- package/src/subsystems/Security/Vault.service/connectors/JSONFileVault.class.ts +68 -42
- package/src/types/LLM.types.ts +91 -43
- package/src/utils/data.utils.ts +3 -2
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './Components/
|
|
13
|
-
export * from './Components/
|
|
14
|
-
export * from './Components/
|
|
15
|
-
export * from './Components/
|
|
16
|
-
export * from './Components/
|
|
17
|
-
export * from './Components/
|
|
18
|
-
export * from './Components/
|
|
19
|
-
export * from './Components/
|
|
20
|
-
export * from './Components/
|
|
21
|
-
export * from './Components/
|
|
22
|
-
export * from './Components/
|
|
23
|
-
export * from './Components/
|
|
24
|
-
export * from './Components/
|
|
25
|
-
export * from './Components/
|
|
26
|
-
export * from './Components/
|
|
27
|
-
export * from './Components/
|
|
28
|
-
export * from './Components/
|
|
29
|
-
export * from './Components/
|
|
30
|
-
export * from './Components/
|
|
31
|
-
export * from './Components/
|
|
32
|
-
export * from './Components/
|
|
33
|
-
export * from './Components/
|
|
34
|
-
export * from './Components/
|
|
35
|
-
export * from './Components/
|
|
36
|
-
export * from './Components/
|
|
37
|
-
export * from './Components/
|
|
38
|
-
export * from './Components/
|
|
39
|
-
export * from './Components/
|
|
40
|
-
export * from './Components/
|
|
41
|
-
export * from './Components/
|
|
42
|
-
export * from './Components/
|
|
43
|
-
export * from './Components/
|
|
44
|
-
export * from './Components/
|
|
45
|
-
export * from './Components/
|
|
46
|
-
export * from './Components/
|
|
47
|
-
export * from './Components/
|
|
48
|
-
export * from './
|
|
49
|
-
export * from './
|
|
50
|
-
export * from './Core/
|
|
51
|
-
export * from './Core/
|
|
52
|
-
export * from './Core/
|
|
53
|
-
export * from './Core/
|
|
54
|
-
export * from './Core/
|
|
55
|
-
export * from './Core/
|
|
56
|
-
export * from './
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './helpers/
|
|
59
|
-
export * from './helpers/
|
|
60
|
-
export * from './helpers/
|
|
61
|
-
export * from './helpers/
|
|
62
|
-
export * from './helpers/
|
|
63
|
-
export * from './helpers/
|
|
64
|
-
export * from './helpers/
|
|
65
|
-
export * from './helpers/
|
|
66
|
-
export * from './helpers/
|
|
67
|
-
export * from './helpers/
|
|
68
|
-
export * from './
|
|
69
|
-
export * from './
|
|
70
|
-
export * from './
|
|
71
|
-
export * from './types/
|
|
72
|
-
export * from './types/
|
|
73
|
-
export * from './types/
|
|
74
|
-
export * from './types/
|
|
75
|
-
export * from './types/
|
|
76
|
-
export * from './types/
|
|
77
|
-
export * from './types/
|
|
78
|
-
export * from './types/
|
|
79
|
-
export * from './types/
|
|
80
|
-
export * from './
|
|
81
|
-
export * from './
|
|
82
|
-
export * from './
|
|
83
|
-
export * from './Components/APICall/
|
|
84
|
-
export * from './Components/APICall/
|
|
85
|
-
export * from './Components/APICall/
|
|
86
|
-
export * from './Components/APICall/
|
|
87
|
-
export * from './Components/APICall/
|
|
88
|
-
export * from './Components/APICall/
|
|
89
|
-
export * from './Components/
|
|
90
|
-
export * from './
|
|
91
|
-
export * from './
|
|
92
|
-
export * from './
|
|
93
|
-
export * from './subsystems/AgentManager/
|
|
94
|
-
export * from './subsystems/AgentManager/
|
|
95
|
-
export * from './subsystems/AgentManager/
|
|
96
|
-
export * from './subsystems/AgentManager/
|
|
97
|
-
export * from './subsystems/AgentManager/
|
|
98
|
-
export * from './subsystems/AgentManager/
|
|
99
|
-
export * from './subsystems/AgentManager/
|
|
100
|
-
export * from './subsystems/
|
|
101
|
-
export * from './subsystems/
|
|
102
|
-
export * from './subsystems/
|
|
103
|
-
export * from './subsystems/LLMManager/models';
|
|
104
|
-
export * from './subsystems/LLMManager/
|
|
105
|
-
export * from './subsystems/
|
|
106
|
-
export * from './subsystems/
|
|
107
|
-
export * from './subsystems/
|
|
108
|
-
export * from './subsystems/
|
|
109
|
-
export * from './subsystems/
|
|
110
|
-
export * from './subsystems/
|
|
111
|
-
export * from './subsystems/
|
|
112
|
-
export * from './subsystems/
|
|
113
|
-
export * from './subsystems/AgentManager/
|
|
114
|
-
export * from './subsystems/
|
|
115
|
-
export * from './subsystems/
|
|
116
|
-
export * from './subsystems/
|
|
117
|
-
export * from './subsystems/
|
|
118
|
-
export * from './subsystems/
|
|
119
|
-
export * from './subsystems/IO/
|
|
120
|
-
export * from './subsystems/IO/
|
|
121
|
-
export * from './subsystems/IO/
|
|
122
|
-
export * from './subsystems/IO/
|
|
123
|
-
export * from './subsystems/IO/
|
|
124
|
-
export * from './subsystems/IO/
|
|
125
|
-
export * from './subsystems/IO/
|
|
126
|
-
export * from './subsystems/IO/
|
|
127
|
-
export * from './subsystems/IO/
|
|
128
|
-
export * from './subsystems/IO/
|
|
129
|
-
export * from './subsystems/
|
|
130
|
-
export * from './subsystems/
|
|
131
|
-
export * from './subsystems/
|
|
132
|
-
export * from './subsystems/LLMManager/
|
|
133
|
-
export * from './subsystems/LLMManager/
|
|
134
|
-
export * from './subsystems/
|
|
135
|
-
export * from './subsystems/
|
|
136
|
-
export * from './subsystems/
|
|
137
|
-
export * from './subsystems/
|
|
138
|
-
export * from './subsystems/
|
|
139
|
-
export * from './subsystems/
|
|
140
|
-
export * from './subsystems/Security/
|
|
141
|
-
export * from './subsystems/Security/
|
|
142
|
-
export * from './subsystems/Security/
|
|
143
|
-
export * from './subsystems/Security/
|
|
144
|
-
export * from './subsystems/Security/
|
|
145
|
-
export * from './subsystems/Security/
|
|
146
|
-
export * from './subsystems/Security/
|
|
147
|
-
export * from './subsystems/
|
|
148
|
-
export * from './subsystems/
|
|
149
|
-
export * from './subsystems/
|
|
150
|
-
export * from './subsystems/AgentManager/
|
|
151
|
-
export * from './subsystems/
|
|
152
|
-
export * from './subsystems/
|
|
153
|
-
export * from './subsystems/
|
|
154
|
-
export * from './subsystems/
|
|
155
|
-
export * from './subsystems/IO/
|
|
156
|
-
export * from './subsystems/IO/
|
|
157
|
-
export * from './subsystems/IO/
|
|
158
|
-
export * from './subsystems/IO/
|
|
159
|
-
export * from './subsystems/IO/
|
|
160
|
-
export * from './subsystems/IO/
|
|
161
|
-
export * from './subsystems/IO/
|
|
162
|
-
export * from './subsystems/IO/
|
|
163
|
-
export * from './subsystems/IO/VectorDB.service/
|
|
164
|
-
export * from './subsystems/IO/VectorDB.service/
|
|
165
|
-
export * from './subsystems/IO/VectorDB.service/
|
|
166
|
-
export * from './subsystems/
|
|
167
|
-
export * from './subsystems/
|
|
168
|
-
export * from './subsystems/
|
|
169
|
-
export * from './subsystems/LLMManager/LLM.service/connectors/
|
|
170
|
-
export * from './subsystems/LLMManager/LLM.service/connectors/
|
|
171
|
-
export * from './subsystems/LLMManager/LLM.service/connectors/
|
|
172
|
-
export * from './subsystems/LLMManager/LLM.service/connectors/
|
|
173
|
-
export * from './subsystems/LLMManager/LLM.service/connectors/
|
|
174
|
-
export * from './subsystems/LLMManager/LLM.service/connectors/
|
|
175
|
-
export * from './subsystems/LLMManager/
|
|
176
|
-
export * from './subsystems/
|
|
177
|
-
export * from './subsystems/
|
|
178
|
-
export * from './subsystems/MemoryManager/Cache.service/connectors/
|
|
179
|
-
export * from './subsystems/MemoryManager/Cache.service/connectors/
|
|
180
|
-
export * from './subsystems/
|
|
181
|
-
export * from './subsystems/
|
|
182
|
-
export * from './subsystems/Security/Account.service/connectors/
|
|
183
|
-
export * from './subsystems/Security/
|
|
184
|
-
export * from './subsystems/Security/
|
|
185
|
-
export * from './subsystems/Security/
|
|
186
|
-
export * from './subsystems/Security/
|
|
187
|
-
export * from './subsystems/Security/Vault.service/connectors/
|
|
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';
|