Skip to content

refactor: update SDK and agent-kit imports and dependencies#1

Merged
gaurangtorvekar merged 5 commits into
Bonzo-Labs:mainfrom
MWBlocky:migration-to-v4
May 19, 2026
Merged

refactor: update SDK and agent-kit imports and dependencies#1
gaurangtorvekar merged 5 commits into
Bonzo-Labs:mainfrom
MWBlocky:migration-to-v4

Conversation

@MWBlocky
Copy link
Copy Markdown
Contributor

Update SDK, agent-kit, and langchain dependencies

Summary

  • Migrate from hedera-agent-kit and hedera-agent-kit-langchain to @hashgraph/hedera-agent-kit and @hashgraph/hedera-agent-kit-langchain
  • Update SDK from @hashgraph/sdk to @hiero-ledger/sdk (v2.82.0)
  • Migrate langchain from langchain v0.x to @langchain/classic for backward-compatible agent APIs
  • Update bundler external config to reflect new package names

Breaking Changes

  • SDK: Renamed package @hashgraph/sdk@hiero-ledger/sdk
  • Agent Kit: Renamed packages hedera-agent-kit@hashgraph/hedera-agent-kit and hedera-agent-kit-langchain@hashgraph/hedera-agent-kit-langchain
  • LangChain: Legacy agent APIs (AgentExecutor, createToolCallingAgent, BufferMemory) moved to @langchain/classic

Files Changed

File Changes
package.json Updated dependencies and peer dependencies
src/client.ts Updated 5 imports + coreQueriesPlugin/coreAccountPluginallCorePlugins
src/index.ts Updated 2 imports
src/plugin.ts Updated 1 import
src/tools.ts Updated 2 imports
src/tools/*.ts Updated 2 imports each (5 files)
src/bonzo/utils.ts Updated 1 import
src/bonzo/bonzo.zod.ts Updated 1 import
tsup.config.ts Updated external array

Signed-off-by: Michał Walczak <michal.walczak@blockydevs.com>
Signed-off-by: Michal Walczak <michal.walczak@blockydevs.com>
Copy link
Copy Markdown

@skurzyp-blockydevs skurzyp-blockydevs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The double step tools (core action for TX building and secondary for serialization/signing) reffers to all of the tools.

Comment thread src/tools/approve-erc20.ts Outdated
Comment thread package.json Outdated
…flows

Signed-off-by: Michal Walczak <michal.walczak@blockydevs.com>
Signed-off-by: Michal Walczak <michal.walczak@blockydevs.com>
@MWBlocky
Copy link
Copy Markdown
Contributor Author

MWBlocky commented May 6, 2026

@gaurangtorvekar this pr is ready to merge

@gaurangtorvekar
Copy link
Copy Markdown
Contributor

gaurangtorvekar commented May 6, 2026

Hey @MWBlocky thanks for this! I looked at the code, it looks alright, but we need to update the Readme. It's stale now. Can you do that please?

Signed-off-by: Michal Walczak <michal.walczak@blockydevs.com>
@MWBlocky
Copy link
Copy Markdown
Contributor Author

MWBlocky commented May 7, 2026

@gaurangtorvekar README.md is ready :)
Could you also release new versions on npm? I see that github actions aren't set up, so it's not running automatically.

@MWBlocky
Copy link
Copy Markdown
Contributor Author

@gaurangtorvekar bump

2 similar comments
@MWBlocky
Copy link
Copy Markdown
Contributor Author

@gaurangtorvekar bump

@MWBlocky
Copy link
Copy Markdown
Contributor Author

@gaurangtorvekar bump

@gaurangtorvekar gaurangtorvekar merged commit 165ebcb into Bonzo-Labs:main May 19, 2026
@MWBlocky
Copy link
Copy Markdown
Contributor Author

@gaurangtorvekar Could you also release new versions on npm? I see that github actions aren't set up, so it's not running automatically.

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.

3 participants