Skip to content

Releases: ericzakariasson/feedback-agent

0.3.0 — public preview

Choose a tag to compare

@ericzakariasson ericzakariasson released this 10 Aug 09:34

Public 0.x preview. APIs may still change.

Install: npm install feedback-agent@0.3.0

Previous npm 0.1.0 did not include the prompt hook or the hardening below.

Added

  • prompt hook and exported buildAgentPrompt
  • FeedbackStore + MemoryFeedbackStore for multi-instance rate limit / dedupe
  • trustProxy for client IP (false by default; "cf" / "x-forwarded-for" / true)
  • autoCreatePR option (default true)
  • onAccepted, onEvent, and onError hooks
  • Capture consent: capture.enabled and useFeedback().setCaptureEnabled
  • useFeedback().result exposes dispatch metadata
  • GitHub Actions CI (Node 18 + 24), example typecheck, Playwright smoke, React 18 job
  • Next.js App Router example under examples/next
  • CHANGELOG.md, SECURITY.md, docs/privacy.md

Changed

  • Enrich / prompt / Cursor failures no longer return internal messages to the browser
  • Session validation builds a clean bundle and drops unknown fields
  • Handler limits can override prompt, enrichment, breadcrumb, and dedupe caps
  • cursorApiKey is optional when dryRun: true
  • Default widget thanks copy distinguishes dry-run / skipped / dispatched
  • Local demo binds Vite to 127.0.0.1:5174

Fixed

  • Example “Capture page & open” referenced an undefined setter

See CHANGELOG.md and npm.