The Upstreet Agents SDK is now in public beta 🎉 Get started →
bg-pattern

Previous USDK versions

Learn how to update and migrate from previous Upstreet Agents SDK versions.

Updating USDK

Simply run the installation script again, in order to update usdk:

npm i -g usdk@latest

See all versions here.

Note: Updating usdk will not update any Agents you created with older versions of USDK. Rather, it may even break some functionality with older Agents. To update Agents, check out this section.

Updating an old Agent

You can update an Agent's code from an older version by simply running:

cd <your-agent-directory>
usdk update

This will update the Agent's code from the previous version of usdk it was created from, to your current version of usdk.

For example, if your Agent was created with usdk version 0.0.80, and you want it to update to 0.0.108, you should first update usdk itself to that particular version, and then run the above command.

The usdk update command will ask you before writing any changes, if it detects that the file's content has been altered.

You can also choose to bypass all checks and force it to update with the -f flag. Use it with caution!

On this page

Facing an issue? Add a ticket.