Skip to content

docs(telemetry): document ngaf:runtime_request_created event + captureRuntimeRequestCreated()#611

Merged
blove merged 4 commits into
mainfrom
claude/fix-telemetry-docs
Jun 7, 2026
Merged

docs(telemetry): document ngaf:runtime_request_created event + captureRuntimeRequestCreated()#611
blove merged 4 commits into
mainfrom
claude/fix-telemetry-docs

Conversation

@blove

@blove blove commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Per-lib PR (3 of 3) from the small-libs docs technical review. Two P2 completeness gaps: the ngaf:runtime_request_created event and its captureRuntimeRequestCreated() capture method exist in source but were undocumented.

  • reference/events.mdx: added ngaf:runtime_request_created to the ThreadplaneNodeEvent + ThreadplaneTelemetryEvent unions and the events table (payload transport, requestType, optional provider/model).
  • guides/browser.mdx + guides/node.mdx: documented captureRuntimeRequestCreated() (import + usage), matching the node RuntimeRequestTelemetry and browser service signatures.

Verified against shared/events.ts:4, browser/tokens.ts:7, browser/service.ts:83, node/adapter.ts:17-36, node/index.ts:7 (and independently corroborated by the generated api-docs.json).

Test Plan

  • Every field/event/method name matched to source by the implementer.
  • All 5 telemetry routes return HTTP 200; no type="note" Callout.

🤖 Generated with Claude Code

@blove blove enabled auto-merge (squash) June 7, 2026 03:55
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment Jun 7, 2026 2:54pm

Request Review

@blove blove merged commit f14c57b into main Jun 7, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant