Repository navigation
Conversation
🟡 agents import sizes: 1 entry point grew
Changed exports (4)
How this worksEach runtime export is bundled on its own, minified, and gzipped. Changes smaller than 100 B, or smaller than 1% and 1 KiB, are ignored. Growth over 10% or 5 KiB is marked 🔴. This report is informational and does not fail CI. The workflow artifact contains every measurement. Compared |
agents
@cloudflare/ai-chat
@cloudflare/codemode
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
93c0025 to
af8ae00
Compare
|
|
af8ae00 to
de8496e
Compare
de8496e to
6cd6dd1
Compare
6cd6dd1 to
444d5f1
Compare
444d5f1 to
63ef8d8
Compare
63ef8d8 to
b4bf9c1
Compare
4ee73ed to
fbaf3ba
Compare
- Require a reserved suffix (.internal, .test, .example, .invalid) and reject *.localhost - Reject Durable Object stubs as fetcher at compile time; correct the DataCloneError message - Router checks its props (and v) before use, answers 502 instead of resetting - Log host fetch errors instead of returning them to the page - Share the browser capability id between Browser and Agent.fetchInternalHost - Document that any http page in the browser can send requests to fetch hosts - Test request bodies, a ctx.exports fetcher host, stale-session close, router and fallback paths
fbaf3ba to
dafff35
Compare
Summary
Gives the browser hostnames that your agent serves instead of the internet, using Browser Run's per-session host routing.
sequenceDiagram participant Page as Browser Run page participant Router as InternalHostRouter (your Worker) participant Agent as Agent DO Page->>Router: GET http://docs.internal/ Router->>Agent: fetchInternalHost(message) Agent->>Agent: browser.fetchInternalHost → host.fetch(request) Agent-->>Page: responseAgenthasfetchInternalHost()built in; a plain DO adds a one-line method..internal,.test,.exampleor.invalid(never resolve publicly). A probe showed single-label names that are real TLDs (docs,app) fail silently in Browser Run.worker, validates router props, terse 502s whenfetchthrows.Merge Danger
Blast Radius: none for existing users — opt-in
internalHostsoption.