Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@godscene/core

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@godscene/core - npm Package Compare versions

Comparing version
1.7.17
to
1.7.18
+2
-2
dist/es/agent/task-builder.mjs

@@ -305,3 +305,4 @@ import { findAllMidsceneLocatorField, parseActionParam } from "../ai-model/index.mjs";

if (this.interface.getElementFromPoint && element.center) try {
const [x, y] = element.center;
const x = Math.round(element.center[0] / shrunkShotToLogicalRatio);
const y = Math.round(element.center[1] / shrunkShotToLogicalRatio);
const data = await this.interface.getElementFromPoint({

@@ -311,3 +312,2 @@ x,

});
console.log(data, 'getElementFromPoint data');
element.allPaths = data?.allPaths || [];

@@ -314,0 +314,0 @@ element.containerPaths = data?.containerPaths || [];

@@ -126,3 +126,3 @@ import { ScreenshotItem } from "../screenshot-item.mjs";

}
const getMidsceneVersion = ()=>"1.7.16";
const getMidsceneVersion = ()=>"1.7.17";
const parsePrompt = (prompt)=>{

@@ -129,0 +129,0 @@ if ('string' == typeof prompt) return {

@@ -334,3 +334,4 @@ "use strict";

if (this.interface.getElementFromPoint && element.center) try {
const [x, y] = element.center;
const x = Math.round(element.center[0] / shrunkShotToLogicalRatio);
const y = Math.round(element.center[1] / shrunkShotToLogicalRatio);
const data = await this.interface.getElementFromPoint({

@@ -340,3 +341,2 @@ x,

});
console.log(data, 'getElementFromPoint data');
element.allPaths = data?.allPaths || [];

@@ -343,0 +343,0 @@ element.containerPaths = data?.containerPaths || [];

@@ -173,3 +173,3 @@ "use strict";

}
const getMidsceneVersion = ()=>"1.7.16";
const getMidsceneVersion = ()=>"1.7.17";
const parsePrompt = (prompt)=>{

@@ -176,0 +176,0 @@ if ('string' == typeof prompt) return {

{
"name": "@godscene/core",
"description": "Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.",
"version": "1.7.17",
"version": "1.7.18",
"repository": "https://github.com/web-infra-dev/midscene",

@@ -100,3 +100,3 @@ "homepage": "https://midscenejs.com/",

"zod": "^3.25.1",
"@godscene/shared": "1.7.17"
"@godscene/shared": "1.7.18"
},

@@ -103,0 +103,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display