ispyx 1.1.0 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ispyx",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Local desktop-control MCP server: lets an AI use your keyboard, mouse and screen (windows, screenshots, clicks, typing, clipboard). stdio only, Windows and macOS.",
5
5
  "type": "module",
6
6
  "main": "src/server.js",
@@ -435,7 +435,9 @@ $("unlockOn").addEventListener("change",function(){
435
435
  var done=function(){busy.unlockOn=false;poll()};
436
436
  if(want){
437
437
  box.checked=false;
438
- ask("Let the AI unlock this PC",[{id:"password",label:"Windows password"}],"Turn on",function(v){return act("setUnlock",{on:true,password:v.password})});
438
+ var fields=[{id:"password",label:"Windows password"}];
439
+ if(last&&last.passwordSet)fields.push({id:"current",label:"Ispyx password"});
440
+ ask("Let the AI unlock this PC",fields,"Turn on",function(v){return act("setUnlock",{on:true,password:v.password,current:v.current})});
439
441
  done();return;
440
442
  }
441
443
  if(last&&last.passwordSet){