@aigne/aigne-hub 0.10.3-beta → 0.10.3-beta.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.10.3-beta.1](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.10.3-beta...aigne-hub-v0.10.3-beta.1) (2025-10-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * improve model name parsing to handle complex model identifiers ([#654](https://github.com/AIGNE-io/aigne-framework/issues/654)) ([4b7faea](https://github.com/AIGNE-io/aigne-framework/commit/4b7faea97f33db34a51c49dde3d6c1cf2679f0cd))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/anthropic bumped to 0.14.3-beta.1
16
+ * @aigne/bedrock bumped to 0.10.8-beta.1
17
+ * @aigne/core bumped to 1.64.0-beta.1
18
+ * @aigne/deepseek bumped to 0.7.49-beta.1
19
+ * @aigne/doubao bumped to 1.1.3-beta.1
20
+ * @aigne/gemini bumped to 0.14.3-beta.1
21
+ * @aigne/ideogram bumped to 0.4.3-beta.1
22
+ * @aigne/ollama bumped to 0.7.49-beta.1
23
+ * @aigne/open-router bumped to 0.7.49-beta.1
24
+ * @aigne/openai bumped to 0.16.3-beta.1
25
+ * @aigne/poe bumped to 1.0.29-beta.1
26
+ * @aigne/transport bumped to 0.15.12-beta.1
27
+ * @aigne/xai bumped to 0.7.49-beta.1
28
+ * devDependencies
29
+ * @aigne/test-utils bumped to 0.5.56-beta.1
30
+
3
31
  ## [0.10.3-beta](https://github.com/AIGNE-io/aigne-framework/compare/aigne-hub-v0.10.2...aigne-hub-v0.10.3-beta) (2025-10-21)
4
32
 
5
33
 
@@ -158,7 +158,8 @@ function findImageModel(provider) {
158
158
  return { all, match };
159
159
  }
160
160
  const parseModel = (model) => {
161
- model = model.replace(":", "/");
161
+ // replace first ':' with '/' to compatible with `provider:model-name` format
162
+ model = model.replace(/^(\w+)(:)/, "$1/");
162
163
  const { provider, name } = model.match(/(?<provider>[^/]*)(\/(?<name>.*))?/)?.groups ?? {};
163
164
  return { provider: provider?.replace(/-/g, ""), model: name };
164
165
  };
@@ -151,7 +151,8 @@ export function findImageModel(provider) {
151
151
  return { all, match };
152
152
  }
153
153
  export const parseModel = (model) => {
154
- model = model.replace(":", "/");
154
+ // replace first ':' with '/' to compatible with `provider:model-name` format
155
+ model = model.replace(/^(\w+)(:)/, "$1/");
155
156
  const { provider, name } = model.match(/(?<provider>[^/]*)(\/(?<name>.*))?/)?.groups ?? {};
156
157
  return { provider: provider?.replace(/-/g, ""), model: name };
157
158
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/aigne-hub",
3
- "version": "0.10.3-beta",
3
+ "version": "0.10.3-beta.1",
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/anthropic": "^0.14.3-beta",
43
- "@aigne/bedrock": "^0.10.8-beta",
44
- "@aigne/deepseek": "^0.7.49-beta",
45
- "@aigne/core": "^1.64.0-beta",
46
- "@aigne/doubao": "^1.1.3-beta",
47
- "@aigne/gemini": "^0.14.3-beta",
48
- "@aigne/ideogram": "^0.4.3-beta",
49
- "@aigne/ollama": "^0.7.49-beta",
50
- "@aigne/openai": "^0.16.3-beta",
42
+ "@aigne/anthropic": "^0.14.3-beta.1",
43
+ "@aigne/bedrock": "^0.10.8-beta.1",
44
+ "@aigne/deepseek": "^0.7.49-beta.1",
45
+ "@aigne/doubao": "^1.1.3-beta.1",
46
+ "@aigne/core": "^1.64.0-beta.1",
47
+ "@aigne/gemini": "^0.14.3-beta.1",
48
+ "@aigne/ideogram": "^0.4.3-beta.1",
49
+ "@aigne/ollama": "^0.7.49-beta.1",
50
+ "@aigne/open-router": "^0.7.49-beta.1",
51
+ "@aigne/openai": "^0.16.3-beta.1",
51
52
  "@aigne/platform-helpers": "^0.6.3",
52
- "@aigne/open-router": "^0.7.49-beta",
53
- "@aigne/xai": "^0.7.49-beta",
54
- "@aigne/transport": "^0.15.12-beta",
55
- "@aigne/poe": "^1.0.29-beta"
53
+ "@aigne/poe": "^1.0.29-beta.1",
54
+ "@aigne/transport": "^0.15.12-beta.1",
55
+ "@aigne/xai": "^0.7.49-beta.1"
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.56-beta"
64
+ "@aigne/test-utils": "^0.5.56-beta.1"
65
65
  },
66
66
  "scripts": {
67
67
  "lint": "tsc --noEmit",