@midscene/shared 1.9.6-beta-20260615080106.0 → 1.9.6
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.
|
@@ -5,7 +5,7 @@ import { assert } from "../utils.mjs";
|
|
|
5
5
|
import { maskConfig, parseJson } from "./helper.mjs";
|
|
6
6
|
import { initDebugConfig } from "./init-debug.mjs";
|
|
7
7
|
const MODEL_CONFIG_DOC_URL = 'https://midscenejs.com/model-common-config.html';
|
|
8
|
-
const getCurrentVersion = ()=>"1.9.6
|
|
8
|
+
const getCurrentVersion = ()=>"1.9.6";
|
|
9
9
|
const getInvalidModelFamilyMessage = (modelFamily)=>`Invalid MIDSCENE_MODEL_FAMILY value: ${modelFamily}. Current version v${getCurrentVersion()} accepts the following model families: ${MODEL_FAMILY_VALUES.join(', ')}. You can also visit ${MODEL_CONFIG_DOC_URL} for the latest configuration information.`;
|
|
10
10
|
const KEYS_MAP = {
|
|
11
11
|
insight: INSIGHT_MODEL_CONFIG_KEYS,
|
package/dist/es/env/types.mjs
CHANGED
|
@@ -198,7 +198,8 @@ const MODEL_FAMILY_VALUES = [
|
|
|
198
198
|
'auto-glm',
|
|
199
199
|
'auto-glm-multilingual',
|
|
200
200
|
'gpt-5',
|
|
201
|
-
'kimi'
|
|
201
|
+
'kimi',
|
|
202
|
+
'xiaomi-mimo'
|
|
202
203
|
];
|
|
203
204
|
var types_UITarsModelVersion = /*#__PURE__*/ function(UITarsModelVersion) {
|
|
204
205
|
UITarsModelVersion["V1_0"] = "1.0";
|
|
@@ -37,7 +37,7 @@ const external_utils_js_namespaceObject = require("../utils.js");
|
|
|
37
37
|
const external_helper_js_namespaceObject = require("./helper.js");
|
|
38
38
|
const external_init_debug_js_namespaceObject = require("./init-debug.js");
|
|
39
39
|
const MODEL_CONFIG_DOC_URL = 'https://midscenejs.com/model-common-config.html';
|
|
40
|
-
const getCurrentVersion = ()=>"1.9.6
|
|
40
|
+
const getCurrentVersion = ()=>"1.9.6";
|
|
41
41
|
const getInvalidModelFamilyMessage = (modelFamily)=>`Invalid MIDSCENE_MODEL_FAMILY value: ${modelFamily}. Current version v${getCurrentVersion()} accepts the following model families: ${external_types_js_namespaceObject.MODEL_FAMILY_VALUES.join(', ')}. You can also visit ${MODEL_CONFIG_DOC_URL} for the latest configuration information.`;
|
|
42
42
|
const KEYS_MAP = {
|
|
43
43
|
insight: external_constants_js_namespaceObject.INSIGHT_MODEL_CONFIG_KEYS,
|
package/dist/lib/env/types.js
CHANGED
|
@@ -125,7 +125,7 @@ export type TGlobalConfig = Record<TEnvKeys, string | undefined>;
|
|
|
125
125
|
/**
|
|
126
126
|
* valid Model family types
|
|
127
127
|
*/
|
|
128
|
-
export type TModelFamily = 'qwen2.5-vl' | 'qwen3-vl' | 'qwen3' | 'qwen3.5' | 'qwen3.6' | 'doubao-vision' | 'doubao-seed' | 'gemini' | 'vlm-ui-tars' | 'vlm-ui-tars-doubao' | 'vlm-ui-tars-doubao-1.5' | 'glm-v' | 'auto-glm' | 'auto-glm-multilingual' | 'gpt-5' | 'kimi';
|
|
128
|
+
export type TModelFamily = 'qwen2.5-vl' | 'qwen3-vl' | 'qwen3' | 'qwen3.5' | 'qwen3.6' | 'doubao-vision' | 'doubao-seed' | 'gemini' | 'vlm-ui-tars' | 'vlm-ui-tars-doubao' | 'vlm-ui-tars-doubao-1.5' | 'glm-v' | 'auto-glm' | 'auto-glm-multilingual' | 'gpt-5' | 'kimi' | 'xiaomi-mimo';
|
|
129
129
|
export declare const MODEL_FAMILY_VALUES: TModelFamily[];
|
|
130
130
|
export interface IModelConfigForInsight {
|
|
131
131
|
[MIDSCENE_INSIGHT_MODEL_NAME]: string;
|
package/package.json
CHANGED
package/src/env/types.ts
CHANGED
|
@@ -300,7 +300,8 @@ export type TModelFamily =
|
|
|
300
300
|
| 'auto-glm'
|
|
301
301
|
| 'auto-glm-multilingual'
|
|
302
302
|
| 'gpt-5'
|
|
303
|
-
| 'kimi'
|
|
303
|
+
| 'kimi'
|
|
304
|
+
| 'xiaomi-mimo';
|
|
304
305
|
|
|
305
306
|
export const MODEL_FAMILY_VALUES: TModelFamily[] = [
|
|
306
307
|
'doubao-vision',
|
|
@@ -319,6 +320,7 @@ export const MODEL_FAMILY_VALUES: TModelFamily[] = [
|
|
|
319
320
|
'auto-glm-multilingual',
|
|
320
321
|
'gpt-5',
|
|
321
322
|
'kimi',
|
|
323
|
+
'xiaomi-mimo',
|
|
322
324
|
];
|
|
323
325
|
|
|
324
326
|
export interface IModelConfigForInsight {
|