@aigne/cli 1.22.8 → 1.23.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 +28 -0
- package/README.md +2 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +15 -7
- package/package.json +15 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.23.0](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.22.8...cli-v1.23.0) (2025-07-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **memory:** support did space memory adapter ([#229](https://github.com/AIGNE-io/aigne-framework/issues/229)) ([6f69b64](https://github.com/AIGNE-io/aigne-framework/commit/6f69b64e98b963db9d6ab5357306b445385eaa68))
|
|
9
|
+
* **model:** support aigne-hub model adapter ([#253](https://github.com/AIGNE-io/aigne-framework/issues/253)) ([4b33f8d](https://github.com/AIGNE-io/aigne-framework/commit/4b33f8d1a819f52357db81d502c56b55eaa0669f))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Dependencies
|
|
13
|
+
|
|
14
|
+
* The following workspace dependencies were updated
|
|
15
|
+
* dependencies
|
|
16
|
+
* @aigne/agent-library bumped to 1.21.0
|
|
17
|
+
* @aigne/agentic-memory bumped to 1.0.0
|
|
18
|
+
* @aigne/anthropic bumped to 0.9.0
|
|
19
|
+
* @aigne/bedrock bumped to 0.8.0
|
|
20
|
+
* @aigne/core bumped to 1.34.0
|
|
21
|
+
* @aigne/deepseek bumped to 0.7.0
|
|
22
|
+
* @aigne/default-memory bumped to 1.0.0
|
|
23
|
+
* @aigne/gemini bumped to 0.8.0
|
|
24
|
+
* @aigne/observability-api bumped to 0.8.0
|
|
25
|
+
* @aigne/ollama bumped to 0.7.0
|
|
26
|
+
* @aigne/open-router bumped to 0.7.0
|
|
27
|
+
* @aigne/openai bumped to 0.10.0
|
|
28
|
+
* @aigne/xai bumped to 0.7.0
|
|
29
|
+
* @aigne/aigne-hub bumped to 0.1.0
|
|
30
|
+
|
|
3
31
|
## [1.22.8](https://github.com/AIGNE-io/aigne-framework/compare/cli-v1.22.7...cli-v1.22.8) (2025-07-14)
|
|
4
32
|
|
|
5
33
|
|
package/README.md
CHANGED
|
@@ -91,10 +91,10 @@ Launch a chat loop with the specified agent.
|
|
|
91
91
|
aigne run
|
|
92
92
|
|
|
93
93
|
# Run the agent at the specified path
|
|
94
|
-
aigne run path/to/agents
|
|
94
|
+
aigne run --path path/to/agents
|
|
95
95
|
|
|
96
96
|
# Run the agent from a remote URL
|
|
97
|
-
aigne run https://example.com/aigne-project
|
|
97
|
+
aigne run --url https://example.com/aigne-project
|
|
98
98
|
|
|
99
99
|
# Run a specific agent
|
|
100
100
|
aigne run --entry-agent myAgent
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefaultMemory } from "@aigne/agent-library/default-memory/index.js";
|
|
2
1
|
import type { LoadableModel } from "@aigne/core/loader/index.js";
|
|
2
|
+
import { DefaultMemory } from "@aigne/default-memory";
|
|
3
3
|
export declare const AIGNE_CLI_VERSION: any;
|
|
4
4
|
export declare function availableModels(): LoadableModel[];
|
|
5
5
|
export declare const availableMemories: (typeof DefaultMemory)[];
|
package/dist/constants.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
import {
|
|
2
|
+
import { AgenticMemory } from "@aigne/agentic-memory";
|
|
3
|
+
import { AIGNEHubChatModel } from "@aigne/aigne-hub";
|
|
3
4
|
import { AnthropicChatModel } from "@aigne/anthropic";
|
|
4
5
|
import { BedrockChatModel } from "@aigne/bedrock";
|
|
5
6
|
import { DeepSeekChatModel } from "@aigne/deepseek";
|
|
7
|
+
import { DefaultMemory } from "@aigne/default-memory";
|
|
6
8
|
import { GeminiChatModel } from "@aigne/gemini";
|
|
7
9
|
import { OllamaChatModel } from "@aigne/ollama";
|
|
8
10
|
import { OpenRouterChatModel } from "@aigne/open-router";
|
|
@@ -17,7 +19,12 @@ export function availableModels() {
|
|
|
17
19
|
.map((i) => process.env[i])
|
|
18
20
|
.filter(Boolean)[0];
|
|
19
21
|
const httpAgent = proxy ? new HttpsProxyAgent(proxy) : undefined;
|
|
20
|
-
const clientOptions = {
|
|
22
|
+
const clientOptions = {
|
|
23
|
+
fetchOptions: {
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
agent: httpAgent,
|
|
26
|
+
},
|
|
27
|
+
};
|
|
21
28
|
return [
|
|
22
29
|
{
|
|
23
30
|
name: OpenAIChatModel.name,
|
|
@@ -32,10 +39,7 @@ export function availableModels() {
|
|
|
32
39
|
create: (params) => new BedrockChatModel({
|
|
33
40
|
...params,
|
|
34
41
|
clientOptions: {
|
|
35
|
-
requestHandler: NodeHttpHandler.create({
|
|
36
|
-
httpAgent,
|
|
37
|
-
httpsAgent: httpAgent,
|
|
38
|
-
}),
|
|
42
|
+
requestHandler: NodeHttpHandler.create({ httpAgent, httpsAgent: httpAgent }),
|
|
39
43
|
streamCollector,
|
|
40
44
|
},
|
|
41
45
|
}),
|
|
@@ -60,6 +64,10 @@ export function availableModels() {
|
|
|
60
64
|
name: XAIChatModel.name,
|
|
61
65
|
create: (params) => new XAIChatModel({ ...params, clientOptions }),
|
|
62
66
|
},
|
|
67
|
+
{
|
|
68
|
+
name: AIGNEHubChatModel.name,
|
|
69
|
+
create: (params) => new AIGNEHubChatModel({ ...params, clientOptions }),
|
|
70
|
+
},
|
|
63
71
|
];
|
|
64
72
|
}
|
|
65
|
-
export const availableMemories = [DefaultMemory];
|
|
73
|
+
export const availableMemories = [DefaultMemory, AgenticMemory];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.23.0",
|
|
4
4
|
"description": "cli for AIGNE framework",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -54,17 +54,20 @@
|
|
|
54
54
|
"wrap-ansi": "^9.0.0",
|
|
55
55
|
"yaml": "^2.8.0",
|
|
56
56
|
"zod": "^3.25.67",
|
|
57
|
-
"@aigne/
|
|
58
|
-
"@aigne/
|
|
59
|
-
"@aigne/
|
|
60
|
-
"@aigne/
|
|
61
|
-
"@aigne/
|
|
62
|
-
"@aigne/
|
|
63
|
-
"@aigne/
|
|
64
|
-
"@aigne/
|
|
65
|
-
"@aigne/
|
|
66
|
-
"@aigne/
|
|
67
|
-
"@aigne/
|
|
57
|
+
"@aigne/agent-library": "^1.21.0",
|
|
58
|
+
"@aigne/agentic-memory": "^1.0.0",
|
|
59
|
+
"@aigne/anthropic": "^0.9.0",
|
|
60
|
+
"@aigne/bedrock": "^0.8.0",
|
|
61
|
+
"@aigne/default-memory": "^1.0.0",
|
|
62
|
+
"@aigne/core": "^1.34.0",
|
|
63
|
+
"@aigne/gemini": "^0.8.0",
|
|
64
|
+
"@aigne/deepseek": "^0.7.0",
|
|
65
|
+
"@aigne/ollama": "^0.7.0",
|
|
66
|
+
"@aigne/observability-api": "^0.8.0",
|
|
67
|
+
"@aigne/open-router": "^0.7.0",
|
|
68
|
+
"@aigne/openai": "^0.10.0",
|
|
69
|
+
"@aigne/xai": "^0.7.0",
|
|
70
|
+
"@aigne/aigne-hub": "^0.1.0"
|
|
68
71
|
},
|
|
69
72
|
"devDependencies": {
|
|
70
73
|
"@types/archiver": "^6.0.3",
|