pindrop 0.0.0-stage → 0.1.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
@@ -1,3 +1,48 @@
1
- # Temporary Holding Version
1
+ # pindrop
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Zero-dependency CLI for [PinDrop](https://www.pindrop.page) visual client feedback pins.
4
+
5
+ Works in any coding agent (Claude Code, Codex, Cursor, Antigravity, Gemini CLI, Windsurf, OpenCode, CI) **without restarting your session** and without modifying your agent's MCP config.
6
+
7
+ ## Quick start
8
+
9
+ ```sh
10
+ npx -y pindrop init
11
+ ```
12
+
13
+ Or install globally:
14
+
15
+ ```sh
16
+ npm install -g pindrop
17
+ pindrop init https://your-site.com
18
+ ```
19
+
20
+ On first run, `pindrop` opens PinDrop in your browser (PKCE OAuth), saves credentials to `~/.pindrop/auth.json` (`0600`), installs the PinDrop agent skill, and hands back a live client review link.
21
+
22
+ ## Common commands
23
+
24
+ ```sh
25
+ pindrop create [url] # create (or reuse) a project review link
26
+ pindrop projects # list active projects
27
+ pindrop pins # list open pins for this repo
28
+ pindrop pin 4 --screenshot # full context + save screenshot locally
29
+ pindrop mark 4 in_progress # mark fixed locally, awaiting prod deploy
30
+ pindrop resolve 4 --comment "Fixed CTA." # close pin after production deploy
31
+ pindrop comment 4 --body "On it." # reply in the pin thread
32
+ pindrop sandbox claim <id> <code> # claim a pindrop.page/try demo sandbox
33
+ pindrop skill install # install SKILL.md for Claude Code / Codex / agents
34
+ ```
35
+
36
+ Add `--json` to any command for raw structured JSON output.
37
+
38
+ ## Authentication
39
+
40
+ 1. **Browser OAuth (default)**: `pindrop login` uses OAuth 2.1 with PKCE and refreshes tokens automatically.
41
+ 2. **API key (CI / scripts)**: set `PINDROP_API_KEY=pdp_...` or run `pindrop login --api-key pdp_...`. Keys are minted at [pindrop.page/mcp](https://www.pindrop.page/mcp).
42
+
43
+ ## Exit codes
44
+
45
+ - `0` — ok
46
+ - `1` — API, validation, or network error
47
+ - `2` — authentication required or expired
48
+ - `3` — pin or project not found / ambiguous project hint