@eko-ai/eko 1.3.4 → 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.
@@ -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
  }
package/dist/index.cjs.js CHANGED
@@ -10866,6 +10866,7 @@ Navigation Bar or Menu Changes: After logging in, the navigation bar will includ
10866
10866
  3. If not logged in or encountering a verification code interface, immediately use the 'human_operate' tool to transfer the operation rights to the user
10867
10867
  4. On the login/verification code interface, do not use any automatic input tools (such as 'input_text') to fill in the password or verification code
10868
10868
  5. Wait for the user to complete the login/verification code operation, and then check the login status again
10869
+ - Some key actions: Before triggering actions such as payment, deletion, and confirmation of sending, the 'human_operate' function needs to be called to have the user confirm.
10869
10870
  - As a backup method, when encountering other errors that cannot be handled automatically, use the 'human_operate' tool to transfer the operation rights to the user
10870
10871
 
10871
10872
  ## TASK COMPLETION:
@@ -11262,7 +11263,7 @@ class Eko {
11262
11263
  this.llmProvider = LLMProviderFactory.buildLLMProvider(llmConfig);
11263
11264
  this.ekoConfig = this.buildEkoConfig(ekoConfig);
11264
11265
  this.registerTools();
11265
- logger.info("using Eko@" + "41a3c7e23187eb5d1a9a4bb76ea837b1c96f44f8");
11266
+ logger.info("using Eko@" + "d6e5f731cf4ef8a147d77258296b48933254d207");
11266
11267
  logger.debug("caller's ekoConfig ('chromeProxy' maybe 'null'):", ekoConfig);
11267
11268
  console.log(ekoConfig);
11268
11269
  }
package/dist/index.esm.js CHANGED
@@ -10862,6 +10862,7 @@ Navigation Bar or Menu Changes: After logging in, the navigation bar will includ
10862
10862
  3. If not logged in or encountering a verification code interface, immediately use the 'human_operate' tool to transfer the operation rights to the user
10863
10863
  4. On the login/verification code interface, do not use any automatic input tools (such as 'input_text') to fill in the password or verification code
10864
10864
  5. Wait for the user to complete the login/verification code operation, and then check the login status again
10865
+ - Some key actions: Before triggering actions such as payment, deletion, and confirmation of sending, the 'human_operate' function needs to be called to have the user confirm.
10865
10866
  - As a backup method, when encountering other errors that cannot be handled automatically, use the 'human_operate' tool to transfer the operation rights to the user
10866
10867
 
10867
10868
  ## TASK COMPLETION:
@@ -11258,7 +11259,7 @@ class Eko {
11258
11259
  this.llmProvider = LLMProviderFactory.buildLLMProvider(llmConfig);
11259
11260
  this.ekoConfig = this.buildEkoConfig(ekoConfig);
11260
11261
  this.registerTools();
11261
- logger.info("using Eko@" + "41a3c7e23187eb5d1a9a4bb76ea837b1c96f44f8");
11262
+ logger.info("using Eko@" + "d6e5f731cf4ef8a147d77258296b48933254d207");
11262
11263
  logger.debug("caller's ekoConfig ('chromeProxy' maybe 'null'):", ekoConfig);
11263
11264
  console.log(ekoConfig);
11264
11265
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eko-ai/eko",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
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",