@aigne/cli 1.57.3-beta → 1.58.0-beta

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/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.58.0-beta](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.57.3...cli-v1.58.0-beta) (2025-12-07)
4
+
5
+
6
+ ### Features
7
+
8
+ * support define agent by third library & orchestrator agent refactor ([#799](https://github.com/AIGNE-io/aigne-framework/issues/799)) ([7264b11](https://github.com/AIGNE-io/aigne-framework/commit/7264b11ab6eed787e928367f09aa08d254968d40))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/afs bumped to 1.3.0-beta
16
+ * @aigne/afs-history bumped to 1.1.3-beta
17
+ * @aigne/afs-local-fs bumped to 1.3.0-beta
18
+ * @aigne/agent-library bumped to 1.23.0-beta
19
+ * @aigne/agentic-memory bumped to 1.1.5-beta
20
+ * @aigne/aigne-hub bumped to 0.10.15-beta
21
+ * @aigne/core bumped to 1.71.0-beta
22
+ * @aigne/default-memory bumped to 1.3.5-beta
23
+ * @aigne/openai bumped to 0.16.15-beta
24
+ * @aigne/secrets bumped to 0.1.5-beta
25
+ * devDependencies
26
+ * @aigne/test-utils bumped to 0.5.68-beta
27
+
28
+ ## [1.57.3](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.57.3-beta...cli-v1.57.3) (2025-12-06)
29
+
30
+
31
+ ### Dependencies
32
+
33
+ * The following workspace dependencies were updated
34
+ * dependencies
35
+ * @aigne/afs-local-fs bumped to 1.2.4
36
+ * @aigne/agent-library bumped to 1.22.4
37
+ * @aigne/agentic-memory bumped to 1.1.4
38
+ * @aigne/aigne-hub bumped to 0.10.14
39
+ * @aigne/core bumped to 1.70.1
40
+ * @aigne/default-memory bumped to 1.3.4
41
+ * @aigne/observability-api bumped to 0.11.12
42
+ * @aigne/openai bumped to 0.16.14
43
+ * @aigne/secrets bumped to 0.1.4
44
+ * devDependencies
45
+ * @aigne/test-utils bumped to 0.5.67
46
+
3
47
  ## [1.57.3-beta](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.57.2...cli-v1.57.3-beta) (2025-12-06)
4
48
 
5
49
 
@@ -278,8 +278,8 @@ async function deleteHub(url) {
278
278
  if (isDefaultHub) {
279
279
  await secretStore.deleteDefault();
280
280
  const remainingHubs = await getHubs();
281
- if (remainingHubs.length > 0) {
282
- const nextHub = remainingHubs[0];
281
+ const nextHub = remainingHubs[0];
282
+ if (nextHub) {
283
283
  await secretStore.setDefault(nextHub?.apiUrl);
284
284
  console.log(chalk.green(`✓ Hub ${getUrlOrigin(url)} removed, switched to ${getUrlOrigin(nextHub?.apiUrl)}`));
285
285
  return;
@@ -1,3 +1,4 @@
1
+ import { createRequire } from "node:module";
1
2
  import { AIGNE, } from "@aigne/core";
2
3
  import { isNil, omitBy } from "@aigne/core/utils/type-utils.js";
3
4
  import boxen from "boxen";
@@ -25,6 +26,12 @@ export async function loadAIGNE({ path, modelOptions, imageModelOptions, skipMod
25
26
  let aigne;
26
27
  if (path) {
27
28
  aigne = await AIGNE.load(path, {
29
+ require: async (modulePath, options) => {
30
+ if (!options.parent || modulePath.startsWith("@aigne/"))
31
+ return import(modulePath);
32
+ const require = createRequire(options.parent);
33
+ return require(modulePath);
34
+ },
28
35
  memories: availableMemories,
29
36
  model: (options) => {
30
37
  if (skipModelLoading)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.57.3-beta",
3
+ "version": "1.58.0-beta",
4
4
  "description": "Your command center for agent development",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -89,17 +89,17 @@
89
89
  "yoctocolors-cjs": "^2.1.3",
90
90
  "zod": "^3.25.67",
91
91
  "zod-to-json-schema": "^3.24.6",
92
- "@aigne/afs": "^1.2.3",
93
- "@aigne/afs-history": "^1.1.2",
94
- "@aigne/agent-library": "^1.22.4-beta",
95
- "@aigne/agentic-memory": "^1.1.4-beta",
96
- "@aigne/afs-local-fs": "^1.2.4-beta",
97
- "@aigne/default-memory": "^1.3.4-beta",
98
- "@aigne/aigne-hub": "^0.10.14-beta",
99
- "@aigne/core": "^1.70.1-beta",
100
- "@aigne/observability-api": "^0.11.12-beta",
101
- "@aigne/openai": "^0.16.14-beta",
102
- "@aigne/secrets": "^0.1.4-beta"
92
+ "@aigne/afs": "^1.3.0-beta",
93
+ "@aigne/agent-library": "^1.23.0-beta",
94
+ "@aigne/agentic-memory": "^1.1.5-beta",
95
+ "@aigne/afs-local-fs": "^1.3.0-beta",
96
+ "@aigne/afs-history": "^1.1.3-beta",
97
+ "@aigne/core": "^1.71.0-beta",
98
+ "@aigne/aigne-hub": "^0.10.15-beta",
99
+ "@aigne/default-memory": "^1.3.5-beta",
100
+ "@aigne/observability-api": "^0.11.12",
101
+ "@aigne/openai": "^0.16.15-beta",
102
+ "@aigne/secrets": "^0.1.5-beta"
103
103
  },
104
104
  "devDependencies": {
105
105
  "@inquirer/testing": "^2.1.50",
@@ -116,7 +116,7 @@
116
116
  "rimraf": "^6.0.1",
117
117
  "typescript": "^5.9.2",
118
118
  "ufo": "^1.6.1",
119
- "@aigne/test-utils": "^0.5.67-beta"
119
+ "@aigne/test-utils": "^0.5.68-beta"
120
120
  },
121
121
  "scripts": {
122
122
  "lint": "tsc --noEmit",