@aigne/example-workflow-code-execution 1.11.1 → 1.12.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 (2) hide show
  1. package/index.ts +2 -1
  2. package/package.json +6 -5
package/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env bunwrapper
2
2
 
3
+ import { DefaultMemory } from "@aigne/agent-library/default-memory/index.js";
3
4
  import { runWithAIGNE } from "@aigne/cli/utils/run-with-aigne.js";
4
5
  import { AIAgent, FunctionAgent } from "@aigne/core";
5
6
  import { z } from "zod";
@@ -32,7 +33,7 @@ You are a proficient coder. You write code to solve problems.
32
33
  Work with the sandbox to execute your code.
33
34
  `,
34
35
  skills: [sandbox],
35
- memory: true,
36
+ memory: new DefaultMemory(),
36
37
  });
37
38
 
38
39
  await runWithAIGNE(coder, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/example-workflow-code-execution",
3
- "version": "1.11.1",
3
+ "version": "1.12.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",
@@ -17,13 +17,14 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "zod": "^3.24.4",
20
- "@aigne/cli": "^1.10.1",
21
- "@aigne/core": "^1.17.0",
22
- "@aigne/openai": "^0.2.0"
20
+ "@aigne/cli": "^1.11.1",
21
+ "@aigne/core": "^1.18.1",
22
+ "@aigne/openai": "^0.2.2",
23
+ "@aigne/agent-library": "^1.12.1"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@types/bun": "^1.2.9",
26
- "@aigne/test-utils": "^0.3.1"
27
+ "@aigne/test-utils": "^0.3.3"
27
28
  },
28
29
  "scripts": {
29
30
  "start": "bun run index.ts",