@midscene/shared 1.11.1-beta-20260821111517.0 → 1.12.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.
|
@@ -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.
|
|
8
|
+
const getCurrentVersion = ()=>"1.12.0";
|
|
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
|
@@ -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.
|
|
40
|
+
const getCurrentVersion = ()=>"1.12.0";
|
|
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
|
@@ -133,7 +133,7 @@ export type TGlobalConfig = Record<TEnvKeys, string | undefined>;
|
|
|
133
133
|
/**
|
|
134
134
|
* valid Model family types
|
|
135
135
|
*/
|
|
136
|
-
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' | 'kimi3' | 'xiaomi-mimo';
|
|
136
|
+
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' | 'deepseek' | 'kimi' | 'kimi3' | 'xiaomi-mimo';
|
|
137
137
|
export declare const MODEL_FAMILY_VALUES: TModelFamily[];
|
|
138
138
|
export interface IModelConfigForInsight {
|
|
139
139
|
[MIDSCENE_INSIGHT_MODEL_NAME]: string;
|
package/package.json
CHANGED
package/src/env/types.ts
CHANGED
|
@@ -314,6 +314,7 @@ export type TModelFamily =
|
|
|
314
314
|
| 'auto-glm'
|
|
315
315
|
| 'auto-glm-multilingual'
|
|
316
316
|
| 'gpt-5'
|
|
317
|
+
| 'deepseek'
|
|
317
318
|
| 'kimi'
|
|
318
319
|
| 'kimi3'
|
|
319
320
|
| 'xiaomi-mimo';
|
|
@@ -334,6 +335,7 @@ export const MODEL_FAMILY_VALUES: TModelFamily[] = [
|
|
|
334
335
|
'auto-glm',
|
|
335
336
|
'auto-glm-multilingual',
|
|
336
337
|
'gpt-5',
|
|
338
|
+
'deepseek',
|
|
337
339
|
'kimi',
|
|
338
340
|
'kimi3',
|
|
339
341
|
'xiaomi-mimo',
|