Add hub package

This commit is contained in:
2026-05-05 12:03:45 +00:00
commit 42f661beb9
20 changed files with 777 additions and 0 deletions
@@ -0,0 +1,17 @@
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() {}
}