@eko-ai/eko 1.2.0 → 1.2.2

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.
@@ -0,0 +1,2 @@
1
+ import { ILogObj, Logger } from "tslog";
2
+ export declare const logger: Logger<ILogObj>;
@@ -1,4 +1,5 @@
1
1
  import { LLMConfig, EkoConfig, EkoInvokeParam, Tool, Workflow, WorkflowCallback, WorkflowResult } from '../types';
2
+ import { ILogObj, Logger } from 'tslog';
2
3
  /**
3
4
  * Eko core
4
5
  */
@@ -12,6 +13,7 @@ export declare class Eko {
12
13
  tabs: chrome.tabs.Tab[];
13
14
  workflow?: Workflow;
14
15
  constructor(llmConfig: LLMConfig, ekoConfig?: EkoConfig);
16
+ static getLogger(): Logger<ILogObj>;
15
17
  private buildEkoConfig;
16
18
  private registerTools;
17
19
  generate(prompt: string, tabs?: chrome.tabs.Tab[], param?: EkoInvokeParam): Promise<Workflow>;
@@ -1,16 +1 @@
1
- declare const eko: any;
2
- declare function type(request: any): boolean;
3
- declare function mouse_move(request: any): boolean;
4
- declare function simulateMouseEvent(request: any, eventTypes: Array<string>, button: 0 | 1 | 2): boolean;
5
- declare function scroll_to(request: any): boolean;
6
- declare function get_dropdown_options(request: any): {
7
- options: {
8
- index: any;
9
- text: any;
10
- value: any;
11
- }[];
12
- id: any;
13
- name: any;
14
- } | null;
15
- declare function select_dropdown_option(request: any): any;
16
- declare function request_user_help(task_id: string, failure_type: string, failure_message: string): void;
1
+ export {};