@reason-machines/cli-linux-arm64-musl 0.2.366 → 0.2.368

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 (90) hide show
  1. package/bin/ara +1 -1
  2. package/bin/vm-hands/api-credentials-ke2v1y5k.js +2 -0
  3. package/bin/vm-hands/api-ewpnfn05.js +2 -0
  4. package/bin/vm-hands/{ask-relay-ar561trh.js → ask-relay-y5v8wyxy.js} +3 -3
  5. package/bin/vm-hands/connect-cli-nm7at96x.js +2 -0
  6. package/bin/vm-hands/custom-endpoint-device-wmcf39x6.js +2 -0
  7. package/bin/vm-hands/desktop-account-cppm1dhr.js +2 -0
  8. package/bin/vm-hands/{device-workspace-nvcschtn.js → device-workspace-05nkwrpp.js} +1 -1
  9. package/bin/vm-hands/{hands-worker-source-k9k2vj4y.js → hands-worker-source-5wv1djgv.js} +1 -1
  10. package/bin/vm-hands/{index-ae8w22py.js → index-kf4q2kw5.js} +1 -1
  11. package/bin/vm-hands/{install-receipt-4cnygt5g.js → install-receipt-vaytv1sf.js} +1 -1
  12. package/bin/vm-hands/local-automation-v5awrbbd.js +2 -0
  13. package/bin/vm-hands/local-capabilities-wxmrcn9w.js +2 -0
  14. package/bin/vm-hands/local-desktop-users-ejwwkfer.js +2 -0
  15. package/bin/vm-hands/local-display-mac-x0eq4rzq.js +2 -0
  16. package/bin/vm-hands/local-display-session-ezjk5ykh.js +2 -0
  17. package/bin/vm-hands/local-pty-session-pzg7bk32.js +2 -0
  18. package/bin/vm-hands/{managed-runtime-3fkrr7cf.js → managed-runtime-tp3070ba.js} +1 -1
  19. package/bin/vm-hands/{network-contract-wep9fv9j.js → network-contract-zez17y8t.js} +1 -1
  20. package/bin/vm-hands/package-gxv23nam.js +2 -0
  21. package/bin/vm-hands/permissions-bc9v5k73.js +2 -0
  22. package/bin/vm-hands/{reason-hands-protocol-78nr9pzf.js → reason-hands-protocol-dase3v7x.js} +1 -1
  23. package/bin/vm-hands/serve-service-ad0yqe2n.js +2 -0
  24. package/bin/vm-hands/{status-9420cxy5.js → status-gstpmc50.js} +2 -2
  25. package/bin/vm-hands/version-vn3a7967.js +2 -0
  26. package/bin/vm-hands/{vm-hands-entry-lite-es39m2mg.js → vm-hands-entry-lite-1gk31757.js} +2 -2
  27. package/bin/vm-hands/{vm-hands-entry-lite-7wgbj1kg.js → vm-hands-entry-lite-2c88t2at.js} +2 -2
  28. package/bin/vm-hands/{vm-hands-entry-lite-cvft83sx.js → vm-hands-entry-lite-2fyemnas.js} +2 -2
  29. package/bin/vm-hands/{vm-hands-entry-lite-rax2e8y2.js → vm-hands-entry-lite-2w18ysma.js} +1 -1
  30. package/bin/vm-hands/{vm-hands-entry-lite-m2h8vdr0.js → vm-hands-entry-lite-4nkcn8sy.js} +37 -37
  31. package/bin/vm-hands/{vm-hands-entry-lite-d0f4kbc8.js → vm-hands-entry-lite-4s4qrm5m.js} +2 -2
  32. package/bin/vm-hands/{vm-hands-entry-lite-1mrkcz0p.js → vm-hands-entry-lite-5zmn6a7p.js} +1 -1
  33. package/bin/vm-hands/{vm-hands-entry-lite-pby299bv.js → vm-hands-entry-lite-7fx4xtf6.js} +1 -1
  34. package/bin/vm-hands/{vm-hands-entry-lite-vebspwdp.js → vm-hands-entry-lite-8sddhaka.js} +1 -1
  35. package/bin/vm-hands/{vm-hands-entry-lite-m57kpdgb.js → vm-hands-entry-lite-9fr904x2.js} +2 -2
  36. package/bin/vm-hands/{vm-hands-entry-lite-bhgsayph.js → vm-hands-entry-lite-b775ysr4.js} +1 -1
  37. package/bin/vm-hands/{vm-hands-entry-lite-arhbwrn1.js → vm-hands-entry-lite-bt6esncn.js} +1 -1
  38. package/bin/vm-hands/{vm-hands-entry-lite-pd4gdky1.js → vm-hands-entry-lite-d7y6aah1.js} +1 -1
  39. package/bin/vm-hands/{vm-hands-entry-lite-2fpxf6vm.js → vm-hands-entry-lite-db4z7ekz.js} +1 -1
  40. package/bin/vm-hands/{vm-hands-entry-lite-cas0c9qd.js → vm-hands-entry-lite-dm52srp5.js} +2 -2
  41. package/bin/vm-hands/{vm-hands-entry-lite-h6qss80e.js → vm-hands-entry-lite-dq1fdx0j.js} +1 -1
  42. package/bin/vm-hands/{vm-hands-entry-lite-g63y988w.js → vm-hands-entry-lite-e8skq97c.js} +2 -2
  43. package/bin/vm-hands/{vm-hands-entry-lite-8crh75hs.js → vm-hands-entry-lite-ew42tvvz.js} +2 -2
  44. package/bin/vm-hands/{vm-hands-entry-lite-wdsk86sk.js → vm-hands-entry-lite-fp51jz5j.js} +2 -2
  45. package/bin/vm-hands/{vm-hands-entry-lite-01sqtryp.js → vm-hands-entry-lite-g576hpce.js} +1 -1
  46. package/bin/vm-hands/{vm-hands-entry-lite-wry37am5.js → vm-hands-entry-lite-g9rvf5qk.js} +1 -1
  47. package/bin/vm-hands/{vm-hands-entry-lite-jd49j573.js → vm-hands-entry-lite-gzyps3ev.js} +2 -2
  48. package/bin/vm-hands/{vm-hands-entry-lite-wej1p1ry.js → vm-hands-entry-lite-hh24bq0d.js} +1 -1
  49. package/bin/vm-hands/{vm-hands-entry-lite-saqwe5sm.js → vm-hands-entry-lite-kxajkxmr.js} +2 -2
  50. package/bin/vm-hands/{vm-hands-entry-lite-gxjxx1r2.js → vm-hands-entry-lite-mcv6pse6.js} +1 -1
  51. package/bin/vm-hands/{vm-hands-entry-lite-y9mpztzd.js → vm-hands-entry-lite-me398z5a.js} +2 -2
  52. package/bin/vm-hands/{vm-hands-entry-lite-630eqwb4.js → vm-hands-entry-lite-ngytzkx1.js} +2 -2
  53. package/bin/vm-hands/{vm-hands-entry-lite-ay6sk3xm.js → vm-hands-entry-lite-nhfd61cx.js} +1 -1
  54. package/bin/vm-hands/{vm-hands-entry-lite-pcavxb2v.js → vm-hands-entry-lite-pasmdmkj.js} +2 -2
  55. package/bin/vm-hands/{vm-hands-entry-lite-cvc79v3m.js → vm-hands-entry-lite-pt633d84.js} +1 -1
  56. package/bin/vm-hands/vm-hands-entry-lite-q9gjfqev.js +52 -0
  57. package/bin/vm-hands/{vm-hands-entry-lite-f4gvypnx.js → vm-hands-entry-lite-rjwk6sfj.js} +1 -1
  58. package/bin/vm-hands/{vm-hands-entry-lite-gs8cpdfw.js → vm-hands-entry-lite-s65swswr.js} +2 -2
  59. package/bin/vm-hands/{vm-hands-entry-lite-qxnzwjrp.js → vm-hands-entry-lite-sfsgeynk.js} +1 -1
  60. package/bin/vm-hands/{vm-hands-entry-lite-p7hxm3hc.js → vm-hands-entry-lite-vygp7vq8.js} +2 -2
  61. package/bin/vm-hands/{vm-hands-entry-lite-7jhh57qs.js → vm-hands-entry-lite-w4swepp1.js} +2 -2
  62. package/bin/vm-hands/{vm-hands-entry-lite-zam0fx58.js → vm-hands-entry-lite-w81kt3sf.js} +1 -1
  63. package/bin/vm-hands/{vm-hands-entry-lite-8a1zycjh.js → vm-hands-entry-lite-x9pmwqjd.js} +2 -2
  64. package/bin/vm-hands/{vm-hands-entry-lite-p24kmysw.js → vm-hands-entry-lite-y3wncwjd.js} +1 -1
  65. package/bin/vm-hands/{vm-hands-entry-lite-pk2xd13q.js → vm-hands-entry-lite-y9wkxydj.js} +2 -2
  66. package/bin/vm-hands/{vm-hands-entry-lite-hzsk6tpw.js → vm-hands-entry-lite-zmf1terc.js} +2 -2
  67. package/bin/vm-hands/vm-hands-entry-lite.js +1 -1
  68. package/bin/vm-hands/{vm-hands-executor-3h6qvnbd.js → vm-hands-executor-n24f7xm4.js} +1 -1
  69. package/bin/vm-hands/vm-hands-op-runner-gep65pf2.js +2 -0
  70. package/bin/vm-hands/{vm-hands-runtime-n31ghckd.js → vm-hands-runtime-9y7gd6hx.js} +3 -3
  71. package/bin/vm-hands/worker-sandbox-e4kvy715.js +2 -0
  72. package/package.json +1 -1
  73. package/bin/vm-hands/api-13266c99.js +0 -2
  74. package/bin/vm-hands/api-credentials-q6vq26w0.js +0 -2
  75. package/bin/vm-hands/connect-cli-gjf47h7z.js +0 -2
  76. package/bin/vm-hands/custom-endpoint-device-m1kn3rkk.js +0 -2
  77. package/bin/vm-hands/desktop-account-vfbchnax.js +0 -2
  78. package/bin/vm-hands/local-automation-0j57c21p.js +0 -2
  79. package/bin/vm-hands/local-capabilities-6pqbn5wm.js +0 -2
  80. package/bin/vm-hands/local-desktop-users-nwyzyc05.js +0 -2
  81. package/bin/vm-hands/local-display-mac-ewqyyxk5.js +0 -2
  82. package/bin/vm-hands/local-display-session-a3rr41av.js +0 -2
  83. package/bin/vm-hands/local-pty-session-8k64gfn8.js +0 -2
  84. package/bin/vm-hands/package-pfdm6awy.js +0 -2
  85. package/bin/vm-hands/permissions-d87nq1as.js +0 -2
  86. package/bin/vm-hands/serve-service-tzdt63z3.js +0 -2
  87. package/bin/vm-hands/version-ss8wa2cx.js +0 -2
  88. package/bin/vm-hands/vm-hands-entry-lite-1k23f7ja.js +0 -37
  89. package/bin/vm-hands/vm-hands-op-runner-awbk4j07.js +0 -2
  90. package/bin/vm-hands/worker-sandbox-72e3y7bk.js +0 -2
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Yj as M}from"./vm-hands-entry-lite-p24kmysw.js";import{ck as G}from"./vm-hands-entry-lite-pby299bv.js";import{readdirSync as D,readFileSync as I}from"fs";import{userInfo as A}from"os";var O="--vm-hands-op-runner-kind=person";function x(q){let Q=new Set([q]),K=[];try{K=D("/proc")}catch{}for(let z of K){if(!/^\d+$/.test(z))continue;try{let X=I(`/proc/${z}/stat`,"utf8");if(Number(X.slice(X.lastIndexOf(")")+2).split(" ")[3])===q)Q.add(Number(z))}catch{}}for(let z of Q)try{process.kill(z,"SIGKILL")}catch{}}var C=(q)=>{let Q=globalThis.Bun;if(!Q)throw new M("pty_unavailable","Reason terminals require the Bun runtime.");let K=Q.spawn({cmd:[q.shell,...q.args],cwd:q.cwd,env:{...q.environment,TERM:"xterm-256color"},terminal:{cols:q.cols,rows:q.rows,data:(J,Y)=>q.onData(Y)}}),z=K.terminal,X=()=>{x(K.pid);try{z?.close()}catch{}};if(!z)throw X(),new M("pty_unavailable","Reason could not allocate a pseudo-terminal.");return{write:(J)=>z.write(J),resize:(J,Y)=>z.resize(J,Y),kill:X,exited:K.exited.then((J)=>typeof J==="number"?J:null,()=>null)}};function L(){let q=(()=>{try{return A().username}catch{return}})();return{PATH:process.env.PATH,HOME:process.env.HOME,SHELL:process.env.SHELL,LANG:"C.UTF-8",...q?{USER:q,LOGNAME:q}:{}}}async function P(){let[{executeLocalOperation:q,spawnCaptured:Q},{runLocalPtySession:K},{configureDesktopAccount:z},{configureWorkerSandbox:X}]=await Promise.all([import("./local-capabilities-6pqbn5wm.js"),import("./local-pty-session-8k64gfn8.js"),import("./desktop-account-vfbchnax.js"),import("./worker-sandbox-72e3y7bk.js")]);X();let T=process.argv.includes(O),J=($,j,F)=>Q($,j[0]==="-lic"?["-lc",...j.slice(1)]:j,F),Y=(process.geteuid?.()??0)!==0,H=new Map,Z=($)=>{try{process.send?.($)}catch{}};process.on("message",($)=>{let j=$;if(j?.t==="cancel"){H.get(j.id)?.abort();return}if(j?.t!=="op")return;if(!Y){Z({t:"done",id:j.id,completion:{status:"failed",error_code:"vm_hands_payload_account_unavailable"}});return}let F=j.claim.capability;if(F==="pty.start"&&!T){Z({t:"done",id:j.id,completion:{status:"failed",error_code:"capability_not_granted"}});return}let U=new AbortController;H.set(j.id,U);let V=F==="pty.start"?{runPtySession:(B)=>K(B,{spawnPty:C,environment:L(),loadProxy:()=>null})}:{worker:j.worker,...F==="exec.full"?{spawnFullControl:J}:{}};q(j.state,j.claim,{...V,signal:U.signal,emit:(B)=>{let{deliverySignal:N,...W}=B;Z({t:"event",id:j.id,event:W})}}).then((B)=>Z({t:"done",id:j.id,completion:B}),(B)=>Z({t:"done",id:j.id,completion:{status:"failed",error_code:B&&typeof B==="object"&&"code"in B&&typeof B.code==="string"?B.code:"vm_hands_op_failed"}})).finally(()=>H.delete(j.id))}),process.on("disconnect",()=>process.exit(0)),await new Promise(()=>{})}
2
+ import{$j as M}from"./vm-hands-entry-lite-y3wncwjd.js";import{fk as G}from"./vm-hands-entry-lite-7fx4xtf6.js";import{readdirSync as D,readFileSync as I}from"fs";import{userInfo as A}from"os";var O="--vm-hands-op-runner-kind=person";function x(q){let Q=new Set([q]),K=[];try{K=D("/proc")}catch{}for(let z of K){if(!/^\d+$/.test(z))continue;try{let X=I(`/proc/${z}/stat`,"utf8");if(Number(X.slice(X.lastIndexOf(")")+2).split(" ")[3])===q)Q.add(Number(z))}catch{}}for(let z of Q)try{process.kill(z,"SIGKILL")}catch{}}var C=(q)=>{let Q=globalThis.Bun;if(!Q)throw new M("pty_unavailable","Reason terminals require the Bun runtime.");let K=Q.spawn({cmd:[q.shell,...q.args],cwd:q.cwd,env:{...q.environment,TERM:"xterm-256color"},terminal:{cols:q.cols,rows:q.rows,data:(J,Y)=>q.onData(Y)}}),z=K.terminal,X=()=>{x(K.pid);try{z?.close()}catch{}};if(!z)throw X(),new M("pty_unavailable","Reason could not allocate a pseudo-terminal.");return{write:(J)=>z.write(J),resize:(J,Y)=>z.resize(J,Y),kill:X,exited:K.exited.then((J)=>typeof J==="number"?J:null,()=>null)}};function L(){let q=(()=>{try{return A().username}catch{return}})();return{PATH:process.env.PATH,HOME:process.env.HOME,SHELL:process.env.SHELL,LANG:"C.UTF-8",...q?{USER:q,LOGNAME:q}:{}}}async function P(){let[{executeLocalOperation:q,spawnCaptured:Q},{runLocalPtySession:K},{configureDesktopAccount:z},{configureWorkerSandbox:X}]=await Promise.all([import("./local-capabilities-wxmrcn9w.js"),import("./local-pty-session-pzg7bk32.js"),import("./desktop-account-cppm1dhr.js"),import("./worker-sandbox-e4kvy715.js")]);X();let T=process.argv.includes(O),J=($,j,F)=>Q($,j[0]==="-lic"?["-lc",...j.slice(1)]:j,F),Y=(process.geteuid?.()??0)!==0,H=new Map,Z=($)=>{try{process.send?.($)}catch{}};process.on("message",($)=>{let j=$;if(j?.t==="cancel"){H.get(j.id)?.abort();return}if(j?.t!=="op")return;if(!Y){Z({t:"done",id:j.id,completion:{status:"failed",error_code:"vm_hands_payload_account_unavailable"}});return}let F=j.claim.capability;if(F==="pty.start"&&!T){Z({t:"done",id:j.id,completion:{status:"failed",error_code:"capability_not_granted"}});return}let U=new AbortController;H.set(j.id,U);let V=F==="pty.start"?{runPtySession:(B)=>K(B,{spawnPty:C,environment:L(),loadProxy:()=>null})}:{worker:j.worker,...F==="exec.full"?{spawnFullControl:J}:{}};q(j.state,j.claim,{...V,signal:U.signal,emit:(B)=>{let{deliverySignal:N,...W}=B;Z({t:"event",id:j.id,event:W})}}).then((B)=>Z({t:"done",id:j.id,completion:B}),(B)=>Z({t:"done",id:j.id,completion:{status:"failed",error_code:B&&typeof B==="object"&&"code"in B&&typeof B.code==="string"?B.code:"vm_hands_op_failed"}})).finally(()=>H.delete(j.id))}),process.on("disconnect",()=>process.exit(0)),await new Promise(()=>{})}
3
3
  export{O as s,C as t,P as u};