@eko-ai/eko-nodejs 2.1.7 → 2.1.8-alpha.1
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.
- package/README.md +2 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
[](LICENSE) [](https://example.com/build-status) [](https://eko.fellou.ai/docs/release/versions/)
|
|
15
15
|
|
|
16
|
-
Eko (pronounced like
|
|
16
|
+
Eko (pronounced like 'echo') is a production-ready JavaScript framework that enables developers to create reliable agents, **from simple commands to complex workflows**. It provides a unified interface for running agents in both **computer and browser environments**.
|
|
17
17
|
|
|
18
18
|
## Framework Comparison
|
|
19
19
|
|
|
@@ -118,3 +118,4 @@ Eko can be used in multiple environments:
|
|
|
118
118
|
## License
|
|
119
119
|
|
|
120
120
|
Eko is released under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
121
|
+
|
package/dist/index.cjs.js
CHANGED
|
@@ -150,7 +150,7 @@ class BrowserAgent extends eko.BaseBrowserLabelsAgent {
|
|
|
150
150
|
}
|
|
151
151
|
async execute_script(agentContext, func, args) {
|
|
152
152
|
let page = await this.currentPage();
|
|
153
|
-
return await page.evaluate(func, args);
|
|
153
|
+
return await page.evaluate(func, ...args);
|
|
154
154
|
}
|
|
155
155
|
async open_url(agentContext, url) {
|
|
156
156
|
let browser_context = await this.getBrowserContext();
|