//#region src/utils/agent-tool-name.d.ts /** * Derive the wire-safe agent tool name for an internal tool id. * * Devframe tool ids are colon-namespaced: `devframe::` for * built-ins, `devframes:plugin::` for plugin RPCs, and hub * command ids for command-derived tools. MCP clients constrain tool names * to `^[a-zA-Z0-9_-]{1,128}$`, so the agent/MCP boundary derives the wire * name automatically: every run of characters outside `[a-zA-Z0-9_-]` * becomes a single `_`, truncated to 128 characters. Internal ids never * change; resolution back to the id happens at the boundary. * * ``` * devframe:state:read → devframe_state_read * devframes:plugin:git:status → devframes_plugin_git_status * ``` * * A plain string transform with no node dependency, so browser-side UIs * that display a tool's id (e.g. the inspect plugin's agent view) can * import it too and show the name a client actually calls. */ export declare function toAgentToolName(id: string): string; //#endregion