Files
oh-my-openagent/dist/create-tools.d.ts
2026-03-14 04:56:50 +00:00

21 lines
957 B
TypeScript

import type { AvailableCategory, AvailableSkill } from "./agents/dynamic-agent-prompt-builder";
import type { OhMyOpenCodeConfig } from "./config";
import type { BrowserAutomationProvider } from "./config/schema/browser-automation";
import type { LoadedSkill } from "./features/opencode-skill-loader/types";
import type { PluginContext, ToolsRecord } from "./plugin/types";
import type { Managers } from "./create-managers";
export type CreateToolsResult = {
filteredTools: ToolsRecord;
mergedSkills: LoadedSkill[];
availableSkills: AvailableSkill[];
availableCategories: AvailableCategory[];
browserProvider: BrowserAutomationProvider;
disabledSkills: Set<string>;
taskSystemEnabled: boolean;
};
export declare function createTools(args: {
ctx: PluginContext;
pluginConfig: OhMyOpenCodeConfig;
managers: Pick<Managers, "backgroundManager" | "tmuxSessionManager" | "skillMcpManager">;
}): Promise<CreateToolsResult>;