@midscene/visualizer 0.25.4-beta-20250807062119.0 → 0.26.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/dist/es/component/playground/index.css +5 -0
- package/dist/index.css +5 -0
- package/dist/index.js +1 -1
- package/dist/lib/component/playground/index.css +5 -0
- package/dist/types/component/playground/playground-types.d.ts +1 -1
- package/dist/types/component/playground/playground-utils.d.ts +1 -1
- package/dist/types/component/playground/useStaticPageAgent.d.ts +1 -1
- package/package.json +4 -4
|
@@ -271,6 +271,11 @@ body {
|
|
|
271
271
|
.result-wrapper .loading-container {
|
|
272
272
|
text-align: center;
|
|
273
273
|
}
|
|
274
|
+
.result-wrapper .loading-container .loading-progress-text {
|
|
275
|
+
margin-top: 8px;
|
|
276
|
+
color: #888;
|
|
277
|
+
font-size: 12px;
|
|
278
|
+
}
|
|
274
279
|
.result-wrapper pre {
|
|
275
280
|
margin: 4px 0;
|
|
276
281
|
margin: 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { GroupedActionDump } from '@midscene/core';
|
|
2
|
+
import type { WebUIContext } from '@midscene/web';
|
|
2
3
|
import type { ChromeExtensionProxyPageAgent } from '@midscene/web/chrome-extension';
|
|
3
4
|
import type { StaticPageAgent } from '@midscene/web/playground';
|
|
4
|
-
import type { WebUIContext } from '@midscene/web/utils';
|
|
5
5
|
export interface PlaygroundResult {
|
|
6
6
|
result: any;
|
|
7
7
|
dump?: GroupedActionDump | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { UIContext } from '@midscene/core';
|
|
2
|
+
import type { WebUIContext } from '@midscene/web';
|
|
2
3
|
import { StaticPageAgent } from '@midscene/web/playground';
|
|
3
|
-
import type { WebUIContext } from '@midscene/web/utils';
|
|
4
4
|
export declare const serverBase = "http://localhost:5800";
|
|
5
5
|
export declare const checkServerStatus: () => Promise<boolean>;
|
|
6
6
|
export declare const requestPlaygroundServer: (context: UIContext | string, type: string, prompt: string, { requestId, deepThink, }?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { WebUIContext } from '@midscene/web';
|
|
1
2
|
import type { StaticPageAgent } from '@midscene/web/playground';
|
|
2
|
-
import type { WebUIContext } from '@midscene/web/utils';
|
|
3
3
|
import { staticAgentFromContext } from './playground-utils';
|
|
4
4
|
export { staticAgentFromContext };
|
|
5
5
|
export declare const useStaticPageAgent: (context: WebUIContext | undefined | null) => StaticPageAgent | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/visualizer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
5
5
|
"homepage": "https://midscenejs.com/",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"antd": "^5.21.6",
|
|
72
72
|
"buffer": "6.0.3",
|
|
73
73
|
"dayjs": "^1.11.11",
|
|
74
|
-
"@midscene/
|
|
75
|
-
"@midscene/
|
|
76
|
-
"@midscene/
|
|
74
|
+
"@midscene/web": "0.26.0",
|
|
75
|
+
"@midscene/core": "0.26.0",
|
|
76
|
+
"@midscene/shared": "0.26.0"
|
|
77
77
|
},
|
|
78
78
|
"license": "MIT",
|
|
79
79
|
"scripts": {
|