@aigne/aigne-hub 0.10.2-beta.2 → 0.10.2-beta.4
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 +51 -0
- package/README.md +4 -4
- package/lib/cjs/utils/type.d.ts +3 -3
- package/lib/cjs/utils/type.js +1 -1
- package/lib/dts/utils/type.d.ts +3 -3
- package/lib/esm/utils/type.d.ts +3 -3
- package/lib/esm/utils/type.js +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.2-beta.4](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.10.2-beta.3...aigne-hub-v0.10.2-beta.4) (2025-10-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @aigne/anthropic bumped to 0.14.2-beta.4
|
|
11
|
+
* @aigne/bedrock bumped to 0.10.7-beta.4
|
|
12
|
+
* @aigne/core bumped to 1.63.0-beta.4
|
|
13
|
+
* @aigne/deepseek bumped to 0.7.48-beta.4
|
|
14
|
+
* @aigne/doubao bumped to 1.1.2-beta.4
|
|
15
|
+
* @aigne/gemini bumped to 0.14.2-beta.4
|
|
16
|
+
* @aigne/ideogram bumped to 0.4.2-beta.4
|
|
17
|
+
* @aigne/ollama bumped to 0.7.48-beta.4
|
|
18
|
+
* @aigne/open-router bumped to 0.7.48-beta.4
|
|
19
|
+
* @aigne/openai bumped to 0.16.2-beta.4
|
|
20
|
+
* @aigne/poe bumped to 1.0.28-beta.4
|
|
21
|
+
* @aigne/transport bumped to 0.15.11-beta.4
|
|
22
|
+
* @aigne/xai bumped to 0.7.48-beta.4
|
|
23
|
+
* devDependencies
|
|
24
|
+
* @aigne/test-utils bumped to 0.5.55-beta.4
|
|
25
|
+
|
|
26
|
+
## [0.10.2-beta.3](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.10.2-beta.2...aigne-hub-v0.10.2-beta.3) (2025-10-11)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* update aigne hub params ([#607](https://github.com/AIGNE-io/aigne-framework/issues/607)) ([9ea9e0b](https://github.com/AIGNE-io/aigne-framework/commit/9ea9e0bce7119abe496a463ecb779b120d48f4bc))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Dependencies
|
|
35
|
+
|
|
36
|
+
* The following workspace dependencies were updated
|
|
37
|
+
* dependencies
|
|
38
|
+
* @aigne/anthropic bumped to 0.14.2-beta.3
|
|
39
|
+
* @aigne/bedrock bumped to 0.10.7-beta.3
|
|
40
|
+
* @aigne/core bumped to 1.63.0-beta.3
|
|
41
|
+
* @aigne/deepseek bumped to 0.7.48-beta.3
|
|
42
|
+
* @aigne/doubao bumped to 1.1.2-beta.3
|
|
43
|
+
* @aigne/gemini bumped to 0.14.2-beta.3
|
|
44
|
+
* @aigne/ideogram bumped to 0.4.2-beta.3
|
|
45
|
+
* @aigne/ollama bumped to 0.7.48-beta.3
|
|
46
|
+
* @aigne/open-router bumped to 0.7.48-beta.3
|
|
47
|
+
* @aigne/openai bumped to 0.16.2-beta.3
|
|
48
|
+
* @aigne/poe bumped to 1.0.28-beta.3
|
|
49
|
+
* @aigne/transport bumped to 0.15.11-beta.3
|
|
50
|
+
* @aigne/xai bumped to 0.7.48-beta.3
|
|
51
|
+
* devDependencies
|
|
52
|
+
* @aigne/test-utils bumped to 0.5.55-beta.3
|
|
53
|
+
|
|
3
54
|
## [0.10.2-beta.2](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.10.2-beta.1...aigne-hub-v0.10.2-beta.2) (2025-10-09)
|
|
4
55
|
|
|
5
56
|
|
package/README.md
CHANGED
|
@@ -90,8 +90,8 @@ pnpm add @aigne/aigne-hub @aigne/core
|
|
|
90
90
|
import { AIGNEHubChatModel } from "@aigne/aigne-hub";
|
|
91
91
|
|
|
92
92
|
const model = new AIGNEHubChatModel({
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
baseUrl: "https://your-aigne-hub-instance/ai-kit",
|
|
94
|
+
apiKey: "your-access-key-secret",
|
|
95
95
|
model: "openai/gpt-4o-mini",
|
|
96
96
|
});
|
|
97
97
|
|
|
@@ -235,8 +235,8 @@ console.log(result);
|
|
|
235
235
|
import { AIGNEHubChatModel } from "@aigne/aigne-hub";
|
|
236
236
|
|
|
237
237
|
const model = new AIGNEHubChatModel({
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
baseUrl: "https://your-aigne-hub-instance/ai-kit",
|
|
239
|
+
apiKey: "your-access-key-secret",
|
|
240
240
|
model: "openai/gpt-4o-mini",
|
|
241
241
|
});
|
|
242
242
|
|
package/lib/cjs/utils/type.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ChatModelOptions, ImageModelOptions } from "@aigne/core";
|
|
|
2
2
|
import type { OpenAIChatModelOptions } from "@aigne/openai";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
5
|
-
|
|
5
|
+
baseURL: z.ZodOptional<z.ZodString>;
|
|
6
6
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
7
7
|
model: z.ZodOptional<z.ZodString>;
|
|
8
8
|
modelOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -30,7 +30,7 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
|
30
30
|
clientOptions: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
model?: string | undefined;
|
|
33
|
-
|
|
33
|
+
baseURL?: string | undefined;
|
|
34
34
|
apiKey?: string | undefined;
|
|
35
35
|
modelOptions?: {
|
|
36
36
|
parallelToolCalls: boolean;
|
|
@@ -43,7 +43,7 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
|
43
43
|
clientOptions?: {} | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
model?: string | undefined;
|
|
46
|
-
|
|
46
|
+
baseURL?: string | undefined;
|
|
47
47
|
apiKey?: string | undefined;
|
|
48
48
|
modelOptions?: {
|
|
49
49
|
model?: string | undefined;
|
package/lib/cjs/utils/type.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.aigneHubModelOptionsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.aigneHubModelOptionsSchema = zod_1.z.object({
|
|
6
|
-
|
|
6
|
+
baseURL: zod_1.z.string().optional(),
|
|
7
7
|
apiKey: zod_1.z.string().optional(),
|
|
8
8
|
model: zod_1.z.string().optional(),
|
|
9
9
|
modelOptions: zod_1.z
|
package/lib/dts/utils/type.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ChatModelOptions, ImageModelOptions } from "@aigne/core";
|
|
|
2
2
|
import type { OpenAIChatModelOptions } from "@aigne/openai";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
5
|
-
|
|
5
|
+
baseURL: z.ZodOptional<z.ZodString>;
|
|
6
6
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
7
7
|
model: z.ZodOptional<z.ZodString>;
|
|
8
8
|
modelOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -30,7 +30,7 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
|
30
30
|
clientOptions: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
model?: string | undefined;
|
|
33
|
-
|
|
33
|
+
baseURL?: string | undefined;
|
|
34
34
|
apiKey?: string | undefined;
|
|
35
35
|
modelOptions?: {
|
|
36
36
|
parallelToolCalls: boolean;
|
|
@@ -43,7 +43,7 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
|
43
43
|
clientOptions?: {} | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
model?: string | undefined;
|
|
46
|
-
|
|
46
|
+
baseURL?: string | undefined;
|
|
47
47
|
apiKey?: string | undefined;
|
|
48
48
|
modelOptions?: {
|
|
49
49
|
model?: string | undefined;
|
package/lib/esm/utils/type.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ChatModelOptions, ImageModelOptions } from "@aigne/core";
|
|
|
2
2
|
import type { OpenAIChatModelOptions } from "@aigne/openai";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
5
|
-
|
|
5
|
+
baseURL: z.ZodOptional<z.ZodString>;
|
|
6
6
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
7
7
|
model: z.ZodOptional<z.ZodString>;
|
|
8
8
|
modelOptions: z.ZodOptional<z.ZodObject<{
|
|
@@ -30,7 +30,7 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
|
30
30
|
clientOptions: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
model?: string | undefined;
|
|
33
|
-
|
|
33
|
+
baseURL?: string | undefined;
|
|
34
34
|
apiKey?: string | undefined;
|
|
35
35
|
modelOptions?: {
|
|
36
36
|
parallelToolCalls: boolean;
|
|
@@ -43,7 +43,7 @@ export declare const aigneHubModelOptionsSchema: z.ZodObject<{
|
|
|
43
43
|
clientOptions?: {} | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
model?: string | undefined;
|
|
46
|
-
|
|
46
|
+
baseURL?: string | undefined;
|
|
47
47
|
apiKey?: string | undefined;
|
|
48
48
|
modelOptions?: {
|
|
49
49
|
model?: string | undefined;
|
package/lib/esm/utils/type.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/aigne-hub",
|
|
3
|
-
"version": "0.10.2-beta.
|
|
3
|
+
"version": "0.10.2-beta.4",
|
|
4
4
|
"description": "AIGNE Hub SDK for integrating with Hub AI models",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
"https-proxy-agent": "^7.0.6",
|
|
40
40
|
"ufo": "^1.6.1",
|
|
41
41
|
"zod": "^3.25.67",
|
|
42
|
-
"@aigne/bedrock": "^0.10.7-beta.
|
|
43
|
-
"@aigne/anthropic": "^0.14.2-beta.
|
|
44
|
-
"@aigne/
|
|
45
|
-
"@aigne/
|
|
46
|
-
"@aigne/
|
|
47
|
-
"@aigne/
|
|
48
|
-
"@aigne/
|
|
49
|
-
"@aigne/
|
|
50
|
-
"@aigne/open-router": "^0.7.48-beta.
|
|
51
|
-
"@aigne/openai": "^0.16.2-beta.2",
|
|
52
|
-
"@aigne/poe": "^1.0.28-beta.2",
|
|
53
|
-
"@aigne/transport": "^0.15.11-beta.2",
|
|
42
|
+
"@aigne/bedrock": "^0.10.7-beta.4",
|
|
43
|
+
"@aigne/anthropic": "^0.14.2-beta.4",
|
|
44
|
+
"@aigne/core": "^1.63.0-beta.4",
|
|
45
|
+
"@aigne/deepseek": "^0.7.48-beta.4",
|
|
46
|
+
"@aigne/doubao": "^1.1.2-beta.4",
|
|
47
|
+
"@aigne/gemini": "^0.14.2-beta.4",
|
|
48
|
+
"@aigne/ideogram": "^0.4.2-beta.4",
|
|
49
|
+
"@aigne/ollama": "^0.7.48-beta.4",
|
|
50
|
+
"@aigne/open-router": "^0.7.48-beta.4",
|
|
54
51
|
"@aigne/platform-helpers": "^0.6.3",
|
|
55
|
-
"@aigne/
|
|
52
|
+
"@aigne/poe": "^1.0.28-beta.4",
|
|
53
|
+
"@aigne/openai": "^0.16.2-beta.4",
|
|
54
|
+
"@aigne/xai": "^0.7.48-beta.4",
|
|
55
|
+
"@aigne/transport": "^0.15.11-beta.4"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/bun": "^1.2.22",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"npm-run-all": "^4.1.5",
|
|
62
62
|
"rimraf": "^6.0.1",
|
|
63
63
|
"typescript": "^5.9.2",
|
|
64
|
-
"@aigne/test-utils": "^0.5.55-beta.
|
|
64
|
+
"@aigne/test-utils": "^0.5.55-beta.4"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"lint": "tsc --noEmit",
|