@eko-ai/eko-nodejs 3.0.8 → 3.0.9-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 +64 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -15,6 +15,22 @@
|
|
|
15
15
|
|
|
16
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
|
+
## News
|
|
19
|
+
|
|
20
|
+
- **2025-09:** Eko 3.0 introduces dependency-aware parallel agent execution.
|
|
21
|
+
- **2025-09:** New pause, resume, and interrupt controls with `task_snapshot` workflow recovery.
|
|
22
|
+
- **2025-09:** Monorepo tooling migrated to pnpm for consistent workspace management.
|
|
23
|
+
|
|
24
|
+
## Upgrading to Eko 3.0
|
|
25
|
+
|
|
26
|
+
Follow these steps when moving an existing Eko 2.x project to 3.0:
|
|
27
|
+
|
|
28
|
+
1. Update dependencies with `pnpm up @eko-ai/eko @eko-ai/eko-nodejs @eko-ai/eko-web @eko-ai/eko-extension`.
|
|
29
|
+
2. Regenerate saved workflows or exported plans so they use the v3 schema and dependency graph format.
|
|
30
|
+
3. Clean and reinstall using pnpm (`rm -rf node_modules && pnpm install`), then rebuild any browser or desktop bundles.
|
|
31
|
+
4. Re-run automated demos and update documentation to reflect the new pause/interrupt APIs and parallel agent behavior.
|
|
32
|
+
|
|
33
|
+
|
|
18
34
|
## Framework Comparison
|
|
19
35
|
|
|
20
36
|
| Feature | Eko | Langchain | Browser-use | Dify.ai | Coze |
|
|
@@ -83,6 +99,41 @@ let result = await eko.run("Search for the latest news about Musk, summarize and
|
|
|
83
99
|
$ pnpm install @eko-ai/eko
|
|
84
100
|
```
|
|
85
101
|
|
|
102
|
+
## Example Projects
|
|
103
|
+
|
|
104
|
+
The repository ships with three workspace examples under the `example/` folder. After running the
|
|
105
|
+
core install (`pnpm install`) you can launch any of them with the commands below. Each example
|
|
106
|
+
consumes the local 3.0 packages, so rebuilding the main workspace automatically refreshes them.
|
|
107
|
+
|
|
108
|
+
### Browser Extension (`example/extension`)
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
pnpm --filter @eko-ai/eko-extension build
|
|
112
|
+
pnpm --filter @eko-ai/eko-extension-example run build
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Load the generated `example/extension/dist` directory via `chrome://extensions` → Developer Mode →
|
|
116
|
+
Load unpacked. Configure your API key in the extension options before running the automation task.
|
|
117
|
+
|
|
118
|
+
### Node.js Automation (`example/nodejs`)
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
pnpm --filter @eko-ai/eko-nodejs-example run build
|
|
122
|
+
pnpm --filter @eko-ai/eko-nodejs-example run playwright # first time only, installs browsers
|
|
123
|
+
OPENAI_API_KEY=... ANTHROPIC_API_KEY=... pnpm --filter @eko-ai/eko-nodejs-example run start
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
The Node.js demo drives Playwright through Eko; provide at least one model API key before running it.
|
|
127
|
+
|
|
128
|
+
### Web Login Demo (`example/web`)
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
pnpm --filter @eko-ai/eko-web-example run start
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
This starts a React dev server on the default port with a simple login flow that you can automate
|
|
135
|
+
with the browser or web agents.
|
|
136
|
+
|
|
86
137
|
## Use Cases
|
|
87
138
|
|
|
88
139
|
- Browser automation and web scraping
|
|
@@ -116,7 +167,19 @@ Eko can be used in multiple environments:
|
|
|
116
167
|
|
|
117
168
|
[](https://star-history.com/#FellouAI/eko&Date)
|
|
118
169
|
|
|
170
|
+
|
|
171
|
+
## Community Spotlight
|
|
172
|
+
|
|
173
|
+
- **Career Co-Pilot**: https://github.com/wangwangbobo/career_skill_learnig.git
|
|
174
|
+
- **Slides Agent by Eko**: https://github.com/MICAHFANG/slides-agent-by-eko
|
|
175
|
+
- **Universal Sidebar Assistant**: https://github.com/San12341/eko-broser-extension.git
|
|
176
|
+
- **48 Hour Browser Challenge**: https://github.com/MoonIRL/eko
|
|
177
|
+
- **Orbit X Smart Terminal**: https://github.com/Skywang16/OrbitX/tree/main
|
|
178
|
+
- **EkoMeet Recommender**: https://github.com/JasonRobertDestiny/EkoMeet
|
|
179
|
+
- **Vision-Eko Plugin**: https://github.com/dcpwilliam/vision-eko/tree/main/serviceNowPlugin
|
|
180
|
+
- **IC Cafe Platform**: https://cnb.cool/giggle_giraffe/ic-info-wxapp
|
|
181
|
+
- **AI Monitoring Assistant**: https://github.com/yuhoudecheqiancao/eko-ai-monitoring
|
|
182
|
+
|
|
119
183
|
## License
|
|
120
184
|
|
|
121
185
|
Eko is released under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
122
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eko-ai/eko-nodejs",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9-alpha.1",
|
|
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",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"chromium-bidi": "^0.12.0",
|
|
38
38
|
"glob": "^11.0.2",
|
|
39
39
|
"playwright": "^1.52.0",
|
|
40
|
-
"@eko-ai/eko": "3.0.
|
|
40
|
+
"@eko-ai/eko": "3.0.9-alpha.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@rollup/plugin-commonjs": "^28.0.3",
|