pinsay-cli 0.9.1 → 0.11.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 +14 -2
- package/dist/cli.js +584 -384
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ npx pinsay-cli init
|
|
|
19
19
|
|---|---|
|
|
20
20
|
| `npx pinsay-cli init` | Set up this repo (sign in, project, skills; Chrome extension by default) |
|
|
21
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 (
|
|
22
|
+
| `npx pinsay-cli login` / `whoami` / `logout` | Sign in; the key is saved in this repo; check (account, workspace) / clear credentials |
|
|
23
23
|
| `npx pinsay-cli remove` | Remove everything PinSay added to this repo |
|
|
24
24
|
| `npx pinsay-cli status` | Who you are, this folder's project, comments waiting |
|
|
25
25
|
| `npx pinsay-cli open` | Open this project in the dashboard |
|
|
@@ -42,7 +42,7 @@ npx pinsay-cli init
|
|
|
42
42
|
|
|
43
43
|
## API keys
|
|
44
44
|
|
|
45
|
-
Keys look like `pnsy_` + 40 hex characters. They resolve in this order: `PINSAY_API_KEY` env var → `.pinsay/credentials.env`
|
|
45
|
+
Keys look like `pnsy_` + 40 hex characters. They resolve in this order: `PINSAY_API_KEY` env var → `.pinsay/credentials.env` (mode 0600, hidden from git). `init` and `login` save the key in the repo; there is no machine-wide key since 0.10.0, and `npx pinsay-cli update` deletes one an older version saved (`~/.config/pinsay/credentials.json`).
|
|
46
46
|
|
|
47
47
|
## MCP (Claude Code / Cursor)
|
|
48
48
|
|
|
@@ -62,6 +62,18 @@ Full guides: https://pinsay.dev/docs/ · Issues: https://github.com/moamen-ui/pi
|
|
|
62
62
|
|
|
63
63
|
## Changelog
|
|
64
64
|
|
|
65
|
+
### 0.11.0
|
|
66
|
+
|
|
67
|
+
- Comments are numbered per project: `#1`, `#2`, … in `list`, `get`, `status`, `apply`, `reply` and the dashboard. Pass that number (or `--number`); the internal id is no longer accepted, and `get --id` is removed.
|
|
68
|
+
- `--json` output has both `number` and `internalId`.
|
|
69
|
+
- MCP tools take `number` / `numbers` instead of ids.
|
|
70
|
+
|
|
71
|
+
### 0.10.0
|
|
72
|
+
|
|
73
|
+
- The API key lives only in the repo: `--global` (login, init, logout, remove) is gone, and a key saved on the machine is no longer read.
|
|
74
|
+
- `update` deletes the machine-wide key file an older version saved, and says which file it removed.
|
|
75
|
+
- `whoami` shows the workspace; `status` / `apply` say "Project … not found in workspace …" instead of a generic error.
|
|
76
|
+
|
|
65
77
|
### 0.9.1
|
|
66
78
|
|
|
67
79
|
- `remove` works when the repo sits behind a linked or shortened path (Windows junctions / short paths).
|