@eko-ai/eko-nodejs 3.1.5 → 4.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eko-ai/eko-nodejs",
3
- "version": "3.1.5",
3
+ "version": "4.0.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",
@@ -36,9 +36,8 @@
36
36
  "dependencies": {
37
37
  "canvas": "^3.2.0",
38
38
  "chromium-bidi": "^0.12.0",
39
- "glob": "^11.0.2",
40
39
  "playwright": "^1.52.0",
41
- "@eko-ai/eko": "3.1.5"
40
+ "@eko-ai/eko": "4.0.1"
42
41
  },
43
42
  "devDependencies": {
44
43
  "@rollup/plugin-commonjs": "^28.0.3",
package/dist/file.d.ts DELETED
@@ -1,23 +0,0 @@
1
- import { AgentContext, BaseFileAgent } from "@eko-ai/eko";
2
- export default class FileAgent extends BaseFileAgent {
3
- protected file_list(agentContext: AgentContext, directoryPath: string): Promise<Array<{
4
- path: string;
5
- name?: string;
6
- isDirectory?: boolean;
7
- size?: string;
8
- modified?: string;
9
- }>>;
10
- protected file_read(agentContext: AgentContext, filePath: string): Promise<string>;
11
- protected file_write(agentContext: AgentContext, filePath: string, content: string, append: boolean): Promise<any>;
12
- protected file_str_replace(agentContext: AgentContext, filePath: string, oldStr: string, newStr: string): Promise<any>;
13
- protected file_find_by_name(agentContext: AgentContext, directoryPath: string, globPattern: string): Promise<Array<{
14
- path: string;
15
- name?: string;
16
- isDirectory?: boolean;
17
- size?: string;
18
- modified?: string;
19
- }>>;
20
- protected formatFileSize(size: number): string;
21
- }
22
- export { FileAgent };
23
- //# sourceMappingURL=file.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../src/file.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,aA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