Files
hub/ts/automations/classes.automationrunner.ts
T
2026-05-05 12:03:45 +00:00

18 lines
538 B
TypeScript

import * as plugins from '../plugins.js';
import type { ToolRegistry } from '../tools/classes.toolregistry.js';
export class AutomationRunner {
public context: plugins.shxSdk.ShxAutomationContext;
constructor(private toolRegistry: ToolRegistry) {
this.context = new plugins.shxSdk.ShxAutomationContext({
callerId: 'hub:automation-runner',
executePlan: async (planArg: plugins.shxInterfaces.data.IToolPlan) => this.toolRegistry.executePlan(planArg),
});
}
public async start() {}
public async stop() {}
}