ripplo 0.7.50 → 0.7.52
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/README.md +4 -6
- package/dist/{chunk-CU6ZOAZF.js → chunk-2XTAXNVN.js} +32 -32
- package/dist/{chunk-3ZMORNOG.js → chunk-7B2IRPRB.js} +1 -1
- package/dist/{chunk-Q5KB4ANT.js → chunk-JC2J6DDW.js} +1 -1
- package/dist/{chunk-3BYXC7SY.js → chunk-O6J2UXMN.js} +1 -1
- package/dist/{chunk-T6SGAMJP.js → chunk-XWBHAWDA.js} +1 -1
- package/dist/{chunk-B7VRWN2U.js → chunk-ZKBCWP2P.js} +1 -1
- package/dist/{daemon-5KWSYIEC.js → daemon-2BCX4AHJ.js} +1 -1
- package/dist/{daemon-OUFHFJR6.js → daemon-TTKMDDEG.js} +1 -1
- package/dist/daemon-lock-PXILYGWE.js +2 -0
- package/dist/index.js +256 -209
- package/dist/status-VCNKLHII.js +2 -0
- package/package.json +3 -3
- package/dist/daemon-lock-K6KZL4X2.js +0 -2
- package/dist/status-WMGUHCGU.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{A as I,a as P,c as g,f as p,i as C,m as u,n as k,o as R,q as b,r as h,t as v,u as x,v as q,w as N,x as O,y as f,z as A}from"./chunk-
|
|
2
|
+
import{A as I,a as P,c as g,f as p,i as C,m as u,n as k,o as R,q as b,r as h,t as v,u as x,v as q,w as N,x as O,y as f,z as A}from"./chunk-JC2J6DDW.js";import{h as D}from"./chunk-ZKBCWP2P.js";import{e as S,fa as L,h as E}from"./chunk-2XTAXNVN.js";import{writeFile as G}from"fs/promises";import K from"path";async function se(o){let e=await p(o);return e.isOk()&&await G(K.join(o,g),S(E,e.value)),e}function T(o){return o.workflows.filter(e=>e.stub).map(e=>e.name)}import{spawn as U}from"child_process";import _ from"fs";import H from"net";import{setTimeout as w}from"timers/promises";import{err as d,ok as y}from"neverthrow";import{ResponseError as z}from"vscode-jsonrpc/node";var V=12e4,j=300,M=5e3;async function we({cliEntry:o,cwd:e}){let n=u(e),r=await i(n);return r!=null?J({cliEntry:o,connection:l(r,!1),cwd:e}):F({cliEntry:o,cwd:e,versionNote:void 0})}async function De({cliEntry:o,cwd:e}){let n=await i(u(e));return n==null?d({kind:"not-running"}):J({cliEntry:o,connection:l(n,!1),cwd:e})}async function F({cliEntry:o,cwd:e,versionNote:n}){let r=ee({cliEntry:o,cwd:e});if(r!=null)return d(r);let t=await ne(u(e));return t==null?d({deadlineMs:V,kind:"connect-timeout",logPath:k(e)}):y({...l(t,!0),versionNote:n})}async function J({cliEntry:o,connection:e,cwd:n}){let r=await W(e);if(r==null||r.version===P())return y(e);let t={daemonVersion:r.version};return await B(e)?(e.socket.destroy(),await X(u(n))?F({cliEntry:o,cwd:n,versionNote:{...t,kind:"restarted"}}):d({kind:"connection-lost"})):y({...e,versionNote:{...t,kind:"stale-busy"}})}async function B(o){try{return await o.rpc.sendRequest(f)}catch{return!1}}var Q=1e4;async function X(o){let e=Date.now()+Q,n=await i(o);for(;n!=null&&Date.now()<e;)n.destroy(),await w(j),n=await i(o);return n?.destroy(),n==null}async function Pe({connection:o,onEvent:e,request:n,token:r}){let t=await Y({connection:o,onEvent:e,request:n,token:r});return t.kind==="transport"?d(t.error):y(t)}async function Se(o){let e=await i(u(o));if(e==null)return!1;let n=l(e,!1);try{return await n.rpc.sendRequest(f)}catch{return!1}finally{e.destroy()}}async function Ee(o){try{await o.rpc.sendRequest(f)}catch{}}async function $(o){let e=await i(u(o));if(e==null)return{kind:"not-running"};let n=l(e,!1),r=await Promise.race([W(n),w(M).then(()=>null)]);return e.destroy(),r==null?{kind:"unresponsive",timeoutMs:M}:{kind:"running",status:r}}async function W(o){try{let e=await o.rpc.sendRequest(O),n=h.safeParse(e);return n.success?n.data:null}catch{return null}}function Y({connection:o,onEvent:e,request:n,token:r}){let{rpc:t}=o;return new Promise(m=>{let a=s=>{m(s)};t.onNotification(A,s=>{let c=v.safeParse(s);if(!c.success){a({error:{kind:"bad-frame"},kind:"transport"});return}e(c.data.event)}),t.onNotification(I,s=>{let c=x.safeParse(s);if(!c.success){a({error:{kind:"bad-frame"},kind:"transport"});return}a({failed:c.data.failed,kind:"done",notRun:c.data.notRun,passed:c.data.passed})}),t.onClose(()=>{a({error:{kind:"connection-lost"},kind:"transport"})}),t.sendRequest(N,n,r).then(s=>{b.safeParse(s).success||a({error:{kind:"bad-frame"},kind:"transport"})}).catch(s=>{a(Z(s))})})}function Z(o){if(o instanceof z){let e=q.safeParse(o.data);return e.success?{error:e.data,kind:"daemon-error"}:{error:{kind:"bad-frame"},kind:"transport"}}return{error:{kind:"connection-lost"},kind:"transport"}}function l(o,e){let n=R(o);return n.listen(),{rpc:n,socket:o,spawned:e,versionNote:void 0}}function i(o){return new Promise(e=>{let n=H.connect(o);n.once("connect",()=>{e(n)}),n.once("error",()=>{e(null)})})}function ee({cliEntry:o,cwd:e}){try{D(e);let n=_.openSync(k(e),"a");return U(process.execPath,[o,"daemon"],{cwd:e,detached:!0,stdio:["ignore",n,n]}).unref(),_.closeSync(n),null}catch(n){return{kind:"spawn-failed",message:n instanceof Error?n.message:String(n)}}}async function ne(o){let e=Date.now()+V,n=await i(o);for(;n==null&&Date.now()<e;)await w(j),n=await i(o);return n}async function xe(o){let e=process.cwd(),n=await p(e);n.isErr()&&(process.stderr.write(`${C(n.error)}
|
|
3
3
|
`),process.exit(1));let r=T(n.value),t=await $(e);if(o.format==="summary"){r.length>0&&process.stdout.write(`stub workflows: ${r.join(", ")}
|
|
4
4
|
`),process.stdout.write(`${L(t)}
|
|
5
5
|
`);return}let m={daemon:t.kind==="running"?{active:t.status.active,explorer:t.status.explorer,exploring:t.status.exploring,progress:t.status.progress,queued:t.status.queued,running:!0}:{running:t.kind==="unresponsive",state:t.kind},tests:r.map(a=>({id:a,implemented:!1}))};process.stdout.write(`${JSON.stringify(m,null,2)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{
|
|
2
|
+
import{i as k}from"./chunk-ZKBCWP2P.js";import{g as w}from"./chunk-2XTAXNVN.js";import{readFileSync as M}from"fs";import{z as F}from"zod";var O=F.object({version:F.string()});function xe(){let t=M(new URL("../package.json",import.meta.url),"utf8");return O.parse(JSON.parse(t)).version}import j from"fs";import g from"path";import{createJiti as K}from"jiti";import{err as f,ok as I}from"neverthrow";import z from"fs";import p from"path";import l from"typescript";function P(t){let r=p.join(t,"index.ts"),n=U(t);z.mkdirSync(p.dirname(n.tsBuildInfoFile??""),{recursive:!0});let o=l.createIncrementalCompilerHost(n),i=l.createIncrementalProgram({host:o,options:n,rootNames:[r]}),s=[...i.getSyntacticDiagnostics(),...i.getSemanticDiagnostics()];i.emit();let a=s.filter(u=>N(u,t));if(a.length===0)return{diagnostics:[],ok:!0};let L={getCanonicalFileName:u=>u,getCurrentDirectory:()=>p.dirname(t),getNewLine:()=>`
|
|
3
3
|
`};return{diagnostics:l.formatDiagnosticsWithColorAndContext(a,L).split(`
|
|
4
4
|
`).filter(u=>u.length>0),ok:!1}}function N(t,r){let n=t.file?.fileName;return n==null?!0:n.startsWith(r)}var D=p.join(".local","tsbuildinfo");function U(t){return{allowImportingTsExtensions:!0,allowJs:!1,esModuleInterop:!0,incremental:!0,module:l.ModuleKind.Preserve,moduleResolution:l.ModuleResolutionKind.Bundler,noEmit:!0,resolveJsonModule:!0,skipLibCheck:!0,strict:!1,target:l.ScriptTarget.ES2022,tsBuildInfoFile:p.join(t,D)}}import{createHash as q}from"crypto";import T from"fs/promises";import b from"path";import{err as c,ok as E,Result as H}from"neverthrow";var X=".ripplo/fixtures",R=10*1024*1024,S=50*1024*1024;async function v(t,r){let n=B(r);if(n.length===0)return E({});let o=b.join(t,X),i=await Promise.all(n.map(s=>J({fixturesRoot:o,name:s})));return H.combine(i).andThen(W)}function B(t){let n=t.workflows.flatMap(o=>[...o.steps,...o.tests.flatMap(i=>i.steps)]).flatMap(o=>o.action.kind==="upload"?o.action.files:[]);return[...new Set(n)].toSorted((o,i)=>o.localeCompare(i))}async function J({fixturesRoot:t,name:r}){if(r.includes("..")||b.isAbsolute(r))return c({kind:"fixture-invalid-name",name:r});let n=b.join(t,r),o=await T.lstat(n).catch(()=>null);if(o==null)return c({kind:"fixture-missing",name:r,path:n});if(o.isSymbolicLink())return c({kind:"fixture-symlink",name:r});if(!o.isFile())return c({kind:"fixture-not-file",name:r});let i=await T.readFile(n);if(i.byteLength>R)return c({kind:"fixture-too-large",name:r,size:i.byteLength});let s=q("sha256").update(i).digest("hex");return E([r,{sha256:s,size:i.byteLength}])}function W(t){let r=t.reduce((n,[,o])=>n+o.size,0);return r>S?c({kind:"fixtures-total-too-large",total:r}):E(Object.fromEntries(t))}var y=".ripplo/ripplo.lock",d;async function Me(t){let{result:r}=await V(t);return r}async function V(t){let r=Q(g.join(t,".ripplo"));if(d!=null&&d.fingerprint===r&&d.result.isOk())return{fingerprint:r,result:d.result};let n=await G(t);return d={fingerprint:r,result:n},{fingerprint:r,result:n}}async function G(t){let r=g.join(t,".ripplo"),n=g.join(r,"index.ts"),o=P(r);return o.ok?(await Z(n)).andThen(a=>te({entryPath:n,exported:a})).match(async a=>(await v(t,a)).map(m=>({...a,fixtures:m})).mapErr(m=>({error:m,kind:"fixture-failed"})),a=>Promise.resolve(f(a))):f({diagnostics:o.diagnostics,kind:"typecheck-failed"})}var Y=new Set([".local","debug","node_modules"]);function Q(t){return A(t).toSorted((r,n)=>r.localeCompare(n)).join("|")}function A(t){return(j.existsSync(t)?j.readdirSync(t,{withFileTypes:!0}):[]).flatMap(n=>{if(Y.has(n.name))return[];let o=g.join(t,n.name);if(n.isDirectory())return A(o);let i=j.statSync(o);return[`${o}:${String(i.mtimeMs)}:${String(i.size)}`]})}async function Z(t){try{let n=await K(import.meta.url,{fsCache:!1,moduleCache:!1,sourceMaps:!0}).import(t),o=n!=null&&typeof n=="object"&&"default"in n?Reflect.get(n,"default"):n;return I(o)}catch(r){return f({kind:"load-threw",message:ee(r)})}}function ee(t){return t instanceof Error?t.message:String(t)}function te({entryPath:t,exported:r}){if(r==null||typeof r!="object"||!("lockfile"in r))return f({entryPath:t,kind:"not-ripplo"});let n=w.safeParse(Reflect.get(r,"lockfile"));return n.success?I(n.data):f({issues:n.error.issues.map(o=>`${o.path.join(".")}: ${o.message}`),kind:"invalid-lockfile"})}function h(t,r){return r==null?`Load \`/ripplo:${t}\` skill for instructions.`:`Load \`/ripplo:${t}\` skill for instructions on ${r}.`}function ze(t){return t.length===1?h(t[0]):`Before proceeding, load the ${t.map(n=>`\`/ripplo:${n}\``).join(" and ")} skills \u2014 every one, each carries rules the others don't.`}function He(t){return[`Compilation failed: ${re(t)}`,h("create","DSL authoring + lint rules")].join(`
|
|
5
5
|
`)}function Xe(){return`${y} is up to date`}function Be(t){return[`${y} is ${t==="missing"?"missing":"out of date"} \u2014 run \`npx ripplo compile\` and commit the result`,h("setup")].join(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{
|
|
2
|
+
import{h as s,i as a}from"./chunk-ZKBCWP2P.js";import d from"fs";import{setTimeout as p}from"timers/promises";import{checkSync as m,lockSync as f}from"proper-lockfile";var y="dev.pid",l=15e3,h=1e4,k=250;function g(n){return u(i(n))}async function b(n){let r=g(n);if(r==null||!c(n))return{kind:"not-running"};try{process.kill(r,"SIGTERM")}catch{return{kind:"not-running"}}let e=Date.now()+h;for(;Date.now()<e;){if(!c(n))return{kind:"stopped",pid:r};await p(k)}return{kind:"timeout",pid:r}}function c(n){try{return m(i(n),{realpath:!1,stale:l})}catch{return!1}}function i(n){return a(n,y)}var o=class extends Error{pid;cwd;constructor({cwd:r,pid:e}){super("dev-lock-held"),this.name="DevLockHeldError",this.pid=e,this.cwd=r}};function E({cwd:n,onCompromised:r}){s(n);let e=i(n),t=w({cwd:n,onCompromised:r,path:e});return d.writeFileSync(e,String(process.pid)),()=>{try{t()}catch{}}}function w({cwd:n,onCompromised:r,path:e}){try{return f(e,{realpath:!1,stale:l,onCompromised:()=>{r()}})}catch(t){throw D(t)?new o({cwd:n,pid:u(e)}):t}}function D(n){if(!(n instanceof Error)||!("code"in n))return!1;let{code:r}=n;return r==="ELOCKED"}function u(n){try{let r=d.readFileSync(n,"utf8").trim(),e=Number.parseInt(r,10);return Number.isFinite(e)&&e>0?e:null}catch{return null}}export{g as a,b,c,i as d,o as e,E as f};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{c as qe}from"./chunk-
|
|
2
|
+
import{c as qe}from"./chunk-O6J2UXMN.js";import{A as on,a as P,b as C,c as De,d as Ue,e as Le,f as T,g as Ne,i as A,o as Ye,p as Xe,s as Ze,w as en,x as nn,y as tn,z as rn}from"./chunk-JC2J6DDW.js";import{b as Ae,e as c,f as p,i as je,j as $e}from"./chunk-ZKBCWP2P.js";import{A as Ve,B as Be,E as Ke,S as Je,T as Qe,W as ze,X as Ge,a as v,b as Me,i as Fe,j as Oe,k as m,l as _e,m as R,n as E,o as He,s as We,u as j,v as $}from"./chunk-2XTAXNVN.js";import ln from"fs";import U from"path";import{config as ft}from"dotenv";import{z as O}from"zod";import{err as yt,ok as dn}from"neverthrow";import F from"fs";import te from"path";import{err as ee,ok as an}from"neverthrow";import{z as M}from"zod";var dt=te.join(".ripplo","project.json"),ne=[".env",".env.local"],ct=M.object({envFiles:M.array(M.string().min(1)).optional(),projectId:M.string().min(1)});function sn(e){return te.join(e,dt)}function re(e){let n=sn(e);return F.existsSync(n)?ut(n).andThen(t=>{let r=ct.safeParse(t);return r.success?an({envFiles:r.data.envFiles??ne,projectId:r.data.projectId}):ee({issues:r.error.issues.map(o=>`${o.path.join(".")}: ${o.message}`),kind:"project-file-invalid",path:n})}):ee({kind:"project-file-missing",path:n})}function oe(e){return re(e).match(n=>n,()=>{})}function ut(e){try{return an(JSON.parse(F.readFileSync(e,"utf8")))}catch(n){return ee({issues:[n instanceof Error?n.message:String(n)],kind:"project-file-invalid",path:e})}}function ci({cwd:e,envFiles:n,projectId:t}){let r=sn(e);F.mkdirSync(te.dirname(r),{recursive:!0});let o={projectId:t};n!=null&&!pt(n)&&(o.envFiles=[...n]),F.writeFileSync(r,JSON.stringify(o,null,2)+`
|
|
3
3
|
`)}function pt(e){return e.length!==ne.length?!1:e.every((n,t)=>n===ne[t])}function hi(e){let t=oe(e)?.envFiles??[".env",".env.local"],r=U.join(e,".ripplo");t.forEach(o=>{let i=U.resolve(r,o);ln.existsSync(i)&&ft({override:!0,path:i,quiet:!0})}),D=void 0}var mt=O.object({RIPPLO_APP_URL:O.url(),RIPPLO_ENGINE_URL:O.url(),RIPPLO_WEBHOOK_SECRET:O.string().min(1)}),D;function L(){return D!=null?dn(D):Rt().map(e=>(D=e,e))}function gt(e){let t=oe(e)?.envFiles??[],r=U.join(e,".ripplo");return t.map(o=>U.resolve(r,o)).filter(o=>!ln.existsSync(o))}function Rt(){let e=mt.safeParse(process.env);if(!e.success)return yt({issues:e.error.issues.map(t=>`${t.path.join(".")}: ${t.message}`),kind:"env-invalid",missingEnvFiles:gt(process.cwd())});let n=e.data;return dn({appUrl:n.RIPPLO_APP_URL,engineUrl:n.RIPPLO_ENGINE_URL,webhookSecret:n.RIPPLO_WEBHOOK_SECRET})}var N=class extends Error{failure;constructor(n){super(n.kind),this.name="CliError",this.failure=n}};function bi(e){return e instanceof N?ie(e.failure):e instanceof Error?e.message:String(e)}function ie(e){switch(e.kind){case"project-file-missing":return[`Missing ${e.path} \u2014 this directory is not a Ripplo project.`,"Run `npx ripplo init` to create it (or cd into the project root).",Ne("setup")].join(`
|
|
4
4
|
`);case"project-file-invalid":return[`${e.path} is invalid:`,...e.issues.map(n=>` ${n}`),"Fix the file by hand or re-run `npx ripplo init`."].join(`
|
|
5
5
|
`);case"not-authenticated":return["Not signed in. Run `npx ripplo auth login`.","(Claude Code: run it yourself in the background \u2014 the user just approves in the browser.)"].join(`
|
|
@@ -43,4 +43,4 @@ import{b as G,c as q}from"./chunk-SB7H6IAS.js";import{execFileSync as O}from"chi
|
|
|
43
43
|
failAgentReview(reviewId: $reviewId, reason: $reason)
|
|
44
44
|
}
|
|
45
45
|
`);import l from"fs";import I from"path";function ye(e){let r=process.env.RIPPLO_TOKEN;if(r!=null&&r.trim().length>0)return r.trim();let t=w(e);if(!l.existsSync(t))return null;let n=l.readFileSync(t,"utf8").trim();return n.length===0?null:n}function we({serverUrl:e,token:r}){S();let t=w(e);l.mkdirSync(I.dirname(t),{mode:448,recursive:!0}),l.writeFileSync(t,r+`
|
|
46
|
-
`,{mode:384})}function Re(e){let r=w(e);return l.existsSync(r)?(l.unlinkSync(r),!0):!1}function w(e){return P(I.join("tokens",ve(e)))}function ve(e){return new URL(e).host.replaceAll(/[^a-zA-Z0-9.]/g,"_")}var D=G(q(),1);import _ from"crypto";function he({body:e,secret:r}){let t=new D.Webhook(r),n=`msg_${_.randomUUID()}`,o=new Date,d=t.sign(n,o,e),s=Math.floor(o.getTime()/1e3);return{"webhook-id":n,"webhook-signature":d,"webhook-timestamp":String(s)}}function Se(){return`whsec_${_.randomBytes(24).toString("base64")}`}export{F as a,f as b,B as
|
|
46
|
+
`,{mode:384})}function Re(e){let r=w(e);return l.existsSync(r)?(l.unlinkSync(r),!0):!1}function w(e){return P(I.join("tokens",ve(e)))}function ve(e){return new URL(e).host.replaceAll(/[^a-zA-Z0-9.]/g,"_")}var D=G(q(),1);import _ from"crypto";function he({body:e,secret:r}){let t=new D.Webhook(r),n=`msg_${_.randomUUID()}`,o=new Date,d=t.sign(n,o,e),s=Math.floor(o.getTime()/1e3);return{"webhook-id":n,"webhook-signature":d,"webhook-timestamp":String(s)}}function Se(){return`whsec_${_.randomBytes(24).toString("base64")}`}export{F as a,f as b,c,B as d,b as e,y as f,re as g,ie as h,se as i,ye as j,we as k,Re as l,w as m,fe as n,he as o,Se as p};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{B as R,C as E,D as Ae,E as q,F as We,H as Le,I as De,J as C,L as He,M as Me,N as Ue,P as T,R as _e,S as qe,T as Fe,U as $e,W as Oe,X as Ne,Y as F,b as V,f as oe,i as v,m as ie,o as me,s as xe,t as be,u as Pe,v as Re,w as Ee,x as Ce,y as Te,z as Ie}from"./chunk-
|
|
2
|
+
import{B as R,C as E,D as Ae,E as q,F as We,H as Le,I as De,J as C,L as He,M as Me,N as Ue,P as T,R as _e,S as qe,T as Fe,U as $e,W as Oe,X as Ne,Y as F,b as V,f as oe,i as v,m as ie,o as me,s as xe,t as be,u as Pe,v as Re,w as Ee,x as Ce,y as Te,z as Ie}from"./chunk-XWBHAWDA.js";import{e as ne,f as te}from"./chunk-O6J2UXMN.js";import{a as Y,d as P,e as re,f as U,i as _,m as ye}from"./chunk-JC2J6DDW.js";import{d as Q,e as m,f as l,g as M,h as G}from"./chunk-ZKBCWP2P.js";import{$ as Se,K as se,M as ce,N as de,O as ue,P as pe,Q as fe,_ as ge,aa as ve,ba as ke,ca as he,e as X,ea as we,h as Z,k as ee,m as ae,t as le}from"./chunk-2XTAXNVN.js";import"./chunk-SB7H6IAS.js";import wn from"path";import{createClient as xn}from"graphql-sse";import bn,{AbortError as Pn}from"p-retry";import{graphql as J}from"gql.tada";import{graphql as jr}from"gql.tada";import{print as Br}from"graphql";async function je({config:e,cwd:r,headed:o,pool:n,runId:t,signal:i,testSlug:a,workClass:s,workflowSlug:d}){let c=await P(r);if(c.isErr())return await T(e,t,`lockfile:${c.error.kind}`),{kind:"dispatch-error",reason:{detail:`lockfile:${c.error.kind}`,type:"generic"}};let p=Nr(c.value,{testSlug:a,workflowSlug:d});if(p==null)return await T(e,t,`no-test:${d}/${a}`),{kind:"dispatch-error",reason:{detail:`no-test:${d}/${a}`,type:"generic"}};let u=await R({headed:o,workClass:s,task:()=>n.execute({headed:o,runId:t,testRef:p},i)});return!u.serverNotified&&u.outcome.kind==="error"&&await T(e,t,u.outcome.detail),u.outcome}function Nr(e,{testSlug:r,workflowSlug:o}){let t=e.workflows.find(i=>ee(i.name)===o)?.tests.find(i=>i.slug===r);return t==null?void 0:ae(t)}var Kr=6e4,Jr=jr(`
|
|
3
3
|
subscription RunRequestedWatch($devSessionId: String!) {
|
|
4
4
|
runRequested(devSessionId: $devSessionId) {
|
|
5
5
|
runId
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{$ as c,Z as a,_ as b,aa as d,ba as e,ca as f,da as g,ea as h,fa as i,ga as j,ha as k,ia as l}from"./chunk-
|
|
2
|
+
import{$ as c,Z as a,_ as b,aa as d,ba as e,ca as f,da as g,ea as h,fa as i,ga as j,ha as k,ia as l}from"./chunk-2XTAXNVN.js";import"./chunk-SB7H6IAS.js";export{b as renderDaemonBindError,h as renderDaemonLockCompromised,f as renderDaemonLockHeld,e as renderDaemonReady,i as renderDaemonStatus,g as renderDaemonStopResult,k as renderDaemonVersionNote,j as renderExplorationProgress,d as renderNotSignedIn,c as renderProjectAccessDenied,a as renderTunnelProvisionFailed,l as wireOutcome};
|