dsh-click 0.3.22 → 0.3.23
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/CHANGELOG.md +6 -0
- package/LICENSE +0 -0
- package/README-es.md +3 -1
- package/README-hi.md +3 -1
- package/README-pt.md +3 -1
- package/README-zh.md +3 -1
- package/README.md +0 -0
- package/SECURITY.md +0 -0
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/cordis.patch.yml +0 -0
- package/lib/index.js +1 -1
- package/lib/types/actions.d.ts +0 -0
- package/lib/types/actions.d.ts.map +0 -0
- package/lib/types/config.d.ts +0 -0
- package/lib/types/config.d.ts.map +0 -0
- package/lib/types/events.d.ts +0 -0
- package/lib/types/events.d.ts.map +0 -0
- package/lib/types/index.d.ts +0 -0
- package/lib/types/index.d.ts.map +0 -0
- package/lib/types/observe.d.ts +0 -0
- package/lib/types/observe.d.ts.map +0 -0
- package/lib/types/platform/runner.d.ts +0 -0
- package/lib/types/platform/runner.d.ts.map +0 -0
- package/lib/types/platform/selection.d.ts +0 -0
- package/lib/types/platform/selection.d.ts.map +0 -0
- package/lib/types/platform/types.d.ts +0 -0
- package/lib/types/platform/types.d.ts.map +0 -0
- package/lib/types/sanitize.d.ts +0 -0
- package/lib/types/sanitize.d.ts.map +0 -0
- package/lib/types/tools.d.ts +0 -0
- package/lib/types/tools.d.ts.map +0 -0
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.d.ts.map +0 -0
- package/lib/types/vision/grounding.d.ts +0 -0
- package/lib/types/vision/grounding.d.ts.map +0 -0
- package/lib/types/vision/index.d.ts +0 -0
- package/lib/types/vision/index.d.ts.map +0 -0
- package/lib/types/vision/ocr.d.ts +0 -0
- package/lib/types/vision/ocr.d.ts.map +0 -0
- package/lib/types/vision.d.ts +0 -0
- package/lib/types/vision.d.ts.map +0 -0
- package/native/win32/dsh-click-helper.ps1 +5 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.23] - 2026-10-19
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **`elementId` click/type and every `key` combination on Windows (issue #20).** `Find-ElementByRuntimeId` builds an `Int32[]` and passes it via the `PropertyCondition` constructor; the F-key/digit map uses explicit parentheses around the arithmetic; and the A–Z map iterates `65..90` with string keys, matching `Post-KeyCombo`'s lookup. Three one-line helper defects that made these paths throw before posting input.
|
|
8
|
+
|
|
3
9
|
## [0.3.22] - 2026-10-18
|
|
4
10
|
|
|
5
11
|
### Changed
|
package/LICENSE
CHANGED
|
File without changes
|
package/README-es.md
CHANGED
package/README-hi.md
CHANGED
package/README-pt.md
CHANGED
package/README-zh.md
CHANGED
package/README.md
CHANGED
|
File without changes
|
package/SECURITY.md
CHANGED
|
File without changes
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
File without changes
|
package/cordis.patch.yml
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
@@ -586,7 +586,7 @@ var ObservationStore = class {
|
|
|
586
586
|
* @module dsh-click/version
|
|
587
587
|
*/
|
|
588
588
|
/** Plugin version advertised in the helper-protocol handshake. */
|
|
589
|
-
const VERSION = "0.3.
|
|
589
|
+
const VERSION = "0.3.23";
|
|
590
590
|
/** The helper protocol revision; bump only on incompatible wire changes. */
|
|
591
591
|
const HELPER_PROTOCOL_VERSION = 1;
|
|
592
592
|
//#endregion
|
package/lib/types/actions.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/config.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/events.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/index.d.ts
CHANGED
|
File without changes
|
package/lib/types/index.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/observe.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/types/sanitize.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/tools.d.ts
CHANGED
|
File without changes
|
package/lib/types/tools.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/version.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @module dsh-click/version
|
|
8
8
|
*/
|
|
9
9
|
/** Plugin version advertised in the helper-protocol handshake. */
|
|
10
|
-
export declare const VERSION = "0.3.
|
|
10
|
+
export declare const VERSION = "0.3.23";
|
|
11
11
|
/** The helper protocol revision; bump only on incompatible wire changes. */
|
|
12
12
|
export declare const HELPER_PROTOCOL_VERSION = 1;
|
|
13
13
|
//# sourceMappingURL=version.d.ts.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/types/vision.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -396,7 +396,7 @@ function Find-ElementByRuntimeId($windowElement, $runtimeIdText) {
|
|
|
396
396
|
$ids = @()
|
|
397
397
|
foreach ($part in ($runtimeIdText -split '\.')) { $ids += [int]$part }
|
|
398
398
|
if ($ids.Count -eq 0) { return $null }
|
|
399
|
-
$condition =
|
|
399
|
+
$condition = [System.Windows.Automation.PropertyCondition]::new([System.Windows.Automation.AutomationElement]::RuntimeIdProperty, [int[]]$ids)
|
|
400
400
|
try {
|
|
401
401
|
return $windowElement.FindFirst([System.Windows.Automation.TreeScope]::Descendants, $condition)
|
|
402
402
|
} catch {
|
|
@@ -478,11 +478,10 @@ function Get-KeyMap() {
|
|
|
478
478
|
$map['MENU'] = @(0x12, $false)
|
|
479
479
|
$map['WIN'] = @(0x5B, $false)
|
|
480
480
|
$map['WINDOWS'] = @(0x5B, $false)
|
|
481
|
-
foreach ($n in 1..12) { $map["F$n"] = @(0x6F + $n, $true) }
|
|
482
|
-
foreach ($c in 0..9) { $map["$c"] = @(0x30 + $c, $true) }
|
|
483
|
-
foreach ($
|
|
484
|
-
$
|
|
485
|
-
$map[$c] = @(0x41 + ($code - 65), $true)
|
|
481
|
+
foreach ($n in 1..12) { $map["F$n"] = @((0x6F + $n), $true) }
|
|
482
|
+
foreach ($c in 0..9) { $map["$c"] = @((0x30 + $c), $true) }
|
|
483
|
+
foreach ($code in 65..90) {
|
|
484
|
+
$map[[string][char]$code] = @((0x41 + ($code - 65)), $true)
|
|
486
485
|
}
|
|
487
486
|
return $map
|
|
488
487
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-click",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.23",
|
|
4
4
|
"description": "Cross-platform native desktop control tools for DeepSeek Harness (Windows first): screen_shot, screen_read (accessibility tree + pixel description for text-only models), click/type/scroll/key, and app_list/app_launch — every mutating action gated by approval, never stealing foreground focus, with stale-observation rejection and process-identity checks",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|