/** * OpenAI Pairing Tools * * Two tools that implement the OpenAI provider pairing flow: * * 1. openai_pair — Store the API key, configure model, enable plugin, update tier mapping * 2. openai_unpair — Disable plugin and reset tier mapping * * These tools are injected into the agent's tool list at boot so the agent * can invoke them conversationally when a user asks to connect OpenAI. */ import type { Tool, SecretsManagerInterface, ConfigManagerInterface } from '@tinyclaw/types'; /** Secret key for the OpenAI API key. */ export declare const OPENAI_SECRET_KEY = "provider.openai.apiKey"; /** Config key for the model setting. */ export declare const OPENAI_MODEL_CONFIG_KEY = "providers.openai.model"; /** The plugin's package ID. */ export declare const OPENAI_PLUGIN_ID = "@tinyclaw/plugin-provider-openai"; /** The provider ID used in tier mapping. */ export declare const OPENAI_PROVIDER_ID = "openai"; /** Default model. */ export declare const OPENAI_DEFAULT_MODEL = "gpt-4.1"; export declare function createOpenAIPairingTools(secrets: SecretsManagerInterface, configManager: ConfigManagerInterface): Tool[];