[Bug] Released archives omit amazon-bedrock.js, blocking Bedrock and Homebrew #1410
Replies: 11 comments
|
Confirmed this persists in the official I reproduced it with EC2 role credentials and import { bedrockProviderModule } from "@earendil-works/pi-ai/bedrock-provider";
export const { streamBedrock, streamSimpleBedrock } = bedrockProviderModule;After adding it, real calls to both |
Status delta — 2026-08-20
@badlogic @kevinjosethomas please accept this into the maintainer work queue and either implement the explicit Bedrock bundle entry plus emitted-asset validation, or invite the focused patch previously available in #860. @kennethnym should keep the existing Homebrew PR on hold until a corrected release archive passes artifact verification. |
Status delta — 2026-08-22
@badlogic @kevinjosethomas please accept this defect into the maintainer work queue and either implement the explicit Bedrock entry plus emitted-asset validation or invite the focused #860 patch. @kennethnym should keep the existing Homebrew PR on hold until a corrected stable archive passes artifact verification. |
Status delta — 2026-08-26
@badlogic @kevinjosethomas please accept the defect into the maintainer work queue and either vouch/invite @kaluli123123 to resubmit #1784 or apply its focused commit internally. @kennethnym should keep the existing Homebrew PR on hold until a corrected stable archive passes artifact verification. |
|
I understand the contribution gate and will not keep reopening PRs until a maintainer invites the implementation or vouches this account. For the Bedrock release-bundle issue, I updated the focused fix on my fork at Validation:
Could a maintainer advise whether you prefer to:
|
Status delta — 2026-08-28
@badlogic @kevinjosethomas please choose an allowed contribution path for |
Status delta — 2026-08-29
@badlogic @kevinjosethomas please invite/vouch the contributor or apply |
Status delta — 2026-09-01
@badlogic @kevinjosethomas please invite/vouch @kaluli123123 or apply |
Status delta — 2026-09-02
@sethkarten @kevinjosethomas please confirm whether #1379 will deliver a corrected Node archive or #1970 is intended to supersede that path. Before @kennethnym updates the existing Homebrew PR, we need a verified stable artifact and a supported source-build path preserving shared Homebrew libzmq linkage and Homebrew-owned updates. I will track those decisions here without reopening closed PRs or submitting an unsolicited replacement. |
Status delta — 2026-09-03
Next owners remain @sethkarten @kevinjosethomas for the supported packaging decision and corrected release, then @kennethnym for the existing formula. Passing migration CI does not yet establish Homebrew-compatible source builds, shared libzmq linkage, or Homebrew-owned updates; those checks remain required before finalization. |
Status delta — 2026-09-04
@sethkarten should resolve the new #1970 installer finding and review gate; @kevinjosethomas still owns the supported release/packaging decision; @kennethnym should keep the existing formula unchanged until that decision produces a verified stable artifact. No duplicate Homebrew submission was created. |
Uh oh!
There was an error while loading. Please reload this page.
Affected area
Release packaging, coding agent and CLI
What happened?
The published Prime Agent archives for v0.7.0, v0.7.1, and v0.7.2 omit
dist/bundle/amazon-bedrock.js, although a generated bundle chunk still loads it with:Any Bedrock request therefore fails with
Cannot find module .../dist/bundle/amazon-bedrock.js. This can also break users who did not explicitly select Bedrock: with no provider configured, the presence of an AWS credential environment variable such asAWS_PROFILEcan auto-detect Bedrock during startup.The v0.7.2 GitHub and R2 archives are byte-identical (
sha256:bc5471f2a626d727b88a45eb745fff93b10c554a3c4fc5912f25d8c64b987f5e) and both have the missing entry. The problem has been independently reproduced on macOS and Windows.Root cause and existing fix
importNodeOnlyProvider(specifier)makes the import target dynamic from esbuild's perspective, so esbuild neither emits nor rewrites the Bedrock provider entry. A clean rebuild of the same source does not fix the artifact.Closed PR #860 contains a focused source fix at commit
36842d0:amazon-bedrockas an explicit esbuild entry;The PR and original bug #751 were closed during the issue/PR queue migration, not because the released artifact was corrected. I am re-filing here under the new discussion-first process.
Homebrew impact
This is the remaining Prime Agent release blocker for the existing official submission Homebrew/homebrew-core#297372. The other upstream requirements are complete:
zeromq@6.6.0via fix: restore shared libzmq builds zeromq/zeromq.js#737.The Homebrew formula should not move to v0.7.2 because it would still ship a broken provider.
Expected resolution and verification
dist/bundle/amazon-bedrock.js.streamBedrockandstreamSimpleBedrock.zeromq@6.6.0.@badlogic @kevinjosethomas could you accept this into the maintainer work queue and either invite the existing patch or apply the focused fix internally? The historical end-to-end packaging record is #843.
All reactions