import { Effect } from "effect"; import type { Executor } from "@executor-js/sdk/core"; /** * Builds the `execute` tool description dynamically. * * Structure: * 1. One-line intro + pointer to the `execute` skill (the full how-to lives * behind the `skills` tool, see ./skills.ts, to keep this always-loaded * description small) * 2. Available integrations (the live, per-session inventory): the top-level * integration slugs the user has connected, deduped across connections, * names only. The same block is appended to the `execute` skill content. */ /** The header that opens the live integration inventory. Exported so the host * can locate (and re-use) the inventory block inside the built description. */ export declare const INTEGRATION_INVENTORY_HEADER = "## Available integrations"; export declare const buildExecuteDescription: (executor: Executor) => Effect.Effect; /** * Recover the integration slugs from a built execute description — the exact * list `formatIntegrationInventory` rendered, overflow marker excluded. Lets a * host derive per-integration surfaces (the opt-in `search_` MCP * tools) from the description it already holds, without a second * `connections.list()` that could disagree with what the model reads. */ export declare const parseIntegrationInventory: (description: string) => readonly string[]; //# sourceMappingURL=description.d.ts.map