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.
Files changed (43) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE +0 -0
  3. package/README-es.md +3 -1
  4. package/README-hi.md +3 -1
  5. package/README-pt.md +3 -1
  6. package/README-zh.md +3 -1
  7. package/README.md +0 -0
  8. package/SECURITY.md +0 -0
  9. package/THIRD_PARTY_NOTICES.md +0 -0
  10. package/cordis.patch.yml +0 -0
  11. package/lib/index.js +1 -1
  12. package/lib/types/actions.d.ts +0 -0
  13. package/lib/types/actions.d.ts.map +0 -0
  14. package/lib/types/config.d.ts +0 -0
  15. package/lib/types/config.d.ts.map +0 -0
  16. package/lib/types/events.d.ts +0 -0
  17. package/lib/types/events.d.ts.map +0 -0
  18. package/lib/types/index.d.ts +0 -0
  19. package/lib/types/index.d.ts.map +0 -0
  20. package/lib/types/observe.d.ts +0 -0
  21. package/lib/types/observe.d.ts.map +0 -0
  22. package/lib/types/platform/runner.d.ts +0 -0
  23. package/lib/types/platform/runner.d.ts.map +0 -0
  24. package/lib/types/platform/selection.d.ts +0 -0
  25. package/lib/types/platform/selection.d.ts.map +0 -0
  26. package/lib/types/platform/types.d.ts +0 -0
  27. package/lib/types/platform/types.d.ts.map +0 -0
  28. package/lib/types/sanitize.d.ts +0 -0
  29. package/lib/types/sanitize.d.ts.map +0 -0
  30. package/lib/types/tools.d.ts +0 -0
  31. package/lib/types/tools.d.ts.map +0 -0
  32. package/lib/types/version.d.ts +1 -1
  33. package/lib/types/version.d.ts.map +0 -0
  34. package/lib/types/vision/grounding.d.ts +0 -0
  35. package/lib/types/vision/grounding.d.ts.map +0 -0
  36. package/lib/types/vision/index.d.ts +0 -0
  37. package/lib/types/vision/index.d.ts.map +0 -0
  38. package/lib/types/vision/ocr.d.ts +0 -0
  39. package/lib/types/vision/ocr.d.ts.map +0 -0
  40. package/lib/types/vision.d.ts +0 -0
  41. package/lib/types/vision.d.ts.map +0 -0
  42. package/native/win32/dsh-click-helper.ps1 +5 -6
  43. 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
@@ -319,7 +319,9 @@ Este proyecto es uno de los **87 plugins activamente mantenidos** de DeepSeek Ha
319
319
 
320
320
  </details>
321
321
 
322
- </details>## License
322
+ </details>
323
+
324
+ ## License
323
325
 
324
326
  [Apache License 2.0](LICENSE) © 2026 dsh-click contributors
325
327
 
package/README-hi.md CHANGED
@@ -319,7 +319,9 @@ pnpm pack # प्रकाशित tarball
319
319
 
320
320
  </details>
321
321
 
322
- </details>## License
322
+ </details>
323
+
324
+ ## License
323
325
 
324
326
  [Apache License 2.0](LICENSE) © 2026 dsh-click contributors
325
327
 
package/README-pt.md CHANGED
@@ -319,7 +319,9 @@ Este projeto é um dos **87 plugins ativamente mantidos** do DeepSeek Harness da
319
319
 
320
320
  </details>
321
321
 
322
- </details>## License
322
+ </details>
323
+
324
+ ## License
323
325
 
324
326
  [Apache License 2.0](LICENSE) © 2026 dsh-click contributors
325
327
 
package/README-zh.md CHANGED
@@ -319,7 +319,9 @@ pnpm pack # 发布用 tarball
319
319
 
320
320
  </details>
321
321
 
322
- </details>## License
322
+ </details>
323
+
324
+ ## License
323
325
 
324
326
  [Apache License 2.0](LICENSE) © 2026 dsh-click contributors
325
327
 
package/README.md CHANGED
File without changes
package/SECURITY.md CHANGED
File without changes
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.22";
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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.22";
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
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 = New-Object System.Windows.Automation.PropertyCondition([System.Windows.Automation.AutomationElement]::RuntimeIdProperty, $ids)
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 ($c in 'A'..'Z') {
484
- $code = [int][char]$c
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.22",
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",