expect-cli 0.0.5 → 0.0.7

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
@@ -20,7 +20,7 @@ npx -y expect-cli@latest init
20
20
  ## Usage
21
21
 
22
22
  ```
23
- Usage: expect [options] [command]
23
+ Usage: expect-cli [options] [command]
24
24
 
25
25
  Options:
26
26
  -m, --message <instruction> natural language instruction for what to test
@@ -36,10 +36,10 @@ Commands:
36
36
  init install expect globally and set up skill
37
37
 
38
38
  Examples:
39
- $ expect open interactive TUI
40
- $ expect -m "test the login flow" -y plan and run immediately
41
- $ expect --target branch test all branch changes
42
- $ expect --target unstaged test unstaged changes
39
+ $ expect-cli open interactive TUI
40
+ $ expect-cli -m "test the login flow" -y plan and run immediately
41
+ $ expect-cli --target branch test all branch changes
42
+ $ expect-cli --target unstaged test unstaged changes
43
43
  ```
44
44
 
45
45
  ## Resources & Contributing Back
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import{i as e,n as t,nr as n,r}from"./server-C9rjDe4G-tK1eEVqu.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{};
2
+ import{En as e,n as t,r as n,t as r}from"./server-DsSVRZK1.js";let i=!1;const a=e(function*(){yield*(yield*n).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)})})(),r(t);export{};
3
3
  //# sourceMappingURL=browser-mcp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"browser-mcp.js","names":["Effect.gen"],"sources":["../../../packages/browser/dist/mcp/start.mjs"],"sourcesContent":["import \"../recorder-BrlWs1UD.mjs\";\nimport { i as McpSession, n as startBrowserMcpServer, r as McpRuntime } from \"../server-C9rjDe4G.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"}
1
+ {"version":3,"file":"browser-mcp.js","names":["Effect.gen"],"sources":["../../../packages/browser/src/mcp/start.ts"],"sourcesContent":["import { Effect } from \"effect\";\nimport { McpSession } from \"./mcp-session\";\nimport { McpRuntime } from \"./runtime\";\nimport { startBrowserMcpServer } from \"./server\";\n\nlet cleanupRegistered = false;\n\nconst closeSession = Effect.gen(function* () {\n const session = yield* McpSession;\n yield* session.close();\n});\n\nconst registerProcessCleanup = () => {\n if (cleanupRegistered) return;\n cleanupRegistered = true;\n\n const handleShutdown = () => {\n void McpRuntime.runPromise(closeSession).finally(() => process.exit(0));\n };\n\n process.once(\"SIGINT\", handleShutdown);\n process.once(\"SIGTERM\", handleShutdown);\n process.once(\"beforeExit\", () => {\n void McpRuntime.runPromise(closeSession);\n });\n};\n\nregisterProcessCleanup();\nvoid startBrowserMcpServer(McpRuntime);\n"],"mappings":";+DAKA,IAAI,EAAoB,GAExB,MAAM,EAAeA,EAAW,WAAa,CAE3C,OADgB,MAAO,GACR,OAAO,EACtB,MAEmC,CACnC,GAAI,EAAmB,OACvB,EAAoB,GAEpB,IAAM,MAAuB,CACtB,EAAW,WAAW,EAAa,CAAC,YAAc,QAAQ,KAAK,EAAE,CAAC,EAGzE,QAAQ,KAAK,SAAU,EAAe,CACtC,QAAQ,KAAK,UAAW,EAAe,CACvC,QAAQ,KAAK,iBAAoB,CAC1B,EAAW,WAAW,EAAa,EACxC,IAGoB,CACnB,EAAsB,EAAW"}