@eko-ai/eko 1.2.5 → 1.3.0

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,10 @@
1
+ import { Message } from "@/types";
2
+ export declare abstract class ContextComporessor {
3
+ abstract comporess(messages: Message[]): Message[];
4
+ }
5
+ export declare class NoComporess extends ContextComporessor {
6
+ comporess(messages: Message[]): Message[];
7
+ }
8
+ export declare class SimpleQAComporess extends ContextComporessor {
9
+ comporess(messages: Message[]): Message[];
10
+ }
@@ -696,7 +696,7 @@ async function getTabId(context) {
696
696
  }
697
697
  if (!tabId) {
698
698
  const fellouTabId = window.__FELLOU_TAB_ID__;
699
- if (tabId) {
699
+ if (fellouTabId) {
700
700
  tabId = fellouTabId;
701
701
  }
702
702
  else {
@@ -694,7 +694,7 @@ async function getTabId(context) {
694
694
  }
695
695
  if (!tabId) {
696
696
  const fellouTabId = window.__FELLOU_TAB_ID__;
697
- if (tabId) {
697
+ if (fellouTabId) {
698
698
  tabId = fellouTabId;
699
699
  }
700
700
  else {