Namu
Namu
### Feature Description The AI SDK currently supports Anthropic's prompt caching for system messages and messages (including tool calls and tool results), but not tool definitions: https://github.com/vercel/ai/discussions/3062#discussioncomment-10702467 Anthropic docs: https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching#what-can-be-cached...
### Overview Video of issue and fix: https://www.loom.com/share/97983e5d38904af594d5f486bbf9f1f4?sid=e588c652-c868-4cb0-8db2-521650726919 This PR replaces `window.postMessage` with `document.dispatchEvent` in order to avoid race conditions when invalidating content scripts. Since [`document.dispatchEvent`](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent) invokes event handlers synchronously,...
### Describe the bug When a content script is injected multiple times, all but the most recent one should be invalidated. In practice however, all content scripts, including the most...
### Overview This is a companion PR for https://github.com/aklinker1/webext-core/pull/118 Once the shadow DOM uses a `` instead of constructing a full HTML document, the current approach of finding the ``...
Add tool to view network requests/responses
> [!NOTE] > I wrote this issue and the PR using AI but reviewed everything myself. If AI contributions aren't welcome, feel free to close. I love this project and...
### Steps to reproduce **Tell us about your environment:** * Puppeteer version: 7.1.0 * Platform / OS version: macOS Big Sur 11.2 * URLs (if applicable): https://www.starterstory.com/explore * Node.js version:...
### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce 1. Use a Drizzle schema where timestamp uses [`{ mode: "string" }`](https://orm.drizzle.team/docs/column-types/pg#timestamp) for...