export const nativeOpenCodeAgentsToDisable = [
    "build",
    "plan",
    "general",
    "explore",
    "scout",
];
export function createOpenCodeNativeAgentDisableConfig() {
    const entries = nativeOpenCodeAgentsToDisable.map((name) => [name, { disable: true, hidden: true }]);
    return Object.fromEntries(entries);
}
export function createOpenCodeNativeAgentHiddenConfig() {
    return Object.fromEntries(nativeOpenCodeAgentsToDisable.map((name) => [
        name,
        {
            disable: true,
            hidden: true,
            mode: "subagent",
            permission: { "*": "deny" },
        },
    ]));
}
//# sourceMappingURL=opencode-isolation.js.map