cpsl package, then run inside Capsule’s managed runtime.
Most of the time you do not need to think about versioning. If local and hosted behavior diverge, check the points below.
Local SDK
Your local environment controls what you import while editing and running CLI commands.Runtime SDK
Hosted Capsule runtimes use the SDK version pinned by the Capsule platform. That means a local-only SDK upgrade may not immediately change hosted runtime behavior. If you are testing a newly released SDK feature, confirm that the hosted runtime has the matching version available.Image dependencies
App dependencies belong incpsl.Image(...).
When to check versions
Check SDK/runtime versions when:- code works locally but fails after deploy
- a new SDK method imports locally but is unavailable in hosted runtime
- generated UI metadata looks different between
serveanddeploy - a dependency import fails in the managed runtime