@aigne/example-workflow-code-execution 1.15.3 → 1.16.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.
Files changed (3) hide show
  1. package/index.ts +1 -1
  2. package/package.json +8 -8
  3. package/usages.ts +1 -1
package/index.ts CHANGED
@@ -20,7 +20,7 @@ This agent generates a JavaScript code snippet that is suitable to be passed dir
20
20
  }),
21
21
  process: async (input: { jsCode: string }) => {
22
22
  const { jsCode } = input;
23
- // biome-ignore lint/security/noGlobalEval: <explanation>
23
+ // biome-ignore lint/security/noGlobalEval: just for demonstration purposes
24
24
  const result = eval(jsCode);
25
25
  return { result };
26
26
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/example-workflow-code-execution",
3
- "version": "1.15.3",
3
+ "version": "1.16.1",
4
4
  "description": "A demonstration of using AIGNE Framework to build a code-execution workflow",
5
5
  "author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
6
6
  "homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/workflow-code-execution",
@@ -16,15 +16,15 @@
16
16
  "README.md"
17
17
  ],
18
18
  "dependencies": {
19
- "zod": "^3.24.4",
20
- "@aigne/agent-library": "^1.17.9",
21
- "@aigne/core": "^1.29.1",
22
- "@aigne/cli": "^1.20.1",
23
- "@aigne/openai": "^0.6.4"
19
+ "zod": "^3.25.67",
20
+ "@aigne/core": "^1.31.0",
21
+ "@aigne/agent-library": "^1.19.0",
22
+ "@aigne/openai": "^0.7.1",
23
+ "@aigne/cli": "^1.22.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/bun": "^1.2.9",
27
- "@aigne/test-utils": "^0.4.16"
26
+ "@types/bun": "^1.2.17",
27
+ "@aigne/test-utils": "^0.5.1"
28
28
  },
29
29
  "scripts": {
30
30
  "start": "bun run index.ts",
package/usages.ts CHANGED
@@ -18,7 +18,7 @@ const sandbox = FunctionAgent.from({
18
18
  }),
19
19
  process: async (input: { code: string }) => {
20
20
  const { code } = input;
21
- // biome-ignore lint/security/noGlobalEval: <explanation>
21
+ // biome-ignore lint/security/noGlobalEval: just for demonstration purposes
22
22
  const result = eval(code);
23
23
  return { result };
24
24
  },