diff --git a/.changeset/peek-cli-readme-connect-search.md b/.changeset/peek-cli-readme-connect-search.md new file mode 100644 index 00000000..7932b1c8 --- /dev/null +++ b/.changeset/peek-cli-readme-connect-search.md @@ -0,0 +1,5 @@ +--- +"@peekdev/cli": patch +--- + +docs(peek-cli): document the peek connect and peek sessions search commands in the README diff --git a/apps/peek-docs/src/pages/whats-new.astro b/apps/peek-docs/src/pages/whats-new.astro index e2fe37ab..1f1e259f 100644 --- a/apps/peek-docs/src/pages/whats-new.astro +++ b/apps/peek-docs/src/pages/whats-new.astro @@ -144,6 +144,61 @@ import Layout from '../layouts/Layout.astro'; See it: Reproduce a bug from a teammate’s peek session.
++ Two CLI additions make the local store easier to triage and audit: +
+peek sessions search lets your agent (or you) filter sessions
+ by text (--q), origin, time window (--since /
+ --until), status, and error type (--errors
+ console|network|any) — narrowing thousands of recorded
+ sessions down to the one that matters, without opening a viewer. The
+ search_sessions MCP tool exposes the same facets to agents
+ directly.
+ peek audit verify recomputes the hash chain of the action
+ audit log and exits non-zero on any gap, reorder, edit, or truncation.
+ The verify_audit_log MCP tool exposes the same check so an
+ agent can assert chain integrity as part of a workflow.
+ peek audit bundle / peek audit verify (the bundle
+ variant) packages the audit log alongside a session export so a recipient
+ can verify the chain independently.
+
+ peek connect is a supervised connector daemon: register a
+ surface (currently Slack), run it once interactively to
+ capture tokens, then peek connect start spawns a detached
+ supervisor that keeps each connector alive and auto-restarts it on exit.
+ Per-connector logs stream to ~/.peek/connect/logs/; the
+ supervisor PID and each connector’s state are visible via
+ peek connect status. Connectors extend peek’s reach
+ beyond the browser — a Slack connector turns channel messages into
+ queryable local sessions the same way the extension turns browser activity
+ into sessions.
+
+ peek is now a one-line Claude Code plugin install: +
+/plugin install peekdev@peek
+
+ This drops the peek MCP server and the Claude Code skill into place in a
+ single command — no peek init required for MCP
+ configuration. The plugin is hosted in the
+ public repo
+ and installable via the community catalog
+ (/plugin marketplace add Cubenest/rrweb-stack).
+
peek is local-first: peek uploads nothing — what your MCP
diff --git a/docs/peek/THREATMODEL.md b/docs/peek/THREATMODEL.md
index 6167f183..a2ee55db 100644
--- a/docs/peek/THREATMODEL.md
+++ b/docs/peek/THREATMODEL.md
@@ -1,8 +1,12 @@
-# peek — threat model (DRAFT)
+# peek — threat model
-**Status:** stub. To be filled in before public Chrome Web Store submission
-(Phase 5 launch gate). Existence-tracking only — the gap is intentionally
-visible.
+**Status:** substantive — all eight attack surfaces enumerated, existing
+mitigations documented, and outstanding items tracked with explicit scope
+labels. The extension is live on the Chrome Web Store. Residual gaps
+(content-script isolation hardening, native-host fuzz coverage, CWS
+publisher 2FA recovery, CDP-debugger UX wording, `execute_action` schema
+versioning) are accepted pre-1.0 scope and tracked below under
+[Outstanding mitigations](#outstanding-mitigations).
**Owner:** harry-harish.
@@ -12,11 +16,6 @@ Cross-referenced from [`SECURITY.md`](../../SECURITY.md) and the
project's pre-launch supply-chain hygiene controls (see
`docs/SUSTAINABILITY.md` §"Pre-launch hygiene controls").
-When this stub is replaced, follow the format described in the OSS
-Maintenance Field Manual §5.3 — one surface per row in each table,
-explicit grade (`mitigated` / `partial` / `accepted` / `open`), and a
-"why we live with it" column for any accepted risk.
-
## Attack surfaces to cover
1. **Chrome MV3 service-worker compromise** — what happens if an attacker
diff --git a/packages/peek-cli/README.md b/packages/peek-cli/README.md
index b9f79be0..34ebf69e 100644
--- a/packages/peek-cli/README.md
+++ b/packages/peek-cli/README.md
@@ -46,6 +46,7 @@ Then you install the **Peek Chrome extension** — available on the [Chrome Web
peek init # interactive install (see above)
peek status # health check — extension connected? DB writable?
peek sessions list [--origin