Skip to content

Fix missing package root export - #190

Open
alejandrorivas-pixel wants to merge 1 commit into
aws:mainfrom
alejandrorivas-pixel:fix-root-package-export
Open

Fix missing package root export#190
alejandrorivas-pixel wants to merge 1 commit into
aws:mainfrom
alejandrorivas-pixel:fix-root-package-export

Conversation

@alejandrorivas-pixel

@alejandrorivas-pixel alejandrorivas-pixel commented Jun 13, 2026

Copy link
Copy Markdown

Summary

  • add the missing package root entry at src/index.ts
  • expose the primary SDK classes and identity helpers from bedrock-agentcore
  • keep subpath exports unchanged

Fixes #185.

Validation

  • npm run build
  • npm run type-check
  • npm test (398 tests passed)
  • npm pack --pack-destination /tmp/bedrock-agentcore-pack --json
  • installed /tmp/bedrock-agentcore-pack/bedrock-agentcore-0.2.4.tgz into a temporary project and verified await import('bedrock-agentcore') exposes BedrockAgentCoreApp, RuntimeClient, withAccessToken, withApiKey, Browser, and CodeInterpreter
  • npx prettier --check src/index.ts

Note: the local pre-commit hook also ran npm test successfully, then stopped on an existing Prettier issue in tests_integ/otel-no-user-content.test.ts, which is unrelated to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

package root export points to missing dist/src/index.js

2 participants