@eko-ai/eko 1.2.2 → 1.2.4

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.
@@ -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
- private client;
5
- private defaultModel;
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
- private client;
5
- private defaultModel;
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);
@@ -59,6 +59,9 @@ export interface ScreenshotImage {
59
59
  export interface TabManagementParam {
60
60
  command: string;
61
61
  }
62
+ export interface SwitchTabParam {
63
+ tabId: number;
64
+ }
62
65
  export type TabManagementResult = TabInfo | CloseTabInfo | TabInfo[];
63
66
  export interface TabInfo {
64
67
  tabId?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eko-ai/eko",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
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",