@midscene/core 0.6.0 → 0.6.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.
@@ -4396,7 +4396,7 @@ Please return the result in JSON format as follows:
4396
4396
  {
4397
4397
  "reason": "PLACEHOLDER", // The thought process for finding the element, replace PLACEHOLDER with your thought process
4398
4398
  "text": "PLACEHOLDER", // Replace PLACEHOLDER with the text of elementInfo, if none, leave empty
4399
- "id": "PLACEHOLDER" // Replace PLACEHOLDER with the ID of elementInfo, important: use id not indexId
4399
+ "id": "PLACEHOLDER" // Replace PLACEHOLDER with the ID of elementInfo, **use id not indexId**
4400
4400
  }
4401
4401
  // More elements...
4402
4402
  ],
@@ -4485,7 +4485,7 @@ Output Example:
4485
4485
  // Describe the reason for finding this element, replace with actual value in practice
4486
4486
  "reason": "Reason for finding element 4: It is located in the upper right corner, is an image type, and according to the screenshot, it is a shopping cart icon button",
4487
4487
  "text": "",
4488
- // ID(hashID) of this element, replace with actual value in practice, important: use id not indexId
4488
+ // ID(**use id not indexId**) of this element, replace with actual value in practice, **use id not indexId**
4489
4489
  "id": "wefew2222few2"
4490
4490
  }
4491
4491
  ],
package/dist/es/index.js CHANGED
@@ -4561,7 +4561,7 @@ Please return the result in JSON format as follows:
4561
4561
  {
4562
4562
  "reason": "PLACEHOLDER", // The thought process for finding the element, replace PLACEHOLDER with your thought process
4563
4563
  "text": "PLACEHOLDER", // Replace PLACEHOLDER with the text of elementInfo, if none, leave empty
4564
- "id": "PLACEHOLDER" // Replace PLACEHOLDER with the ID of elementInfo, important: use id not indexId
4564
+ "id": "PLACEHOLDER" // Replace PLACEHOLDER with the ID of elementInfo, **use id not indexId**
4565
4565
  }
4566
4566
  // More elements...
4567
4567
  ],
@@ -4650,7 +4650,7 @@ Output Example:
4650
4650
  // Describe the reason for finding this element, replace with actual value in practice
4651
4651
  "reason": "Reason for finding element 4: It is located in the upper right corner, is an image type, and according to the screenshot, it is a shopping cart icon button",
4652
4652
  "text": "",
4653
- // ID(hashID) of this element, replace with actual value in practice, important: use id not indexId
4653
+ // ID(**use id not indexId**) of this element, replace with actual value in practice, **use id not indexId**
4654
4654
  "id": "wefew2222few2"
4655
4655
  }
4656
4656
  ],
@@ -4416,7 +4416,7 @@ Please return the result in JSON format as follows:
4416
4416
  {
4417
4417
  "reason": "PLACEHOLDER", // The thought process for finding the element, replace PLACEHOLDER with your thought process
4418
4418
  "text": "PLACEHOLDER", // Replace PLACEHOLDER with the text of elementInfo, if none, leave empty
4419
- "id": "PLACEHOLDER" // Replace PLACEHOLDER with the ID of elementInfo, important: use id not indexId
4419
+ "id": "PLACEHOLDER" // Replace PLACEHOLDER with the ID of elementInfo, **use id not indexId**
4420
4420
  }
4421
4421
  // More elements...
4422
4422
  ],
@@ -4505,7 +4505,7 @@ Output Example:
4505
4505
  // Describe the reason for finding this element, replace with actual value in practice
4506
4506
  "reason": "Reason for finding element 4: It is located in the upper right corner, is an image type, and according to the screenshot, it is a shopping cart icon button",
4507
4507
  "text": "",
4508
- // ID(hashID) of this element, replace with actual value in practice, important: use id not indexId
4508
+ // ID(**use id not indexId**) of this element, replace with actual value in practice, **use id not indexId**
4509
4509
  "id": "wefew2222few2"
4510
4510
  }
4511
4511
  ],
package/dist/lib/index.js CHANGED
@@ -4583,7 +4583,7 @@ Please return the result in JSON format as follows:
4583
4583
  {
4584
4584
  "reason": "PLACEHOLDER", // The thought process for finding the element, replace PLACEHOLDER with your thought process
4585
4585
  "text": "PLACEHOLDER", // Replace PLACEHOLDER with the text of elementInfo, if none, leave empty
4586
- "id": "PLACEHOLDER" // Replace PLACEHOLDER with the ID of elementInfo, important: use id not indexId
4586
+ "id": "PLACEHOLDER" // Replace PLACEHOLDER with the ID of elementInfo, **use id not indexId**
4587
4587
  }
4588
4588
  // More elements...
4589
4589
  ],
@@ -4672,7 +4672,7 @@ Output Example:
4672
4672
  // Describe the reason for finding this element, replace with actual value in practice
4673
4673
  "reason": "Reason for finding element 4: It is located in the upper right corner, is an image type, and according to the screenshot, it is a shopping cart icon button",
4674
4674
  "text": "",
4675
- // ID(hashID) of this element, replace with actual value in practice, important: use id not indexId
4675
+ // ID(**use id not indexId**) of this element, replace with actual value in practice, **use id not indexId**
4676
4676
  "id": "wefew2222few2"
4677
4677
  }
4678
4678
  ],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midscene/core",
3
3
  "description": "An AI-powered automation SDK can control the page, perform assertions, and extract data in JSON format using natural language. See https://midscenejs.com/ for details.",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "jsnext:source": "./src/index.ts",
6
6
  "type": "commonjs",
7
7
  "main": "./dist/lib/index.js",
@@ -38,7 +38,7 @@
38
38
  "node-fetch": "2.6.7",
39
39
  "openai": "4.57.1",
40
40
  "optional": "0.1.4",
41
- "@midscene/shared": "0.6.0"
41
+ "@midscene/shared": "0.6.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@modern-js/module-tools": "2.58.2",