@reason-machines/cli-linux-x64 0.2.545 → 0.2.546

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 (40) hide show
  1. package/THIRD_PARTY_NOTICES.txt +1 -1
  2. package/bin/reason +2 -2
  3. package/bin/vm-hands/{api-credentials-ka0tgvfr.js → api-credentials-w39nngra.js} +1 -1
  4. package/bin/vm-hands/{api-vct1jx91.js → api-xqhq9qa6.js} +1 -1
  5. package/bin/vm-hands/{connect-cli-6pa06bp4.js → connect-cli-kd75beq1.js} +1 -1
  6. package/bin/vm-hands/{index-gmsadq51.js → index-j6wffzfd.js} +1 -1
  7. package/bin/vm-hands/{local-automation-nfmdd0bj.js → local-automation-h6jy66ye.js} +1 -1
  8. package/bin/vm-hands/{local-capabilities-9qs476nx.js → local-capabilities-qtn9e3f5.js} +1 -1
  9. package/bin/vm-hands/{local-display-session-v6se296d.js → local-display-session-cctk5s81.js} +1 -1
  10. package/bin/vm-hands/local-display-video-3bet6r0f.js +2 -0
  11. package/bin/vm-hands/{local-managed-process-j6dxwzsg.js → local-managed-process-4gadyph2.js} +1 -1
  12. package/bin/vm-hands/{managed-runtime-g5ypgdzd.js → managed-runtime-pr1xna3s.js} +1 -1
  13. package/bin/vm-hands/{permissions-nes7hvyb.js → permissions-ffds523a.js} +1 -1
  14. package/bin/vm-hands/{serve-service-kr5ggkqy.js → serve-service-vffzncvp.js} +1 -1
  15. package/bin/vm-hands/{status-gkdk2phq.js → status-8s5aa8vs.js} +1 -1
  16. package/bin/vm-hands/version-6jz0n3q3.js +2 -0
  17. package/bin/vm-hands/{vm-hands-entry-lite-p4z0dgch.js → vm-hands-entry-lite-0f09pnnf.js} +1 -1
  18. package/bin/vm-hands/{vm-hands-entry-lite-mbv4mqha.js → vm-hands-entry-lite-2z7ty7pp.js} +1 -1
  19. package/bin/vm-hands/{vm-hands-entry-lite-tpjqd8qx.js → vm-hands-entry-lite-6dnqpca0.js} +1 -1
  20. package/bin/vm-hands/{vm-hands-entry-lite-8jcb5jqm.js → vm-hands-entry-lite-876n7c0b.js} +2 -2
  21. package/bin/vm-hands/{vm-hands-entry-lite-eragp1xm.js → vm-hands-entry-lite-8rr1sxz8.js} +1 -1
  22. package/bin/vm-hands/{vm-hands-entry-lite-sxs29kff.js → vm-hands-entry-lite-9nb0ttep.js} +1 -1
  23. package/bin/vm-hands/{vm-hands-entry-lite-1b3x8f9z.js → vm-hands-entry-lite-ag3qma88.js} +1 -1
  24. package/bin/vm-hands/{vm-hands-entry-lite-pfqj73fy.js → vm-hands-entry-lite-ds6gxhdv.js} +1 -1
  25. package/bin/vm-hands/{vm-hands-entry-lite-ax1rvy38.js → vm-hands-entry-lite-eksjkb45.js} +1 -1
  26. package/bin/vm-hands/vm-hands-entry-lite-fs0dazna.js +2 -0
  27. package/bin/vm-hands/{vm-hands-entry-lite-gz65ybc2.js → vm-hands-entry-lite-jnkr6nzb.js} +1 -1
  28. package/bin/vm-hands/{vm-hands-entry-lite-x7w4n87s.js → vm-hands-entry-lite-rp1jq12t.js} +1 -1
  29. package/bin/vm-hands/{vm-hands-entry-lite-kng982rg.js → vm-hands-entry-lite-rxcd4j9r.js} +1 -1
  30. package/bin/vm-hands/{vm-hands-entry-lite-9r9tfka9.js → vm-hands-entry-lite-s2b4msj3.js} +1 -1
  31. package/bin/vm-hands/{vm-hands-entry-lite-8x8940ky.js → vm-hands-entry-lite-vf977s02.js} +1 -1
  32. package/bin/vm-hands/{vm-hands-entry-lite-wb4fppse.js → vm-hands-entry-lite-w3fka72a.js} +1 -1
  33. package/bin/vm-hands/vm-hands-entry-lite.js +1 -1
  34. package/bin/vm-hands/{vm-hands-executor-x1dympcw.js → vm-hands-executor-08np1gak.js} +1 -1
  35. package/bin/vm-hands/{vm-hands-op-runner-az83nsye.js → vm-hands-op-runner-d4atrwdm.js} +1 -1
  36. package/bin/vm-hands/{vm-hands-runtime-wfp8q87s.js → vm-hands-runtime-e3k8ttr9.js} +3 -3
  37. package/package.json +1 -1
  38. package/bin/vm-hands/local-display-video-s2447446.js +0 -2
  39. package/bin/vm-hands/version-qtakrr9g.js +0 -2
  40. package/bin/vm-hands/vm-hands-entry-lite-r34f55z4.js +0 -2
@@ -542,7 +542,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
542
542
 
543
543
  ----------------------------------------
544
544
 
545
- electron@44.9.0
545
+ electron@44.9.1
546
546
  LICENSE
547
547
  Copyright (c) Electron contributors
548
548
  Copyright (c) 2013-2020 GitHub Inc.
package/bin/reason CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/reason
3
- size: 90289632 bytes
4
- sha256: 9d119d0abd1de8bb1103be6e9a9097f2b127c5f85c599e8722db617eb877f0a2
3
+ size: 90285536 bytes
4
+ sha256: ac197c26b74427204dde41d50783dbdf10219ef8709c2033ab6c0be020c295a1
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{zi,es,ts,As}from"./vm-hands-entry-lite-tpjqd8qx.js";import"./vm-hands-entry-lite-sxs29kff.js";import"./vm-hands-entry-lite-04x5xjt6.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{zi as apiOriginFromEnvironment,ts as environmentApiKey,es as explicitApiOrigin,As as resolveApiCredentials};
2
+ import{zi,es,ts,As}from"./vm-hands-entry-lite-6dnqpca0.js";import"./vm-hands-entry-lite-9nb0ttep.js";import"./vm-hands-entry-lite-04x5xjt6.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{zi as apiOriginFromEnvironment,ts as environmentApiKey,es as explicitApiOrigin,As as resolveApiCredentials};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{D,Ps,rs}from"./vm-hands-entry-lite-sxs29kff.js";import"./vm-hands-entry-lite-04x5xjt6.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{D as ApiError,rs as ReasonApi,Ps as createMachineEnrollmentTicketWithToken};
2
+ import{D,Ps,rs}from"./vm-hands-entry-lite-9nb0ttep.js";import"./vm-hands-entry-lite-04x5xjt6.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{D as ApiError,rs as ReasonApi,Ps as createMachineEnrollmentTicketWithToken};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{it,Ss,Es,xs}from"./vm-hands-entry-lite-eragp1xm.js";import"./vm-hands-entry-lite-y5hv1gjv.js";import"./vm-hands-entry-lite-13s0mfpr.js";import"./vm-hands-entry-lite-tpjqd8qx.js";import"./vm-hands-entry-lite-sxs29kff.js";import"./vm-hands-entry-lite-04x5xjt6.js";import"./vm-hands-entry-lite-pfqj73fy.js";import"./vm-hands-entry-lite-p4z0dgch.js";import"./vm-hands-entry-lite-9azmqs47.js";import"./vm-hands-entry-lite-8x8940ky.js";import"./vm-hands-entry-lite-8jcb5jqm.js";import"./vm-hands-entry-lite-5tnma5qb.js";import"./vm-hands-entry-lite-4r1yn35v.js";import"./vm-hands-entry-lite-2hfrcr50.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import"./vm-hands-entry-lite-x7w4n87s.js";import"./vm-hands-entry-lite-mbv4mqha.js";import"./vm-hands-entry-lite-gz65ybc2.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-1b3x8f9z.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-ax1rvy38.js";import"./vm-hands-entry-lite-kng982rg.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{Ss as computerDisconnected,it as connectionDirectory,Es as connectionReport,xs as restartConnection};
2
+ import{it,Ss,Es,xs}from"./vm-hands-entry-lite-8rr1sxz8.js";import"./vm-hands-entry-lite-y5hv1gjv.js";import"./vm-hands-entry-lite-13s0mfpr.js";import"./vm-hands-entry-lite-6dnqpca0.js";import"./vm-hands-entry-lite-9nb0ttep.js";import"./vm-hands-entry-lite-04x5xjt6.js";import"./vm-hands-entry-lite-ds6gxhdv.js";import"./vm-hands-entry-lite-0f09pnnf.js";import"./vm-hands-entry-lite-9azmqs47.js";import"./vm-hands-entry-lite-vf977s02.js";import"./vm-hands-entry-lite-876n7c0b.js";import"./vm-hands-entry-lite-5tnma5qb.js";import"./vm-hands-entry-lite-4r1yn35v.js";import"./vm-hands-entry-lite-2hfrcr50.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import"./vm-hands-entry-lite-rp1jq12t.js";import"./vm-hands-entry-lite-2z7ty7pp.js";import"./vm-hands-entry-lite-jnkr6nzb.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-ag3qma88.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-eksjkb45.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{Ss as computerDisconnected,it as connectionDirectory,Es as connectionReport,xs as restartConnection};
@@ -406,7 +406,7 @@ content-type/index.js:
406
406
  * Copyright(c) 2015 Douglas Christopher Wilson
407
407
  * MIT Licensed
408
408
  *)
409
- */});var cy=he(function(CB,gI){gI.exports={comment:"Do not edit this file, use utils/roll_browser.js",browsers:[{name:"chromium",revision:"1223",installByDefault:!0,browserVersion:"148.0.7778.96",title:"Chrome for Testing"},{name:"chromium-headless-shell",revision:"1223",installByDefault:!0,browserVersion:"148.0.7778.96",title:"Chrome Headless Shell"},{name:"chromium-tip-of-tree",revision:"1427",installByDefault:!1,browserVersion:"149.0.7827.0",title:"Chrome Canary for Testing"},{name:"chromium-tip-of-tree-headless-shell",revision:"1427",installByDefault:!1,browserVersion:"149.0.7827.0",title:"Chrome Canary Headless Shell"},{name:"firefox",revision:"1522",installByDefault:!0,browserVersion:"150.0.2",title:"Firefox"},{name:"firefox-beta",revision:"1512",installByDefault:!1,browserVersion:"151.0b5",title:"Firefox Beta"},{name:"webkit",revision:"2287",installByDefault:!0,revisionOverrides:{mac14:"2251","mac14-arm64":"2251","debian11-x64":"2105","debian11-arm64":"2105","ubuntu20.04-x64":"2092","ubuntu20.04-arm64":"2092"},browserVersion:"26.4",title:"WebKit"},{name:"ffmpeg",revision:"1011",installByDefault:!0,revisionOverrides:{mac12:"1010","mac12-arm64":"1010"}},{name:"winldd",revision:"1007",installByDefault:!1},{name:"android",revision:"1001",installByDefault:!1}]}});var dy=he(function(kB,uy){uy.exports={}});var py=he(function(TB,hy){hy.exports={}});var gy=he(function(AB,my){var __dirname="/Users/runner/work/monorepo/monorepo/production/node_modules/.bun/electron@44.9.0/node_modules/electron",{spawnSync:_I}=e("child_process"),Pl=e("fs"),Ls=e("path"),Xh=Ls.join(__dirname,"path.txt");function fy(){if(console.log("Downloading Electron binary..."),_I(process.execPath,[Ls.join(__dirname,"install.js")],{stdio:"inherit"}).status!==0)throw Error('Electron failed to install correctly. Please delete `node_modules/electron` and run "npx install-electron --no" manually.')}function vI(){let t;if(Pl.existsSync(Xh))t=Pl.readFileSync(Xh,"utf-8");if(process.env.ELECTRON_OVERRIDE_DIST_PATH)return Ls.join(process.env.ELECTRON_OVERRIDE_DIST_PATH,t||"electron");if(t){let r=Ls.join(__dirname,"dist",t);if(!Pl.existsSync(r))fy();return r}else{try{fy()}catch{throw Error('Electron failed to install correctly. Please delete `node_modules/electron` and run "npx install-electron --no" manually.')}return t=Pl.readFileSync(Xh,"utf-8"),Ls.join(__dirname,"dist",t)}}my.exports=vI()});var _y=he(function(exports,module){var{create:__create,defineProperty:__defProp,getOwnPropertyDescriptor:__getOwnPropDesc,getOwnPropertyNames:__getOwnPropNames,getPrototypeOf:__getProtoOf}=Object,__hasOwnProp=Object.prototype.hasOwnProperty,__esm=(t,r)=>function(){return t&&(r=(0,t[__getOwnPropNames(t)[0]])(t=0)),r},__commonJS=(t,r)=>function(){return r||(0,t[__getOwnPropNames(t)[0]])((r={exports:{}}).exports,r),r.exports},__export=(t,r)=>{for(var n in r)__defProp(t,n,{get:r[n],enumerable:!0})},__copyProps=(t,r,n,i)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let s of __getOwnPropNames(r))if(!__hasOwnProp.call(t,s)&&s!==n)__defProp(t,s,{get:()=>r[s],enumerable:!(i=__getOwnPropDesc(r,s))||i.enumerable})}return t},__toESM=(t,r,n)=>(n=t!=null?__create(__getProtoOf(t)):{},__copyProps(r||!t||!t.__esModule?__defProp(n,"default",{value:t,enumerable:!0}):n,t)),__toCommonJS=(t)=>__copyProps(__defProp({},"__esModule",{value:!0}),t);function ariaNodesEqual(t,r){if(t.role!==r.role||t.name!==r.name)return!1;if(!ariaPropsEqual(t,r)||hasPointerCursor(t)!==hasPointerCursor(r))return!1;let n=Object.keys(t.props),i=Object.keys(r.props);return n.length===i.length&&n.every((s)=>t.props[s]===r.props[s])}function hasPointerCursor(t){return t.box.cursor==="pointer"}function ariaPropsEqual(t,r){return t.active===r.active&&t.checked===r.checked&&t.disabled===r.disabled&&t.expanded===r.expanded&&t.selected===r.selected&&t.level===r.level&&t.pressed===r.pressed}function parseAriaSnapshotUnsafe(t,r,n={}){let i=parseAriaSnapshot(t,r,n);if(i.errors.length)throw Error(i.errors[0].message);return i.fragment}function parseAriaSnapshot(t,r,n={}){let i=new t.LineCounter,s={keepSourceTokens:!0,lineCounter:i,...n},o=t.parseDocument(r,s),a=[],l=(p)=>[i.linePos(p[0]),i.linePos(p[1])],c=(p)=>{a.push({message:p.message,range:[i.linePos(p.pos[0]),i.linePos(p.pos[1])]})},u=(p,f)=>{for(let m of f.items){if(m instanceof t.Scalar&&typeof m.value==="string"){let _=KeyParser.parse(m,s,a);if(_)p.children=p.children||[],p.children.push(_);continue}if(m instanceof t.YAMLMap){d(p,m);continue}a.push({message:"Sequence items should be strings or maps",range:l(m.range||f.range)})}},d=(p,f)=>{for(let m of f.items){if(p.children=p.children||[],!(m.key instanceof t.Scalar&&typeof m.key.value==="string")){a.push({message:"Only string keys are supported",range:l(m.key.range||f.range)});continue}let{key:w,value:_}=m;if(w.value==="text"){if(!(_ instanceof t.Scalar&&typeof _.value==="string")){a.push({message:"Text value should be a string",range:l(m.value.range||f.range)});continue}p.children.push({kind:"text",text:textValue(_.value)});continue}if(w.value==="/children"){if(!(_ instanceof t.Scalar&&typeof _.value==="string")||_.value!=="contain"&&_.value!=="equal"&&_.value!=="deep-equal"){a.push({message:'Strict value should be "contain", "equal" or "deep-equal"',range:l(m.value.range||f.range)});continue}p.containerMode=_.value;continue}if(w.value.startsWith("/")){if(!(_ instanceof t.Scalar&&typeof _.value==="string")){a.push({message:"Property value should be a string",range:l(m.value.range||f.range)});continue}p.props=p.props??{},p.props[w.value.slice(1)]=textValue(_.value);continue}let g=KeyParser.parse(w,s,a);if(!g)continue;if(_ instanceof t.Scalar){let E=typeof _.value;if(E!=="string"&&E!=="number"&&E!=="boolean"){a.push({message:"Node value should be a string or a sequence",range:l(m.value.range||f.range)});continue}p.children.push({...g,children:[{kind:"text",text:textValue(String(_.value))}]});continue}if(_ instanceof t.YAMLSeq){p.children.push(g),u(g,_);continue}a.push({message:"Map values should be strings or sequences",range:l(m.value.range||f.range)})}},h={kind:"role",role:"fragment"};if(o.errors.forEach(c),a.length)return{errors:a,fragment:h};if(!(o.contents instanceof t.YAMLSeq))a.push({message:'Aria snapshot must be a YAML sequence, elements starting with " -"',range:o.contents?l(o.contents.range):[{line:0,col:0},{line:0,col:0}]});if(a.length)return{errors:a,fragment:h};if(u(h,o.contents),a.length)return{errors:a,fragment:emptyFragment};if(h.children?.length===1&&(!h.containerMode||h.containerMode==="contain"))return{fragment:h.children[0],errors:[]};return{fragment:h,errors:[]}}function normalizeWhitespace(t){return t.replace(/[\u200b\u00ad]/g,"").replace(/[\r\n\s\t]+/g," ").trim()}function textValue(t){return{raw:t,normalized:normalizeWhitespace(t)}}function findNewNode(t,r){function n(a,l,c){let u=1,d=c+u;for(let h of a.children||[])if(typeof h==="string")u++,d++;else u+=n(h,l,d),d+=u;if(!["none","presentation","fragment","iframe","generic"].includes(a.role)&&a.name){let h=l.get(a.role);if(!h)h=new Map,l.set(a.role,h);let p=h.get(a.name),f=u*100-c;if(!p||p.sizeAndPosition<f)h.set(a.name,{node:a,sizeAndPosition:f})}return u}let i=new Map;if(t)n(t,i,0);let s=new Map;n(r,s,0);let o=[];for(let[a,l]of s)for(let[c,u]of l)if(!i.get(a)?.get(c))o.push(u);return o.sort((a,l)=>l.sizeAndPosition-a.sizeAndPosition),o[0]?.node}var emptyFragment,KeyParser,ParserError,init_ariaSnapshot=__esm({"packages/isomorphic/ariaSnapshot.ts"(){emptyFragment={kind:"role",role:"fragment"},KeyParser=class t{static parse(r,n,i){try{return new t(r.value)._parse()}catch(s){if(s instanceof ParserError){let o=n.prettyErrors===!1?s.message:s.message+`:
409
+ */});var cy=he(function(CB,gI){gI.exports={comment:"Do not edit this file, use utils/roll_browser.js",browsers:[{name:"chromium",revision:"1223",installByDefault:!0,browserVersion:"148.0.7778.96",title:"Chrome for Testing"},{name:"chromium-headless-shell",revision:"1223",installByDefault:!0,browserVersion:"148.0.7778.96",title:"Chrome Headless Shell"},{name:"chromium-tip-of-tree",revision:"1427",installByDefault:!1,browserVersion:"149.0.7827.0",title:"Chrome Canary for Testing"},{name:"chromium-tip-of-tree-headless-shell",revision:"1427",installByDefault:!1,browserVersion:"149.0.7827.0",title:"Chrome Canary Headless Shell"},{name:"firefox",revision:"1522",installByDefault:!0,browserVersion:"150.0.2",title:"Firefox"},{name:"firefox-beta",revision:"1512",installByDefault:!1,browserVersion:"151.0b5",title:"Firefox Beta"},{name:"webkit",revision:"2287",installByDefault:!0,revisionOverrides:{mac14:"2251","mac14-arm64":"2251","debian11-x64":"2105","debian11-arm64":"2105","ubuntu20.04-x64":"2092","ubuntu20.04-arm64":"2092"},browserVersion:"26.4",title:"WebKit"},{name:"ffmpeg",revision:"1011",installByDefault:!0,revisionOverrides:{mac12:"1010","mac12-arm64":"1010"}},{name:"winldd",revision:"1007",installByDefault:!1},{name:"android",revision:"1001",installByDefault:!1}]}});var dy=he(function(kB,uy){uy.exports={}});var py=he(function(TB,hy){hy.exports={}});var gy=he(function(AB,my){var __dirname="/Users/runner/work/monorepo/monorepo/production/node_modules/.bun/electron@44.9.1/node_modules/electron",{spawnSync:_I}=e("child_process"),Pl=e("fs"),Ls=e("path"),Xh=Ls.join(__dirname,"path.txt");function fy(){if(console.log("Downloading Electron binary..."),_I(process.execPath,[Ls.join(__dirname,"install.js")],{stdio:"inherit"}).status!==0)throw Error('Electron failed to install correctly. Please delete `node_modules/electron` and run "npx install-electron --no" manually.')}function vI(){let t;if(Pl.existsSync(Xh))t=Pl.readFileSync(Xh,"utf-8");if(process.env.ELECTRON_OVERRIDE_DIST_PATH)return Ls.join(process.env.ELECTRON_OVERRIDE_DIST_PATH,t||"electron");if(t){let r=Ls.join(__dirname,"dist",t);if(!Pl.existsSync(r))fy();return r}else{try{fy()}catch{throw Error('Electron failed to install correctly. Please delete `node_modules/electron` and run "npx install-electron --no" manually.')}return t=Pl.readFileSync(Xh,"utf-8"),Ls.join(__dirname,"dist",t)}}my.exports=vI()});var _y=he(function(exports,module){var{create:__create,defineProperty:__defProp,getOwnPropertyDescriptor:__getOwnPropDesc,getOwnPropertyNames:__getOwnPropNames,getPrototypeOf:__getProtoOf}=Object,__hasOwnProp=Object.prototype.hasOwnProperty,__esm=(t,r)=>function(){return t&&(r=(0,t[__getOwnPropNames(t)[0]])(t=0)),r},__commonJS=(t,r)=>function(){return r||(0,t[__getOwnPropNames(t)[0]])((r={exports:{}}).exports,r),r.exports},__export=(t,r)=>{for(var n in r)__defProp(t,n,{get:r[n],enumerable:!0})},__copyProps=(t,r,n,i)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let s of __getOwnPropNames(r))if(!__hasOwnProp.call(t,s)&&s!==n)__defProp(t,s,{get:()=>r[s],enumerable:!(i=__getOwnPropDesc(r,s))||i.enumerable})}return t},__toESM=(t,r,n)=>(n=t!=null?__create(__getProtoOf(t)):{},__copyProps(r||!t||!t.__esModule?__defProp(n,"default",{value:t,enumerable:!0}):n,t)),__toCommonJS=(t)=>__copyProps(__defProp({},"__esModule",{value:!0}),t);function ariaNodesEqual(t,r){if(t.role!==r.role||t.name!==r.name)return!1;if(!ariaPropsEqual(t,r)||hasPointerCursor(t)!==hasPointerCursor(r))return!1;let n=Object.keys(t.props),i=Object.keys(r.props);return n.length===i.length&&n.every((s)=>t.props[s]===r.props[s])}function hasPointerCursor(t){return t.box.cursor==="pointer"}function ariaPropsEqual(t,r){return t.active===r.active&&t.checked===r.checked&&t.disabled===r.disabled&&t.expanded===r.expanded&&t.selected===r.selected&&t.level===r.level&&t.pressed===r.pressed}function parseAriaSnapshotUnsafe(t,r,n={}){let i=parseAriaSnapshot(t,r,n);if(i.errors.length)throw Error(i.errors[0].message);return i.fragment}function parseAriaSnapshot(t,r,n={}){let i=new t.LineCounter,s={keepSourceTokens:!0,lineCounter:i,...n},o=t.parseDocument(r,s),a=[],l=(p)=>[i.linePos(p[0]),i.linePos(p[1])],c=(p)=>{a.push({message:p.message,range:[i.linePos(p.pos[0]),i.linePos(p.pos[1])]})},u=(p,f)=>{for(let m of f.items){if(m instanceof t.Scalar&&typeof m.value==="string"){let _=KeyParser.parse(m,s,a);if(_)p.children=p.children||[],p.children.push(_);continue}if(m instanceof t.YAMLMap){d(p,m);continue}a.push({message:"Sequence items should be strings or maps",range:l(m.range||f.range)})}},d=(p,f)=>{for(let m of f.items){if(p.children=p.children||[],!(m.key instanceof t.Scalar&&typeof m.key.value==="string")){a.push({message:"Only string keys are supported",range:l(m.key.range||f.range)});continue}let{key:w,value:_}=m;if(w.value==="text"){if(!(_ instanceof t.Scalar&&typeof _.value==="string")){a.push({message:"Text value should be a string",range:l(m.value.range||f.range)});continue}p.children.push({kind:"text",text:textValue(_.value)});continue}if(w.value==="/children"){if(!(_ instanceof t.Scalar&&typeof _.value==="string")||_.value!=="contain"&&_.value!=="equal"&&_.value!=="deep-equal"){a.push({message:'Strict value should be "contain", "equal" or "deep-equal"',range:l(m.value.range||f.range)});continue}p.containerMode=_.value;continue}if(w.value.startsWith("/")){if(!(_ instanceof t.Scalar&&typeof _.value==="string")){a.push({message:"Property value should be a string",range:l(m.value.range||f.range)});continue}p.props=p.props??{},p.props[w.value.slice(1)]=textValue(_.value);continue}let g=KeyParser.parse(w,s,a);if(!g)continue;if(_ instanceof t.Scalar){let E=typeof _.value;if(E!=="string"&&E!=="number"&&E!=="boolean"){a.push({message:"Node value should be a string or a sequence",range:l(m.value.range||f.range)});continue}p.children.push({...g,children:[{kind:"text",text:textValue(String(_.value))}]});continue}if(_ instanceof t.YAMLSeq){p.children.push(g),u(g,_);continue}a.push({message:"Map values should be strings or sequences",range:l(m.value.range||f.range)})}},h={kind:"role",role:"fragment"};if(o.errors.forEach(c),a.length)return{errors:a,fragment:h};if(!(o.contents instanceof t.YAMLSeq))a.push({message:'Aria snapshot must be a YAML sequence, elements starting with " -"',range:o.contents?l(o.contents.range):[{line:0,col:0},{line:0,col:0}]});if(a.length)return{errors:a,fragment:h};if(u(h,o.contents),a.length)return{errors:a,fragment:emptyFragment};if(h.children?.length===1&&(!h.containerMode||h.containerMode==="contain"))return{fragment:h.children[0],errors:[]};return{fragment:h,errors:[]}}function normalizeWhitespace(t){return t.replace(/[\u200b\u00ad]/g,"").replace(/[\r\n\s\t]+/g," ").trim()}function textValue(t){return{raw:t,normalized:normalizeWhitespace(t)}}function findNewNode(t,r){function n(a,l,c){let u=1,d=c+u;for(let h of a.children||[])if(typeof h==="string")u++,d++;else u+=n(h,l,d),d+=u;if(!["none","presentation","fragment","iframe","generic"].includes(a.role)&&a.name){let h=l.get(a.role);if(!h)h=new Map,l.set(a.role,h);let p=h.get(a.name),f=u*100-c;if(!p||p.sizeAndPosition<f)h.set(a.name,{node:a,sizeAndPosition:f})}return u}let i=new Map;if(t)n(t,i,0);let s=new Map;n(r,s,0);let o=[];for(let[a,l]of s)for(let[c,u]of l)if(!i.get(a)?.get(c))o.push(u);return o.sort((a,l)=>l.sizeAndPosition-a.sizeAndPosition),o[0]?.node}var emptyFragment,KeyParser,ParserError,init_ariaSnapshot=__esm({"packages/isomorphic/ariaSnapshot.ts"(){emptyFragment={kind:"role",role:"fragment"},KeyParser=class t{static parse(r,n,i){try{return new t(r.value)._parse()}catch(s){if(s instanceof ParserError){let o=n.prettyErrors===!1?s.message:s.message+`:
410
410
 
411
411
  `+r.value+`
412
412
  `+" ".repeat(s.pos)+`^
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Pn,Us,zs,qs,Ws,Rn}from"./vm-hands-entry-lite-x7w4n87s.js";import"./vm-hands-entry-lite-mbv4mqha.js";import"./vm-hands-entry-lite-gz65ybc2.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-1b3x8f9z.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-ax1rvy38.js";import"./vm-hands-entry-lite-kng982rg.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{zs as ensureLocalBrowser,Pn as localAutomationAvailable,qs as localBrowserProfile,Us as localUserChromeHost,Ws as runAutomationCallLocally,Rn as runLocalAutomation};
2
+ import{Pn,Us,zs,qs,Ws,Rn}from"./vm-hands-entry-lite-rp1jq12t.js";import"./vm-hands-entry-lite-2z7ty7pp.js";import"./vm-hands-entry-lite-jnkr6nzb.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-ag3qma88.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-eksjkb45.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{zs as ensureLocalBrowser,Pn as localAutomationAvailable,qs as localBrowserProfile,Us as localUserChromeHost,Ws as runAutomationCallLocally,Rn as runLocalAutomation};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{ns,Vi,mn,is,os,ss,as,$s,Ms,Bs,Fs}from"./vm-hands-entry-lite-p4z0dgch.js";import"./vm-hands-entry-lite-9azmqs47.js";import"./vm-hands-entry-lite-8x8940ky.js";import"./vm-hands-entry-lite-8jcb5jqm.js";import"./vm-hands-entry-lite-5tnma5qb.js";import"./vm-hands-entry-lite-4r1yn35v.js";import"./vm-hands-entry-lite-2hfrcr50.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import"./vm-hands-entry-lite-x7w4n87s.js";import"./vm-hands-entry-lite-mbv4mqha.js";import"./vm-hands-entry-lite-gz65ybc2.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-1b3x8f9z.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-ax1rvy38.js";import"./vm-hands-entry-lite-kng982rg.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-xe0benev.js";import{r}from"./vm-hands-entry-lite-qy9xg6em.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{r as LocalCapabilityError,ns as SHORT_REQUEST_CAPABILITIES,$s as capabilityInventoryForRoots,Vi as confinedExecutionShell,is as defaultLocalCommandRunner,Ms as deliverLocalHandsEnvironment,as as enrolledRootPaths,Fs as executeLocalOperation,Bs as rebindLocalHandsControl,os as runFileCapability,ss as runTransferCapability,mn as spawnCaptured};
2
+ import{ns,Vi,mn,is,os,ss,as,$s,Ms,Bs,Fs}from"./vm-hands-entry-lite-0f09pnnf.js";import"./vm-hands-entry-lite-9azmqs47.js";import"./vm-hands-entry-lite-vf977s02.js";import"./vm-hands-entry-lite-876n7c0b.js";import"./vm-hands-entry-lite-5tnma5qb.js";import"./vm-hands-entry-lite-4r1yn35v.js";import"./vm-hands-entry-lite-2hfrcr50.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import"./vm-hands-entry-lite-rp1jq12t.js";import"./vm-hands-entry-lite-2z7ty7pp.js";import"./vm-hands-entry-lite-jnkr6nzb.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-ag3qma88.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-eksjkb45.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-xe0benev.js";import{r}from"./vm-hands-entry-lite-qy9xg6em.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{r as LocalCapabilityError,ns as SHORT_REQUEST_CAPABILITIES,$s as capabilityInventoryForRoots,Vi as confinedExecutionShell,is as defaultLocalCommandRunner,Ms as deliverLocalHandsEnvironment,as as enrolledRootPaths,Fs as executeLocalOperation,Bs as rebindLocalHandsControl,os as runFileCapability,ss as runTransferCapability,mn as spawnCaptured};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ft,Vs,G,qe,jt}from"./vm-hands-entry-lite-mbv4mqha.js";import"./vm-hands-entry-lite-gz65ybc2.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-1b3x8f9z.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-kng982rg.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{qe as ensureLinuxDesktop,Ft as localDisplayAvailable,Vs as localDisplayReady,G as privateDirectory,jt as runLocalDisplayStream};
2
+ import{Ft,Vs,G,qe,jt}from"./vm-hands-entry-lite-2z7ty7pp.js";import"./vm-hands-entry-lite-jnkr6nzb.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-ag3qma88.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{qe as ensureLinuxDesktop,Ft as localDisplayAvailable,Vs as localDisplayReady,G as privateDirectory,jt as runLocalDisplayStream};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{In,Dn,On,Nn,Rr}from"./vm-hands-entry-lite-jnkr6nzb.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-ag3qma88.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";export{In as MAC_SCREEN,Dn as WINDOWS_SCREEN,On as createDisplayVideoLane,Rr as localDisplayVideoAvailable,Nn as simulatorVideoFfmpeg};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{st,fr,js,Hs}from"./vm-hands-entry-lite-8x8940ky.js";import"./vm-hands-entry-lite-8jcb5jqm.js";import"./vm-hands-entry-lite-5tnma5qb.js";import"./vm-hands-entry-lite-4r1yn35v.js";import"./vm-hands-entry-lite-2hfrcr50.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{st as ManagedProcessStoppedError,js as controlManagedDeviceProcess,Hs as retireManagedDeviceProcess,fr as runManagedDeviceProcess};
2
+ import{st,fr,js,Hs}from"./vm-hands-entry-lite-vf977s02.js";import"./vm-hands-entry-lite-876n7c0b.js";import"./vm-hands-entry-lite-5tnma5qb.js";import"./vm-hands-entry-lite-4r1yn35v.js";import"./vm-hands-entry-lite-2hfrcr50.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-vj0gm694.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{st as ManagedProcessStoppedError,js as controlManagedDeviceProcess,Hs as retireManagedDeviceProcess,fr as runManagedDeviceProcess};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Rs,Ts,Is,Ds,Os,Ns,Ls}from"./vm-hands-entry-lite-pfqj73fy.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import"./vm-hands-entry-lite-kng982rg.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{Os as acquireManagedRuntimeDirectoryLock,Is as currentManagedRuntimeVersion,Ls as flushManagedRuntimeLifecycleEvents,Ds as isManagedRuntimeVersionExecutable,Ts as legacyManagedRuntimePaths,Rs as managedRuntimePaths,Ns as recordManagedRuntimeLifecycle};
2
+ import{Rs,Ts,Is,Ds,Os,Ns,Ls}from"./vm-hands-entry-lite-ds6gxhdv.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{Os as acquireManagedRuntimeDirectoryLock,Is as currentManagedRuntimeVersion,Ls as flushManagedRuntimeLifecycleEvents,Ds as isManagedRuntimeVersionExecutable,Ts as legacyManagedRuntimePaths,Rs as managedRuntimePaths,Ns as recordManagedRuntimeLifecycle};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{ls,us,Ks,Js}from"./vm-hands-entry-lite-1b3x8f9z.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-kng982rg.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";export{Js as allowMacPermissions,Ks as permissionsSummary,us as readMacPermissions,ls as reasonIdentity};
2
+ import{ls,us,Ks,Js}from"./vm-hands-entry-lite-ag3qma88.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";export{Js as allowMacPermissions,Ks as permissionsSummary,us as readMacPermissions,ls as reasonIdentity};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Wr,xe,J,Jn,Xs,No,Ys,Ze,ps,Xn,Zs,Qs,Vr,ea,ta}from"./vm-hands-entry-lite-ax1rvy38.js";import"./vm-hands-entry-lite-kng982rg.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{Wr as WORKER_SERVICE_ENV,J as WorkerServiceError,No as connectServiceLabel,xe as defaultWorkerServiceHost,Qs as installWorkerService,Ze as installedWorkerService,Ys as isConnectServiceLabel,ta as removeWorkerService,Vr as restartWorkerService,ea as retargetWorkerServiceLogs,ps as retireLegacyWorkerService,Zs as workerServiceDefinitionCurrent,Jn as workerServiceLauncher,Xn as workerServiceProcessRunning,Xs as workerServiceRetargetPending};
2
+ import{Wr,xe,J,Jn,Xs,No,Ys,Ze,ps,Xn,Zs,Qs,Vr,ea,ta}from"./vm-hands-entry-lite-eksjkb45.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a3p6xz53.js";import"./vm-hands-entry-lite-jvszqt0z.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-b6gsggvp.js";import"./vm-hands-entry-lite-s85p7tqp.js";export{Wr as WORKER_SERVICE_ENV,J as WorkerServiceError,No as connectServiceLabel,xe as defaultWorkerServiceHost,Qs as installWorkerService,Ze as installedWorkerService,Ys as isConnectServiceLabel,ta as removeWorkerService,Vr as restartWorkerService,ea as retargetWorkerServiceLogs,ps as retireLegacyWorkerService,Zs as workerServiceDefinitionCurrent,Jn as workerServiceLauncher,Xn as workerServiceProcessRunning,Xs as workerServiceRetargetPending};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./vm-hands-entry-lite-sxs29kff.js";import"./vm-hands-entry-lite-a3p6xz53.js";import{_}from"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-04x5xjt6.js";import"./vm-hands-entry-lite-s85p7tqp.js";import"./vm-hands-entry-lite-r34f55z4.js";import"./vm-hands-entry-lite-tpjqd8qx.js";import{Kt,ht}from"./vm-hands-entry-lite-vj0gm694.js";import{w,M,pr,Be,it}from"./vm-hands-entry-lite-eragp1xm.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-p4z0dgch.js";import"./vm-hands-entry-lite-8jcb5jqm.js";import"./vm-hands-entry-lite-5tnma5qb.js";import"./vm-hands-entry-lite-9azmqs47.js";import"./vm-hands-entry-lite-y5hv1gjv.js";import"./vm-hands-entry-lite-gz65ybc2.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-kng982rg.js";import"./vm-hands-entry-lite-1b3x8f9z.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-pfqj73fy.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-ax1rvy38.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-4r1yn35v.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-8x8940ky.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-mbv4mqha.js";import"./vm-hands-entry-lite-x7w4n87s.js";import"./vm-hands-entry-lite-13s0mfpr.js";import"./vm-hands-entry-lite-2hfrcr50.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import{a}from"./vm-hands-entry-lite-jvszqt0z.js";import{t,o,u,n,s,i}from"./vm-hands-entry-lite-dszmx6yf.js";import"./vm-hands-entry-lite-b6gsggvp.js";import{readFileSync as me,realpathSync as k,renameSync as ge,unlinkSync as fe,writeFileSync as he}from"fs";import{dirname as ye,join as I}from"path";function f(e){return`claude mcp add --transport http reason ${e}`}function h(e){return`codex mcp add reason --url ${e}
2
+ import"./vm-hands-entry-lite-9nb0ttep.js";import"./vm-hands-entry-lite-a3p6xz53.js";import{_}from"./vm-hands-entry-lite-4anjdcth.js";import"./vm-hands-entry-lite-a0g6c3wr.js";import"./vm-hands-entry-lite-04x5xjt6.js";import"./vm-hands-entry-lite-s85p7tqp.js";import"./vm-hands-entry-lite-fs0dazna.js";import"./vm-hands-entry-lite-6dnqpca0.js";import{Kt,ht}from"./vm-hands-entry-lite-vj0gm694.js";import{w,M,pr,Be,it}from"./vm-hands-entry-lite-8rr1sxz8.js";import"./vm-hands-entry-lite-nxd394w3.js";import"./vm-hands-entry-lite-xv7tgef8.js";import"./vm-hands-entry-lite-0f09pnnf.js";import"./vm-hands-entry-lite-876n7c0b.js";import"./vm-hands-entry-lite-5tnma5qb.js";import"./vm-hands-entry-lite-9azmqs47.js";import"./vm-hands-entry-lite-y5hv1gjv.js";import"./vm-hands-entry-lite-jnkr6nzb.js";import"./vm-hands-entry-lite-k9vk84wa.js";import"./vm-hands-entry-lite-rxcd4j9r.js";import"./vm-hands-entry-lite-ag3qma88.js";import"./vm-hands-entry-lite-ct4mtq1m.js";import"./vm-hands-entry-lite-ds6gxhdv.js";import"./vm-hands-entry-lite-vj7xzb3y.js";import"./vm-hands-entry-lite-eksjkb45.js";import"./vm-hands-entry-lite-hv3dxd5k.js";import"./vm-hands-entry-lite-4r1yn35v.js";import"./vm-hands-entry-lite-y9jarm7q.js";import"./vm-hands-entry-lite-vf977s02.js";import"./vm-hands-entry-lite-xe0benev.js";import"./vm-hands-entry-lite-hhk4h552.js";import"./vm-hands-entry-lite-2z7ty7pp.js";import"./vm-hands-entry-lite-rp1jq12t.js";import"./vm-hands-entry-lite-13s0mfpr.js";import"./vm-hands-entry-lite-2hfrcr50.js";import"./vm-hands-entry-lite-hfx1q0b0.js";import{a}from"./vm-hands-entry-lite-jvszqt0z.js";import{t,o,u,n,s,i}from"./vm-hands-entry-lite-dszmx6yf.js";import"./vm-hands-entry-lite-b6gsggvp.js";import{readFileSync as me,realpathSync as k,renameSync as ge,unlinkSync as fe,writeFileSync as he}from"fs";import{dirname as ye,join as I}from"path";function f(e){return`claude mcp add --transport http reason ${e}`}function h(e){return`codex mcp add reason --url ${e}
3
3
  codex mcp login reason`}var F=f("https://mcp.reasonmachines.com/mcp"),z=h("https://mcp.reasonmachines.com/mcp"),B=`https://claude.ai/settings/connectors?add=custom&url=${encodeURIComponent("https://mcp.reasonmachines.com/mcp")}`,H=`https://cursor.com/install-mcp?name=reason&config=${encodeURIComponent(btoa(JSON.stringify({url:"https://mcp.reasonmachines.com/mcp"})))}`;var b="https://github.com/reason-machines/reason-plugins",X=`Connect a coding agent to Reason over MCP
4
4
 
5
5
  Usage:
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Qe,Qn}from"./vm-hands-entry-lite-fs0dazna.js";export{Qn as CLI_USER_AGENT,Qe as CLI_VERSION};
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{nt,Et,cr,on,xt,kt,Di,sn,Oi,Ni,Li}from"./vm-hands-entry-lite-xv7tgef8.js";import{Pe,sr,ni,wt,Go,oe,Ko,Jo,tt,Re,nn,oi,vt,li,ui,di,pi,hi,fi,mi,gi,_i,yi,wi,bi,vi,pe,Z,Te,q,Si,Ei,xi,ki,Ci,Ai,Pi,Ri,St,Ti}from"./vm-hands-entry-lite-nxd394w3.js";import{ue,X,I}from"./vm-hands-entry-lite-a0g6c3wr.js";import{P,Yt}from"./vm-hands-entry-lite-hv3dxd5k.js";import{mr,eo,to,at,ro,no,io,oo,so,ao,yr,wr,br,wn,bn,vr,lo,vn,Sr,me,ge,Ot,Er,kr,Nt}from"./vm-hands-entry-lite-8jcb5jqm.js";import{O,T,b}from"./vm-hands-entry-lite-4r1yn35v.js";import{Xi,Yi,_n,Zi,yn,Qi,st,fr}from"./vm-hands-entry-lite-8x8940ky.js";import{K}from"./vm-hands-entry-lite-ct4mtq1m.js";import{Ue}from"./vm-hands-entry-lite-5tnma5qb.js";import{j}from"./vm-hands-entry-lite-vj0gm694.js";import{hr,gn,Ji}from"./vm-hands-entry-lite-9azmqs47.js";import{vo,So,dt,Eo,xo,ko,Co,Ao,Po,Ro}from"./vm-hands-entry-lite-k9vk84wa.js";import{Dr,Vt,Or,Hn,Un}from"./vm-hands-entry-lite-hhk4h552.js";import{Ft,qe,jt}from"./vm-hands-entry-lite-mbv4mqha.js";import{Nn,x,yo}from"./vm-hands-entry-lite-gz65ybc2.js";import{wo,bo}from"./vm-hands-entry-lite-1b3x8f9z.js";import{Bt,Pn,Rn}from"./vm-hands-entry-lite-x7w4n87s.js";import{ye,ho,fo}from"./vm-hands-entry-lite-2hfrcr50.js";import{be}from"./vm-hands-entry-lite-yretc2th.js";import{Mt}from"./vm-hands-entry-lite-yptpy066.js";import{ve,Ut,zt,qt,E}from"./vm-hands-entry-lite-72nj66ab.js";import{a,ie}from"./vm-hands-entry-lite-jvszqt0z.js";import{t,k,o,d,u,n,W,g,ee,s,i,Zo}from"./vm-hands-entry-lite-dszmx6yf.js";import{r}from"./vm-hands-entry-lite-qy9xg6em.js";import{fe,Ne,Le,$e,ln}from"./vm-hands-entry-lite-b6gsggvp.js";import{Me}from"./vm-hands-entry-lite-3gbf905c.js";import{request as $l}from"http";import{request as Bl}from"https";import{lookup as Fl}from"dns/promises";import{isIP as Ul}from"net";async function Hl(e){let l=new URL(e.url);return await new Promise((c,p)=>{let m=(l.protocol==="https:"?Bl:$l)(l,{method:"POST",headers:{...e.headers,"accept-encoding":"identity"},signal:e.signal,timeout:Di},(f)=>c({response:f,close:()=>{f.destroy(),m.destroy(),f.socket?.destroy()}}));m.once("error",p),m.once("timeout",()=>m.destroy(Object.assign(Error("custom_endpoint_timeout"),{code:"ETIMEDOUT"}))),m.end(e.body)})}var Ki=new Set(["ENOTFOUND","EAI_AGAIN","EAI_NONAME","EAI_NODATA","EAI_FAIL","DNSException"]),jl=new Set(["ECONNREFUSED","ETIMEDOUT","ECONNRESET","EHOSTUNREACH","ENETUNREACH","EHOSTDOWN","ENETDOWN","EPIPE","ECONNABORTED","EADDRNOTAVAIL","ConnectionRefused","ConnectionClosed","ConnectionTimedOut","Timeout"]);function es(e,l=0){if(!e||typeof e!=="object"||l>3)return null;let c=e.code;if(typeof c==="string"){if(Ki.has(c))return"custom_endpoint_host_not_found";if(jl.has(c))return"custom_endpoint_connection_failed";if(/^(?:ERR_TLS_|ERR_SSL_|CERT_|UNABLE_TO_(?:GET|VERIFY|DECRYPT)|DEPTH_ZERO_SELF_SIGNED|SELF_SIGNED_CERT|HOSTNAME_MISMATCH|EPROTO$)/.test(c))return"custom_endpoint_tls_failed"}for(let p of[...e instanceof AggregateError?e.errors:[],e.cause]){let m=es(p,l+1);if(m)return m}return null}async function ql(e,l){let c=es(e),p=new URL(l).hostname.replace(/^\[|\]$/g,"");if(c!==null&&c!=="custom_endpoint_connection_failed"||Ul(p)!==0)return c;let m;return await Promise.race([Fl(p).then(()=>!0,(h)=>!Ki.has(String(h?.code))),new Promise((h)=>{m=setTimeout(()=>h(!0),5000)})]).finally(()=>clearTimeout(m))?c:"custom_endpoint_host_not_found"}function Wl(e){for(let l=42;;l++){if(l===127)l=256;let c=String.fromCodePoint(l);if(!e.includes(c))return c}}function Vl(e,l){let c=Buffer.from(e),p=Buffer.from(l),m=new Uint32Array(c.length);for(let h=1,y=0;h<c.length;h++){while(y&&c[h]!==c[y])y=m[y-1];if(c[h]===c[y])y++;m[h]=y}let f=0;return(h,y=!1)=>{let S=Buffer.allocUnsafe(h.length*p.length+f),w=0;for(let _ of h){while(f&&c[f]!==_){let v=m[f-1];w+=c.copy(S,w,0,f-v),f=v}if(c[f]===_){if(f++,f===c.length)w+=p.copy(S,w),f=0}else S[w++]=_}if(y)w+=c.copy(S,w,0,f),f=0;return S.subarray(0,w)}}async function ts(e){e.signal.throwIfAborted();let l=Oi.safeParse(e.payload);if(!l.success)throw new r("custom_endpoint_invalid_request","Invalid local model request.");let c=l.data,p=Ni.parse(await e.credential(e.signal));if(!sn(c,{baseUrl:c.baseUrl,api:p.api,execution:"device"}))throw new r("custom_endpoint_invalid_request","The request does not match the configured API.");e.signal.throwIfAborted();let m,f,h=0,y=0,S=0,w=Wl(p.apiKey),_=Vl(p.apiKey,w),v=async(C,A)=>{e.signal.throwIfAborted(),await new Promise((M,N)=>{let L=()=>{e.signal.removeEventListener("abort",L),N(e.signal.reason)};if(e.signal.addEventListener("abort",L,{once:!0}),e.signal.aborted){L();return}Promise.resolve().then(()=>(e.signal.throwIfAborted(),e.emit(C,A))).then(()=>{e.signal.removeEventListener("abort",L),M()},(B)=>{e.signal.removeEventListener("abort",L),N(B)})})},R=async(C)=>{if(h+=C.length,h>cr)throw new r("custom_endpoint_response_too_large","Local model response exceeds the transport limit.");for(let A=0;A<C.length;A+=Et){if(S>=on)throw new r("custom_endpoint_response_too_large","Local model response exceeds the chunk limit.");await v(`custom_endpoint.chunk.${S++}`,{eof:!1,data:C.subarray(A,A+Et).toString("base64")})}};try{let C=await Hl({url:c.url,body:c.body,signal:e.signal,headers:{...c.headers,...p.api==="anthropic-messages"?{"x-api-key":p.apiKey}:{authorization:`Bearer ${p.apiKey}`}}});m=C.response,f=C.close;let A=m.statusCode??500;if(A>=300&&A<400)throw new r("custom_endpoint_redirect_refused","Local model redirects are not followed.");if(m.headers["content-encoding"]&&m.headers["content-encoding"]!=="identity")throw new r("custom_endpoint_encoding_unsupported","The local server must honor identity encoding.");let M={};for(let N of["content-type","retry-after","x-request-id","request-id"]){let L=m.headers[N];if(typeof L==="string")M[N]=L.replaceAll(p.apiKey,w).slice(0,4096)}await v("custom_endpoint.headers",{status:A,statusText:(m.statusMessage??"").replaceAll(p.apiKey,w).slice(0,256),headers:M});for await(let N of m){e.signal.throwIfAborted();let L=Buffer.isBuffer(N)?N:Buffer.from(N);if(y+=L.length,y>cr)throw new r("custom_endpoint_response_too_large","Local model response exceeds the transport limit.");await R(_(L))}return await R(_(Buffer.alloc(0),!0)),await v(`custom_endpoint.chunk.${S}`,{eof:!0}),{bytes:h,chunks:S}}catch(C){if(e.signal.throwIfAborted(),C instanceof r)throw C;throw new r((m?null:await ql(C,c.url))??"custom_endpoint_request_failed","The local model server could not complete the request.")}finally{f?.()}}import{join as rs}from"path";function zl(e,l){return e===rs(l,".ara","workspace")||e===rs(l,".reason","workspace")}function ls(e,l){let c=e.filter((p)=>zl(p.path,l));return c.length===1?c[0].path:null}var Gl=/^[a-f0-9]{64}$/;var an=32,Yl=/^\/[^\x00-\x1f\x7f\\]*$/;function Cr(e){if(typeof e!=="string"||e.length>4096||!Yl.test(e))return!1;if(e==="/")return!0;return e.split("/").slice(1).every((l)=>l!==""&&l!=="."&&l!=="..")}function Pr(e,l){let c=l==="win32"?/^([A-Za-z]):[\\/]*(.*)$/.exec(e):null;if(!c)return e;let p=c[2].split(/[\\/]+/).filter(Boolean).join("/");return`/${c[1].toUpperCase()}:${p?`/${p}`:""}`}function cn(e){if(!e||typeof e!=="object"||Array.isArray(e))return;let l=e;if(!Cr(l.home)||!Array.isArray(l.roots)||l.roots.length>an)return;let c=[];for(let p of l.roots){if(!p||typeof p!=="object"||Array.isArray(p))return;let{path_fingerprint:m,path:f}=p;if(typeof m!=="string"||!Gl.test(m)||!Cr(f))return;c.push({path_fingerprint:m,path:f})}return{home:l.home,roots:c}}function Kl(e){let l=/^Reason contributor (rc_[0-9a-f]{32})$/.exec(e.name)?.[1];return e.email.toLowerCase()==="343777287+reason-contributors@users.noreply.github.com"&&l?l:void 0}function Xl(e){return Kl(e)??e.email.toLowerCase()}function un(e){let l=/^Co-authored-by:\s*([^<>\r\n]+) <([^<>\s]+)>$/i.exec(e.trim());return l?Xl({name:l[1],email:l[2]}):e.trim().toLowerCase()}var Gt=(e)=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/[a-z]/gi,(l)=>`[${l.toLowerCase()}${l.toUpperCase()}]`),Jl=[...ve.map((e)=>`/(${e.map(Gt).join("/")})(/|$)`),...Ut.map((e)=>`/(${e.map(Gt).join("/")})(/|$)`),...[...zt].map((e)=>`/(${Gt(e)})$`),`/${Gt(".env.")}[^/]*$`,...qt.map((e)=>`/[^/]*${Gt(e)}$`)],cs=`function localGithubSandboxProfile(root, temporary) {
2
+ import{nt,Et,cr,on,xt,kt,Di,sn,Oi,Ni,Li}from"./vm-hands-entry-lite-xv7tgef8.js";import{Pe,sr,ni,wt,Go,oe,Ko,Jo,tt,Re,nn,oi,vt,li,ui,di,pi,hi,fi,mi,gi,_i,yi,wi,bi,vi,pe,Z,Te,q,Si,Ei,xi,ki,Ci,Ai,Pi,Ri,St,Ti}from"./vm-hands-entry-lite-nxd394w3.js";import{ue,X,I}from"./vm-hands-entry-lite-a0g6c3wr.js";import{P,Yt}from"./vm-hands-entry-lite-hv3dxd5k.js";import{mr,eo,to,at,ro,no,io,oo,so,ao,yr,wr,br,wn,bn,vr,lo,vn,Sr,me,ge,Ot,Er,kr,Nt}from"./vm-hands-entry-lite-876n7c0b.js";import{O,T,b}from"./vm-hands-entry-lite-4r1yn35v.js";import{Xi,Yi,_n,Zi,yn,Qi,st,fr}from"./vm-hands-entry-lite-vf977s02.js";import{K}from"./vm-hands-entry-lite-ct4mtq1m.js";import{Ue}from"./vm-hands-entry-lite-5tnma5qb.js";import{j}from"./vm-hands-entry-lite-vj0gm694.js";import{hr,gn,Ji}from"./vm-hands-entry-lite-9azmqs47.js";import{vo,So,dt,Eo,xo,ko,Co,Ao,Po,Ro}from"./vm-hands-entry-lite-k9vk84wa.js";import{Dr,Vt,Or,Hn,Un}from"./vm-hands-entry-lite-hhk4h552.js";import{Ft,qe,jt}from"./vm-hands-entry-lite-2z7ty7pp.js";import{Nn,x,yo}from"./vm-hands-entry-lite-jnkr6nzb.js";import{wo,bo}from"./vm-hands-entry-lite-ag3qma88.js";import{Bt,Pn,Rn}from"./vm-hands-entry-lite-rp1jq12t.js";import{ye,ho,fo}from"./vm-hands-entry-lite-2hfrcr50.js";import{be}from"./vm-hands-entry-lite-yretc2th.js";import{Mt}from"./vm-hands-entry-lite-yptpy066.js";import{ve,Ut,zt,qt,E}from"./vm-hands-entry-lite-72nj66ab.js";import{a,ie}from"./vm-hands-entry-lite-jvszqt0z.js";import{t,k,o,d,u,n,W,g,ee,s,i,Zo}from"./vm-hands-entry-lite-dszmx6yf.js";import{r}from"./vm-hands-entry-lite-qy9xg6em.js";import{fe,Ne,Le,$e,ln}from"./vm-hands-entry-lite-b6gsggvp.js";import{Me}from"./vm-hands-entry-lite-3gbf905c.js";import{request as $l}from"http";import{request as Bl}from"https";import{lookup as Fl}from"dns/promises";import{isIP as Ul}from"net";async function Hl(e){let l=new URL(e.url);return await new Promise((c,p)=>{let m=(l.protocol==="https:"?Bl:$l)(l,{method:"POST",headers:{...e.headers,"accept-encoding":"identity"},signal:e.signal,timeout:Di},(f)=>c({response:f,close:()=>{f.destroy(),m.destroy(),f.socket?.destroy()}}));m.once("error",p),m.once("timeout",()=>m.destroy(Object.assign(Error("custom_endpoint_timeout"),{code:"ETIMEDOUT"}))),m.end(e.body)})}var Ki=new Set(["ENOTFOUND","EAI_AGAIN","EAI_NONAME","EAI_NODATA","EAI_FAIL","DNSException"]),jl=new Set(["ECONNREFUSED","ETIMEDOUT","ECONNRESET","EHOSTUNREACH","ENETUNREACH","EHOSTDOWN","ENETDOWN","EPIPE","ECONNABORTED","EADDRNOTAVAIL","ConnectionRefused","ConnectionClosed","ConnectionTimedOut","Timeout"]);function es(e,l=0){if(!e||typeof e!=="object"||l>3)return null;let c=e.code;if(typeof c==="string"){if(Ki.has(c))return"custom_endpoint_host_not_found";if(jl.has(c))return"custom_endpoint_connection_failed";if(/^(?:ERR_TLS_|ERR_SSL_|CERT_|UNABLE_TO_(?:GET|VERIFY|DECRYPT)|DEPTH_ZERO_SELF_SIGNED|SELF_SIGNED_CERT|HOSTNAME_MISMATCH|EPROTO$)/.test(c))return"custom_endpoint_tls_failed"}for(let p of[...e instanceof AggregateError?e.errors:[],e.cause]){let m=es(p,l+1);if(m)return m}return null}async function ql(e,l){let c=es(e),p=new URL(l).hostname.replace(/^\[|\]$/g,"");if(c!==null&&c!=="custom_endpoint_connection_failed"||Ul(p)!==0)return c;let m;return await Promise.race([Fl(p).then(()=>!0,(h)=>!Ki.has(String(h?.code))),new Promise((h)=>{m=setTimeout(()=>h(!0),5000)})]).finally(()=>clearTimeout(m))?c:"custom_endpoint_host_not_found"}function Wl(e){for(let l=42;;l++){if(l===127)l=256;let c=String.fromCodePoint(l);if(!e.includes(c))return c}}function Vl(e,l){let c=Buffer.from(e),p=Buffer.from(l),m=new Uint32Array(c.length);for(let h=1,y=0;h<c.length;h++){while(y&&c[h]!==c[y])y=m[y-1];if(c[h]===c[y])y++;m[h]=y}let f=0;return(h,y=!1)=>{let S=Buffer.allocUnsafe(h.length*p.length+f),w=0;for(let _ of h){while(f&&c[f]!==_){let v=m[f-1];w+=c.copy(S,w,0,f-v),f=v}if(c[f]===_){if(f++,f===c.length)w+=p.copy(S,w),f=0}else S[w++]=_}if(y)w+=c.copy(S,w,0,f),f=0;return S.subarray(0,w)}}async function ts(e){e.signal.throwIfAborted();let l=Oi.safeParse(e.payload);if(!l.success)throw new r("custom_endpoint_invalid_request","Invalid local model request.");let c=l.data,p=Ni.parse(await e.credential(e.signal));if(!sn(c,{baseUrl:c.baseUrl,api:p.api,execution:"device"}))throw new r("custom_endpoint_invalid_request","The request does not match the configured API.");e.signal.throwIfAborted();let m,f,h=0,y=0,S=0,w=Wl(p.apiKey),_=Vl(p.apiKey,w),v=async(C,A)=>{e.signal.throwIfAborted(),await new Promise((M,N)=>{let L=()=>{e.signal.removeEventListener("abort",L),N(e.signal.reason)};if(e.signal.addEventListener("abort",L,{once:!0}),e.signal.aborted){L();return}Promise.resolve().then(()=>(e.signal.throwIfAborted(),e.emit(C,A))).then(()=>{e.signal.removeEventListener("abort",L),M()},(B)=>{e.signal.removeEventListener("abort",L),N(B)})})},R=async(C)=>{if(h+=C.length,h>cr)throw new r("custom_endpoint_response_too_large","Local model response exceeds the transport limit.");for(let A=0;A<C.length;A+=Et){if(S>=on)throw new r("custom_endpoint_response_too_large","Local model response exceeds the chunk limit.");await v(`custom_endpoint.chunk.${S++}`,{eof:!1,data:C.subarray(A,A+Et).toString("base64")})}};try{let C=await Hl({url:c.url,body:c.body,signal:e.signal,headers:{...c.headers,...p.api==="anthropic-messages"?{"x-api-key":p.apiKey}:{authorization:`Bearer ${p.apiKey}`}}});m=C.response,f=C.close;let A=m.statusCode??500;if(A>=300&&A<400)throw new r("custom_endpoint_redirect_refused","Local model redirects are not followed.");if(m.headers["content-encoding"]&&m.headers["content-encoding"]!=="identity")throw new r("custom_endpoint_encoding_unsupported","The local server must honor identity encoding.");let M={};for(let N of["content-type","retry-after","x-request-id","request-id"]){let L=m.headers[N];if(typeof L==="string")M[N]=L.replaceAll(p.apiKey,w).slice(0,4096)}await v("custom_endpoint.headers",{status:A,statusText:(m.statusMessage??"").replaceAll(p.apiKey,w).slice(0,256),headers:M});for await(let N of m){e.signal.throwIfAborted();let L=Buffer.isBuffer(N)?N:Buffer.from(N);if(y+=L.length,y>cr)throw new r("custom_endpoint_response_too_large","Local model response exceeds the transport limit.");await R(_(L))}return await R(_(Buffer.alloc(0),!0)),await v(`custom_endpoint.chunk.${S}`,{eof:!0}),{bytes:h,chunks:S}}catch(C){if(e.signal.throwIfAborted(),C instanceof r)throw C;throw new r((m?null:await ql(C,c.url))??"custom_endpoint_request_failed","The local model server could not complete the request.")}finally{f?.()}}import{join as rs}from"path";function zl(e,l){return e===rs(l,".ara","workspace")||e===rs(l,".reason","workspace")}function ls(e,l){let c=e.filter((p)=>zl(p.path,l));return c.length===1?c[0].path:null}var Gl=/^[a-f0-9]{64}$/;var an=32,Yl=/^\/[^\x00-\x1f\x7f\\]*$/;function Cr(e){if(typeof e!=="string"||e.length>4096||!Yl.test(e))return!1;if(e==="/")return!0;return e.split("/").slice(1).every((l)=>l!==""&&l!=="."&&l!=="..")}function Pr(e,l){let c=l==="win32"?/^([A-Za-z]):[\\/]*(.*)$/.exec(e):null;if(!c)return e;let p=c[2].split(/[\\/]+/).filter(Boolean).join("/");return`/${c[1].toUpperCase()}:${p?`/${p}`:""}`}function cn(e){if(!e||typeof e!=="object"||Array.isArray(e))return;let l=e;if(!Cr(l.home)||!Array.isArray(l.roots)||l.roots.length>an)return;let c=[];for(let p of l.roots){if(!p||typeof p!=="object"||Array.isArray(p))return;let{path_fingerprint:m,path:f}=p;if(typeof m!=="string"||!Gl.test(m)||!Cr(f))return;c.push({path_fingerprint:m,path:f})}return{home:l.home,roots:c}}function Kl(e){let l=/^Reason contributor (rc_[0-9a-f]{32})$/.exec(e.name)?.[1];return e.email.toLowerCase()==="343777287+reason-contributors@users.noreply.github.com"&&l?l:void 0}function Xl(e){return Kl(e)??e.email.toLowerCase()}function un(e){let l=/^Co-authored-by:\s*([^<>\r\n]+) <([^<>\s]+)>$/i.exec(e.trim());return l?Xl({name:l[1],email:l[2]}):e.trim().toLowerCase()}var Gt=(e)=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/[a-z]/gi,(l)=>`[${l.toLowerCase()}${l.toUpperCase()}]`),Jl=[...ve.map((e)=>`/(${e.map(Gt).join("/")})(/|$)`),...Ut.map((e)=>`/(${e.map(Gt).join("/")})(/|$)`),...[...zt].map((e)=>`/(${Gt(e)})$`),`/${Gt(".env.")}[^/]*$`,...qt.map((e)=>`/[^/]*${Gt(e)}$`)],cs=`function localGithubSandboxProfile(root, temporary) {
3
3
  return ['(version 1)','(deny default)','(import "system.sb")','(allow process-exec process-fork)',
4
4
  '(allow file-read* (subpath "/bin") (subpath "/sbin") (subpath "/usr/bin") (subpath "/usr/sbin") (subpath "/usr/libexec") (subpath "/usr/share") (subpath "/private/var/select") (literal "/private/var/db/xcode_select_link"))',
5
5
  '(allow file-read-metadata (path-ancestors "/opt/homebrew/bin") (path-ancestors "/usr/local/bin") (path-ancestors "/Library/Developer/CommandLineTools"))',
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{$n,Mn,To,Wt}from"./vm-hands-entry-lite-k9vk84wa.js";import{Tn,Ve,_o,In,Dn,On,Rr,x}from"./vm-hands-entry-lite-gz65ybc2.js";import{Pt}from"./vm-hands-entry-lite-xe0benev.js";import{Nr}from"./vm-hands-entry-lite-hhk4h552.js";import{j}from"./vm-hands-entry-lite-vj0gm694.js";import{a}from"./vm-hands-entry-lite-jvszqt0z.js";import{r}from"./vm-hands-entry-lite-qy9xg6em.js";import{execFile as ce,spawn as ne}from"child_process";import{randomBytes as Oe}from"crypto";import{chmodSync as he,existsSync as ae,lstatSync as Je,mkdirSync as Qe,readFileSync as oe,rmSync as ie,writeFileSync as u}from"fs";import{connect as Se}from"net";import{join as I}from"path";var B=32,Y=76;var m="./desktop-wallpaper-fd8f2wb2.jpg";var v="./dock-browser-y53t41cx.png";var Z="./dock-files-cp52htdw.png";var V="./dock-terminal-1es514yq.png";var z="./grok-wallpaper-71zwn2pj.jpg";var W="./grok-dock-browser-pzw59wnd.png";var U="./grok-dock-files-eckq444x.png";var ee="./grok-dock-terminal-hcpz3e43.png";var re=`# Sets the X root window background and _XROOTPMAP_ID, as feh --bg-fill does.
2
+ import{$n,Mn,To,Wt}from"./vm-hands-entry-lite-k9vk84wa.js";import{Tn,Ve,_o,In,Dn,On,Rr,x}from"./vm-hands-entry-lite-jnkr6nzb.js";import{Pt}from"./vm-hands-entry-lite-xe0benev.js";import{Nr}from"./vm-hands-entry-lite-hhk4h552.js";import{j}from"./vm-hands-entry-lite-vj0gm694.js";import{a}from"./vm-hands-entry-lite-jvszqt0z.js";import{r}from"./vm-hands-entry-lite-qy9xg6em.js";import{execFile as ce,spawn as ne}from"child_process";import{randomBytes as Oe}from"crypto";import{chmodSync as he,existsSync as ae,lstatSync as Je,mkdirSync as Qe,readFileSync as oe,rmSync as ie,writeFileSync as u}from"fs";import{connect as Se}from"net";import{join as I}from"path";var B=32,Y=76;var m="./desktop-wallpaper-fd8f2wb2.jpg";var v="./dock-browser-y53t41cx.png";var Z="./dock-files-cp52htdw.png";var V="./dock-terminal-1es514yq.png";var z="./grok-wallpaper-71zwn2pj.jpg";var W="./grok-dock-browser-pzw59wnd.png";var U="./grok-dock-files-eckq444x.png";var ee="./grok-dock-terminal-hcpz3e43.png";var re=`# Sets the X root window background and _XROOTPMAP_ID, as feh --bg-fill does.
3
3
  # The native Blaxel image ships no feh, hsetroot or compositor, but it does ship
4
4
  # python3-gi and libX11. tint2 reads _XROOTPMAP_ID to draw its transparent panel.
5
5
  # Usage: DISPLAY=:99 python3 set-root-wallpaper.py IMAGE
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{ot,D}from"./vm-hands-entry-lite-sxs29kff.js";import{R}from"./vm-hands-entry-lite-a3p6xz53.js";import{_,rr}from"./vm-hands-entry-lite-4anjdcth.js";import{be}from"./vm-hands-entry-lite-yretc2th.js";function zi(e,i){let t=R(e,"REASON_API_URL")?.trim();if(!t)return rr(i);let n=new URL(t);if(n.protocol!=="https:"&&!(n.protocol==="http:"&&["127.0.0.1","localhost","::1"].includes(n.hostname)))throw Error("REASON_API_URL must use HTTPS (HTTP is allowed only for loopback development).");return n.origin}function es(e){return R(e,"REASON_API_URL")?.trim()?zi(e,"production"):void 0}function ts(e){return R(e,"REASON_API_KEY")?.trim()||void 0}async function As(e,i){let t=e.env??process.env,n=ts(t);if(!n)return(e.getCredentials??ot)({apiOrigin:es(t),signal:i});let a=zi(t,e.channel??_({env:t})),o=await(e.fetchImpl??fetch)(a+"/v3/self",{redirect:"error",headers:{authorization:"Bearer "+n,accept:"application/json"},signal:i}),p=await o.json().catch(()=>({})),r=be(p)?p:{};if(!o.ok){let s=typeof r.detail==="string"?r.detail:typeof r.message==="string"?r.message:"API key authentication failed ("+o.status+")";throw new D(o.status,typeof r.error==="string"?r.error:"api_key_auth_failed",s)}if(typeof r.org_id!=="string"||!r.org_id)throw Error("The API key in the environment did not resolve to a Workspace.");let l=Array.isArray(r.scopes)?r.scopes.filter((s)=>typeof s==="string"):[];return{credentialKind:"api_key",apiOrigin:a,accessToken:n,orgId:r.org_id,clientId:"api-key",refreshToken:"",expiresAt:"",scopes:l}}export{zi,es,ts,As};
2
+ import{ot,D}from"./vm-hands-entry-lite-9nb0ttep.js";import{R}from"./vm-hands-entry-lite-a3p6xz53.js";import{_,rr}from"./vm-hands-entry-lite-4anjdcth.js";import{be}from"./vm-hands-entry-lite-yretc2th.js";function zi(e,i){let t=R(e,"REASON_API_URL")?.trim();if(!t)return rr(i);let n=new URL(t);if(n.protocol!=="https:"&&!(n.protocol==="http:"&&["127.0.0.1","localhost","::1"].includes(n.hostname)))throw Error("REASON_API_URL must use HTTPS (HTTP is allowed only for loopback development).");return n.origin}function es(e){return R(e,"REASON_API_URL")?.trim()?zi(e,"production"):void 0}function ts(e){return R(e,"REASON_API_KEY")?.trim()||void 0}async function As(e,i){let t=e.env??process.env,n=ts(t);if(!n)return(e.getCredentials??ot)({apiOrigin:es(t),signal:i});let a=zi(t,e.channel??_({env:t})),o=await(e.fetchImpl??fetch)(a+"/v3/self",{redirect:"error",headers:{authorization:"Bearer "+n,accept:"application/json"},signal:i}),p=await o.json().catch(()=>({})),r=be(p)?p:{};if(!o.ok){let s=typeof r.detail==="string"?r.detail:typeof r.message==="string"?r.message:"API key authentication failed ("+o.status+")";throw new D(o.status,typeof r.error==="string"?r.error:"api_key_auth_failed",s)}if(typeof r.org_id!=="string"||!r.org_id)throw Error("The API key in the environment did not resolve to a Workspace.");let l=Array.isArray(r.scopes)?r.scopes.filter((s)=>typeof s==="string"):[];return{credentialKind:"api_key",apiOrigin:a,accessToken:n,orgId:r.org_id,clientId:"api-key",refreshToken:"",expiresAt:"",scopes:l}}export{zi,es,ts,As};