/** * Single source of truth for the names of the session server tools (the tools * that let an agent list, create, message, inspect, archive, and delete sessions/chats). * * These names are shared across layers: `common/` code surfaces them (e.g. the * open-session link and chat-attachment pointer) but cannot import from `node/`, * while the actual tool implementations live under `node/`. Keeping the names * here — the lowest common layer — lets both sides reference the same literals * instead of duplicating string constants that must be manually kept in sync. * * This is a `const enum`: it is only ever referenced member-by-member and is * never iterated at runtime, so its members inline to plain string literals. */ export declare enum SessionServerToolName { ListSessions = "list_sessions", GetCurrentSession = "get_current_session", SetWorkspace = "set_workspace", IsolateSession = "isolate_session", CreateSession = "create_session", CreateChat = "create_chat", RenameChat = "rename_chat", ArchiveChat = "archive_chat", SendMessage = "send_message", GetSessionContext = "get_session_context", DeleteSession = "delete_session", MoveSession = "move_session" } /** * Whether {@link toolName} (a tool name as seen on a tool call) refers to * {@link SessionServerToolName.RenameChat}. Accepts both the bare name, as the * agent sees it under Copilot, and the Claude `mcp____` prefixed * form — the same shape the feedback-annotation predicates accept. */ export declare function isRenameChatTool(toolName: string): boolean; /** Names of the artifact server tools, shared between `common/` and `node/`. */ export declare enum ArtifactServerToolName { AddArtifactOrReference = "add_artifact_or_reference", RemoveArtifactOrReference = "remove_artifact_or_reference", ListArtifactsAndReferences = "list_artifacts_and_references" } /** * The names these tools were advertised under before they also recorded * references, mapped to their replacement. Restored history and prompts written * against the old names keep routing and keep their display. */ export declare const LEGACY_ARTIFACT_SERVER_TOOL_NAMES: ReadonlyMap; /** Names of the tools that read and operate the integrations of recorded artifacts. */ export declare enum ArtifactIntegrationServerToolName { GetArtifactStatus = "get_artifact_status", RunArtifactAction = "run_artifact_action", SetArtifactAutomation = "set_artifact_automation", DisableArtifactAutomation = "disable_artifact_automation" }