@eko-ai/eko 1.2.1 → 1.2.3
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/core/eko.d.ts +2 -1
- package/dist/index.cjs.js +6017 -6100
- package/dist/index.esm.js +6016 -6099
- package/dist/services/llm/claude-provider.d.ts +2 -2
- package/dist/services/llm/openai-provider.d.ts +2 -2
- package/dist/types/eko.types.d.ts +0 -5
- package/package.json +1 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Anthropic, { ClientOptions } from '@anthropic-ai/sdk';
|
|
2
2
|
import { LLMProvider, LLMParameters, LLMResponse, Message, LLMStreamHandler } from '../../types/llm.types';
|
|
3
3
|
export declare class ClaudeProvider implements LLMProvider {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
client: Anthropic;
|
|
5
|
+
defaultModel: string;
|
|
6
6
|
constructor(options: Anthropic, defaultModel?: string);
|
|
7
7
|
constructor(options: ClientOptions, defaultModel?: string);
|
|
8
8
|
constructor(apiKey: string, defaultModel?: string | null, options?: ClientOptions);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import OpenAI, { ClientOptions } from 'openai';
|
|
2
2
|
import { LLMProvider, LLMParameters, LLMResponse, Message, LLMStreamHandler } from '../../types/llm.types';
|
|
3
3
|
export declare class OpenaiProvider implements LLMProvider {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
client: OpenAI;
|
|
5
|
+
defaultModel: string;
|
|
6
6
|
constructor(client: OpenAI, defaultModel?: string);
|
|
7
7
|
constructor(options: ClientOptions, defaultModel?: string);
|
|
8
8
|
constructor(apiKey: string, defaultModel?: string | null, options?: ClientOptions);
|
|
@@ -17,16 +17,11 @@ export interface OpenaiConfig {
|
|
|
17
17
|
}
|
|
18
18
|
export type ClaudeApiKey = string;
|
|
19
19
|
export type LLMConfig = ClaudeApiKey | ClaudeConfig | OpenaiConfig | LLMProvider;
|
|
20
|
-
export interface LogtailConfig {
|
|
21
|
-
sourceToken: string;
|
|
22
|
-
ingestingHost: string;
|
|
23
|
-
}
|
|
24
20
|
export interface EkoConfig {
|
|
25
21
|
workingWindowId?: number;
|
|
26
22
|
chromeProxy?: any;
|
|
27
23
|
callback?: WorkflowCallback;
|
|
28
24
|
patchServerUrl?: string;
|
|
29
|
-
logtailConfig?: LogtailConfig;
|
|
30
25
|
}
|
|
31
26
|
export interface EkoInvokeParam {
|
|
32
27
|
tools?: Array<string> | Array<Tool<any, any>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eko-ai/eko",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Empowering language to transform human words into action.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -69,7 +69,6 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@anthropic-ai/sdk": "^0.33.0",
|
|
72
|
-
"@logtail/js": "^0.5.2",
|
|
73
72
|
"@logtail/types": "^0.5.2",
|
|
74
73
|
"chromium-bidi": "^0.12.0",
|
|
75
74
|
"dotenv": "^16.0.0",
|
|
@@ -77,7 +76,6 @@
|
|
|
77
76
|
"openai": "^4.77.0",
|
|
78
77
|
"playwright": "^1.49.1",
|
|
79
78
|
"tslog": "^4.9.3",
|
|
80
|
-
"uuid": "^11.1.0",
|
|
81
79
|
"zod": "^3.22.4"
|
|
82
80
|
},
|
|
83
81
|
"devDependencies": {
|