Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"peek-session-export-import",
"peek-sessions-search-cli",
"peek-set-intent-status",
"peek-share-session-tool",
"peek-skill-16-tools",
"peek-skill-docs-url",
"peek-suggest-highlight",
Expand Down Expand Up @@ -117,6 +118,7 @@
"recorder-reinject-nav-race",
"recording-active-indicator",
"rename-plugin-peekdev",
"render-session-journey-tool",
"repro-engine-tier0",
"repro-hardening",
"repro-tier2-visibility",
Expand Down
8 changes: 8 additions & 0 deletions packages/peek-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @peekdev/cli

## 0.1.0-alpha.31

### Patch Changes

- Updated dependencies [22743c0]
- Updated dependencies [99d7e1e]
- @peekdev/mcp@0.1.0-alpha.25

## 0.1.0-alpha.30

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/peek-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@peekdev/cli",
"version": "0.1.0-alpha.30",
"version": "0.1.0-alpha.31",
"description": "peek command-line tool for the local-first browser-session forensics workflow — a thin read-mostly client of ~/.peek/sessions.db: status, sessions list/show/export/delete, the `peek init` MCP-client wizard, `peek audit log`, and `peek audit verify`.",
"keywords": [
"peek",
Expand Down
20 changes: 20 additions & 0 deletions packages/peek-mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @peekdev/mcp

## 0.1.0-alpha.25

### Minor Changes

- 22743c0: Add `share_session` MCP tool — consent-gated session bundle export.

`share_session(sessionId, surface?)` elicits an explicit egress consent card
(naming what is exported and where) before producing a portable `.peekbundle`
temp file from a recorded session. On deny → `{ ok: false, result: 'denied' }`,
no file written. On approve → `{ ok: true, bundlePath, filename, sizeBytes, caveat }`.
The bundle contains the masked session recording (DOM + console/network events).
Every approved export is recorded to `~/.peek/audit.log` as `tool: share_session`
(session ID + surface; bundle bytes are never written to the audit log).
Designed for connector-driven upload flows (e.g. Slack `@peek share this session`);
the connector is responsible for uploading and deleting the temp file.

- 99d7e1e: peek-mcp: add `render_session_journey` tool for connector canvas rendering

New read tool `render_session_journey({ sessionId, errorId? })` returns the full `CausalChain` (timeline, narrative, error, actions, DOM mutations, network errors) for a session — the same data path as `get_user_action_before_error`, under a dedicated tool name so a connector can intercept only journey results for rich rendering (e.g. a Slack canvas). When `errorId` is omitted, the session's latest console error is selected automatically. Returns a clear text message when the session has no console errors.

## 0.1.0-alpha.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/peek-mcp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@peekdev/mcp",
"version": "0.1.0-alpha.24",
"version": "0.1.0-alpha.25",
"mcpName": "io.github.Cubenest/peek-mcp",
"description": "local-first browser-session forensics + repro for AI coding agents. peek's native messaging host + stdio MCP server — owns ~/.peek/sessions.db (better-sqlite3) and bridges the browser extension, CLI, and AI tools to one local source of truth.",
"keywords": [
Expand Down