ripplo 0.16.0 → 0.18.0

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,22 +3,34 @@
3
3
  Ripplo models a critical user journey, synthesizes valid starting state, drives the browser, and
4
4
  verifies the complete visible and application-state result.
5
5
 
6
- Ripplo writes and owns the workflows. Install `@ripplo/auth`, then comment
7
- `@ripplo review <preview-url>` on a pull request. Your repository holds no workflow files.
6
+ Ripplo writes and owns the workflows. Install `@ripplo/auth`, then comment `@ripplo review` on a
7
+ pull request. Ripplo reads the preview URL from the deploy bot's comment. Pass it yourself when
8
+ there is none: `@ripplo review <preview-url>`. To sign in through a saved connection other than
9
+ the project default, add `auth=<connection name>`. Your repository holds no workflow files.
8
10
 
9
11
  ## Setup
10
12
 
11
- Install `@ripplo/auth` and mount its handler at your authentication address. That is the whole
12
- install. See [`@ripplo/auth`](../auth/README.md).
13
+ ```sh
14
+ npx ripplo setup
15
+ ```
16
+
17
+ Run it in the app's repository. It signs you in, installs the Ripplo GitHub App if needed, creates
18
+ the project from the git remote, asks for the deployed test URL, creates an OpenID Connect
19
+ connection, and prints the values to register in your app. Add the connection to your auth library
20
+ (guides at [ripplo.ai/docs#sign-in](https://ripplo.ai/docs#sign-in)), set the
21
+ variables on your dev server, deploy, then `npx ripplo setup --check` tests authentication,
22
+ installs the Ripplo plugin in Claude Code, and opens your project.
13
23
 
14
24
  ## Commands
15
25
 
16
26
  The CLI is for coding agents working on a Ripplo review. Sign in first.
17
27
 
18
28
  ```sh
29
+ npx ripplo setup # connect this repository to Ripplo
30
+ npx ripplo setup --app-url <url> --sign-in-page <path> --redirect-uri <url> # same, without prompts
19
31
  npx ripplo login # sign in through your browser
20
32
  npx ripplo logout # remove the saved token
21
- npx ripplo review <codeReviewId> # issues of the published attempt (JSON)
33
+ npx ripplo review <codeReviewId> # open issues of the review (JSON)
22
34
  npx ripplo explain <runId> # failures per step with nearby evidence (JSON)
23
35
  npx ripplo snapshot <runId> --offset <ms> # PNG and rrweb-tagged HTML of that frame
24
36
  ```
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import {createRequire}from'node:module';globalThis.require ?? createRequire(import.meta.url);
3
+ var g=Object.create;var e=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports),n=(b,a)=>{for(var c in a)e(b,c,{get:a[c],enumerable:true});},l=(b,a,c,f)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of i(a))!k.call(b,d)&&d!==c&&e(b,d,{get:()=>a[d],enumerable:!(f=h(a,d))||f.enumerable});return b};var o=(b,a,c)=>(c=b!=null?g(j(b)):{},l(a||!b||!b.__esModule?e(c,"default",{value:b,enumerable:true}):c,b));export{m as a,n as b,o as c};