calmlens 0.2.0 → 0.2.1

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
@@ -515,7 +515,7 @@ The SDK installs a `calmlens` command. Webhook destinations must be public HTTPS
515
515
  npx calmlens listen --forward-to http://localhost:3000/api/webhooks/calmlens --env-file .env.local
516
516
  ```
517
517
 
518
- The CLI reads `CALMLENS_API_KEY`, `CALMLENS_PROJECT_ID` and `CALMLENS_WEBHOOK_SECRET` from the environment or `--env-file`; without a secret it prints a generated one for your app. `npx calmlens trigger [harassment|hate|criminal-activity|clean]` moderates a harmless test input so events appear (one upload each). Run `npx calmlens --help` for all options. Outside a project that uses the SDK, install it with `npm install -g @calmlens/js-sdk` or run `npx -p @calmlens/js-sdk calmlens`.
518
+ The CLI reads `CALMLENS_API_KEY`, `CALMLENS_PROJECT_ID` and `CALMLENS_WEBHOOK_SECRET` from the environment or `--env-file`; without a secret it prints a generated one for your app. `npx calmlens trigger [harassment|hate|criminal-activity|clean]` moderates a harmless test input so events appear (one upload each). Run `npx calmlens --help` for all options. To install the command globally, use `npm install -g calmlens`: the same package, published under a shorter name.
519
519
 
520
520
  The same feed is available in code: `client.events.list({ after, limit })` returns events oldest first with a `cursor` to pass back.
521
521
 
package/bin/calmlens.js CHANGED
@@ -1032,8 +1032,7 @@ Usage:
1032
1032
  calmlens listen --forward-to <url> [options]
1033
1033
  calmlens trigger [harassment|hate|criminal-activity|clean] [options]
1034
1034
 
1035
- In a project that uses @calmlens/js-sdk, run \`npx calmlens\`. Elsewhere, install it with
1036
- \`npm install -g @calmlens/js-sdk\` or run \`npx -p @calmlens/js-sdk calmlens\`.
1035
+ Run it with \`npx calmlens\`, or install it with \`npm install -g calmlens\`.
1037
1036
 
1038
1037
  Commands:
1039
1038
  listen Forward your project's events to a local webhook handler, signed like real
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "calmlens",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Censkh/CalmLens.git",