expect-cli 0.0.3 → 0.0.4

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 CHANGED
@@ -3,10 +3,14 @@
3
3
  [![version](https://img.shields.io/npm/v/expect-cli?style=flat&colorA=000000&colorB=000000)](https://npmjs.com/package/expect-cli)
4
4
  [![downloads](https://img.shields.io/npm/dt/expect-cli.svg?style=flat&colorA=000000&colorB=000000)](https://npmjs.com/package/expect-cli)
5
5
 
6
- Let agents test your code in a real browser. One command scans your unstaged changes or branch diff, generates a test plan, and runs it against a live browser.
6
+ Let agents test your code in a real browser.
7
+
8
+ One command scans your unstaged changes or branch diff, generates a test plan, and runs it against a live browser.
7
9
 
8
10
  ### **[See it in action →](https://expect.dev)**
9
11
 
12
+ <a href="https://expect.dev"><img src="https://github.com/millionco/testie/blob/main/apps/website/public/og.png?raw=true" width="800" /></a>
13
+
10
14
  ## Install
11
15
 
12
16
  ```bash
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export { };
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import{i as e,n as t,nr as n,r}from"./server-Smi2kpAY-CN-mxLk6.js";let i=!1;const a=n(function*(){yield*(yield*r).close()});(()=>{if(i)return;i=!0;let e=()=>{t.runPromise(a).finally(()=>process.exit(0))};process.once(`SIGINT`,e),process.once(`SIGTERM`,e),process.once(`beforeExit`,()=>{t.runPromise(a)})})(),e(t);export{};
3
+ //# sourceMappingURL=browser-mcp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser-mcp.js","names":["Effect.gen"],"sources":["../../../packages/browser/dist/mcp/start.mjs"],"sourcesContent":["import \"../recorder-BlNOPrM9.mjs\";\nimport { i as McpSession, n as startBrowserMcpServer, r as McpRuntime } from \"../server-Smi2kpAY.mjs\";\nimport { Effect } from \"effect\";\n//#region src/mcp/start.ts\nlet cleanupRegistered = false;\nconst closeSession = Effect.gen(function* () {\n\tyield* (yield* McpSession).close();\n});\nconst registerProcessCleanup = () => {\n\tif (cleanupRegistered) return;\n\tcleanupRegistered = true;\n\tconst handleShutdown = () => {\n\t\tMcpRuntime.runPromise(closeSession).finally(() => process.exit(0));\n\t};\n\tprocess.once(\"SIGINT\", handleShutdown);\n\tprocess.once(\"SIGTERM\", handleShutdown);\n\tprocess.once(\"beforeExit\", () => {\n\t\tMcpRuntime.runPromise(closeSession);\n\t});\n};\nregisterProcessCleanup();\nstartBrowserMcpServer(McpRuntime);\n//#endregion\nexport {};\n\n//# sourceMappingURL=start.mjs.map"],"mappings":";mEAIA,IAAI,EAAoB,GACxB,MAAM,EAAeA,EAAW,WAAa,CAC5C,OAAQ,MAAO,GAAY,OAAO,EACjC,MACmC,CACpC,GAAI,EAAmB,OACvB,EAAoB,GACpB,IAAM,MAAuB,CAC5B,EAAW,WAAW,EAAa,CAAC,YAAc,QAAQ,KAAK,EAAE,CAAC,EAEnE,QAAQ,KAAK,SAAU,EAAe,CACtC,QAAQ,KAAK,UAAW,EAAe,CACvC,QAAQ,KAAK,iBAAoB,CAChC,EAAW,WAAW,EAAa,EAClC,IAEqB,CACxB,EAAsB,EAAW"}
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import{createRequire as e}from"node:module";var t=Object.create,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=i(t),l=0,u=c.length,d;l<u;l++)d=c[l],!o.call(e,d)&&d!==a&&n(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(s=r(t,d))||s.enumerable});return e},l=(e,r,i)=>(i=e==null?{}:t(a(e)),c(r||!e||!e.__esModule?n(i,`default`,{value:e,enumerable:!0}):i,e)),u=e(import.meta.url);export{u as n,l as r,s as t};