pinsay-cli 0.8.1 → 0.9.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 +30 -4
- package/dist/cli.js +5604 -3684
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Command-line tool for [PinSay](https://pinsay.dev) — wire element-level feedba
|
|
|
8
8
|
npx pinsay-cli init
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
`init`
|
|
11
|
+
`init` signs you in in your browser, picks the project, detects your AI tool, asks whether to share your framework names (Yes by default; `--no-share-stack` to decline), shows a short plan and sets the repo up for the PinSay Chrome extension — no change to your app's code. Want the widget in your code? `npx pinsay-cli embed`.
|
|
12
12
|
|
|
13
13
|
- `npx pinsay-cli <command>` runs it without installing — but you type the full name every time.
|
|
14
14
|
- `npm i -g pinsay-cli` installs a real `pinsay` command on your PATH — then plain `pinsay <command>` works everywhere the docs say `npx pinsay-cli <command>`.
|
|
@@ -17,8 +17,12 @@ npx pinsay-cli init
|
|
|
17
17
|
|
|
18
18
|
| Command | What it does |
|
|
19
19
|
|---|---|
|
|
20
|
-
| `npx pinsay-cli init` |
|
|
21
|
-
| `npx pinsay-cli
|
|
20
|
+
| `npx pinsay-cli init` | Set up this repo (sign in, project, skills; Chrome extension by default) |
|
|
21
|
+
| `npx pinsay-cli embed` | Put the widget in your app's code |
|
|
22
|
+
| `npx pinsay-cli login` / `whoami` / `logout` | Sign in; the key is saved in this repo (`--global`: this machine); check / clear credentials |
|
|
23
|
+
| `npx pinsay-cli remove` | Remove everything PinSay added to this repo |
|
|
24
|
+
| `npx pinsay-cli status` | Who you are, this folder's project, comments waiting |
|
|
25
|
+
| `npx pinsay-cli open` | Open this project in the dashboard |
|
|
22
26
|
| `npx pinsay-cli list` / `get <id>` | List pending feedback; inspect one comment |
|
|
23
27
|
| `npx pinsay-cli apply` | Generate the fix-it prompt for your AI tool, then record what changed |
|
|
24
28
|
| `npx pinsay-cli apply --plan` | Preview proposed edits without touching code |
|
|
@@ -38,7 +42,7 @@ npx pinsay-cli init
|
|
|
38
42
|
|
|
39
43
|
## API keys
|
|
40
44
|
|
|
41
|
-
Keys look like `pnsy_` + 40 hex characters. They resolve in this order: `PINSAY_API_KEY` env var → `.pinsay/credentials.env` → the per-machine store (`~/.config/pinsay/credentials.json`, mode 0600, never committed).
|
|
45
|
+
Keys look like `pnsy_` + 40 hex characters. They resolve in this order: `PINSAY_API_KEY` env var → `.pinsay/credentials.env` → the per-machine store (`~/.config/pinsay/credentials.json`, mode 0600, never committed). `init` and `login` save the key to `.pinsay/credentials.env` (hidden from git) by default; `--global` saves to the machine store instead; `login --global` moves a repo key there.
|
|
42
46
|
|
|
43
47
|
## MCP (Claude Code / Cursor)
|
|
44
48
|
|
|
@@ -48,6 +52,28 @@ Keys look like `pnsy_` + 40 hex characters. They resolve in this order: `PINSAY_
|
|
|
48
52
|
|
|
49
53
|
User-level config, not committed. The key stays inside the CLI process.
|
|
50
54
|
|
|
55
|
+
## Privacy
|
|
56
|
+
|
|
57
|
+
The CLI never reads or uploads your source code. It asks before sharing your framework names and AI tool (Yes by default; without a terminal also Yes unless `--no-share-stack`); on No it sends only a "setup done" signal. Design tokens stay in `.pinsay/stack.json`.
|
|
58
|
+
|
|
51
59
|
## Docs
|
|
52
60
|
|
|
53
61
|
Full guides: https://pinsay.dev/docs/ · Issues: https://github.com/moamen-ui/pinsay-cli/issues · support@pinsay.dev
|
|
62
|
+
|
|
63
|
+
## Changelog
|
|
64
|
+
|
|
65
|
+
### 0.9.1
|
|
66
|
+
|
|
67
|
+
- `remove` works when the repo sits behind a linked or shortened path (Windows junctions / short paths).
|
|
68
|
+
|
|
69
|
+
### 0.9.0
|
|
70
|
+
|
|
71
|
+
- No more `.pinsay/pinsay.sh` (old copies keep working; `remove` deletes them).
|
|
72
|
+
- Asks before sharing framework names / usage events (`--share-stack`, `--no-share-stack`).
|
|
73
|
+
- `init` assumes the Chrome extension; `embed` / `init --embed` put the widget in code.
|
|
74
|
+
- Key saved in the repo by default; `--global` / `login --global`.
|
|
75
|
+
- Fewer questions, a plan with one confirm, quick check, one next step, `--dry-run`.
|
|
76
|
+
- New `remove`, `status`, `open`.
|
|
77
|
+
- Clearer prompts (coloured question band, `--no-color`, `NO_COLOR`).
|
|
78
|
+
- Plain errors, new exit code 4 when PinSay can't be reached.
|
|
79
|
+
- Shorter `--help`.
|