@aigne/cli 1.44.2 → 1.45.0

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,42 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.45.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.44.3...cli-v1.45.0) (2025-09-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * support custom prefer input file type ([#469](https://github.com/AIGNE-io/aigne-framework/issues/469)) ([db0161b](https://github.com/AIGNE-io/aigne-framework/commit/db0161bbac52542c771ee2f40f361636b0668075))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/agent-library bumped to 1.21.41
16
+ * @aigne/agentic-memory bumped to 1.0.41
17
+ * @aigne/aigne-hub bumped to 0.9.0
18
+ * @aigne/core bumped to 1.59.0
19
+ * @aigne/default-memory bumped to 1.2.4
20
+ * @aigne/openai bumped to 0.15.0
21
+ * devDependencies
22
+ * @aigne/test-utils bumped to 0.5.48
23
+
24
+ ## [1.44.3](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.44.2...cli-v1.44.3) (2025-09-08)
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * The following workspace dependencies were updated
30
+ * dependencies
31
+ * @aigne/agent-library bumped to 1.21.40
32
+ * @aigne/agentic-memory bumped to 1.0.40
33
+ * @aigne/aigne-hub bumped to 0.8.10
34
+ * @aigne/core bumped to 1.58.3
35
+ * @aigne/default-memory bumped to 1.2.3
36
+ * @aigne/openai bumped to 0.14.3
37
+ * devDependencies
38
+ * @aigne/test-utils bumped to 0.5.47
39
+
3
40
  ## [1.44.2](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.44.1...cli-v1.44.2) (2025-09-05)
4
41
 
5
42
 
@@ -1,4 +1,4 @@
1
- import type { ChatModel, ChatModelOptions } from "@aigne/core";
1
+ import type { ChatModel, ModelOptions } from "@aigne/core";
2
2
  import type { LoadCredentialOptions } from "./type.js";
3
3
  export declare function maskApiKey(apiKey?: string): string | undefined;
4
4
  export declare const parseModelOption: (model: string) => {
@@ -9,4 +9,4 @@ export declare const formatModelName: (model: string, inquirerPrompt: NonNullabl
9
9
  provider: string;
10
10
  model?: string;
11
11
  }>;
12
- export declare function loadChatModel(options?: ChatModelOptions & LoadCredentialOptions): Promise<ChatModel>;
12
+ export declare function loadChatModel(options?: ModelOptions & LoadCredentialOptions): Promise<ChatModel>;
@@ -1,4 +1,4 @@
1
- import { AIGNE, type ChatModelOptions } from "@aigne/core";
1
+ import { AIGNE, type ModelOptions } from "@aigne/core";
2
2
  import type { LoadCredentialOptions } from "./aigne-hub/type.js";
3
3
  import type { AgentRunCommonOptions } from "./yargs.js";
4
4
  export interface RunOptions extends AgentRunCommonOptions {
@@ -9,5 +9,5 @@ export interface RunOptions extends AgentRunCommonOptions {
9
9
  }
10
10
  export declare function loadAIGNE({ path, modelOptions, }: {
11
11
  path?: string;
12
- modelOptions?: ChatModelOptions & LoadCredentialOptions;
12
+ modelOptions?: ModelOptions & LoadCredentialOptions;
13
13
  }): Promise<AIGNE<import("@aigne/core").UserContext>>;
@@ -1,4 +1,4 @@
1
- import { type Agent, type AIGNE, type ChatModelOptions, type Message } from "@aigne/core";
1
+ import { type Agent, type AIGNE, type Message, type ModelOptions } from "@aigne/core";
2
2
  import { type PromiseOrValue } from "@aigne/core/utils/type-utils.js";
3
3
  import { type ChatLoopOptions } from "./run-chat-loop.js";
4
4
  import { type AgentRunCommonOptions } from "./yargs.js";
@@ -10,7 +10,7 @@ export declare function parseAgentInputByCommander(agent: Agent, options?: Agent
10
10
  export declare function runWithAIGNE(agentCreator: ((aigne: AIGNE) => PromiseOrValue<Agent>) | Agent, { argv, chatLoopOptions, modelOptions, outputKey, }?: {
11
11
  argv?: typeof process.argv;
12
12
  chatLoopOptions?: ChatLoopOptions;
13
- modelOptions?: ChatModelOptions;
13
+ modelOptions?: ModelOptions;
14
14
  outputKey?: string;
15
15
  }): Promise<void>;
16
16
  export declare function runAgentWithAIGNE(aigne: AIGNE, agent: Agent, { outputKey, fileOutputKey, chatLoopOptions, ...options }?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/cli",
3
- "version": "1.44.2",
3
+ "version": "1.45.0",
4
4
  "description": "Your command center for agent development",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -81,13 +81,13 @@
81
81
  "yargs": "^18.0.0",
82
82
  "yoctocolors-cjs": "^2.1.3",
83
83
  "zod": "^3.25.67",
84
- "@aigne/agent-library": "^1.21.39",
85
- "@aigne/agentic-memory": "^1.0.39",
86
- "@aigne/aigne-hub": "^0.8.9",
87
- "@aigne/default-memory": "^1.2.2",
88
- "@aigne/core": "^1.58.2",
89
- "@aigne/observability-api": "^0.10.2",
90
- "@aigne/openai": "^0.14.2"
84
+ "@aigne/agentic-memory": "^1.0.41",
85
+ "@aigne/core": "^1.59.0",
86
+ "@aigne/agent-library": "^1.21.41",
87
+ "@aigne/aigne-hub": "^0.9.0",
88
+ "@aigne/default-memory": "^1.2.4",
89
+ "@aigne/openai": "^0.15.0",
90
+ "@aigne/observability-api": "^0.10.2"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@inquirer/testing": "^2.1.49",
@@ -104,7 +104,7 @@
104
104
  "rimraf": "^6.0.1",
105
105
  "typescript": "^5.8.3",
106
106
  "ufo": "^1.6.1",
107
- "@aigne/test-utils": "^0.5.46"
107
+ "@aigne/test-utils": "^0.5.48"
108
108
  },
109
109
  "scripts": {
110
110
  "lint": "tsc --noEmit",