Merge upstream bug fixes (#176, #188, #185, #163, #97)#2
Merged
Conversation
The unscoped reset in design-mode/styles.module.scss leaked into host page SVGs that rely on fill="none" with CSS-based fills (e.g. Tailwind fill-current, Lucide icons). PR benjitaylor#136 fixed the same regression in page-toolbar and annotation-popup but missed design-mode. Scope the rule under `.overlay` and `.rearrangeOverlay` — the two top-level wrappers that contain all design-mode SVGs — matching the existing pattern. Fixes benjitaylor#181 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
`navigator.clipboard.writeText` requires a secure context (HTTPS, localhost, or 127.0.0.1). When the page is served over plain HTTP on a LAN IP such as `http://10.2.3.4:3000`, the Clipboard API is unavailable and the copy button silently fails. This adds a `copyTextToClipboard` utility that tries the modern Clipboard API first, then falls back to the legacy `document.execCommand("copy")` approach which works in all contexts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Webhooks now retry on transient failures with exponential backoff: - Retries on network errors, 5xx server errors, and 429 rate limiting - Exponential backoff with jitter to prevent thundering herd - Configurable via environment variables: - AGENTATION_WEBHOOK_MAX_RETRIES (default: 3) - AGENTATION_WEBHOOK_BASE_DELAY_MS (default: 1000) - AGENTATION_WEBHOOK_MAX_DELAY_MS (default: 30000) - AGENTATION_WEBHOOK_TIMEOUT_MS (default: 10000) - Non-blocking: retries run in background - Detailed logging for debugging retry behavior Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges five clean, low-risk upstream bug fixes from
benjitaylor/agentation. Each was reviewed against the project values (bundle size, surgical changes, no new deps, no binaries). All five were clean and focused, so each was cherry-picked with original author attribution preserved, plus aCo-Authored-Bytrailer.Included fixes
package/src/components/design-mode/output.ts,package/src/components/page-toolbar-css/index.tsxsourceFilein MCP annotation storemcp/src/server/{mcp,sqlite}.ts,mcp/src/types.ts, example docs/schemasvg[fill=none]reset under overlay containers (closes benjitaylor#181)package/src/components/design-mode/styles.module.scsspackage/src/utils/clipboard.ts(+ tests),page-toolbar-css/index.tsxmcp/src/server/http.tsbenjitaylor#189 was intentionally ignored — superseded by benjitaylor#163.
Review notes
placementSyncedTextMapso note-only edits push updates.copyTextToClipboardhelper (5 tests) withexecCommandfallback. No new dependencies.isRetryableErroris acceptable for transient-error detection.Build / test
pnpm build(package) — successpnpm --filter agentation test— 88 passed (incl. 5 new clipboard tests)pnpm --filter agentation-mcp build— success🤖 Generated with Claude Code