2026-03-17 10:42:52 -07:00
|
|
|
import { definePluginEntry, type AnyAgentTool, type OpenClawPluginApi } from "./api.js";
|
2026-01-23 17:18:47 -08:00
|
|
|
import { createLlmTaskTool } from "./src/llm-task-tool.js";
|
|
|
|
|
|
2026-03-17 00:14:01 -07:00
|
|
|
export default definePluginEntry({
|
|
|
|
|
id: "llm-task",
|
|
|
|
|
name: "LLM Task",
|
|
|
|
|
description: "Optional tool for structured subtask execution",
|
|
|
|
|
register(api: OpenClawPluginApi) {
|
|
|
|
|
api.registerTool(createLlmTaskTool(api) as unknown as AnyAgentTool, { optional: true });
|
|
|
|
|
},
|
|
|
|
|
});
|