Skip to content

SDK Overview

@atomm-developer/generator-sdk is the platform capability layer for generators.

It gives a generator access to platform services, but it does not define the shell UI and it does not replace the runtime contract.

What The SDK Owns

  • authentication
  • cloud save and restore
  • history
  • credits
  • billing
  • export download and open-in-Studio
  • template helpers

What The SDK Does Not Own

  • generator business state
  • runtime mounting protocol
  • canvas rendering
  • parameter panel layout
  • top bar and shell UI

If you need the official shell, read Generator Workbench.
If you need host/runtime protocol details, read Runtime Contract.

Module Map

ModuleObjectResponsibilityRequires Login
Authsdk.authLogin, logout, status query, status listenerNo
Cloudsdk.cloudSave, restore, delete cloud recordsYes
Historysdk.historyList, detail, delete history recordsYes
Creditssdk.creditsCredits balance and credits deductionYes
Billingsdk.billingUnified consumption flowYes
Exportsdk.exportDownload and open in StudioNo
Templatesdk.templateTemplate build, parse, import, and runtime snapshot conversionNo
HelperwithBillingWrap an action with billing checks and consumptionYes
  1. Install the packages
  2. Initialize GeneratorSDK
  3. Add the capability modules your generator actually needs
  4. Decide whether to use Generator Workbench
  5. If the generator supports multiple hosts, implement Runtime Contract

Common Mistakes

  • Treating generator-sdk as if it were the shell
  • Importing modules before clarifying the actual generator capabilities needed
  • Claiming standardization is complete after SDK integration alone

MIT Licensed