mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-17 08:11:43 +00:00
* docs(plan): add cloud workers design plan * feat(plugin-sdk): add cloud worker provider foundations * feat(protocol): add worker environment lifecycle shapes * feat(gateway): persist worker environment lifecycles * test(gateway): pin environment inventory assertion for damaged worker store * style(cloud-workers): satisfy lint and docs formatting * fix(gateway): narrow worker environment type boundaries * chore(plugin-sdk): account for WorkerProvider surface growth * docs: regenerate docs map
30 lines
945 B
TypeScript
30 lines
945 B
TypeScript
// Qa Lab plugin entrypoint registers its OpenClaw integration.
|
|
import { definePluginEntry } from "./runtime-api.js";
|
|
import { registerQaLabCli } from "./src/cli.js";
|
|
import { createQaLabWebSearchProvider } from "./src/qa-web-search-provider.js";
|
|
import { createStaticSshWorkerProvider } from "./src/static-ssh-worker-provider.js";
|
|
|
|
export default definePluginEntry({
|
|
id: "qa-lab",
|
|
name: "QA Lab",
|
|
description: "Private QA automation harness and debugger UI",
|
|
register(api) {
|
|
api.registerWorkerProvider(createStaticSshWorkerProvider());
|
|
api.registerWebSearchProvider(createQaLabWebSearchProvider());
|
|
api.registerCli(
|
|
async ({ program }) => {
|
|
registerQaLabCli(program);
|
|
},
|
|
{
|
|
descriptors: [
|
|
{
|
|
name: "qa",
|
|
description: "Run QA scenarios and launch the private QA debugger UI",
|
|
hasSubcommands: true,
|
|
},
|
|
],
|
|
},
|
|
);
|
|
},
|
|
});
|