@eko-ai/eko 1.3.3 → 1.3.5

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.
@@ -14,6 +14,7 @@ export declare class Eko {
14
14
  workflow?: Workflow;
15
15
  constructor(llmConfig: LLMConfig, ekoConfig?: EkoConfig);
16
16
  static getLogger(): Logger<ILogObj>;
17
+ getLoggerInstaceUUID(): string;
17
18
  private buildEkoConfig;
18
19
  private registerTools;
19
20
  generate(prompt: string, tabs?: chrome.tabs.Tab[], param?: EkoInvokeParam): Promise<Workflow>;
@@ -679,6 +679,9 @@ async function getWindowId(context) {
679
679
  if (!windowId) {
680
680
  windowId = window.FELLOU_WINDOW_ID;
681
681
  }
682
+ if (!windowId) {
683
+ windowId = context.ekoConfig.workingWindowId;
684
+ }
682
685
  if (!windowId) {
683
686
  logger.warn("`getWindowId()` returns " + windowId);
684
687
  }
@@ -677,6 +677,9 @@ async function getWindowId(context) {
677
677
  if (!windowId) {
678
678
  windowId = window.FELLOU_WINDOW_ID;
679
679
  }
680
+ if (!windowId) {
681
+ windowId = context.ekoConfig.workingWindowId;
682
+ }
680
683
  if (!windowId) {
681
684
  logger.warn("`getWindowId()` returns " + windowId);
682
685
  }