revyse 0.1.0 → 0.2.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
@@ -5,14 +5,15 @@ your running dev server, say what should change, review the diff and the checks,
5
5
  revert.
6
6
 
7
7
  ```bash
8
- npx revyse init # detect the project, accept the data disclosure, add withRevyse() to next.config
9
- npx revyse login # link this machine to your Revyse project
10
- npx revyse dev # run the local agent next to your dev server; the overlay appears in the app
8
+ npx revyse init # set up: the disclosure, next.config, the packages, the project on Revyse
9
+ npm run dev # your dev server as usual: Revyse starts with it and the overlay appears
11
10
  ```
12
11
 
13
- `npx revyse init` installs nothing by itself: add `@revyse/next` to your dev dependencies
14
- (`npm i -D @revyse/next`). The browser check needs Chromium (`npx playwright install
15
- chromium`) or Chrome; without it the check reports "not run".
12
+ `init` installs `revyse` and `@revyse/next` as dev dependencies and opens the browser to
13
+ create (or pick) the project on Revyse. `@revyse/next` starts the local agent inside `next
14
+ dev`, so there is nothing else to run. `npx revyse login` connects to another project later,
15
+ and `npx revyse dev` runs the agent on its own, for dev servers `withRevyse()` doesn't wrap. The browser check needs Chromium (`npx
16
+ playwright install chromium`) or Chrome; without it the check reports "not run".
16
17
 
17
18
  How Revyse handles your code: https://revyse.dev/data-handling
18
19
 
package/dist/agent.js ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ identifyAgent,
4
+ loadConfig,
5
+ startLocalAgent
6
+ } from "./chunk-FYWZYXR4.js";
7
+ export {
8
+ identifyAgent,
9
+ loadConfig,
10
+ startLocalAgent
11
+ };