@peekdev/cli 0.1.0-alpha.12 → 0.1.0-alpha.14

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.
Files changed (2) hide show
  1. package/README.md +22 -1
  2. package/package.json +17 -3
package/README.md CHANGED
@@ -7,7 +7,9 @@
7
7
  [![license](https://img.shields.io/npm/l/@peekdev/cli.svg)](https://github.com/Cubenest/rrweb-stack/blob/main/LICENSE)
8
8
  [![CI](https://github.com/Cubenest/rrweb-stack/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Cubenest/rrweb-stack/actions/workflows/ci.yml)
9
9
 
10
- <!-- Hero GIF (peek): `npx peek init` MCP visible in Claude Code "what's in my latest session?" returning real data. Tape file lives in `assets/`; record per the README there. -->
10
+ ![peek sessions list and drill-down three real sessions, console + network errors, markdown-formatted output for AI paste](https://raw.githubusercontent.com/Cubenest/rrweb-stack/main/assets/peek-hero.gif)
11
+
12
+ Docs: <https://peek.cubenest.in>
11
13
 
12
14
  ```sh
13
15
  npm install -g @peekdev/cli
@@ -83,6 +85,25 @@ When Claude Code is among the configured clients (or `~/.claude.json` already ex
83
85
 
84
86
  The skill is idempotent on re-run (no-op when the on-disk content matches the bundled source). Skip the install with `peek init --skip-skill`. Want it without running `peek init`? See the curl-able recipe at [`docs/peek/distribution/claude-code-skill.md`](https://github.com/Cubenest/rrweb-stack/blob/main/docs/peek/distribution/claude-code-skill.md).
85
87
 
88
+ ### Cursor — project-level recipe
89
+
90
+ `peek init` writes Cursor's MCP server entry to the global config at `~/.cursor/mcp.json` — every project opened in Cursor inherits it. If you'd rather scope peek to one project (a repo where peek captures matter but other repos on the same machine should not surface the tools), drop a `.cursor/mcp.json` into the workspace root:
91
+
92
+ ```json
93
+ {
94
+ "mcpServers": {
95
+ "peek": {
96
+ "command": "npx",
97
+ "args": ["-y", "@peekdev/mcp"]
98
+ }
99
+ }
100
+ }
101
+ ```
102
+
103
+ Commit it or add it to `.gitignore` — Cursor reads either. Cursor's docs document the global file as "tools available everywhere" and the project file as "project-specific tools" (see [docs.cursor.com/context/mcp](https://cursor.com/docs/context/mcp) for current merge semantics).
104
+
105
+ This is the same block `peek init` writes to the global file, so the two configs are interchangeable. You still need the [Peek Chrome extension](https://chromewebstore.google.com/) installed and the native messaging host registered — run `peek init --skip-clients` if you want the host installed without touching any MCP config.
106
+
86
107
  ## Versioning & compatibility
87
108
 
88
109
  Semantic Versioning. Currently `0.1.0-alpha.x` — pre-release; the CLI surface is stable in spirit but flags may rename. See [SUPPORTED.md](https://github.com/Cubenest/rrweb-stack/blob/main/SUPPORTED.md) for the compatibility matrix.
package/package.json CHANGED
@@ -1,8 +1,22 @@
1
1
  {
2
2
  "name": "@peekdev/cli",
3
- "version": "0.1.0-alpha.12",
3
+ "version": "0.1.0-alpha.14",
4
4
  "description": "peek command-line tool. A thin read-mostly client of the native host's ~/.peek/sessions.db (ADR-0007): status, sessions list/show/export/delete, the `peek init` MCP-client wizard, and `peek audit log`.",
5
+ "keywords": [
6
+ "peek",
7
+ "mcp",
8
+ "model-context-protocol",
9
+ "browser",
10
+ "claude-code",
11
+ "cursor",
12
+ "ai-coding-agent",
13
+ "session-replay"
14
+ ],
5
15
  "license": "Apache-2.0",
16
+ "funding": {
17
+ "type": "github",
18
+ "url": "https://github.com/sponsors/harry-harish"
19
+ },
6
20
  "type": "module",
7
21
  "bin": {
8
22
  "peek": "./dist/index.js"
@@ -22,7 +36,7 @@
22
36
  ],
23
37
  "dependencies": {
24
38
  "better-sqlite3": "^12.10.0",
25
- "@peekdev/mcp": "0.1.0-alpha.7"
39
+ "@peekdev/mcp": "0.1.0-alpha.9"
26
40
  },
27
41
  "devDependencies": {
28
42
  "@types/better-sqlite3": "^7.6.13",
@@ -37,7 +51,7 @@
37
51
  "url": "https://github.com/Cubenest/rrweb-stack",
38
52
  "directory": "packages/peek-cli"
39
53
  },
40
- "homepage": "https://github.com/Cubenest/rrweb-stack/tree/main/packages/peek-cli#readme",
54
+ "homepage": "https://peek.cubenest.in",
41
55
  "scripts": {
42
56
  "build": "tsc -p tsconfig.json && node ./scripts/postbuild.mjs",
43
57
  "typecheck": "tsc -p tsconfig.json --noEmit",