Init the skill with hot-reload support, to be used in the background.tsx file.
background.tsx
Skill context
The main function to execute the skill logic (e.g., startStep)
startStep
Optional
Options:
hotReload
await initSkill(ctx, startStep);// or with optionsawait initSkill(ctx, startStep, {hotReload: false}); Copy
await initSkill(ctx, startStep);// or with optionsawait initSkill(ctx, startStep, {hotReload: false});
Init the skill with hot-reload support, to be used in the
background.tsxfile.