Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/discord-bot-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"discord.js": "^14.25.1",
"dotenv": "^16.4.7",
"solana-agent-kit": "^1.3.4"
"solana-agent-kit": "^2.0.1"
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

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

This upgrade to solana-agent-kit 2.0.10 (via ^2.0.1 specification) appears problematic. The root package is at version 1.4.8, and all other examples in the repository use versions 1.3.0-1.4.8. Version 2.0.10 has a completely different dependency structure - it includes @openai/agents and only has a minimal set of dependencies compared to the comprehensive v1.x versions. This appears to be either a different package, a major fork, or an incompatible version. The code in this example uses SolanaAgentKit and createSolanaTools which may have different APIs in version 2.x. This needs verification that: 1) version 2.0.10 is the correct official package, 2) the API is compatible with the existing code, and 3) this version should be used instead of updating all examples consistently.

Suggested change
"solana-agent-kit": "^2.0.1"
"solana-agent-kit": "^1.4.8"

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

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

This example is being upgraded to solana-agent-kit version 2.0.1/2.0.10 while all other examples in the repository still use version 1.3.0-1.4.8. If this security upgrade is necessary, consider whether all examples should be upgraded consistently to the same version to maintain consistency across the codebase and avoid confusion about which version should be used.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

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

The PR description states this upgrades solana-agent-kit to version 2.0.1, but the pnpm-lock.yaml shows version 2.0.10 was actually resolved and installed. This discrepancy should be clarified - either the package.json should specify ^2.0.10 for accuracy, or the PR description should be updated to reflect the actual version being installed.

Copilot uses AI. Check for mistakes.
},
"devDependencies": {
"@types/node": "^22.10.5",
Expand Down
Loading