21 lines
957 B
TypeScript
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>;
|