SYMBOL INDEX (6413 symbols across 340 files) FILE: dotnet/src/ActionDisposable.cs class ActionDisposable (line 10) | internal sealed class ActionDisposable(Action action) : IDisposable method Dispose (line 14) | public void Dispose() FILE: dotnet/src/Client.cs class CopilotClient (line 55) | public sealed partial class CopilotClient : IDisposable, IAsyncDisposable method CopilotClient (line 121) | public CopilotClient(CopilotClientOptions? options = null) method ParseCliUrl (line 160) | private static Uri ParseCliUrl(string url) method StartAsync (line 199) | public Task StartAsync(CancellationToken cancellationToken = default) method StopAsync (line 260) | public async Task StopAsync() method ForceStopAsync (line 305) | public async Task ForceStopAsync() method ThrowErrors (line 316) | private static void ThrowErrors(List errors) method CleanupConnectionAsync (line 328) | private async Task CleanupConnectionAsync(List? errors) method ExtractTransformCallbacks (line 362) | private static (SystemMessageConfig? wireConfig, Dictionary CreateSessionAsync(SessionConfig con... method ResumeSessionAsync (line 552) | public async Task ResumeSessionAsync(string sessionId,... method PingAsync (line 692) | public async Task PingAsync(string? message = null, Canc... method GetStatusAsync (line 706) | public async Task GetStatusAsync(CancellationToken ... method GetAuthStatusAsync (line 720) | public async Task GetAuthStatusAsync(Cancellati... method ListModelsAsync (line 738) | public async Task> ListModelsAsync(CancellationToken ... method GetLastSessionIdAsync (line 791) | public async Task GetLastSessionIdAsync(CancellationToken can... method DeleteSessionAsync (line 819) | public async Task DeleteSessionAsync(string sessionId, CancellationTok... method ListSessionsAsync (line 850) | public async Task> ListSessionsAsync(SessionLis... method GetSessionMetadataAsync (line 880) | public async Task GetSessionMetadataAsync(string ses... method GetForegroundSessionIdAsync (line 908) | public async Task GetForegroundSessionIdAsync(CancellationTok... method SetForegroundSessionIdAsync (line 933) | public async Task SetForegroundSessionIdAsync(string sessionId, Cancel... method On (line 963) | public IDisposable On(Action handler) method On (line 993) | public IDisposable On(string eventType, Action ... method DispatchLifecycleEvent (line 1017) | private void DispatchLifecycleEvent(SessionLifecycleEvent evt) method InvokeRpcAsync (line 1041) | internal static async Task InvokeRpcAsync(JsonRpc rpc, string me... method InvokeRpcAsync (line 1046) | internal static async Task InvokeRpcAsync(JsonRpc rpc, string method, ... method InvokeRpcAsync (line 1051) | internal static async Task InvokeRpcAsync(JsonRpc rpc, string me... method EnsureConnectedAsync (line 1080) | private Task EnsureConnectedAsync(CancellationToken cancel... method ConfigureSessionFsAsync (line 1091) | private async Task ConfigureSessionFsAsync(CancellationToken cancellat... method ConfigureSessionFsHandlers (line 1105) | private void ConfigureSessionFsHandlers(CopilotSession session, Func Args) ResolveCliC... method ConnectToServerAsync (line 1322) | private async Task ConnectToServerAsync(Process? cliProces... method CreateSerializerOptions (line 1393) | private static JsonSerializerOptions CreateSerializerOptions() method GetSession (line 1412) | internal CopilotSession? GetSession(string sessionId) method Dispose (line 1423) | public void Dispose() method DisposeAsync (line 1435) | public async ValueTask DisposeAsync() class RpcHandler (line 1442) | private class RpcHandler(CopilotClient client) method OnSessionEvent (line 1444) | public void OnSessionEvent(string sessionId, JsonElement? @event) method OnSessionLifecycle (line 1457) | public void OnSessionLifecycle(string type, string sessionId, JsonEl... method OnUserInputRequest (line 1475) | public async ValueTask OnUserInputRequest(... method OnHooksInvoke (line 1489) | public async ValueTask OnHooksInvoke(string ses... method OnSystemMessageTransform (line 1496) | public async ValueTask OnSystemMe... method OnToolCallV2 (line 1504) | public async ValueTask OnToolCallV2(string sessi... method OnPermissionRequestV2 (line 1571) | public async ValueTask OnPermissionRequ... class Connection (line 1599) | private class Connection( class ProcessArgumentEscaper (line 1611) | private static class ProcessArgumentEscaper method Escape (line 1613) | public static string Escape(string arg) type CreateSessionRequest (line 1622) | internal record CreateSessionRequest( type ToolDefinition (line 1655) | internal record ToolDefinition( type CreateSessionResponse (line 1672) | internal record CreateSessionResponse( type ResumeSessionRequest (line 1677) | internal record ResumeSessionRequest( type ResumeSessionResponse (line 1712) | internal record ResumeSessionResponse( type CommandWireDefinition (line 1717) | internal record CommandWireDefinition( type GetLastSessionIdResponse (line 1721) | internal record GetLastSessionIdResponse( type DeleteSessionRequest (line 1724) | internal record DeleteSessionRequest( type DeleteSessionResponse (line 1727) | internal record DeleteSessionResponse( type ListSessionsRequest (line 1731) | internal record ListSessionsRequest( type ListSessionsResponse (line 1734) | internal record ListSessionsResponse( type GetSessionMetadataRequest (line 1737) | internal record GetSessionMetadataRequest( type GetSessionMetadataResponse (line 1740) | internal record GetSessionMetadataResponse( type SetForegroundSessionRequest (line 1743) | internal record SetForegroundSessionRequest( type UserInputRequestResponse (line 1746) | internal record UserInputRequestResponse( type HooksInvokeResponse (line 1750) | internal record HooksInvokeResponse( type ToolCallResponseV2 (line 1754) | internal record ToolCallResponseV2( type PermissionRequestResponseV2 (line 1757) | internal record PermissionRequestResponseV2( class ClientJsonContext (line 1760) | [JsonSourceGenerationOptions( method ListeningOnPortRegex (line 1799) | [GeneratedRegex(@"listening on port ([0-9]+)", RegexOptions.IgnoreCase)] class ToolResultAIContent (line 1808) | public class ToolResultAIContent(ToolResultObject toolResult) : AIContent FILE: dotnet/src/Generated/Rpc.cs class Diagnostics (line 19) | internal static class Diagnostics class PingResult (line 26) | public sealed class PingResult class PingRequest (line 42) | internal sealed class PingRequest class ModelBilling (line 50) | public sealed class ModelBilling class ModelCapabilitiesLimitsVision (line 58) | public sealed class ModelCapabilitiesLimitsVision class ModelCapabilitiesLimits (line 76) | public sealed class ModelCapabilitiesLimits class ModelCapabilitiesSupports (line 99) | public sealed class ModelCapabilitiesSupports class ModelCapabilities (line 111) | public sealed class ModelCapabilities class ModelPolicy (line 123) | public sealed class ModelPolicy class Model (line 135) | public sealed class Model class ModelList (line 167) | public sealed class ModelList class ModelsListRequest (line 175) | internal sealed class ModelsListRequest class Tool (line 183) | public sealed class Tool class ToolList (line 207) | public sealed class ToolList class ToolsListRequest (line 215) | internal sealed class ToolsListRequest class AccountQuotaSnapshot (line 223) | public sealed class AccountQuotaSnapshot class AccountGetQuotaResult (line 261) | public sealed class AccountGetQuotaResult class AccountGetQuotaRequest (line 269) | internal sealed class AccountGetQuotaRequest class DiscoveredMcpServer (line 277) | public sealed class DiscoveredMcpServer class McpDiscoverResult (line 300) | public sealed class McpDiscoverResult class McpDiscoverRequest (line 308) | internal sealed class McpDiscoverRequest class McpConfigList (line 316) | public sealed class McpConfigList class McpConfigAddRequest (line 324) | internal sealed class McpConfigAddRequest class McpConfigUpdateRequest (line 339) | internal sealed class McpConfigUpdateRequest class McpConfigRemoveRequest (line 354) | internal sealed class McpConfigRemoveRequest class McpConfigEnableRequest (line 365) | internal sealed class McpConfigEnableRequest class McpConfigDisableRequest (line 373) | internal sealed class McpConfigDisableRequest class ServerSkill (line 381) | public sealed class ServerSkill class ServerSkillList (line 413) | public sealed class ServerSkillList class SkillsDiscoverRequest (line 421) | internal sealed class SkillsDiscoverRequest class SkillsConfigSetDisabledSkillsRequest (line 433) | internal sealed class SkillsConfigSetDisabledSkillsRequest class SessionFsSetProviderResult (line 441) | public sealed class SessionFsSetProviderResult class SessionFsSetProviderRequest (line 449) | internal sealed class SessionFsSetProviderRequest class SessionsForkResult (line 465) | [Experimental(Diagnostics.Experimental)] class SessionsForkRequest (line 474) | [Experimental(Diagnostics.Experimental)] class SessionSuspendRequest (line 487) | internal sealed class SessionSuspendRequest class LogResult (line 495) | public sealed class LogResult class LogRequest (line 503) | internal sealed class LogRequest class SessionAuthStatus (line 529) | public sealed class SessionAuthStatus class SessionAuthGetStatusRequest (line 557) | internal sealed class SessionAuthGetStatusRequest class CurrentModel (line 565) | public sealed class CurrentModel class SessionModelGetCurrentRequest (line 573) | internal sealed class SessionModelGetCurrentRequest class ModelSwitchToResult (line 581) | public sealed class ModelSwitchToResult class ModelCapabilitiesOverrideLimitsVision (line 589) | public sealed class ModelCapabilitiesOverrideLimitsVision class ModelCapabilitiesOverrideLimits (line 607) | public sealed class ModelCapabilitiesOverrideLimits class ModelCapabilitiesOverrideSupports (line 630) | public sealed class ModelCapabilitiesOverrideSupports class ModelCapabilitiesOverride (line 642) | public sealed class ModelCapabilitiesOverride class ModelSwitchToRequest (line 654) | internal sealed class ModelSwitchToRequest class SessionModeGetRequest (line 674) | internal sealed class SessionModeGetRequest class ModeSetRequest (line 682) | internal sealed class ModeSetRequest class NameGetResult (line 694) | public sealed class NameGetResult class SessionNameGetRequest (line 702) | internal sealed class SessionNameGetRequest class NameSetRequest (line 710) | internal sealed class NameSetRequest class PlanReadResult (line 725) | public sealed class PlanReadResult class SessionPlanReadRequest (line 741) | internal sealed class SessionPlanReadRequest class PlanUpdateRequest (line 749) | internal sealed class PlanUpdateRequest class SessionPlanDeleteRequest (line 761) | internal sealed class SessionPlanDeleteRequest class WorkspacesGetWorkspaceResultWorkspace (line 769) | public sealed class WorkspacesGetWorkspaceResultWorkspace class WorkspacesGetWorkspaceResult (line 846) | public sealed class WorkspacesGetWorkspaceResult class SessionWorkspacesGetWorkspaceRequest (line 854) | internal sealed class SessionWorkspacesGetWorkspaceRequest class WorkspacesListFilesResult (line 862) | public sealed class WorkspacesListFilesResult class SessionWorkspacesListFilesRequest (line 870) | internal sealed class SessionWorkspacesListFilesRequest class WorkspacesReadFileResult (line 878) | public sealed class WorkspacesReadFileResult class WorkspacesReadFileRequest (line 886) | internal sealed class WorkspacesReadFileRequest class WorkspacesCreateFileRequest (line 898) | internal sealed class WorkspacesCreateFileRequest class InstructionsSources (line 914) | public sealed class InstructionsSources class InstructionsGetSourcesResult (line 950) | public sealed class InstructionsGetSourcesResult class SessionInstructionsGetSourcesRequest (line 958) | internal sealed class SessionInstructionsGetSourcesRequest class FleetStartResult (line 966) | [Experimental(Diagnostics.Experimental)] class FleetStartRequest (line 975) | [Experimental(Diagnostics.Experimental)] class AgentInfo (line 988) | public sealed class AgentInfo class AgentList (line 1008) | [Experimental(Diagnostics.Experimental)] class SessionAgentListRequest (line 1017) | [Experimental(Diagnostics.Experimental)] class AgentGetCurrentResult (line 1026) | [Experimental(Diagnostics.Experimental)] class SessionAgentGetCurrentRequest (line 1035) | [Experimental(Diagnostics.Experimental)] class AgentSelectResult (line 1044) | [Experimental(Diagnostics.Experimental)] class AgentSelectRequest (line 1053) | [Experimental(Diagnostics.Experimental)] class SessionAgentDeselectRequest (line 1066) | [Experimental(Diagnostics.Experimental)] class AgentReloadResult (line 1075) | [Experimental(Diagnostics.Experimental)] class SessionAgentReloadRequest (line 1084) | [Experimental(Diagnostics.Experimental)] class TasksStartAgentResult (line 1093) | [Experimental(Diagnostics.Experimental)] class TasksStartAgentRequest (line 1102) | [Experimental(Diagnostics.Experimental)] class TaskInfo (line 1131) | [JsonPolymorphic( class TaskInfoAgent (line 1145) | public partial class TaskInfoAgent : TaskInfo class TaskInfoShell (line 1232) | public partial class TaskInfoShell : TaskInfo class TaskList (line 1289) | [Experimental(Diagnostics.Experimental)] class SessionTasksListRequest (line 1298) | [Experimental(Diagnostics.Experimental)] class TasksPromoteToBackgroundResult (line 1307) | [Experimental(Diagnostics.Experimental)] class TasksPromoteToBackgroundRequest (line 1316) | [Experimental(Diagnostics.Experimental)] class TasksCancelResult (line 1329) | [Experimental(Diagnostics.Experimental)] class TasksCancelRequest (line 1338) | [Experimental(Diagnostics.Experimental)] class TasksRemoveResult (line 1351) | [Experimental(Diagnostics.Experimental)] class TasksRemoveRequest (line 1360) | [Experimental(Diagnostics.Experimental)] class Skill (line 1373) | public sealed class Skill class SkillList (line 1401) | [Experimental(Diagnostics.Experimental)] class SessionSkillsListRequest (line 1410) | [Experimental(Diagnostics.Experimental)] class SkillsEnableRequest (line 1419) | [Experimental(Diagnostics.Experimental)] class SkillsDisableRequest (line 1432) | [Experimental(Diagnostics.Experimental)] class SessionSkillsReloadRequest (line 1445) | [Experimental(Diagnostics.Experimental)] class McpServer (line 1454) | public sealed class McpServer class McpServerList (line 1477) | [Experimental(Diagnostics.Experimental)] class SessionMcpListRequest (line 1486) | [Experimental(Diagnostics.Experimental)] class McpEnableRequest (line 1495) | [Experimental(Diagnostics.Experimental)] class McpDisableRequest (line 1511) | [Experimental(Diagnostics.Experimental)] class SessionMcpReloadRequest (line 1527) | [Experimental(Diagnostics.Experimental)] class McpOauthLoginResult (line 1536) | [Experimental(Diagnostics.Experimental)] class McpOauthLoginRequest (line 1545) | [Experimental(Diagnostics.Experimental)] class Plugin (line 1573) | public sealed class Plugin class PluginList (line 1593) | [Experimental(Diagnostics.Experimental)] class SessionPluginsListRequest (line 1602) | [Experimental(Diagnostics.Experimental)] class Extension (line 1611) | public sealed class Extension class ExtensionList (line 1635) | [Experimental(Diagnostics.Experimental)] class SessionExtensionsListRequest (line 1644) | [Experimental(Diagnostics.Experimental)] class ExtensionsEnableRequest (line 1653) | [Experimental(Diagnostics.Experimental)] class ExtensionsDisableRequest (line 1666) | [Experimental(Diagnostics.Experimental)] class SessionExtensionsReloadRequest (line 1679) | [Experimental(Diagnostics.Experimental)] class HandlePendingToolCallResult (line 1688) | public sealed class HandlePendingToolCallResult class HandlePendingToolCallRequest (line 1696) | internal sealed class HandlePendingToolCallRequest class CommandsHandlePendingCommandResult (line 1716) | public sealed class CommandsHandlePendingCommandResult class CommandsHandlePendingCommandRequest (line 1724) | internal sealed class CommandsHandlePendingCommandRequest class UIElicitationResponse (line 1740) | public sealed class UIElicitationResponse class UIElicitationSchema (line 1752) | public sealed class UIElicitationSchema class UIElicitationRequest (line 1768) | internal sealed class UIElicitationRequest class UIElicitationResult (line 1784) | public sealed class UIElicitationResult class UIHandlePendingElicitationRequest (line 1792) | internal sealed class UIHandlePendingElicitationRequest class PermissionRequestResult (line 1808) | public sealed class PermissionRequestResult class PermissionDecision (line 1816) | [JsonPolymorphic( class PermissionDecisionApproveOnce (line 1834) | public partial class PermissionDecisionApproveOnce : PermissionDecision class PermissionDecisionApproveForSessionApproval (line 1843) | [JsonPolymorphic( class PermissionDecisionApproveForSessionApprovalCommands (line 1862) | public partial class PermissionDecisionApproveForSessionApprovalCommands... class PermissionDecisionApproveForSessionApprovalRead (line 1874) | public partial class PermissionDecisionApproveForSessionApprovalRead : P... class PermissionDecisionApproveForSessionApprovalWrite (line 1882) | public partial class PermissionDecisionApproveForSessionApprovalWrite : ... class PermissionDecisionApproveForSessionApprovalMcp (line 1890) | public partial class PermissionDecisionApproveForSessionApprovalMcp : Pe... class PermissionDecisionApproveForSessionApprovalMcpSampling (line 1906) | public partial class PermissionDecisionApproveForSessionApprovalMcpSampl... class PermissionDecisionApproveForSessionApprovalMemory (line 1918) | public partial class PermissionDecisionApproveForSessionApprovalMemory :... class PermissionDecisionApproveForSessionApprovalCustomTool (line 1926) | public partial class PermissionDecisionApproveForSessionApprovalCustomTo... class PermissionDecisionApproveForSession (line 1938) | public partial class PermissionDecisionApproveForSession : PermissionDec... class PermissionDecisionApproveForLocationApproval (line 1957) | [JsonPolymorphic( class PermissionDecisionApproveForLocationApprovalCommands (line 1976) | public partial class PermissionDecisionApproveForLocationApprovalCommand... class PermissionDecisionApproveForLocationApprovalRead (line 1988) | public partial class PermissionDecisionApproveForLocationApprovalRead : ... class PermissionDecisionApproveForLocationApprovalWrite (line 1996) | public partial class PermissionDecisionApproveForLocationApprovalWrite :... class PermissionDecisionApproveForLocationApprovalMcp (line 2004) | public partial class PermissionDecisionApproveForLocationApprovalMcp : P... class PermissionDecisionApproveForLocationApprovalMcpSampling (line 2020) | public partial class PermissionDecisionApproveForLocationApprovalMcpSamp... class PermissionDecisionApproveForLocationApprovalMemory (line 2032) | public partial class PermissionDecisionApproveForLocationApprovalMemory ... class PermissionDecisionApproveForLocationApprovalCustomTool (line 2040) | public partial class PermissionDecisionApproveForLocationApprovalCustomT... class PermissionDecisionApproveForLocation (line 2052) | public partial class PermissionDecisionApproveForLocation : PermissionDe... class PermissionDecisionApprovePermanently (line 2068) | public partial class PermissionDecisionApprovePermanently : PermissionDe... class PermissionDecisionReject (line 2080) | public partial class PermissionDecisionReject : PermissionDecision class PermissionDecisionUserNotAvailable (line 2093) | public partial class PermissionDecisionUserNotAvailable : PermissionDeci... class PermissionDecisionRequest (line 2101) | internal sealed class PermissionDecisionRequest class PermissionsSetApproveAllResult (line 2117) | public sealed class PermissionsSetApproveAllResult class PermissionsSetApproveAllRequest (line 2125) | internal sealed class PermissionsSetApproveAllRequest class PermissionsResetSessionApprovalsResult (line 2137) | public sealed class PermissionsResetSessionApprovalsResult class PermissionsResetSessionApprovalsRequest (line 2145) | internal sealed class PermissionsResetSessionApprovalsRequest class ShellExecResult (line 2153) | public sealed class ShellExecResult class ShellExecRequest (line 2161) | internal sealed class ShellExecRequest class ShellKillResult (line 2183) | public sealed class ShellKillResult class ShellKillRequest (line 2191) | internal sealed class ShellKillRequest class HistoryCompactContextWindow (line 2207) | public sealed class HistoryCompactContextWindow class HistoryCompactResult (line 2241) | [Experimental(Diagnostics.Experimental)] class SessionHistoryCompactRequest (line 2264) | [Experimental(Diagnostics.Experimental)] class HistoryTruncateResult (line 2273) | [Experimental(Diagnostics.Experimental)] class HistoryTruncateRequest (line 2283) | [Experimental(Diagnostics.Experimental)] class UsageMetricsCodeChanges (line 2296) | public sealed class UsageMetricsCodeChanges class UsageMetricsModelMetricRequests (line 2312) | public sealed class UsageMetricsModelMetricRequests class UsageMetricsModelMetricTokenDetail (line 2324) | public sealed class UsageMetricsModelMetricTokenDetail class UsageMetricsModelMetricUsage (line 2333) | public sealed class UsageMetricsModelMetricUsage class UsageMetricsModelMetric (line 2362) | public sealed class UsageMetricsModelMetric class UsageMetricsTokenDetail (line 2383) | public sealed class UsageMetricsTokenDetail class UsageGetMetricsResult (line 2392) | [Experimental(Diagnostics.Experimental)] class SessionUsageGetMetricsRequest (line 2447) | [Experimental(Diagnostics.Experimental)] class SessionFsError (line 2456) | public sealed class SessionFsError class SessionFsReadFileResult (line 2468) | public sealed class SessionFsReadFileResult class SessionFsReadFileRequest (line 2480) | public sealed class SessionFsReadFileRequest class SessionFsWriteFileRequest (line 2492) | public sealed class SessionFsWriteFileRequest class SessionFsAppendFileRequest (line 2513) | public sealed class SessionFsAppendFileRequest class SessionFsExistsResult (line 2534) | public sealed class SessionFsExistsResult class SessionFsExistsRequest (line 2542) | public sealed class SessionFsExistsRequest class SessionFsStatResult (line 2554) | public sealed class SessionFsStatResult class SessionFsStatRequest (line 2583) | public sealed class SessionFsStatRequest class SessionFsMkdirRequest (line 2595) | public sealed class SessionFsMkdirRequest class SessionFsReaddirResult (line 2616) | public sealed class SessionFsReaddirResult class SessionFsReaddirRequest (line 2628) | public sealed class SessionFsReaddirRequest class SessionFsReaddirWithTypesEntry (line 2640) | public sealed class SessionFsReaddirWithTypesEntry class SessionFsReaddirWithTypesResult (line 2652) | public sealed class SessionFsReaddirWithTypesResult class SessionFsReaddirWithTypesRequest (line 2664) | public sealed class SessionFsReaddirWithTypesRequest class SessionFsRmRequest (line 2676) | public sealed class SessionFsRmRequest class SessionFsRenameRequest (line 2696) | public sealed class SessionFsRenameRequest type DiscoveredMcpServerSource (line 2712) | [JsonConverter(typeof(JsonStringEnumConverter))] type DiscoveredMcpServerType (line 2731) | [JsonConverter(typeof(JsonStringEnumConverter))] type SessionFsSetProviderConventions (line 2750) | [JsonConverter(typeof(JsonStringEnumConverter))] type AuthInfoType (line 2779) | [JsonConverter(typeof(JsonStringEnumConverter))] type SessionMode (line 2807) | [JsonConverter(typeof(JsonStringEnumConverter))] type WorkspacesGetWorkspaceResultWorkspaceHostType (line 2823) | [JsonConverter(typeof(JsonStringEnumConverter))] type TaskAgentInfoExecutionMode (line 2893) | [JsonConverter(typeof(JsonStringEnumConverter))] type TaskShellInfoAttachmentMode (line 2928) | [JsonConverter(typeof(JsonStringEnumConverter))] type McpServerSource (line 2976) | [JsonConverter(typeof(JsonStringEnumConverter))] type McpServerStatus (line 2995) | [JsonConverter(typeof(JsonStringEnumConverter))] type ExtensionSource (line 3020) | [JsonConverter(typeof(JsonStringEnumConverter))] type ExtensionStatus (line 3033) | [JsonConverter(typeof(JsonStringEnumConverter))] type UIElicitationResponseAction (line 3052) | [JsonConverter(typeof(JsonStringEnumConverter))] type SessionFsErrorCode (line 3084) | [JsonConverter(typeof(JsonStringEnumConverter))] type SessionFsReaddirWithTypesEntryType (line 3097) | [JsonConverter(typeof(JsonStringEnumConverter PingAsync(string? message = null, Cancel... class ServerModelsApi (line 3156) | public sealed class ServerModelsApi method ServerModelsApi (line 3160) | internal ServerModelsApi(JsonRpc rpc) method ListAsync (line 3166) | public async Task ListAsync(string? gitHubToken = null, Can... class ServerToolsApi (line 3174) | public sealed class ServerToolsApi method ServerToolsApi (line 3178) | internal ServerToolsApi(JsonRpc rpc) method ListAsync (line 3184) | public async Task ListAsync(string? model = null, Cancellati... class ServerAccountApi (line 3192) | public sealed class ServerAccountApi method ServerAccountApi (line 3196) | internal ServerAccountApi(JsonRpc rpc) method GetQuotaAsync (line 3202) | public async Task GetQuotaAsync(string? gitHubT... class ServerMcpApi (line 3210) | public sealed class ServerMcpApi method ServerMcpApi (line 3214) | internal ServerMcpApi(JsonRpc rpc) method DiscoverAsync (line 3221) | public async Task DiscoverAsync(string? workingDire... class ServerMcpConfigApi (line 3232) | public sealed class ServerMcpConfigApi method ServerMcpConfigApi (line 3236) | internal ServerMcpConfigApi(JsonRpc rpc) method ListAsync (line 3242) | public async Task ListAsync(CancellationToken cancellat... method AddAsync (line 3248) | public async Task AddAsync(string name, object config, CancellationTok... method UpdateAsync (line 3255) | public async Task UpdateAsync(string name, object config, Cancellation... method RemoveAsync (line 3262) | public async Task RemoveAsync(string name, CancellationToken cancellat... method EnableAsync (line 3269) | public async Task EnableAsync(IList names, CancellationToken c... method DisableAsync (line 3276) | public async Task DisableAsync(IList names, CancellationToken ... class ServerSkillsApi (line 3284) | public sealed class ServerSkillsApi method ServerSkillsApi (line 3288) | internal ServerSkillsApi(JsonRpc rpc) method DiscoverAsync (line 3295) | public async Task DiscoverAsync(IList? projec... class ServerSkillsConfigApi (line 3306) | public sealed class ServerSkillsConfigApi method ServerSkillsConfigApi (line 3310) | internal ServerSkillsConfigApi(JsonRpc rpc) method SetDisabledSkillsAsync (line 3316) | public async Task SetDisabledSkillsAsync(IList disabledSkills,... class ServerSessionFsApi (line 3324) | public sealed class ServerSessionFsApi method ServerSessionFsApi (line 3328) | internal ServerSessionFsApi(JsonRpc rpc) method SetProviderAsync (line 3334) | public async Task SetProviderAsync(string ... class ServerSessionsApi (line 3342) | [Experimental(Diagnostics.Experimental)] method ServerSessionsApi (line 3347) | internal ServerSessionsApi(JsonRpc rpc) method ForkAsync (line 3353) | public async Task ForkAsync(string sessionId, stri... class SessionRpc (line 3361) | public sealed class SessionRpc method SessionRpc (line 3366) | internal SessionRpc(JsonRpc rpc, string sessionId) method SuspendAsync (line 3457) | public async Task SuspendAsync(CancellationToken cancellationToken = d... method LogAsync (line 3464) | public async Task LogAsync(string message, SessionLogLevel?... class AuthApi (line 3472) | public sealed class AuthApi method AuthApi (line 3477) | internal AuthApi(JsonRpc rpc, string sessionId) method GetStatusAsync (line 3484) | public async Task GetStatusAsync(CancellationToken ... class ModelApi (line 3492) | public sealed class ModelApi method ModelApi (line 3497) | internal ModelApi(JsonRpc rpc, string sessionId) method GetCurrentAsync (line 3504) | public async Task GetCurrentAsync(CancellationToken canc... method SwitchToAsync (line 3511) | public async Task SwitchToAsync(string modelId, s... class ModeApi (line 3519) | public sealed class ModeApi method ModeApi (line 3524) | internal ModeApi(JsonRpc rpc, string sessionId) method GetAsync (line 3531) | public async Task GetAsync(CancellationToken cancellation... method SetAsync (line 3538) | public async Task SetAsync(SessionMode mode, CancellationToken cancell... class NameApi (line 3546) | public sealed class NameApi method NameApi (line 3551) | internal NameApi(JsonRpc rpc, string sessionId) method GetAsync (line 3558) | public async Task GetAsync(CancellationToken cancellati... method SetAsync (line 3565) | public async Task SetAsync(string name, CancellationToken cancellation... class PlanApi (line 3573) | public sealed class PlanApi method PlanApi (line 3578) | internal PlanApi(JsonRpc rpc, string sessionId) method ReadAsync (line 3585) | public async Task ReadAsync(CancellationToken cancella... method UpdateAsync (line 3592) | public async Task UpdateAsync(string content, CancellationToken cancel... method DeleteAsync (line 3599) | public async Task DeleteAsync(CancellationToken cancellationToken = de... class WorkspacesApi (line 3607) | public sealed class WorkspacesApi method WorkspacesApi (line 3612) | internal WorkspacesApi(JsonRpc rpc, string sessionId) method GetWorkspaceAsync (line 3619) | public async Task GetWorkspaceAsync(Canc... method ListFilesAsync (line 3626) | public async Task ListFilesAsync(Cancellati... method ReadFileAsync (line 3633) | public async Task ReadFileAsync(string path,... method CreateFileAsync (line 3640) | public async Task CreateFileAsync(string path, string content, Cancell... class InstructionsApi (line 3648) | public sealed class InstructionsApi method InstructionsApi (line 3653) | internal InstructionsApi(JsonRpc rpc, string sessionId) method GetSourcesAsync (line 3660) | public async Task GetSourcesAsync(Cancel... class FleetApi (line 3668) | [Experimental(Diagnostics.Experimental)] method FleetApi (line 3674) | internal FleetApi(JsonRpc rpc, string sessionId) method StartAsync (line 3681) | public async Task StartAsync(string? prompt = null, ... class AgentApi (line 3689) | [Experimental(Diagnostics.Experimental)] method AgentApi (line 3695) | internal AgentApi(JsonRpc rpc, string sessionId) method ListAsync (line 3702) | public async Task ListAsync(CancellationToken cancellationT... method GetCurrentAsync (line 3709) | public async Task GetCurrentAsync(CancellationT... method SelectAsync (line 3716) | public async Task SelectAsync(string name, Cancella... method DeselectAsync (line 3723) | public async Task DeselectAsync(CancellationToken cancellationToken = ... method ReloadAsync (line 3730) | public async Task ReloadAsync(CancellationToken can... class TasksApi (line 3738) | [Experimental(Diagnostics.Experimental)] method TasksApi (line 3744) | internal TasksApi(JsonRpc rpc, string sessionId) method StartAgentAsync (line 3751) | public async Task StartAgentAsync(string agentT... method ListAsync (line 3758) | public async Task ListAsync(CancellationToken cancellationTo... method PromoteToBackgroundAsync (line 3765) | public async Task PromoteToBackgroundA... method CancelAsync (line 3772) | public async Task CancelAsync(string id, Cancellati... method RemoveAsync (line 3779) | public async Task RemoveAsync(string id, Cancellati... class SkillsApi (line 3787) | [Experimental(Diagnostics.Experimental)] method SkillsApi (line 3793) | internal SkillsApi(JsonRpc rpc, string sessionId) method ListAsync (line 3800) | public async Task ListAsync(CancellationToken cancellationT... method EnableAsync (line 3807) | public async Task EnableAsync(string name, CancellationToken cancellat... method DisableAsync (line 3814) | public async Task DisableAsync(string name, CancellationToken cancella... method ReloadAsync (line 3821) | public async Task ReloadAsync(CancellationToken cancellationToken = de... class McpApi (line 3829) | [Experimental(Diagnostics.Experimental)] method McpApi (line 3835) | internal McpApi(JsonRpc rpc, string sessionId) method ListAsync (line 3843) | public async Task ListAsync(CancellationToken cancellat... method EnableAsync (line 3850) | public async Task EnableAsync(string serverName, CancellationToken can... method DisableAsync (line 3857) | public async Task DisableAsync(string serverName, CancellationToken ca... method ReloadAsync (line 3864) | public async Task ReloadAsync(CancellationToken cancellationToken = de... class McpOauthApi (line 3875) | [Experimental(Diagnostics.Experimental)] method McpOauthApi (line 3881) | internal McpOauthApi(JsonRpc rpc, string sessionId) method LoginAsync (line 3888) | public async Task LoginAsync(string serverName, b... class PluginsApi (line 3896) | [Experimental(Diagnostics.Experimental)] method PluginsApi (line 3902) | internal PluginsApi(JsonRpc rpc, string sessionId) method ListAsync (line 3909) | public async Task ListAsync(CancellationToken cancellation... class ExtensionsApi (line 3917) | [Experimental(Diagnostics.Experimental)] method ExtensionsApi (line 3923) | internal ExtensionsApi(JsonRpc rpc, string sessionId) method ListAsync (line 3930) | public async Task ListAsync(CancellationToken cancellat... method EnableAsync (line 3937) | public async Task EnableAsync(string id, CancellationToken cancellatio... method DisableAsync (line 3944) | public async Task DisableAsync(string id, CancellationToken cancellati... method ReloadAsync (line 3951) | public async Task ReloadAsync(CancellationToken cancellationToken = de... class ToolsApi (line 3959) | public sealed class ToolsApi method ToolsApi (line 3964) | internal ToolsApi(JsonRpc rpc, string sessionId) method HandlePendingToolCallAsync (line 3971) | public async Task HandlePendingToolCallAs... class CommandsApi (line 3979) | public sealed class CommandsApi method CommandsApi (line 3984) | internal CommandsApi(JsonRpc rpc, string sessionId) method HandlePendingCommandAsync (line 3991) | public async Task HandlePendingCom... class UiApi (line 3999) | public sealed class UiApi method UiApi (line 4004) | internal UiApi(JsonRpc rpc, string sessionId) method ElicitationAsync (line 4011) | public async Task ElicitationAsync(string messa... method HandlePendingElicitationAsync (line 4018) | public async Task HandlePendingElicitationAsync(s... class PermissionsApi (line 4026) | public sealed class PermissionsApi method PermissionsApi (line 4031) | internal PermissionsApi(JsonRpc rpc, string sessionId) method HandlePendingPermissionRequestAsync (line 4038) | public async Task HandlePendingPermissionRequ... method SetApproveAllAsync (line 4045) | public async Task SetApproveAllAsync(b... method ResetSessionApprovalsAsync (line 4052) | public async Task ResetSession... class ShellApi (line 4060) | public sealed class ShellApi method ShellApi (line 4065) | internal ShellApi(JsonRpc rpc, string sessionId) method ExecAsync (line 4072) | public async Task ExecAsync(string command, string? c... method KillAsync (line 4079) | public async Task KillAsync(string processId, ShellKi... class HistoryApi (line 4087) | [Experimental(Diagnostics.Experimental)] method HistoryApi (line 4093) | internal HistoryApi(JsonRpc rpc, string sessionId) method CompactAsync (line 4100) | public async Task CompactAsync(CancellationToken... method TruncateAsync (line 4107) | public async Task TruncateAsync(string eventId,... class UsageApi (line 4115) | [Experimental(Diagnostics.Experimental)] method UsageApi (line 4121) | internal UsageApi(JsonRpc rpc, string sessionId) method GetMetricsAsync (line 4128) | public async Task GetMetricsAsync(CancellationT... type ISessionFsHandler (line 4136) | public interface ISessionFsHandler method ReadFileAsync (line 4139) | Task ReadFileAsync(SessionFsReadFileRequest r... method WriteFileAsync (line 4141) | Task WriteFileAsync(SessionFsWriteFileRequest request... method AppendFileAsync (line 4143) | Task AppendFileAsync(SessionFsAppendFileRequest reque... method ExistsAsync (line 4145) | Task ExistsAsync(SessionFsExistsRequest request... method StatAsync (line 4147) | Task StatAsync(SessionFsStatRequest request, Canc... method MkdirAsync (line 4149) | Task MkdirAsync(SessionFsMkdirRequest request, Cancel... method ReaddirAsync (line 4151) | Task ReaddirAsync(SessionFsReaddirRequest requ... method ReaddirWithTypesAsync (line 4153) | Task ReaddirWithTypesAsync(SessionFsR... method RmAsync (line 4155) | Task RmAsync(SessionFsRmRequest request, Cancellation... method RenameAsync (line 4157) | Task RenameAsync(SessionFsRenameRequest request, Canc... class ClientSessionApiHandlers (line 4161) | public sealed class ClientSessionApiHandlers class ClientSessionApiRegistration (line 4168) | internal static class ClientSessionApiRegistration method RegisterClientSessionApiHandlers (line 4175) | public static void RegisterClientSessionApiHandlers(JsonRpc rpc, Func<... class RpcJsonContext (line 4240) | [JsonSourceGenerationOptions( FILE: dotnet/src/Generated/SessionEvents.cs class SessionEvent (line 22) | [DebuggerDisplay("{DebuggerDisplay,nq}")] method FromJson (line 135) | public static SessionEvent FromJson(string json) => method ToJson (line 139) | public string ToJson() => class SessionStartEvent (line 148) | public partial class SessionStartEvent : SessionEvent class SessionResumeEvent (line 161) | public partial class SessionResumeEvent : SessionEvent class SessionRemoteSteerableChangedEvent (line 174) | public partial class SessionRemoteSteerableChangedEvent : SessionEvent class SessionErrorEvent (line 187) | public partial class SessionErrorEvent : SessionEvent class SessionIdleEvent (line 200) | public partial class SessionIdleEvent : SessionEvent class SessionTitleChangedEvent (line 213) | public partial class SessionTitleChangedEvent : SessionEvent class SessionInfoEvent (line 226) | public partial class SessionInfoEvent : SessionEvent class SessionWarningEvent (line 239) | public partial class SessionWarningEvent : SessionEvent class SessionModelChangeEvent (line 252) | public partial class SessionModelChangeEvent : SessionEvent class SessionModeChangedEvent (line 265) | public partial class SessionModeChangedEvent : SessionEvent class SessionPlanChangedEvent (line 278) | public partial class SessionPlanChangedEvent : SessionEvent class SessionWorkspaceFileChangedEvent (line 291) | public partial class SessionWorkspaceFileChangedEvent : SessionEvent class SessionHandoffEvent (line 304) | public partial class SessionHandoffEvent : SessionEvent class SessionTruncationEvent (line 317) | public partial class SessionTruncationEvent : SessionEvent class SessionSnapshotRewindEvent (line 330) | public partial class SessionSnapshotRewindEvent : SessionEvent class SessionShutdownEvent (line 343) | public partial class SessionShutdownEvent : SessionEvent class SessionContextChangedEvent (line 356) | public partial class SessionContextChangedEvent : SessionEvent class SessionUsageInfoEvent (line 369) | public partial class SessionUsageInfoEvent : SessionEvent class SessionCompactionStartEvent (line 382) | public partial class SessionCompactionStartEvent : SessionEvent class SessionCompactionCompleteEvent (line 395) | public partial class SessionCompactionCompleteEvent : SessionEvent class SessionTaskCompleteEvent (line 408) | public partial class SessionTaskCompleteEvent : SessionEvent class UserMessageEvent (line 420) | public partial class UserMessageEvent : SessionEvent class PendingMessagesModifiedEvent (line 433) | public partial class PendingMessagesModifiedEvent : SessionEvent class AssistantTurnStartEvent (line 446) | public partial class AssistantTurnStartEvent : SessionEvent class AssistantIntentEvent (line 459) | public partial class AssistantIntentEvent : SessionEvent class AssistantReasoningEvent (line 472) | public partial class AssistantReasoningEvent : SessionEvent class AssistantReasoningDeltaEvent (line 485) | public partial class AssistantReasoningDeltaEvent : SessionEvent class AssistantStreamingDeltaEvent (line 498) | public partial class AssistantStreamingDeltaEvent : SessionEvent class AssistantMessageEvent (line 511) | public partial class AssistantMessageEvent : SessionEvent class AssistantMessageStartEvent (line 524) | public partial class AssistantMessageStartEvent : SessionEvent class AssistantMessageDeltaEvent (line 537) | public partial class AssistantMessageDeltaEvent : SessionEvent class AssistantTurnEndEvent (line 550) | public partial class AssistantTurnEndEvent : SessionEvent class AssistantUsageEvent (line 563) | public partial class AssistantUsageEvent : SessionEvent class ModelCallFailureEvent (line 576) | public partial class ModelCallFailureEvent : SessionEvent class AbortEvent (line 589) | public partial class AbortEvent : SessionEvent class ToolUserRequestedEvent (line 602) | public partial class ToolUserRequestedEvent : SessionEvent class ToolExecutionStartEvent (line 615) | public partial class ToolExecutionStartEvent : SessionEvent class ToolExecutionPartialResultEvent (line 628) | public partial class ToolExecutionPartialResultEvent : SessionEvent class ToolExecutionProgressEvent (line 641) | public partial class ToolExecutionProgressEvent : SessionEvent class ToolExecutionCompleteEvent (line 654) | public partial class ToolExecutionCompleteEvent : SessionEvent class SkillInvokedEvent (line 667) | public partial class SkillInvokedEvent : SessionEvent class SubagentStartedEvent (line 680) | public partial class SubagentStartedEvent : SessionEvent class SubagentCompletedEvent (line 693) | public partial class SubagentCompletedEvent : SessionEvent class SubagentFailedEvent (line 706) | public partial class SubagentFailedEvent : SessionEvent class SubagentSelectedEvent (line 719) | public partial class SubagentSelectedEvent : SessionEvent class SubagentDeselectedEvent (line 732) | public partial class SubagentDeselectedEvent : SessionEvent class HookStartEvent (line 745) | public partial class HookStartEvent : SessionEvent class HookEndEvent (line 758) | public partial class HookEndEvent : SessionEvent class SystemMessageEvent (line 771) | public partial class SystemMessageEvent : SessionEvent class SystemNotificationEvent (line 784) | public partial class SystemNotificationEvent : SessionEvent class PermissionRequestedEvent (line 797) | public partial class PermissionRequestedEvent : SessionEvent class PermissionCompletedEvent (line 810) | public partial class PermissionCompletedEvent : SessionEvent class UserInputRequestedEvent (line 823) | public partial class UserInputRequestedEvent : SessionEvent class UserInputCompletedEvent (line 836) | public partial class UserInputCompletedEvent : SessionEvent class ElicitationRequestedEvent (line 849) | public partial class ElicitationRequestedEvent : SessionEvent class ElicitationCompletedEvent (line 862) | public partial class ElicitationCompletedEvent : SessionEvent class SamplingRequestedEvent (line 875) | public partial class SamplingRequestedEvent : SessionEvent class SamplingCompletedEvent (line 888) | public partial class SamplingCompletedEvent : SessionEvent class McpOauthRequiredEvent (line 901) | public partial class McpOauthRequiredEvent : SessionEvent class McpOauthCompletedEvent (line 914) | public partial class McpOauthCompletedEvent : SessionEvent class ExternalToolRequestedEvent (line 927) | public partial class ExternalToolRequestedEvent : SessionEvent class ExternalToolCompletedEvent (line 940) | public partial class ExternalToolCompletedEvent : SessionEvent class CommandQueuedEvent (line 953) | public partial class CommandQueuedEvent : SessionEvent class CommandExecuteEvent (line 966) | public partial class CommandExecuteEvent : SessionEvent class CommandCompletedEvent (line 979) | public partial class CommandCompletedEvent : SessionEvent class AutoModeSwitchRequestedEvent (line 992) | public partial class AutoModeSwitchRequestedEvent : SessionEvent class AutoModeSwitchCompletedEvent (line 1005) | public partial class AutoModeSwitchCompletedEvent : SessionEvent class CommandsChangedEvent (line 1018) | public partial class CommandsChangedEvent : SessionEvent class CapabilitiesChangedEvent (line 1031) | public partial class CapabilitiesChangedEvent : SessionEvent class ExitPlanModeRequestedEvent (line 1044) | public partial class ExitPlanModeRequestedEvent : SessionEvent class ExitPlanModeCompletedEvent (line 1057) | public partial class ExitPlanModeCompletedEvent : SessionEvent class SessionToolsUpdatedEvent (line 1069) | public partial class SessionToolsUpdatedEvent : SessionEvent class SessionBackgroundTasksChangedEvent (line 1081) | public partial class SessionBackgroundTasksChangedEvent : SessionEvent class SessionSkillsLoadedEvent (line 1093) | public partial class SessionSkillsLoadedEvent : SessionEvent class SessionCustomAgentsUpdatedEvent (line 1105) | public partial class SessionCustomAgentsUpdatedEvent : SessionEvent class SessionMcpServersLoadedEvent (line 1117) | public partial class SessionMcpServersLoadedEvent : SessionEvent class SessionMcpServerStatusChangedEvent (line 1129) | public partial class SessionMcpServerStatusChangedEvent : SessionEvent class SessionExtensionsLoadedEvent (line 1141) | public partial class SessionExtensionsLoadedEvent : SessionEvent class SessionStartData (line 1153) | public partial class SessionStartData class SessionResumeData (line 1202) | public partial class SessionResumeData class SessionRemoteSteerableChangedData (line 1249) | public partial class SessionRemoteSteerableChangedData class SessionErrorData (line 1257) | public partial class SessionErrorData class SessionIdleData (line 1301) | public partial class SessionIdleData class SessionTitleChangedData (line 1310) | public partial class SessionTitleChangedData class SessionInfoData (line 1318) | public partial class SessionInfoData class SessionWarningData (line 1342) | public partial class SessionWarningData class SessionModelChangeData (line 1361) | public partial class SessionModelChangeData class SessionModeChangedData (line 1389) | public partial class SessionModeChangedData class SessionPlanChangedData (line 1401) | public partial class SessionPlanChangedData class SessionWorkspaceFileChangedData (line 1409) | public partial class SessionWorkspaceFileChangedData class SessionHandoffData (line 1421) | public partial class SessionHandoffData class SessionTruncationData (line 1458) | public partial class SessionTruncationData class SessionSnapshotRewindData (line 1494) | public partial class SessionSnapshotRewindData class SessionShutdownData (line 1506) | public partial class SessionShutdownData class SessionContextChangedData (line 1574) | public partial class SessionContextChangedData class SessionUsageInfoData (line 1617) | public partial class SessionUsageInfoData class SessionCompactionStartData (line 1653) | public partial class SessionCompactionStartData class SessionCompactionCompleteData (line 1672) | public partial class SessionCompactionCompleteData class SessionTaskCompleteData (line 1750) | public partial class SessionTaskCompleteData class UserMessageData (line 1764) | public partial class UserMessageData class PendingMessagesModifiedData (line 1812) | public partial class PendingMessagesModifiedData class AssistantTurnStartData (line 1817) | public partial class AssistantTurnStartData class AssistantIntentData (line 1830) | public partial class AssistantIntentData class AssistantReasoningData (line 1838) | public partial class AssistantReasoningData class AssistantReasoningDeltaData (line 1850) | public partial class AssistantReasoningDeltaData class AssistantStreamingDeltaData (line 1862) | public partial class AssistantStreamingDeltaData class AssistantMessageData (line 1870) | public partial class AssistantMessageData class AssistantMessageStartData (line 1933) | public partial class AssistantMessageStartData class AssistantMessageDeltaData (line 1946) | public partial class AssistantMessageDeltaData class AssistantTurnEndData (line 1964) | public partial class AssistantTurnEndData class AssistantUsageData (line 1972) | public partial class AssistantUsageData class ModelCallFailureData (line 2061) | public partial class ModelCallFailureData class AbortData (line 2104) | public partial class AbortData class ToolUserRequestedData (line 2112) | public partial class ToolUserRequestedData class ToolExecutionStartData (line 2129) | public partial class ToolExecutionStartData class ToolExecutionPartialResultData (line 2167) | public partial class ToolExecutionPartialResultData class ToolExecutionProgressData (line 2179) | public partial class ToolExecutionProgressData class ToolExecutionCompleteData (line 2191) | public partial class ToolExecutionCompleteData class SkillInvokedData (line 2244) | public partial class SkillInvokedData class SubagentStartedData (line 2280) | public partial class SubagentStartedData class SubagentCompletedData (line 2300) | public partial class SubagentCompletedData class SubagentFailedData (line 2336) | public partial class SubagentFailedData class SubagentSelectedData (line 2376) | public partial class SubagentSelectedData class SubagentDeselectedData (line 2392) | public partial class SubagentDeselectedData class HookStartData (line 2397) | public partial class HookStartData class HookEndData (line 2414) | public partial class HookEndData class SystemMessageData (line 2440) | public partial class SystemMessageData class SystemNotificationData (line 2462) | public partial class SystemNotificationData class PermissionRequestedData (line 2474) | public partial class PermissionRequestedData class PermissionCompletedData (line 2496) | public partial class PermissionCompletedData class UserInputRequestedData (line 2513) | public partial class UserInputRequestedData class UserInputCompletedData (line 2540) | public partial class UserInputCompletedData class ElicitationRequestedData (line 2558) | public partial class ElicitationRequestedData class ElicitationCompletedData (line 2595) | public partial class ElicitationCompletedData class SamplingRequestedData (line 2613) | public partial class SamplingRequestedData class SamplingCompletedData (line 2629) | public partial class SamplingCompletedData class McpOauthRequiredData (line 2637) | public partial class McpOauthRequiredData class McpOauthCompletedData (line 2658) | public partial class McpOauthCompletedData class ExternalToolRequestedData (line 2666) | public partial class ExternalToolRequestedData class ExternalToolCompletedData (line 2701) | public partial class ExternalToolCompletedData class CommandQueuedData (line 2709) | public partial class CommandQueuedData class CommandExecuteData (line 2721) | public partial class CommandExecuteData class CommandCompletedData (line 2741) | public partial class CommandCompletedData class AutoModeSwitchRequestedData (line 2749) | public partial class AutoModeSwitchRequestedData class AutoModeSwitchCompletedData (line 2767) | public partial class AutoModeSwitchCompletedData class CommandsChangedData (line 2779) | public partial class CommandsChangedData class CapabilitiesChangedData (line 2787) | public partial class CapabilitiesChangedData class ExitPlanModeRequestedData (line 2796) | public partial class ExitPlanModeRequestedData class ExitPlanModeCompletedData (line 2820) | public partial class ExitPlanModeCompletedData class SessionToolsUpdatedData (line 2848) | public partial class SessionToolsUpdatedData class SessionBackgroundTasksChangedData (line 2856) | public partial class SessionBackgroundTasksChangedData class SessionSkillsLoadedData (line 2861) | public partial class SessionSkillsLoadedData class SessionCustomAgentsUpdatedData (line 2869) | public partial class SessionCustomAgentsUpdatedData class SessionMcpServersLoadedData (line 2885) | public partial class SessionMcpServersLoadedData class SessionMcpServerStatusChangedData (line 2893) | public partial class SessionMcpServerStatusChangedData class SessionExtensionsLoadedData (line 2905) | public partial class SessionExtensionsLoadedData class WorkingDirectoryContext (line 2914) | public partial class WorkingDirectoryContext class HandoffRepository (line 2958) | public partial class HandoffRepository class ShutdownCodeChanges (line 2976) | public partial class ShutdownCodeChanges class ShutdownModelMetricRequests (line 2993) | public partial class ShutdownModelMetricRequests class ShutdownModelMetricTokenDetail (line 3005) | public partial class ShutdownModelMetricTokenDetail class ShutdownModelMetricUsage (line 3014) | public partial class ShutdownModelMetricUsage class ShutdownModelMetric (line 3039) | public partial class ShutdownModelMetric class ShutdownTokenDetail (line 3061) | public partial class ShutdownTokenDetail class CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail (line 3070) | public partial class CompactionCompleteCompactionTokensUsedCopilotUsageT... class CompactionCompleteCompactionTokensUsedCopilotUsage (line 3091) | public partial class CompactionCompleteCompactionTokensUsedCopilotUsage class CompactionCompleteCompactionTokensUsed (line 3104) | public partial class CompactionCompleteCompactionTokensUsed class UserMessageAttachmentFileLineRange (line 3144) | public partial class UserMessageAttachmentFileLineRange class UserMessageAttachmentFile (line 3157) | public partial class UserMessageAttachmentFile : UserMessageAttachment class UserMessageAttachmentDirectory (line 3179) | public partial class UserMessageAttachmentDirectory : UserMessageAttachment class UserMessageAttachmentSelectionDetailsEnd (line 3196) | public partial class UserMessageAttachmentSelectionDetailsEnd class UserMessageAttachmentSelectionDetailsStart (line 3209) | public partial class UserMessageAttachmentSelectionDetailsStart class UserMessageAttachmentSelectionDetails (line 3222) | public partial class UserMessageAttachmentSelectionDetails class UserMessageAttachmentSelection (line 3235) | public partial class UserMessageAttachmentSelection : UserMessageAttachment class UserMessageAttachmentGithubReference (line 3260) | public partial class UserMessageAttachmentGithubReference : UserMessageA... class UserMessageAttachmentBlob (line 3289) | public partial class UserMessageAttachmentBlob : UserMessageAttachment class UserMessageAttachment (line 3312) | [JsonPolymorphic( class AssistantMessageToolRequest (line 3330) | public partial class AssistantMessageToolRequest class AssistantUsageCopilotUsageTokenDetail (line 3368) | public partial class AssistantUsageCopilotUsageTokenDetail class AssistantUsageCopilotUsage (line 3389) | public partial class AssistantUsageCopilotUsage class AssistantUsageQuotaSnapshot (line 3401) | public partial class AssistantUsageQuotaSnapshot class ToolExecutionCompleteError (line 3439) | public partial class ToolExecutionCompleteError class ToolExecutionCompleteContentText (line 3453) | public partial class ToolExecutionCompleteContentText : ToolExecutionCom... class ToolExecutionCompleteContentTerminal (line 3466) | public partial class ToolExecutionCompleteContentTerminal : ToolExecutio... class ToolExecutionCompleteContentImage (line 3489) | public partial class ToolExecutionCompleteContentImage : ToolExecutionCo... class ToolExecutionCompleteContentAudio (line 3507) | public partial class ToolExecutionCompleteContentAudio : ToolExecutionCo... class ToolExecutionCompleteContentResourceLinkIcon (line 3525) | public partial class ToolExecutionCompleteContentResourceLinkIcon class ToolExecutionCompleteContentResourceLink (line 3549) | public partial class ToolExecutionCompleteContentResourceLink : ToolExec... class ToolExecutionCompleteContentResource (line 3591) | public partial class ToolExecutionCompleteContentResource : ToolExecutio... class ToolExecutionCompleteContent (line 3604) | [JsonPolymorphic( class ToolExecutionCompleteResult (line 3623) | public partial class ToolExecutionCompleteResult class HookEndError (line 3642) | public partial class HookEndError class SystemMessageMetadata (line 3656) | public partial class SystemMessageMetadata class SystemNotificationAgentCompleted (line 3670) | public partial class SystemNotificationAgentCompleted : SystemNotification class SystemNotificationAgentIdle (line 3700) | public partial class SystemNotificationAgentIdle : SystemNotification class SystemNotificationNewInboxMessage (line 3721) | public partial class SystemNotificationNewInboxMessage : SystemNotification class SystemNotificationShellCompleted (line 3745) | public partial class SystemNotificationShellCompleted : SystemNotification class SystemNotificationShellDetachedCompleted (line 3767) | public partial class SystemNotificationShellDetachedCompleted : SystemNo... class SystemNotificationInstructionDiscovered (line 3784) | public partial class SystemNotificationInstructionDiscovered : SystemNot... class SystemNotification (line 3810) | [JsonPolymorphic( class PermissionRequestShellCommand (line 3828) | public partial class PermissionRequestShellCommand class PermissionRequestShellPossibleUrl (line 3840) | public partial class PermissionRequestShellPossibleUrl class PermissionRequestShell (line 3849) | public partial class PermissionRequestShell : PermissionRequest class PermissionRequestWrite (line 3896) | public partial class PermissionRequestWrite : PermissionRequest class PermissionRequestRead (line 3931) | public partial class PermissionRequestRead : PermissionRequest class PermissionRequestMcp (line 3953) | public partial class PermissionRequestMcp : PermissionRequest class PermissionRequestUrl (line 3988) | public partial class PermissionRequestUrl : PermissionRequest class PermissionRequestMemory (line 4010) | public partial class PermissionRequestMemory : PermissionRequest class PermissionRequestCustomTool (line 4053) | public partial class PermissionRequestCustomTool : PermissionRequest class PermissionRequestHook (line 4080) | public partial class PermissionRequestHook : PermissionRequest class PermissionRequest (line 4108) | [JsonPolymorphic( class PermissionPromptRequestCommands (line 4129) | public partial class PermissionPromptRequestCommands : PermissionPromptR... class PermissionPromptRequestWrite (line 4164) | public partial class PermissionPromptRequestWrite : PermissionPromptRequest class PermissionPromptRequestRead (line 4199) | public partial class PermissionPromptRequestRead : PermissionPromptRequest class PermissionPromptRequestMcp (line 4221) | public partial class PermissionPromptRequestMcp : PermissionPromptRequest class PermissionPromptRequestUrl (line 4252) | public partial class PermissionPromptRequestUrl : PermissionPromptRequest class PermissionPromptRequestMemory (line 4274) | public partial class PermissionPromptRequestMemory : PermissionPromptReq... class PermissionPromptRequestCustomTool (line 4317) | public partial class PermissionPromptRequestCustomTool : PermissionPromp... class PermissionPromptRequestPath (line 4344) | public partial class PermissionPromptRequestPath : PermissionPromptRequest class PermissionPromptRequestHook (line 4366) | public partial class PermissionPromptRequestHook : PermissionPromptRequest class PermissionPromptRequest (line 4394) | [JsonPolymorphic( class PermissionResultApproved (line 4415) | public partial class PermissionResultApproved : PermissionResult class UserToolSessionApprovalCommands (line 4423) | public partial class UserToolSessionApprovalCommands : UserToolSessionAp... class UserToolSessionApprovalRead (line 4435) | public partial class UserToolSessionApprovalRead : UserToolSessionApproval class UserToolSessionApprovalWrite (line 4443) | public partial class UserToolSessionApprovalWrite : UserToolSessionApproval class UserToolSessionApprovalMcp (line 4451) | public partial class UserToolSessionApprovalMcp : UserToolSessionApproval class UserToolSessionApprovalMemory (line 4467) | public partial class UserToolSessionApprovalMemory : UserToolSessionAppr... class UserToolSessionApprovalCustomTool (line 4475) | public partial class UserToolSessionApprovalCustomTool : UserToolSession... class UserToolSessionApproval (line 4488) | [JsonPolymorphic( class PermissionResultApprovedForSession (line 4506) | public partial class PermissionResultApprovedForSession : PermissionResult class PermissionResultApprovedForLocation (line 4518) | public partial class PermissionResultApprovedForLocation : PermissionResult class PermissionResultCancelled (line 4534) | public partial class PermissionResultCancelled : PermissionResult class PermissionRule (line 4547) | public partial class PermissionRule class PermissionResultDeniedByRules (line 4559) | public partial class PermissionResultDeniedByRules : PermissionResult class PermissionResultDeniedNoApprovalRuleAndCouldNotRequestFromUser (line 4571) | public partial class PermissionResultDeniedNoApprovalRuleAndCouldNotRequ... class PermissionResultDeniedInteractivelyByUser (line 4579) | public partial class PermissionResultDeniedInteractivelyByUser : Permiss... class PermissionResultDeniedByContentExclusionPolicy (line 4597) | public partial class PermissionResultDeniedByContentExclusionPolicy : Pe... class PermissionResultDeniedByPermissionRequestHook (line 4613) | public partial class PermissionResultDeniedByPermissionRequestHook : Per... class PermissionResult (line 4632) | [JsonPolymorphic( class ElicitationRequestedSchema (line 4654) | public partial class ElicitationRequestedSchema class McpOauthRequiredStaticClientConfig (line 4672) | public partial class McpOauthRequiredStaticClientConfig class CommandsChangedCommand (line 4690) | public partial class CommandsChangedCommand class CapabilitiesChangedUI (line 4704) | public partial class CapabilitiesChangedUI class SkillsLoadedSkill (line 4713) | public partial class SkillsLoadedSkill class CustomAgentsUpdatedAgent (line 4742) | public partial class CustomAgentsUpdatedAgent class McpServersLoadedServer (line 4779) | public partial class McpServersLoadedServer class ExtensionsLoadedExtension (line 4801) | public partial class ExtensionsLoadedExtension type WorkingDirectoryContextHostType (line 4821) | [JsonConverter(typeof(JsonStringEnumConverter))] type WorkspaceFileChangedOperation (line 4848) | [JsonConverter(typeof(JsonStringEnumConverter))] type ShutdownType (line 4872) | [JsonConverter(typeof(JsonStringEnumConverter))] type UserMessageAgentMode (line 4884) | [JsonConverter(typeof(JsonStringEnumConverter))] type UserMessageAttachmentGithubReferenceType (line 4902) | [JsonConverter(typeof(JsonStringEnumConverter))] type ToolExecutionCompleteContentResourceLinkIconTheme (line 4944) | [JsonConverter(typeof(JsonStringEnumConverter))] type SystemNotificationAgentCompletedStatus (line 4968) | [JsonConverter(typeof(JsonStringEnumConverter))] type ElicitationCompletedAction (line 5055) | [JsonConverter(typeof(JsonStringEnumConverter InvokeAsync(string method, object?[]? args, Ca... method SetLocalRpcMethod (line 131) | public void SetLocalRpcMethod(string methodName, Delegate handler, boo... method Dispose (line 137) | public void Dispose() method SendMessageAsync (line 160) | private async Task SendMessageAsync(T message, JsonTypeInfo type... method ReadLoopAsync (line 190) | private async Task ReadLoopAsync(CancellationToken cancellationToken) method ReadMessageAsync (line 280) | private async ValueTask<(int ContentLength, byte[] Buffer, int Carried... method HandleResponse (line 387) | private void HandleResponse(JsonElement message, JsonElement idProp) method HandleIncomingMethodAsync (line 421) | private async Task HandleIncomingMethodAsync(string methodName, JsonEl... method InvokeHandlerAsync (line 480) | private async ValueTask InvokeHandlerAsync(MethodRegistration... method TryGetPropertyCaseInsensitive (line 585) | private static bool TryGetPropertyCaseInsensitive(JsonElement obj, str... method SerializeArgs (line 607) | private JsonElement? SerializeArgs(object?[]? args) method SendResultResponseAsync (line 658) | private async Task SendResultResponseAsync(JsonElement id, object? res... method SendErrorResponseAsync (line 685) | private async Task SendErrorResponseAsync(JsonElement id, int code, st... method SendCancelNotificationAsync (line 701) | private async Task SendCancelNotificationAsync(long requestId) class PendingRequest (line 719) | private sealed class PendingRequest() : TaskCompletionSource Version; FILE: dotnet/src/Session.cs class CopilotSession (line 55) | public sealed partial class CopilotSession : IAsyncDisposable method CopilotSession (line 138) | internal CopilotSession(string sessionId, JsonRpc rpc, ILogger logger,... method InvokeRpcAsync (line 150) | private Task InvokeRpcAsync(string method, object?[]? args, Canc... method SendAsync (line 183) | public async Task SendAsync(MessageOptions options, Cancellati... method SendAndWaitAsync (line 231) | public async Task SendAndWaitAsync( method On (line 310) | public IDisposable On(SessionEventHandler handler) method DispatchEvent (line 327) | internal void DispatchEvent(SessionEvent sessionEvent) method ProcessEventsAsync (line 343) | private async Task ProcessEventsAsync() method RegisterTools (line 369) | internal void RegisterTools(ICollection tools) method GetTool (line 383) | internal AIFunction? GetTool(string name) method RegisterPermissionHandler (line 396) | internal void RegisterPermissionHandler(PermissionRequestHandler handler) method HandlePermissionRequestAsync (line 406) | internal async Task HandlePermissionRequestAs... method HandleBroadcastEventAsync (line 434) | private async Task HandleBroadcastEventAsync(SessionEvent sessionEvent) method ExecuteToolAndRespondAsync (line 536) | private async Task ExecuteToolAndRespondAsync(string requestId, string... method ExecutePermissionAndRespondAsync (line 595) | private async Task ExecutePermissionAndRespondAsync(string requestId, ... method RegisterUserInputHandler (line 635) | internal void RegisterUserInputHandler(UserInputHandler handler) method RegisterCommands (line 644) | internal void RegisterCommands(IEnumerable? commands) method RegisterElicitationHandler (line 658) | internal void RegisterElicitationHandler(ElicitationHandler? handler) method SetCapabilities (line 667) | internal void SetCapabilities(SessionCapabilities? capabilities) method ExecuteCommandAndRespondAsync (line 676) | private async Task ExecuteCommandAndRespondAsync(string requestId, str... method HandleElicitationRequestAsync (line 722) | private async Task HandleElicitationRequestAsync(ElicitationContext co... method AssertElicitation (line 756) | private void AssertElicitation() class SessionUiApiImpl (line 769) | private sealed class SessionUiApiImpl(CopilotSession session) : ISessi... method ElicitationAsync (line 771) | public async Task ElicitationAsync(ElicitationPar... method ConfirmAsync (line 784) | public async Task ConfirmAsync(string message, CancellationTok... method SelectAsync (line 812) | public async Task SelectAsync(string message, string[] opti... method InputAsync (line 839) | public async Task InputAsync(string message, InputOptions? ... method HandleUserInputRequestAsync (line 877) | internal async Task HandleUserInputRequestAsync(Use... method RegisterHooks (line 892) | internal void RegisterHooks(SessionHooks hooks) method HandleHooksInvokeAsync (line 911) | internal async Task HandleHooksInvokeAsync(string hookType, J... method RegisterTransformCallbacks (line 974) | internal void RegisterTransformCallbacks(Dictionary HandleSystemMes... method GetMessagesAsync (line 1058) | public async Task> GetMessagesAsync(Cancel... method AbortAsync (line 1092) | public async Task AbortAsync(CancellationToken cancellationToken = def... method SetModelAsync (line 1112) | public async Task SetModelAsync(string model, string? reasoningEffort,... method SetModelAsync (line 1120) | public Task SetModelAsync(string model, CancellationToken cancellation... method LogAsync (line 1143) | public async Task LogAsync(string message, SessionLogLevel? level = nu... method DisposeAsync (line 1181) | public async ValueTask DisposeAsync() method LogBroadcastHandlerError (line 1212) | [LoggerMessage(Level = LogLevel.Error, Message = "Unhandled exception ... method LogEventHandlerError (line 1215) | [LoggerMessage(Level = LogLevel.Error, Message = "Unhandled exception ... type SendMessageRequest (line 1218) | internal record SendMessageRequest type SendMessageResponse (line 1229) | internal record SendMessageResponse type GetMessagesRequest (line 1234) | internal record GetMessagesRequest type GetMessagesResponse (line 1239) | internal record GetMessagesResponse type SessionAbortRequest (line 1244) | internal record SessionAbortRequest type SessionDestroyRequest (line 1249) | internal record SessionDestroyRequest class SessionJsonContext (line 1254) | [JsonSourceGenerationOptions( FILE: dotnet/src/SessionFsProvider.cs class SessionFsProvider (line 15) | public abstract class SessionFsProvider : ISessionFsHandler method ReadFileAsync (line 21) | protected abstract Task ReadFileAsync(string path, Cancellatio... method WriteFileAsync (line 28) | protected abstract Task WriteFileAsync(string path, string content, in... method AppendFileAsync (line 35) | protected abstract Task AppendFileAsync(string path, string content, i... method ExistsAsync (line 41) | protected abstract Task ExistsAsync(string path, CancellationTok... method StatAsync (line 46) | protected abstract Task StatAsync(string path, Ca... method MkdirAsync (line 53) | protected abstract Task MkdirAsync(string path, bool recursive, int? m... method ReaddirAsync (line 58) | protected abstract Task> ReaddirAsync(string path, Cance... method ReaddirWithTypesAsync (line 63) | protected abstract Task> Readdir... method RmAsync (line 70) | protected abstract Task RmAsync(string path, bool recursive, bool forc... method RenameAsync (line 76) | protected abstract Task RenameAsync(string src, string dest, Cancellat... method ReadFileAsync (line 80) | async Task ISessionFsHandler.ReadFileAsync(Se... method WriteFileAsync (line 93) | async Task ISessionFsHandler.WriteFileAsync(SessionFs... method AppendFileAsync (line 106) | async Task ISessionFsHandler.AppendFileAsync(SessionF... method ExistsAsync (line 119) | async Task ISessionFsHandler.ExistsAsync(Sessio... method StatAsync (line 132) | async Task ISessionFsHandler.StatAsync(SessionFsS... method MkdirAsync (line 144) | async Task ISessionFsHandler.MkdirAsync(SessionFsMkdi... method ReaddirAsync (line 157) | async Task ISessionFsHandler.ReaddirAsync(Sess... method ReaddirWithTypesAsync (line 170) | async Task ISessionFsHandler.ReaddirW... method RmAsync (line 183) | async Task ISessionFsHandler.RmAsync(SessionFsRmReque... method RenameAsync (line 196) | async Task ISessionFsHandler.RenameAsync(SessionFsRen... method ToSessionFsError (line 209) | private static SessionFsError ToSessionFsError(Exception ex) FILE: dotnet/src/Telemetry.cs class TelemetryHelpers (line 9) | internal static class TelemetryHelpers method GetTraceContext (line 11) | internal static (string? Traceparent, string? Tracestate) GetTraceCont... method RestoreTraceContext (line 32) | internal static Activity? RestoreTraceContext(string? traceparent, str... FILE: dotnet/src/Types.cs type ConnectionState (line 19) | [JsonConverter(typeof(JsonStringEnumConverter))] class CopilotClientOptions (line 39) | public class CopilotClientOptions method CopilotClientOptions (line 44) | public CopilotClientOptions() { } method CopilotClientOptions (line 50) | protected CopilotClientOptions(CopilotClientOptions? other) method Clone (line 187) | public virtual CopilotClientOptions Clone() class TelemetryConfig (line 196) | public sealed class TelemetryConfig class SessionFsConfig (line 242) | public sealed class SessionFsConfig class ToolBinaryResult (line 264) | public class ToolBinaryResult class ToolResultObject (line 294) | public class ToolResultObject method ConvertFromInvocationResult (line 343) | internal static ToolResultObject ConvertFromInvocationResult(object? r... method TryConvertFromAIContent (line 370) | internal static ToolResultObject? TryConvertFromAIContent(object? result) method ConvertAIContents (line 385) | private static ToolResultObject ConvertAIContents(IEnumerable class ToolInvocation (line 431) | public class ToolInvocation type PermissionRequestResultKind (line 457) | [JsonConverter(typeof(PermissionRequestResultKind.Converter))] method PermissionRequestResultKind (line 492) | [JsonConstructor] method Equals (line 502) | public override bool Equals([NotNullWhen(true)] object? obj) => obj is... method Equals (line 505) | public bool Equals(PermissionRequestResultKind other) => string.Equals... method GetHashCode (line 508) | public override int GetHashCode() => StringComparer.OrdinalIgnoreCase.... method ToString (line 511) | public override string ToString() => Value; class Converter (line 514) | [EditorBrowsable(EditorBrowsableState.Never)] method Read (line 518) | public override PermissionRequestResultKind Read(ref Utf8JsonReader ... method Write (line 535) | public override void Write(Utf8JsonWriter writer, PermissionRequestR... class PermissionRequestResult (line 543) | public class PermissionRequestResult class PermissionInvocation (line 568) | public class PermissionInvocation class UserInputRequest (line 588) | public class UserInputRequest class UserInputResponse (line 612) | public class UserInputResponse class UserInputInvocation (line 630) | public class UserInputInvocation class CommandDefinition (line 650) | public class CommandDefinition class CommandContext (line 671) | public class CommandContext class ElicitationSchema (line 706) | public class ElicitationSchema class ElicitationParams (line 730) | public class ElicitationParams class ElicitationResult (line 746) | public class ElicitationResult class InputOptions (line 762) | public class InputOptions type ISessionUiApi (line 786) | public interface ISessionUiApi method ElicitationAsync (line 795) | Task ElicitationAsync(ElicitationParams elicitation... method ConfirmAsync (line 805) | Task ConfirmAsync(string message, CancellationToken cancellation... method SelectAsync (line 816) | Task SelectAsync(string message, string[] options, Cancellati... method InputAsync (line 827) | Task InputAsync(string message, InputOptions? options = null,... class ElicitationContext (line 838) | public class ElicitationContext class SessionCapabilities (line 871) | public class SessionCapabilities class SessionUiCapabilities (line 882) | public class SessionUiCapabilities class HookInvocation (line 897) | public class HookInvocation class PreToolUseHookInput (line 908) | public class PreToolUseHookInput class PreToolUseHookOutput (line 938) | public class PreToolUseHookOutput class PostToolUseHookInput (line 984) | public class PostToolUseHookInput class PostToolUseHookOutput (line 1020) | public class PostToolUseHookOutput class UserPromptSubmittedHookInput (line 1049) | public class UserPromptSubmittedHookInput class UserPromptSubmittedHookOutput (line 1073) | public class UserPromptSubmittedHookOutput class SessionStartHookInput (line 1102) | public class SessionStartHookInput class SessionStartHookOutput (line 1137) | public class SessionStartHookOutput class SessionEndHookInput (line 1160) | public class SessionEndHookInput class SessionEndHookOutput (line 1203) | public class SessionEndHookOutput class ErrorOccurredHookInput (line 1232) | public class ErrorOccurredHookInput class ErrorOccurredHookOutput (line 1274) | public class ErrorOccurredHookOutput class SessionHooks (line 1314) | public class SessionHooks type SystemMessageMode (line 1350) | [JsonConverter(typeof(JsonStringEnumConverter))] type SectionOverrideAction (line 1367) | [JsonConverter(typeof(JsonStringEnumConverter))] class SectionOverride (line 1390) | public class SectionOverride class SystemPromptSections (line 1416) | public static class SystemPromptSections class SystemMessageConfig (line 1443) | public class SystemMessageConfig class ProviderConfig (line 1466) | public class ProviderConfig class AzureOptions (line 1516) | public class AzureOptions type McpHttpServerConfigOauthGrantType (line 1532) | [JsonConverter(typeof(JsonStringEnumConverter AssertFailureAsync(Func act... method Should_Delete_Session_By_Id (line 20) | [Fact] method Should_Report_Error_When_Deleting_Unknown_Session_Id (line 34) | [Fact] method Should_Get_Null_Last_Session_Id_Before_Any_Sessions_Exist (line 44) | [Fact] method Should_Track_Last_Session_Id_After_Session_Created (line 54) | [Fact] method Should_Get_Null_Foreground_Session_Id_In_Headless_Mode (line 67) | [Fact] method Should_Report_Error_When_Setting_Foreground_Session_In_Headless_Mode (line 77) | [Fact] FILE: dotnet/test/E2E/CommandsE2ETests.cs class CommandsE2ETests (line 11) | public class CommandsE2ETests(E2ETestFixture fixture, ITestOutputHelper ... method Session_With_Commands_Creates_Successfully (line 14) | [Fact] method Session_With_Commands_Resumes_Successfully (line 33) | [Fact] method CommandDefinition_Has_Required_Properties (line 53) | [Fact] method CommandContext_Has_All_Properties (line 68) | [Fact] method Session_With_No_Commands_Creates_Successfully (line 85) | [Fact] method Session_Config_Commands_Are_Cloned (line 97) | [Fact] method Resume_Config_Commands_Are_Cloned (line 120) | [Fact] FILE: dotnet/test/E2E/CompactionE2ETests.cs class CompactionE2ETests (line 12) | public class CompactionE2ETests(E2ETestFixture fixture, ITestOutputHelpe... method Should_Trigger_Compaction_With_Low_Threshold_And_Emit_Events (line 14) | [Fact(Skip = "Compaction tests are skipped due to flakiness — re-enabl... method Should_Not_Emit_Compaction_Events_When_Infinite_Sessions_Disabled (line 84) | [Fact(Skip = "Compaction tests are skipped due to flakiness — re-enabl... FILE: dotnet/test/E2E/ElicitationE2ETests.cs class ElicitationE2ETests (line 12) | public class ElicitationE2ETests(E2ETestFixture fixture, ITestOutputHelp... method Defaults_Capabilities_When_Not_Provided (line 15) | [Fact] method Elicitation_Throws_When_Capability_Is_Missing (line 28) | [Fact] method Sends_RequestElicitation_When_Handler_Provided (line 75) | [Fact] method Session_With_ElicitationHandler_Reports_Elicitation_Capability (line 94) | [Fact] method Session_Without_ElicitationHandler_Reports_No_Capability (line 112) | [Fact] method Session_Without_ElicitationHandler_Creates_Successfully (line 125) | [Fact] method ConfirmAsync_Returns_True_When_Handler_Accepts (line 138) | [Fact] method ConfirmAsync_Returns_False_When_Handler_Declines (line 159) | [Fact] method SelectAsync_Returns_Selected_Option (line 173) | [Fact] method InputAsync_Returns_Freeform_Value (line 193) | [Fact] method ElicitationAsync_Returns_All_Action_Shapes (line 222) | [Fact] method SessionCapabilities_Types_Are_Properly_Structured (line 267) | [Fact] method ElicitationSchema_Types_Are_Properly_Structured (line 283) | [Fact] method ElicitationParams_Types_Are_Properly_Structured (line 302) | [Fact] method ElicitationResult_Types_Are_Properly_Structured (line 321) | [Fact] method InputOptions_Has_All_Properties (line 341) | [Fact] method ElicitationContext_Has_All_Properties (line 362) | [Fact] method Session_Config_OnElicitationRequest_Is_Cloned (line 389) | [Fact] method Resume_Config_OnElicitationRequest_Is_Cloned (line 408) | [Fact] FILE: dotnet/test/E2E/ErrorResilienceE2ETests.cs class ErrorResilienceE2ETests (line 17) | public class ErrorResilienceE2ETests(E2ETestFixture fixture, ITestOutput... method Should_Throw_When_Sending_To_Disconnected_Session (line 20) | [Fact] method Should_Throw_When_Getting_Messages_From_Disconnected_Session (line 30) | [Fact] method Should_Handle_Double_Abort_Without_Error (line 39) | [Fact] method Should_Throw_When_Resuming_Non_Existent_Session (line 53) | [Fact] FILE: dotnet/test/E2E/EventFidelityE2ETests.cs class EventFidelityE2ETests (line 18) | public class EventFidelityE2ETests(E2ETestFixture fixture, ITestOutputHe... method Should_Emit_Events_In_Correct_Order_For_Tool_Using_Conversation (line 21) | [Fact] method Should_Include_Valid_Fields_On_All_Events (line 53) | [Fact] method Should_Emit_Tool_Execution_Events_With_Correct_Fields (line 89) | [Fact] method Should_Emit_Assistant_Message_With_MessageId (line 122) | [Fact] FILE: dotnet/test/E2E/HookLifecycleAndOutputE2ETests.cs class HookLifecycleAndOutputE2ETests (line 20) | public class HookLifecycleAndOutputE2ETests(E2ETestFixture fixture, ITes... method Should_Invoke_OnSessionStart_Hook_On_New_Session (line 25) | [Fact] method Should_Invoke_OnUserPromptSubmitted_Hook_When_Sending_A_Message (line 53) | [Fact] method Should_Invoke_OnSessionEnd_Hook_When_Session_Is_Disconnected (line 81) | [Fact] method Should_Invoke_OnErrorOccurred_Hook_When_Error_Occurs (line 109) | [Fact] method Should_Invoke_UserPromptSubmitted_Hook_And_Modify_Prompt (line 140) | [Fact] method Should_Invoke_SessionStart_Hook (line 167) | [Fact] method Should_Invoke_SessionEnd_Hook (line 194) | [Fact] method Should_Register_ErrorOccurred_Hook (line 223) | [Fact] method Should_Allow_PreToolUse_To_Return_ModifiedArgs_And_SuppressOutput (line 259) | [Fact] method Should_Allow_PostToolUse_To_Return_ModifiedResult (line 306) | [Fact] FILE: dotnet/test/E2E/HooksE2ETests.cs class HooksE2ETests (line 11) | public class HooksE2ETests(E2ETestFixture fixture, ITestOutputHelper out... method Should_Invoke_PreToolUse_Hook_When_Model_Runs_A_Tool (line 13) | [Fact] method Should_Invoke_PostToolUse_Hook_After_Model_Runs_A_Tool (line 49) | [Fact] method Should_Invoke_Both_PreToolUse_And_PostToolUse_Hooks_For_Single_Tool_Call (line 86) | [Fact] method Should_Deny_Tool_Execution_When_PreToolUse_Returns_Deny (line 129) | [Fact] FILE: dotnet/test/E2E/MultiClientCommandsElicitationE2ETests.cs class MultiClientCommandsElicitationFixture (line 16) | public class MultiClientCommandsElicitationFixture : IAsyncLifetime method InitializeAsync (line 21) | public async Task InitializeAsync() method DisposeAsync (line 27) | public async Task DisposeAsync() class MultiClientCommandsElicitationE2ETests (line 38) | public class MultiClientCommandsElicitationE2ETests method MultiClientCommandsElicitationE2ETests (line 49) | public MultiClientCommandsElicitationE2ETests( method GetTestName (line 57) | private static string GetTestName(ITestOutputHelper output) method InitializeAsync (line 66) | public async Task InitializeAsync() method DisposeAsync (line 86) | public async Task DisposeAsync() method Client_Receives_Commands_Changed_When_Another_Client_Joins_With_Commands (line 104) | [Fact] method Capabilities_Changed_Fires_When_Second_Client_Joins_With_Elicitation_Handler (line 149) | [Fact] method Capabilities_Changed_Fires_When_Elicitation_Provider_Disconnects (line 195) | [Fact] FILE: dotnet/test/E2E/MultiClientE2ETests.cs class MultiClientTestFixture (line 19) | public class MultiClientTestFixture : IAsyncLifetime method InitializeAsync (line 24) | public async Task InitializeAsync() method DisposeAsync (line 30) | public async Task DisposeAsync() class MultiClientE2ETests (line 41) | public class MultiClientE2ETests : IClassFixture... method MultiClientE2ETests (line 50) | public MultiClientE2ETests(MultiClientTestFixture fixture, ITestOutput... method GetTestName (line 56) | private static string GetTestName(ITestOutputHelper output) method InitializeAsync (line 64) | public async Task InitializeAsync() method DisposeAsync (line 84) | public async Task DisposeAsync() method Both_Clients_See_Tool_Request_And_Completion_Events (line 95) | [Fact] method One_Client_Approves_Permission_And_Both_See_The_Result (line 147) | [Fact] method One_Client_Rejects_Permission_And_Both_See_The_Result (line 204) | [Fact] method Two_Clients_Register_Different_Tools_And_Agent_Uses_Both (line 256) | [Fact] method Disconnecting_Client_Removes_Its_Tools (line 298) | [Fact] FILE: dotnet/test/E2E/MultiTurnE2ETests.cs class MultiTurnE2ETests (line 16) | public class MultiTurnE2ETests(E2ETestFixture fixture, ITestOutputHelper... method Should_Use_Tool_Results_From_Previous_Turns (line 19) | [Fact] method Should_Handle_File_Creation_Then_Reading_Across_Turns (line 40) | [Fact] FILE: dotnet/test/E2E/PendingWorkResumeE2ETests.cs class PendingWorkResumeE2ETests (line 14) | public class PendingWorkResumeE2ETests(E2ETestFixture fixture, ITestOutp... method Should_Continue_Pending_Permission_Request_After_Resume (line 19) | [Fact] method Should_Continue_Pending_External_Tool_Request_After_Resume (line 103) | [Fact] method Should_Continue_Parallel_Pending_External_Tool_Requests_After_Resume (line 166) | [Fact] method Should_Resume_Successfully_When_No_Pending_Work_Exists (line 256) | [Fact] method WaitForExternalToolRequestAsync (line 294) | private static async Task WaitForExternalT... method WaitForExternalToolRequestsAsync (line 302) | private static async Task CreateCustomAgents() => method CreateReloadAgent (line 111) | private static CustomAgentConfig CreateReloadAgent() => FILE: dotnet/test/E2E/RpcMcpAndSkillsE2ETests.cs class RpcMcpAndSkillsE2ETests (line 12) | public class RpcMcpAndSkillsE2ETests(E2ETestFixture fixture, ITestOutput... method AssertFailureAsync (line 15) | private static async Task AssertFailureAsync(Func act... method Should_List_And_Toggle_Session_Skills (line 22) | [Fact] method Should_Reload_Session_Skills (line 45) | [Fact] method Should_List_Mcp_Servers_With_Configured_Server (line 64) | [Fact] method Should_List_Plugins (line 87) | [Fact] method Should_List_Extensions (line 98) | [Fact] method Should_Report_Error_When_Mcp_Host_Is_Not_Initialized (line 113) | [Fact] method Should_Report_Error_When_Extensions_Are_Not_Available (line 129) | [Fact] method CreateSkillDirectory (line 145) | private string CreateSkillDirectory(string skillName, string description) method CreateSkill (line 153) | private static void CreateSkill(string skillsDir, string skillName, st... method AssertSkill (line 171) | private static RpcSkill AssertSkill(RpcSkillList list, string skillNam... FILE: dotnet/test/E2E/RpcMcpConfigE2ETests.cs class RpcMcpConfigE2ETests (line 12) | public class RpcMcpConfigE2ETests(E2ETestFixture fixture, ITestOutputHel... method Should_Call_Server_Mcp_Config_Rpcs (line 15) | [Fact] method Should_RoundTrip_Http_Mcp_Oauth_Config_Rpc (line 59) | [Fact] method GetServerConfig (line 116) | private static JsonElement GetServerConfig(McpConfigList list, string ... FILE: dotnet/test/E2E/RpcServerE2ETests.cs class RpcServerE2ETests (line 12) | public class RpcServerE2ETests(E2ETestFixture fixture, ITestOutputHelper... method CreateAuthenticatedClient (line 15) | private CopilotClient CreateAuthenticatedClient(string token) method ConfigureAuthenticatedUserAsync (line 29) | private async Task ConfigureAuthenticatedUserAsync( method Should_Call_Rpc_Ping_With_Typed_Params_And_Result (line 41) | [Fact] method Should_Call_Rpc_Models_List_With_Typed_Result (line 52) | [Fact] method Should_Call_Rpc_Account_GetQuota_When_Authenticated (line 67) | [Fact] method Should_Call_Rpc_Tools_List_With_Typed_Result (line 97) | [Fact] method Should_Discover_Server_Mcp_And_Skills (line 109) | [Fact] method CreateSkillDirectory (line 139) | private string CreateSkillDirectory(string skillName, string description) FILE: dotnet/test/E2E/RpcSessionStateE2ETests.cs class RpcSessionStateE2ETests (line 12) | public class RpcSessionStateE2ETests(E2ETestFixture fixture, ITestOutput... method AssertImplementedFailureAsync (line 15) | private static async Task AssertImplementedFailureAsync(Fun... method Should_Call_Session_Rpc_Model_GetCurrent (line 22) | [Fact] method Should_Call_Session_Rpc_Model_SwitchTo (line 35) | [Fact] method Should_Get_And_Set_Session_Mode (line 50) | [Fact] method Should_Read_Update_And_Delete_Plan (line 65) | [Fact] method Should_Call_Workspace_File_Rpc_Methods (line 88) | [Fact] method Should_Get_And_Set_Session_Metadata (line 109) | [Fact] method Should_Fork_Session_With_Persisted_Messages (line 122) | [Fact] method Should_Report_Error_When_Forking_Session_Without_Persisted_Events (line 158) | [Fact] method Should_Call_Session_Usage_And_Permission_Rpcs (line 169) | [Fact] method Should_Report_Implemented_Errors_For_Unsupported_Session_Rpc_Paths (line 207) | [Fact] method Should_Compact_Session_History_After_Messages (line 221) | [Fact] method GetConversationMessages (line 233) | private static List<(string Role, string Content)> GetConversationMess... FILE: dotnet/test/E2E/RpcShellAndFleetE2ETests.cs class RpcShellAndFleetE2ETests (line 13) | public class RpcShellAndFleetE2ETests(E2ETestFixture fixture, ITestOutpu... method Should_Execute_Shell_Command (line 16) | [Fact] method Should_Kill_Shell_Process (line 29) | [Fact] method Should_Start_Fleet_And_Complete_Custom_Tool_Task (line 45) | [Fact] method CreateWriteFileCommand (line 86) | private static string CreateWriteFileCommand(string markerPath, string... method WaitForFileTextAsync (line 96) | private static async Task WaitForFileTextAsync(string path, string exp... method WaitForMessagesAsync (line 119) | private static async Task> WaitForMessages... FILE: dotnet/test/E2E/RpcTasksAndHandlersE2ETests.cs class RpcTasksAndHandlersE2ETests (line 11) | public class RpcTasksAndHandlersE2ETests(E2ETestFixture fixture, ITestOu... method AssertImplementedFailureAsync (line 14) | private static async Task AssertImplementedFailureAsync(Func act... method Should_List_Task_State_And_Return_False_For_Missing_Task_Operations (line 20) | [Fact] method Should_Report_Implemented_Error_For_Missing_Task_Agent_Type (line 39) | [Fact] method Should_Return_Expected_Results_For_Missing_Pending_Handler_RequestIds (line 52) | [Fact] FILE: dotnet/test/E2E/SessionConfigE2ETests.cs class SessionConfigE2ETests (line 14) | public class SessionConfigE2ETests(E2ETestFixture fixture, ITestOutputHe... method Vision_Disabled_Then_Enabled_Via_SetModel (line 24) | [Fact] method Vision_Enabled_Then_Disabled_Via_SetModel (line 64) | [Fact] method Should_Use_Custom_SessionId (line 104) | [Fact] method Should_Forward_ClientName_In_UserAgent (line 123) | [Fact] method Should_Forward_Custom_Provider_Headers_On_Create (line 139) | [Fact] method Should_Forward_Custom_Provider_Headers_On_Resume (line 158) | [Fact] method Should_Use_WorkingDirectory_For_Tool_Execution (line 180) | [Fact] method Should_Apply_WorkingDirectory_On_Session_Resume (line 202) | [Fact] method Should_Apply_SystemMessage_On_Session_Resume (line 227) | [Fact] method Should_Apply_AvailableTools_On_Session_Resume (line 252) | [Fact] method Should_Create_Session_With_Custom_Provider_Config (line 271) | [Fact] method Should_Accept_Blob_Attachments (line 298) | [Fact] method Should_Accept_Message_Attachments (line 327) | [Fact] method HasImageUrlContent (line 355) | private static bool HasImageUrlContent(List mes... method CreateProxyProvider (line 365) | private ProviderConfig CreateProxyProvider(string headerValue) method AssertHeaderContains (line 379) | private static void AssertHeaderContains( method HeaderValueAsString (line 395) | private static string HeaderValueAsString(JsonElement value) FILE: dotnet/test/E2E/SessionE2ETests.cs class SessionE2ETests (line 14) | public class SessionE2ETests(E2ETestFixture fixture, ITestOutputHelper o... method ShouldCreateAndDisconnectSessions (line 16) | [Fact] method Should_Have_Stateful_Conversation (line 34) | [Fact] method Should_Create_A_Session_With_Appended_SystemMessage_Config (line 48) | [Fact] method Should_Create_A_Session_With_Replaced_SystemMessage_Config (line 72) | [Fact] method Should_Create_A_Session_With_Customized_SystemMessage_Config (line 94) | [Fact] method Should_Create_A_Session_With_AvailableTools (line 125) | [Fact] method Should_Create_A_Session_With_ExcludedTools (line 145) | [Fact] method Should_Create_A_Session_With_DefaultAgent_ExcludedTools (line 165) | [Fact] method Should_Create_Session_With_Custom_Tool (line 193) | [Fact] method Should_Resume_A_Session_Using_The_Same_Client (line 213) | [Fact] method Should_Resume_A_Session_Using_A_New_Client (line 237) | [Fact] method Should_Throw_Error_When_Resuming_Non_Existent_Session (line 267) | [Fact] method Should_Abort_A_Session (line 274) | [Fact] method Should_Receive_Session_Events (line 309) | [Fact] method Send_Returns_Immediately_While_Events_Stream_In_Background (line 382) | [Fact] method SendAndWait_Blocks_Until_Session_Idle_And_Returns_Final_Assistant_Message (line 407) | [Fact] method Should_List_Sessions_With_Context (line 424) | [Fact] method Should_Get_Session_Metadata_By_Id (line 449) | [Fact] method SendAndWait_Throws_On_Timeout (line 473) | [Fact] method SendAndWait_Throws_OperationCanceledException_When_Token_Cancelled (line 492) | [Fact] method Should_Create_Session_With_Custom_Config_Dir (line 523) | [Fact] method Should_Set_Model_On_Existing_Session (line 538) | [Fact] method Should_Set_Model_With_ReasoningEffort (line 553) | [Fact] method Should_Log_Messages_At_Various_Levels (line 567) | [Fact] method Handler_Exception_Does_Not_Halt_Event_Delivery (line 603) | [Fact] method DisposeAsync_From_Handler_Does_Not_Deadlock (line 630) | [Fact] method Should_Accept_Blob_Attachments (line 651) | [Fact] method Should_Send_With_File_Attachment (line 676) | [Fact] method Should_Send_With_Directory_Attachment (line 706) | [Fact] method Should_Send_With_Selection_Attachment (line 734) | [Fact] method Should_Send_With_Github_Reference_Attachment (line 772) | [Fact] method Should_Send_With_Mode_Property (line 802) | [Fact] method Should_Send_With_Custom_RequestHeaders (line 819) | [Fact] method Should_Create_Session_With_Custom_Provider (line 842) | [Fact] method Should_Create_Session_With_Azure_Provider (line 867) | [Fact] method Should_Resume_Session_With_Custom_Provider (line 896) | [Fact] method WaitForAsync (line 926) | private static async Task WaitForAsync(Func condition, TimeSpan ... method WaitForAsync (line 942) | private static async Task WaitForAsync(Func> condition, Tim... FILE: dotnet/test/E2E/SessionFsE2ETests.cs class SessionFsE2ETests (line 13) | public class SessionFsE2ETests(E2ETestFixture fixture, ITestOutputHelper... method Should_Route_File_Operations_Through_The_Session_Fs_Provider (line 23) | [Fact] method Should_Load_Session_Data_From_Fs_Provider_On_Resume (line 52) | [Fact] method Should_Reject_SetProvider_When_Sessions_Already_Exist (line 91) | [Fact] method Should_Map_All_SessionFs_Handler_Operations (line 140) | [Fact] method SessionFsProvider_Converts_Exceptions_To_Rpc_Errors (line 274) | [Fact] method Should_Map_Large_Output_Handling_Into_SessionFs (line 305) | [Fact] method Should_Succeed_With_Compaction_While_Using_SessionFs (line 350) | [Fact] method Should_Write_Workspace_Metadata_Via_SessionFs (line 389) | [Fact] method Should_Persist_Plan_Md_Via_SessionFs (line 420) | [Fact] method CreateSessionFsClient (line 449) | private CopilotClient CreateSessionFsClient(string providerRoot, bool ... method FindToolCallResult (line 460) | private static string? FindToolCallResult(IReadOnlyList ... method CreateProviderRoot (line 478) | private static string CreateProviderRoot() method CreateSessionStatePath (line 481) | private static string CreateSessionStatePath() method GetStoredPath (line 492) | private static string GetStoredPath(string providerRoot, string sessio... method WaitForConditionAsync (line 504) | private static async Task WaitForConditionAsync(Func condition, ... method WaitForConditionAsync (line 509) | private static async Task WaitForConditionAsync(Func> condi... method ReadAllTextSharedAsync (line 544) | private static async Task ReadAllTextSharedAsync(string path, ... method TryDeleteDirectoryAsync (line 551) | private static async Task TryDeleteDirectoryAsync(string path) method NormalizeRelativePathSegment (line 598) | private static string NormalizeRelativePathSegment(string segment, str... class ThrowingSessionFsProvider (line 614) | private sealed class ThrowingSessionFsProvider(Exception exception) : ... method ReadFileAsync (line 616) | protected override Task ReadFileAsync(string path, Cancellat... method WriteFileAsync (line 619) | protected override Task WriteFileAsync(string path, string content, ... method AppendFileAsync (line 622) | protected override Task AppendFileAsync(string path, string content,... method ExistsAsync (line 625) | protected override Task ExistsAsync(string path, CancellationT... method StatAsync (line 628) | protected override Task StatAsync(string path, ... method MkdirAsync (line 631) | protected override Task MkdirAsync(string path, bool recursive, int?... method ReaddirAsync (line 634) | protected override Task> ReaddirAsync(string path, Can... method ReaddirWithTypesAsync (line 637) | protected override Task> Readd... method RmAsync (line 640) | protected override Task RmAsync(string path, bool recursive, bool fo... method RenameAsync (line 643) | protected override Task RenameAsync(string src, string dest, Cancell... class TestSessionFsHandler (line 647) | private sealed class TestSessionFsHandler(string sessionId, string roo... method ReadFileAsync (line 649) | protected override async Task ReadFileAsync(string path, Can... method WriteFileAsync (line 654) | protected override async Task WriteFileAsync(string path, string con... method AppendFileAsync (line 661) | protected override async Task AppendFileAsync(string path, string co... method ExistsAsync (line 668) | protected override Task ExistsAsync(string path, CancellationT... method StatAsync (line 674) | protected override Task StatAsync(string path, ... method MkdirAsync (line 706) | protected override Task MkdirAsync(string path, bool recursive, int?... method ReaddirAsync (line 712) | protected override Task> ReaddirAsync(string path, Can... method ReaddirWithTypesAsync (line 723) | protected override Task> Readd... method RmAsync (line 736) | protected override Task RmAsync(string path, bool recursive, bool fo... method RenameAsync (line 760) | protected override Task RenameAsync(string src, string dest, Cancell... method ResolvePath (line 778) | private string ResolvePath(string sessionPath) FILE: dotnet/test/E2E/SessionLifecycleE2ETests.cs class SessionLifecycleE2ETests (line 17) | public class SessionLifecycleE2ETests(E2ETestFixture fixture, ITestOutpu... method Should_List_Created_Sessions_After_Sending_A_Message (line 20) | [Fact] method Should_Delete_Session_Permanently (line 47) | [Fact] method Should_Return_Events_Via_GetMessages_After_Conversation (line 71) | [Fact] method Should_Support_Multiple_Concurrent_Sessions (line 93) | [Fact] method WaitForAsync (line 121) | private static async Task WaitForAsync(Func> condition, Tim... FILE: dotnet/test/E2E/SessionMcpAndAgentConfigE2ETests.cs class SessionMcpAndAgentConfigE2ETests (line 11) | public class SessionMcpAndAgentConfigE2ETests(E2ETestFixture fixture, IT... method Should_Accept_MCP_Server_Configuration_On_Session_Create (line 13) | [Fact] method Should_Accept_MCP_Server_Configuration_On_Session_Resume (line 43) | [Fact] method Should_Handle_Multiple_MCP_Servers (line 76) | [Fact] method Should_Accept_Custom_Agent_Configuration_On_Session_Create (line 104) | [Fact] method Should_Accept_Custom_Agent_Configuration_On_Session_Resume (line 136) | [Fact] method Should_Handle_Custom_Agent_With_Tools_Configuration (line 170) | [Fact] method Should_Handle_Custom_Agent_With_MCP_Servers (line 195) | [Fact] method Should_Handle_Multiple_Custom_Agents (line 227) | [Fact] method Should_Pass_Literal_Env_Values_To_Mcp_Server_Subprocess (line 258) | [Fact] method Should_Accept_Both_MCP_Servers_And_Custom_Agents (line 293) | [Fact] method FindTestHarnessDir (line 335) | private static string FindTestHarnessDir() FILE: dotnet/test/E2E/SkillsE2ETests.cs class SkillsE2ETests (line 10) | public class SkillsE2ETests : E2ETestBase method SkillsE2ETests (line 16) | public SkillsE2ETests(E2ETestFixture fixture, ITestOutputHelper output... method CreateSkillDir (line 27) | private string CreateSkillDir() method CreateSkill (line 51) | private static void CreateSkill(string skillsDir, string name, string ... method Should_Load_And_Apply_Skill_From_SkillDirectories (line 68) | [Fact] method Should_Not_Apply_Skill_When_Disabled_Via_DisabledSkills (line 87) | [Fact] method Should_Control_Ambient_Project_Skills_With_EnableConfigDiscovery (line 107) | [Fact] method Should_Allow_Agent_With_Skills_To_Invoke_Skill (line 142) | [Fact] method Should_Not_Provide_Skills_To_Agent_Without_Skills_Field (line 174) | [Fact] method Should_Apply_Skill_On_Session_Resume_With_SkillDirectories (line 205) | [Fact(Skip = "See the big comment around the equivalent test in the No... FILE: dotnet/test/E2E/StreamingFidelityE2ETests.cs class StreamingFidelityE2ETests (line 11) | public class StreamingFidelityE2ETests(E2ETestFixture fixture, ITestOutp... method Should_Produce_Delta_Events_When_Streaming_Is_Enabled (line 13) | [Fact] method Should_Not_Produce_Deltas_When_Streaming_Is_Disabled (line 49) | [Fact] method Should_Produce_Deltas_After_Session_Resume (line 74) | [Fact] method Should_Emit_AssistantMessageStart_Before_Deltas_With_Matching_MessageId (line 109) | [Fact] FILE: dotnet/test/E2E/SuspendE2ETests.cs class SuspendE2ETests (line 30) | public class SuspendE2ETests(E2ETestFixture fixture, ITestOutputHelper o... method Should_Suspend_Idle_Session_Without_Throwing (line 35) | [Fact] method Should_Allow_Resume_And_Continue_Conversation_After_Suspend (line 50) | [Fact] method Should_Cancel_Pending_Permission_Request_When_Suspending (line 94) | [Fact] method Should_Reject_Pending_External_Tool_When_Suspending (line 161) | [Fact] method GetCliUrl (line 220) | private static string GetCliUrl(CopilotClient client) FILE: dotnet/test/E2E/SystemMessageTransformE2ETests.cs class SystemMessageTransformE2ETests (line 11) | public class SystemMessageTransformE2ETests(E2ETestFixture fixture, ITes... method Should_Invoke_Transform_Callbacks_With_Section_Content (line 13) | [Fact] method Should_Apply_Transform_Modifications_To_Section_Content (line 62) | [Fact] method Should_Work_With_Static_Overrides_And_Transforms_Together (line 100) | [Fact] FILE: dotnet/test/E2E/TelemetryExportE2ETests.cs class TelemetryExportE2ETests (line 13) | public class TelemetryExportE2ETests(E2ETestFixture fixture, ITestOutput... method Should_Export_File_Telemetry_For_Sdk_Interactions (line 16) | [Fact] method ReadTelemetryEntriesAsync (line 92) | private static async Task> ReadTelemetryEnt... method GetTraceId (line 134) | private static string? GetTraceId(JsonElement entry) => GetStringPrope... method GetSpanId (line 136) | private static string? GetSpanId(JsonElement entry) => GetStringProper... method GetParentSpanId (line 138) | private static string? GetParentSpanId(JsonElement entry) => GetString... method IsRootSpan (line 140) | private static bool IsRootSpan(JsonElement entry) method GetStatusCode (line 148) | private static int GetStatusCode(JsonElement entry) method AssertSpanWithOperation (line 155) | private static JsonElement AssertSpanWithOperation(IEnumerable GetStringProp... method GetInstrumentationScopeName (line 169) | private static string? GetInstrumentationScopeName(JsonElement entry) method GetStringAttribute (line 176) | private static string? GetStringAttribute(JsonElement entry, string name) method GetStringProperty (line 187) | private static string? GetStringProperty(JsonElement entry, string name) method GetStringValue (line 192) | private static string? GetStringValue(JsonElement value) FILE: dotnet/test/E2E/ToolResultsE2ETests.cs class ToolResultsE2ETests (line 15) | public partial class ToolResultsE2ETests(E2ETestFixture fixture, ITestOu... class ToolResultsJsonContext (line 17) | [JsonSourceGenerationOptions(JsonSerializerDefaults.Web)] method Should_Handle_Structured_ToolResultObject_From_Custom_Tool (line 23) | [Fact] method Should_Handle_Tool_Result_With_Failure_ResultType (line 50) | [Fact] method Should_Preserve_ToolTelemetry_And_Not_Stringify_Structured_Results_For_LLM (line 78) | [Fact] FILE: dotnet/test/E2E/ToolsE2ETests.cs class ToolsE2ETests (line 17) | public partial class ToolsE2ETests(E2ETestFixture fixture, ITestOutputHe... method Invokes_Built_In_Tools (line 19) | [Fact] method Invokes_Custom_Tool (line 41) | [Fact] method Handles_Tool_Calling_Errors (line 64) | [Fact] method Can_Receive_And_Return_Complex_Types (line 108) | [Fact] type DbQueryOptions (line 147) | record DbQueryOptions(string Table, int[] Ids, bool SortAscending); type City (line 148) | record City(int CountryId, string CityName, int Population); class ToolsTestsJsonContext (line 150) | [JsonSourceGenerationOptions(JsonSerializerDefaults.Web)] method Overrides_Built_In_Tool_With_Custom_Tool (line 156) | [Fact] method SkipPermission_Sent_In_Tool_Definition (line 184) | [Fact] method Can_Return_Binary_Result (line 220) | [Fact(Skip = "Behaves as if no content was in the result. Likely that ... method Invokes_Custom_Tool_With_Permission_Handler (line 251) | [Fact] method Denies_Custom_Tool_When_Permission_Denied (line 285) | [Fact] FILE: dotnet/test/Harness/CapiProxy.cs class CapiProxy (line 15) | public sealed partial class CapiProxy : IAsyncDisposable method StartAsync (line 20) | public Task StartAsync() method StopAsync (line 91) | public async Task StopAsync(bool skipWritingCache = false) method ConfigureAsync (line 115) | public async Task ConfigureAsync(string filePath, string workDir) type ConfigureRequest (line 124) | private record ConfigureRequest(string FilePath, string WorkDir); method GetExchangesAsync (line 126) | public async Task> GetExchangesAsync() method SetCopilotUserByTokenAsync (line 135) | public async Task SetCopilotUserByTokenAsync(string token, CopilotUser... method DisposeAsync (line 145) | public async ValueTask DisposeAsync() method FindRepoRoot (line 150) | private static string FindRepoRoot() class CapiProxyJsonContext (line 162) | [JsonSourceGenerationOptions(JsonSerializerDefaults.Web)] type CopilotUserByTokenRequest (line 170) | public record CopilotUserByTokenRequest(string Token, CopilotUserConfig ... type CopilotUserConfig (line 172) | public record CopilotUserConfig( type CopilotUserEndpoints (line 183) | public record CopilotUserEndpoints(string Api, string Telemetry); type CopilotUserQuotaSnapshot (line 185) | public record CopilotUserQuotaSnapshot( type ParsedHttpExchange (line 201) | public record ParsedHttpExchange( type ChatCompletionRequest (line 206) | public record ChatCompletionRequest( type ChatCompletionMessage (line 211) | public record ChatCompletionMessage( type ChatCompletionToolCall (line 224) | public record ChatCompletionToolCall(string Id, string Type, ChatComplet... type ChatCompletionToolCallFunction (line 226) | public record ChatCompletionToolCallFunction(string Name, string? Argume... type ChatCompletionTool (line 228) | public record ChatCompletionTool(string Type, ChatCompletionToolFunction... type ChatCompletionToolFunction (line 230) | public record ChatCompletionToolFunction(string Name, string? Description); type ChatCompletionResponse (line 232) | public record ChatCompletionResponse(string Id, string Model, List, IAsyn... method E2ETestBase (line 23) | protected E2ETestBase(E2ETestFixture fixture, string snapshotCategory,... class XunitLogger (line 38) | private sealed class XunitLogger(ITestOutputHelper output) : ILogger method BeginScope (line 40) | public IDisposable? BeginScope(TState state) where TState : ... method IsEnabled (line 41) | public bool IsEnabled(LogLevel logLevel) => logLevel >= LogLevel.War... method Log (line 42) | public void Log(LogLevel logLevel, EventId eventId, TState s... method GetTestName (line 50) | private static string GetTestName(ITestOutputHelper output) method InitializeAsync (line 59) | public async Task InitializeAsync() method DisposeAsync (line 64) | public Task DisposeAsync() method CreateSessionAsync (line 73) | protected Task CreateSessionAsync(SessionConfig? confi... method ResumeSessionAsync (line 84) | protected Task ResumeSessionAsync(string sessionId, Re... method GetSystemMessage (line 91) | protected static string GetSystemMessage(ParsedHttpExchange exchange) method GetToolNames (line 96) | protected static List GetToolNames(ParsedHttpExchange exchange) FILE: dotnet/test/Harness/E2ETestContext.cs class E2ETestContext (line 11) | public sealed class E2ETestContext : IAsyncDisposable method E2ETestContext (line 23) | private E2ETestContext(string homeDir, string workDir, string proxyUrl... method CreateAsync (line 32) | public static async Task CreateAsync() method ResolveSymlinks (line 61) | private static string ResolveSymlinks(string path) method FindRepoRoot (line 115) | private static string FindRepoRoot() method GetCliPath (line 127) | private static string GetCliPath(string repoRoot) method ConfigureForTestAsync (line 139) | public async Task ConfigureForTestAsync(string testFile, [CallerMember... method GetExchangesAsync (line 148) | public Task> GetExchangesAsync() method SetCopilotUserByTokenAsync (line 153) | public Task SetCopilotUserByTokenAsync(string token, CopilotUserConfig... method GetEnvironment (line 158) | public IReadOnlyDictionary GetEnvironment() method CreateClient (line 172) | public CopilotClient CreateClient(bool useStdio = true, CopilotClientO... method DisposeAsync (line 197) | public async ValueTask DisposeAsync() FILE: dotnet/test/Harness/E2ETestFixture.cs class E2ETestFixture (line 10) | public class E2ETestFixture : IAsyncLifetime method InitializeAsync (line 15) | public async Task InitializeAsync() method DisposeAsync (line 21) | public async Task DisposeAsync() FILE: dotnet/test/Harness/TestHelper.cs class TestHelper (line 7) | public static class TestHelper method GetFinalAssistantMessageAsync (line 15) | public static async Task GetFinalAssistantMess... method GetExistingMessagesAsync (line 91) | private static async Task<(AssistantMessageEvent? Final, bool SawIdle)... method GetNextEventOfTypeAsync (line 115) | public static async Task GetNextEventOfTypeAsync( FILE: dotnet/test/Unit/CloneTests.cs class CloneTests (line 10) | public class CloneTests method CopilotClientOptions_Clone_CopiesAllProperties (line 12) | [Fact] method CopilotClientOptions_Clone_CollectionsAreIndependent (line 49) | [Fact] method CopilotClientOptions_Clone_EnvironmentIsShared (line 66) | [Fact] method SessionConfig_Clone_CopiesAllProperties (line 77) | [Fact] method SessionConfig_Clone_CollectionsAreIndependent (line 120) | [Fact] method SessionConfig_Clone_PreservesMcpServersComparer (line 152) | [Fact] method ResumeSessionConfig_Clone_CollectionsAreIndependent (line 163) | [Fact] method ResumeSessionConfig_Clone_PreservesMcpServersComparer (line 195) | [Fact] method MessageOptions_Clone_CopiesAllProperties (line 206) | [Fact] method MessageOptions_Clone_AttachmentsAreIndependent (line 223) | [Fact] method Clone_WithNullCollections_ReturnsNullCollections (line 238) | [Fact] method SessionConfig_Clone_CopiesAgentProperty (line 256) | [Fact] method ResumeSessionConfig_Clone_CopiesAgentProperty (line 270) | [Fact] method ResumeSessionConfig_Clone_CopiesIncludeSubAgentStreamingEvents (line 284) | [Fact] method ResumeSessionConfig_Clone_PreservesIncludeSubAgentStreamingEventsDefault (line 297) | [Fact] method ResumeSessionConfig_Clone_CopiesContinuePendingWork (line 307) | [Fact] method ResumeSessionConfig_Clone_PreservesContinuePendingWorkDefault (line 320) | [Fact] FILE: dotnet/test/Unit/ForwardCompatibilityTests.cs class ForwardCompatibilityTests (line 13) | public class ForwardCompatibilityTests method FromJson_KnownEventType_DeserializesNormally (line 15) | [Fact] method FromJson_UnknownEventType_ReturnsBaseSessionEvent (line 38) | [Fact] method FromJson_UnknownEventType_PreservesBaseMetadata (line 59) | [Fact] method FromJson_MultipleEvents_MixedKnownAndUnknown (line 79) | [Fact] method FromJson_KnownEventType_WithExtraUnknownFields_IgnoresExtras (line 97) | [Fact] method FromJson_KnownEventType_WithExtraUnknownEnvelopeFields_IgnoresExtras (line 124) | [Fact] method FromJson_UnknownEventType_WithUnknownEnumInData_DoesNotThrow (line 146) | [Fact] method FromJson_KnownEventType_WithNullOptionalFields_DoesNotThrow (line 169) | [Fact] method FromJson_UnknownEventType_PreservesAgentIdNull (line 194) | [Fact] FILE: dotnet/test/Unit/JsonRpcTests.cs class JsonRpcTests (line 21) | public class JsonRpcTests method JsonRpc_Handles_Positional_Named_And_Single_Object_Params (line 23) | [Fact] method JsonRpc_Returns_Errors_For_Missing_Method_And_Invalid_Params (line 56) | [Fact] method JsonRpc_Cancels_And_Disposes_Pending_Requests (line 82) | [Fact] method GetRemoteErrorCode (line 97) | private static int GetRemoteErrorCode(Exception exception) class NamedParams (line 104) | private sealed class NamedParams class SingleObjectRequest (line 111) | private sealed class SingleObjectRequest class SingleObjectResponse (line 116) | private sealed class SingleObjectResponse class JsonRpcReflectionPair (line 121) | private sealed class JsonRpcReflectionPair : IDisposable method JsonRpcReflectionPair (line 126) | private JsonRpcReflectionPair(InMemoryDuplexStream clientStream, InM... method Create (line 138) | public static JsonRpcReflectionPair Create(bool startServer = true) method StartListening (line 150) | public void StartListening() => Client.StartListening(); method Dispose (line 152) | public void Dispose() class JsonRpcReflection (line 161) | private sealed class JsonRpcReflection : IDisposable method JsonRpcReflection (line 173) | public JsonRpcReflection(Stream stream) method StartListening (line 183) | public void StartListening() => JsonRpcType.GetMethod(nameof(StartLi... method SetLocalRpcMethod (line 185) | public void SetLocalRpcMethod(string methodName, Delegate handler, b... method InvokeAsync (line 188) | public async Task InvokeAsync(string methodName, object?[]? ar... method Dispose (line 198) | public void Dispose() => ((IDisposable)_instance).Dispose(); class InMemoryDuplexStream (line 201) | private sealed class InMemoryDuplexStream : Stream method CreatePair (line 219) | public static (InMemoryDuplexStream Client, InMemoryDuplexStream Ser... method Flush (line 228) | public override void Flush() method FlushAsync (line 232) | public override Task FlushAsync(CancellationToken cancellationToken)... method Read (line 234) | public override int Read(byte[] buffer, int offset, int count) => method ReadAsync (line 237) | public override async ValueTask ReadAsync(Memory destinat... method Write (line 264) | public override void Write(byte[] buffer, int offset, int count) => method WriteAsync (line 267) | public override ValueTask WriteAsync(ReadOnlyMemory source, Ca... method Seek (line 274) | public override long Seek(long offset, SeekOrigin origin) => throw n... method SetLength (line 276) | public override void SetLength(long value) => throw new NotSupported... method Dispose (line 278) | protected override void Dispose(bool disposing) method Enqueue (line 293) | private void Enqueue(ReadOnlySpan source) FILE: dotnet/test/Unit/PermissionRequestResultKindTests.cs class PermissionRequestResultKindTests (line 10) | public class PermissionRequestResultKindTests method WellKnownKinds_HaveExpectedValues (line 17) | [Fact] method Equals_SameValue_ReturnsTrue (line 33) | [Fact] method Equals_DifferentValue_ReturnsFalse (line 42) | [Fact] method Equals_IsCaseInsensitive (line 49) | [Fact] method GetHashCode_IsCaseInsensitive (line 56) | [Fact] method ToString_ReturnsValue (line 63) | [Fact] method CustomValue_IsPreserved (line 70) | [Fact] method Constructor_NullValue_TreatedAsEmpty (line 78) | [Fact] method Default_HasEmptyStringValue (line 85) | [Fact] method Equals_NonPermissionRequestResultKindObject_ReturnsFalse (line 94) | [Fact] method JsonSerialize_WritesStringValue (line 100) | [Fact] method JsonDeserialize_ReadsStringValue (line 108) | [Fact] method JsonRoundTrip_PreservesAllKinds (line 116) | [Fact] method JsonRoundTrip_CustomValue (line 136) | [Fact] class TestJsonContext (line 146) | [System.Text.Json.Serialization.JsonSerializable(typeof(PermissionReques... FILE: dotnet/test/Unit/PublicDtoTests.cs class PublicDtoTests (line 21) | public class PublicDtoTests method Public_Dto_Properties_Can_Be_Set_And_Read (line 23) | [Fact] method TryCreateSampleValue (line 64) | private static bool TryCreateSampleValue(Type type, HashSet visi... method TryCreateGenericCollection (line 170) | private static bool TryCreateGenericCollection(Type type, HashSet(string name, params object?[... FILE: go/client.go constant noResultPermissionV2Error (line 54) | noResultPermissionV2Error = "permission handlers cannot return 'no-resul... function validateSessionFsConfig (line 56) | func validateSessionFsConfig(config *SessionFsConfig) error { type Client (line 91) | type Client struct method Start (line 303) | func (c *Client) Start(ctx context.Context) error { method Stop (line 372) | func (c *Client) Stop() error { method ForceStop (line 454) | func (c *Client) ForceStop() { method ensureConnected (line 502) | func (c *Client) ensureConnected(ctx context.Context) error { method CreateSession (line 572) | func (c *Client) CreateSession(ctx context.Context, config *SessionCon... method ResumeSession (line 720) | func (c *Client) ResumeSession(ctx context.Context, sessionID string, ... method ResumeSessionWithOptions (line 735) | func (c *Client) ResumeSessionWithOptions(ctx context.Context, session... method ListSessions (line 893) | func (c *Client) ListSessions(ctx context.Context, filter *SessionList... method GetSessionMetadata (line 929) | func (c *Client) GetSessionMetadata(ctx context.Context, sessionID str... method DeleteSession (line 960) | func (c *Client) DeleteSession(ctx context.Context, sessionID string) ... method GetLastSessionID (line 1007) | func (c *Client) GetLastSessionID(ctx context.Context) (*string, error) { method GetForegroundSessionID (line 1039) | func (c *Client) GetForegroundSessionID(ctx context.Context) (*string,... method SetForegroundSessionID (line 1067) | func (c *Client) SetForegroundSessionID(ctx context.Context, sessionID... method On (line 1106) | func (c *Client) On(handler SessionLifecycleHandler) func() { method OnEventType (line 1133) | func (c *Client) OnEventType(eventType SessionLifecycleEventType, hand... method handleLifecycleEvent (line 1156) | func (c *Client) handleLifecycleEvent(event SessionLifecycleEvent) { method State (line 1199) | func (c *Client) State() ConnectionState { method ActualPort (line 1207) | func (c *Client) ActualPort() int { method Ping (line 1224) | func (c *Client) Ping(ctx context.Context, message string) (*PingRespo... method GetStatus (line 1242) | func (c *Client) GetStatus(ctx context.Context) (*GetStatusResponse, e... method GetAuthStatus (line 1260) | func (c *Client) GetAuthStatus(ctx context.Context) (*GetAuthStatusRes... method ListModels (line 1281) | func (c *Client) ListModels(ctx context.Context) ([]ModelInfo, error) { method verifyProtocolVersion (line 1334) | func (c *Client) verifyProtocolVersion(ctx context.Context) error { method startCLIServer (line 1358) | func (c *Client) startCLIServer(ctx context.Context) error { method killProcess (line 1527) | func (c *Client) killProcess() error { method monitorProcess (line 1542) | func (c *Client) monitorProcess() { method connectToServer (line 1561) | func (c *Client) connectToServer(ctx context.Context) error { method connectViaTcp (line 1572) | func (c *Client) connectViaTcp(ctx context.Context) error { method setupNotificationHandler (line 1614) | func (c *Client) setupNotificationHandler() { method handleSessionEvent (line 1633) | func (c *Client) handleSessionEvent(req sessionEventRequest) { method handleUserInputRequest (line 1648) | func (c *Client) handleUserInputRequest(req userInputRequest) (*userIn... method handleHooksInvoke (line 1673) | func (c *Client) handleHooksInvoke(req hooksInvokeRequest) (map[string... method handleSystemMessageTransform (line 1698) | func (c *Client) handleSystemMessageTransform(req systemMessageTransfo... method handleToolCallRequestV2 (line 1748) | func (c *Client) handleToolCallRequestV2(req toolCallRequestV2) (*tool... method handlePermissionRequestV2 (line 1794) | func (c *Client) handlePermissionRequestV2(req permissionRequestV2) (*... function NewClient (line 138) | func NewClient(options *ClientOptions) *Client { function getEnvValue (line 243) | func getEnvValue(env []string, key string) string { function parseCliUrl (line 257) | func parseCliUrl(url string) (string, int) { function extractTransformCallbacks (line 544) | func extractTransformCallbacks(config *SystemMessageConfig) (*SystemMess... constant minProtocolVersion (line 1330) | minProtocolVersion = 2 type toolCallRequestV2 (line 1722) | type toolCallRequestV2 struct type toolCallResponseV2 (line 1732) | type toolCallResponseV2 struct type permissionRequestV2 (line 1737) | type permissionRequestV2 struct type permissionResponseV2 (line 1743) | type permissionResponseV2 struct FILE: go/client_test.go function TestClient_URLParsing (line 18) | func TestClient_URLParsing(t *testing.T) { function TestClient_SessionFsConfig (line 228) | func TestClient_SessionFsConfig(t *testing.T) { function TestClient_AuthOptions (line 270) | func TestClient_AuthOptions(t *testing.T) { function TestClient_EnvOptions (line 347) | func TestClient_EnvOptions(t *testing.T) { function TestClient_SessionIdleTimeoutSeconds (line 394) | func TestClient_SessionIdleTimeoutSeconds(t *testing.T) { function findCLIPathForTest (line 414) | func findCLIPathForTest() string { function fileExistsForTest (line 422) | func fileExistsForTest(path string) bool { function TestCreateSessionRequest_ClientName (line 427) | func TestCreateSessionRequest_ClientName(t *testing.T) { function TestResumeSessionRequest_ClientName (line 454) | func TestResumeSessionRequest_ClientName(t *testing.T) { function TestCreateSessionRequest_Agent (line 481) | func TestCreateSessionRequest_Agent(t *testing.T) { function TestResumeSessionRequest_Agent (line 508) | func TestResumeSessionRequest_Agent(t *testing.T) { function TestOverridesBuiltInTool (line 535) | func TestOverridesBuiltInTool(t *testing.T) { function TestClient_CreateSession_RequiresPermissionHandler (line 576) | func TestClient_CreateSession_RequiresPermissionHandler(t *testing.T) { function TestClient_ResumeSession_RequiresPermissionHandler (line 602) | func TestClient_ResumeSession_RequiresPermissionHandler(t *testing.T) { function TestListModelsWithCustomHandler (line 616) | func TestListModelsWithCustomHandler(t *testing.T) { function TestListModelsHandlerCachesResults (line 648) | func TestListModelsHandlerCachesResults(t *testing.T) { function TestClient_StartContextCancellationDoesNotKillProcess (line 675) | func TestClient_StartContextCancellationDoesNotKillProcess(t *testing.T) { function TestClient_StartStopRace (line 701) | func TestClient_StartStopRace(t *testing.T) { function TestCreateSessionRequest_Commands (line 742) | func TestCreateSessionRequest_Commands(t *testing.T) { function TestResumeSessionRequest_Commands (line 785) | func TestResumeSessionRequest_Commands(t *testing.T) { function TestCreateSessionRequest_RequestElicitation (line 825) | func TestCreateSessionRequest_RequestElicitation(t *testing.T) { function TestResumeSessionRequest_RequestElicitation (line 854) | func TestResumeSessionRequest_RequestElicitation(t *testing.T) { function TestResumeSessionRequest_ContinuePendingWork (line 884) | func TestResumeSessionRequest_ContinuePendingWork(t *testing.T) { function TestCreateSessionRequest_IncludeSubAgentStreamingEvents (line 914) | func TestCreateSessionRequest_IncludeSubAgentStreamingEvents(t *testing.... function TestResumeSessionRequest_IncludeSubAgentStreamingEvents (line 950) | func TestResumeSessionRequest_IncludeSubAgentStreamingEvents(t *testing.... function TestCreateSessionResponse_Capabilities (line 988) | func TestCreateSessionResponse_Capabilities(t *testing.T) { FILE: go/cmd/bundler/main.go constant sdkModule (line 36) | sdkModule = "github.com/github/copilot-sdk/go" constant packageLockURLFmt (line 37) | packageLockURLFmt = "https://raw.githubusercontent.com/github/copilot-sd... constant tarballURLFmt (line 38) | tarballURLFmt = "https://registry.npmjs.org/@github/copilot-%s/-/cop... constant licenseTarballFmt (line 39) | licenseTarballFmt = "https://registry.npmjs.org/@github/copilot/-/copilo... type platformInfo (line 43) | type platformInfo struct function main (line 59) | func main() { function resolvePlatform (line 113) | func resolvePlatform(platform string) (string, string, platformInfo, err... function resolveCLIVersion (line 126) | func resolveCLIVersion(flagValue string) string { function defaultOutputFileName (line 141) | func defaultOutputFileName(version, goos, goarch, binaryName string) str... function validPlatforms (line 148) | func validPlatforms() []string { function detectCLIVersion (line 160) | func detectCLIVersion() (string, error) { function getSDKVersion (line 179) | func getSDKVersion() (string, error) { function fetchCLIVersionFromRepo (line 198) | func fetchCLIVersionFromRepo(sdkVersion string) (string, error) { function isHex (line 247) | func isHex(s string) bool { function buildBundle (line 257) | func buildBundle(info platformInfo, cliVersion, outputPath string) (stri... function generateGoFile (line 311) | func generateGoFile(goos, goarch, binaryPath, cliVersion string, sha256H... function downloadCLIBinary (line 378) | func downloadCLIBinary(npmPlatform, binaryName, cliVersion, destDir stri... function downloadCLILicense (line 437) | func downloadCLILicense(cliVersion, outputPath string) error { function licensePathForOutput (line 486) | func licensePathForOutput(outputPath string) string { function licenseFileName (line 493) | func licenseFileName(binaryName string) string { function extractFileFromTarballStream (line 501) | func extractFileFromTarballStream(r io.Reader, destDir, outputName strin... function extractFileFromTarball (line 517) | func extractFileFromTarball(tarballPath, destDir, targetPath, outputName... function compressZstdFile (line 565) | func compressZstdFile(src, dst string) error { function sha256FileFromCompressed (line 591) | func sha256FileFromCompressed(path string) ([]byte, error) { function sha256File (line 612) | func sha256File(path string) ([]byte, error) { function ensureZstdDependency (line 627) | func ensureZstdDependency() error { function checkEmbeddedVersion (line 637) | func checkEmbeddedVersion(detectedVersion, goos, goarch, outputDir strin... FILE: go/definetool.go function DefineTool (line 31) | func DefineTool[T any, U any](name, description string, handler func(T, ... function createTypedHandler (line 44) | func createTypedHandler[T any, U any](handler func(T, ToolInvocation) (U... function normalizeResult (line 71) | func normalizeResult(result any) (ToolResult, error) { function ConvertMCPCallToolResult (line 108) | func ConvertMCPCallToolResult(value any) (ToolResult, bool) { function generateSchemaForType (line 204) | func generateSchemaForType(t reflect.Type) map[string]any { FILE: go/definetool_test.go function TestDefineTool (line 9) | func TestDefineTool(t *testing.T) { function TestNormalizeResult (line 148) | func TestNormalizeResult(t *testing.T) { function TestConvertMCPCallToolResult (line 256) | func TestConvertMCPCallToolResult(t *testing.T) { function TestGenerateSchemaForType (line 436) | func TestGenerateSchemaForType(t *testing.T) { FILE: go/embeddedcli/installer.go function Setup (line 15) | func Setup(cfg Config) { FILE: go/generated_session_events.go type SessionEventData (line 12) | type SessionEventData interface type RawSessionEventData (line 17) | type RawSessionEventData struct method sessionEventData (line 21) | func (RawSessionEventData) sessionEventData() {} method MarshalJSON (line 24) | func (r RawSessionEventData) MarshalJSON() ([]byte, error) { return r.... type SessionEvent (line 27) | type SessionEvent struct method Marshal (line 52) | func (r *SessionEvent) Marshal() ([]byte, error) { method UnmarshalJSON (line 56) | func (e *SessionEvent) UnmarshalJSON(data []byte) error { method MarshalJSON (line 552) | func (e SessionEvent) MarshalJSON() ([]byte, error) { function UnmarshalSessionEvent (line 45) | func UnmarshalSessionEvent(data []byte) (SessionEvent, error) { type SessionEventType (line 574) | type SessionEventType constant SessionEventTypeSessionStart (line 577) | SessionEventTypeSessionStart SessionEventType = "sessio... constant SessionEventTypeSessionResume (line 578) | SessionEventTypeSessionResume SessionEventType = "sessio... constant SessionEventTypeSessionRemoteSteerableChanged (line 579) | SessionEventTypeSessionRemoteSteerableChanged SessionEventType = "sessio... constant SessionEventTypeSessionError (line 580) | SessionEventTypeSessionError SessionEventType = "sessio... constant SessionEventTypeSessionIdle (line 581) | SessionEventTypeSessionIdle SessionEventType = "sessio... constant SessionEventTypeSessionTitleChanged (line 582) | SessionEventTypeSessionTitleChanged SessionEventType = "sessio... constant SessionEventTypeSessionInfo (line 583) | SessionEventTypeSessionInfo SessionEventType = "sessio... constant SessionEventTypeSessionWarning (line 584) | SessionEventTypeSessionWarning SessionEventType = "sessio... constant SessionEventTypeSessionModelChange (line 585) | SessionEventTypeSessionModelChange SessionEventType = "sessio... constant SessionEventTypeSessionModeChanged (line 586) | SessionEventTypeSessionModeChanged SessionEventType = "sessio... constant SessionEventTypeSessionPlanChanged (line 587) | SessionEventTypeSessionPlanChanged SessionEventType = "sessio... constant SessionEventTypeSessionWorkspaceFileChanged (line 588) | SessionEventTypeSessionWorkspaceFileChanged SessionEventType = "sessio... constant SessionEventTypeSessionHandoff (line 589) | SessionEventTypeSessionHandoff SessionEventType = "sessio... constant SessionEventTypeSessionTruncation (line 590) | SessionEventTypeSessionTruncation SessionEventType = "sessio... constant SessionEventTypeSessionSnapshotRewind (line 591) | SessionEventTypeSessionSnapshotRewind SessionEventType = "sessio... constant SessionEventTypeSessionShutdown (line 592) | SessionEventTypeSessionShutdown SessionEventType = "sessio... constant SessionEventTypeSessionContextChanged (line 593) | SessionEventTypeSessionContextChanged SessionEventType = "sessio... constant SessionEventTypeSessionUsageInfo (line 594) | SessionEventTypeSessionUsageInfo SessionEventType = "sessio... constant SessionEventTypeSessionCompactionStart (line 595) | SessionEventTypeSessionCompactionStart SessionEventType = "sessio... constant SessionEventTypeSessionCompactionComplete (line 596) | SessionEventTypeSessionCompactionComplete SessionEventType = "sessio... constant SessionEventTypeSessionTaskComplete (line 597) | SessionEventTypeSessionTaskComplete SessionEventType = "sessio... constant SessionEventTypeUserMessage (line 598) | SessionEventTypeUserMessage SessionEventType = "user.m... constant SessionEventTypePendingMessagesModified (line 599) | SessionEventTypePendingMessagesModified SessionEventType = "pendin... constant SessionEventTypeAssistantTurnStart (line 600) | SessionEventTypeAssistantTurnStart SessionEventType = "assist... constant SessionEventTypeAssistantIntent (line 601) | SessionEventTypeAssistantIntent SessionEventType = "assist... constant SessionEventTypeAssistantReasoning (line 602) | SessionEventTypeAssistantReasoning SessionEventType = "assist... constant SessionEventTypeAssistantReasoningDelta (line 603) | SessionEventTypeAssistantReasoningDelta SessionEventType = "assist... constant SessionEventTypeAssistantStreamingDelta (line 604) | SessionEventTypeAssistantStreamingDelta SessionEventType = "assist... constant SessionEventTypeAssistantMessage (line 605) | SessionEventTypeAssistantMessage SessionEventType = "assist... constant SessionEventTypeAssistantMessageStart (line 606) | SessionEventTypeAssistantMessageStart SessionEventType = "assist... constant SessionEventTypeAssistantMessageDelta (line 607) | SessionEventTypeAssistantMessageDelta SessionEventType = "assist... constant SessionEventTypeAssistantTurnEnd (line 608) | SessionEventTypeAssistantTurnEnd SessionEventType = "assist... constant SessionEventTypeAssistantUsage (line 609) | SessionEventTypeAssistantUsage SessionEventType = "assist... constant SessionEventTypeModelCallFailure (line 610) | SessionEventTypeModelCallFailure SessionEventType = "model.... constant SessionEventTypeAbort (line 611) | SessionEventTypeAbort SessionEventType = "abort" constant SessionEventTypeToolUserRequested (line 612) | SessionEventTypeToolUserRequested SessionEventType = "tool.u... constant SessionEventTypeToolExecutionStart (line 613) | SessionEventTypeToolExecutionStart SessionEventType = "tool.e... constant SessionEventTypeToolExecutionPartialResult (line 614) | SessionEventTypeToolExecutionPartialResult SessionEventType = "tool.e... constant SessionEventTypeToolExecutionProgress (line 615) | SessionEventTypeToolExecutionProgress SessionEventType = "tool.e... constant SessionEventTypeToolExecutionComplete (line 616) | SessionEventTypeToolExecutionComplete SessionEventType = "tool.e... constant SessionEventTypeSkillInvoked (line 617) | SessionEventTypeSkillInvoked SessionEventType = "skill.... constant SessionEventTypeSubagentStarted (line 618) | SessionEventTypeSubagentStarted SessionEventType = "subage... constant SessionEventTypeSubagentCompleted (line 619) | SessionEventTypeSubagentCompleted SessionEventType = "subage... constant SessionEventTypeSubagentFailed (line 620) | SessionEventTypeSubagentFailed SessionEventType = "subage... constant SessionEventTypeSubagentSelected (line 621) | SessionEventTypeSubagentSelected SessionEventType = "subage... constant SessionEventTypeSubagentDeselected (line 622) | SessionEventTypeSubagentDeselected SessionEventType = "subage... constant SessionEventTypeHookStart (line 623) | SessionEventTypeHookStart SessionEventType = "hook.s... constant SessionEventTypeHookEnd (line 624) | SessionEventTypeHookEnd SessionEventType = "hook.end" constant SessionEventTypeSystemMessage (line 625) | SessionEventTypeSystemMessage SessionEventType = "system... constant SessionEventTypeSystemNotification (line 626) | SessionEventTypeSystemNotification SessionEventType = "system... constant SessionEventTypePermissionRequested (line 627) | SessionEventTypePermissionRequested SessionEventType = "permis... constant SessionEventTypePermissionCompleted (line 628) | SessionEventTypePermissionCompleted SessionEventType = "permis... constant SessionEventTypeUserInputRequested (line 629) | SessionEventTypeUserInputRequested SessionEventType = "user_i... constant SessionEventTypeUserInputCompleted (line 630) | SessionEventTypeUserInputCompleted SessionEventType = "user_i... constant SessionEventTypeElicitationRequested (line 631) | SessionEventTypeElicitationRequested SessionEventType = "elicit... constant SessionEventTypeElicitationCompleted (line 632) | SessionEventTypeElicitationCompleted SessionEventType = "elicit... constant SessionEventTypeSamplingRequested (line 633) | SessionEventTypeSamplingRequested SessionEventType = "sampli... constant SessionEventTypeSamplingCompleted (line 634) | SessionEventTypeSamplingCompleted SessionEventType = "sampli... constant SessionEventTypeMcpOauthRequired (line 635) | SessionEventTypeMcpOauthRequired SessionEventType = "mcp.oa... constant SessionEventTypeMcpOauthCompleted (line 636) | SessionEventTypeMcpOauthCompleted SessionEventType = "mcp.oa... constant SessionEventTypeExternalToolRequested (line 637) | SessionEventTypeExternalToolRequested SessionEventType = "extern... constant SessionEventTypeExternalToolCompleted (line 638) | SessionEventTypeExternalToolCompleted SessionEventType = "extern... constant SessionEventTypeCommandQueued (line 639) | SessionEventTypeCommandQueued SessionEventType = "comman... constant SessionEventTypeCommandExecute (line 640) | SessionEventTypeCommandExecute SessionEventType = "comman... constant SessionEventTypeCommandCompleted (line 641) | SessionEventTypeCommandCompleted SessionEventType = "comman... constant SessionEventTypeAutoModeSwitchRequested (line 642) | SessionEventTypeAutoModeSwitchRequested SessionEventType = "auto_m... constant SessionEventTypeAutoModeSwitchCompleted (line 643) | SessionEventTypeAutoModeSwitchCompleted SessionEventType = "auto_m... constant SessionEventTypeCommandsChanged (line 644) | SessionEventTypeCommandsChanged SessionEventType = "comman... constant SessionEventTypeCapabilitiesChanged (line 645) | SessionEventTypeCapabilitiesChanged SessionEventType = "capabi... constant SessionEventTypeExitPlanModeRequested (line 646) | SessionEventTypeExitPlanModeRequested SessionEventType = "exit_p... constant SessionEventTypeExitPlanModeCompleted (line 647) | SessionEventTypeExitPlanModeCompleted SessionEventType = "exit_p... constant SessionEventTypeSessionToolsUpdated (line 648) | SessionEventTypeSessionToolsUpdated SessionEventType = "sessio... constant SessionEventTypeSessionBackgroundTasksChanged (line 649) | SessionEventTypeSessionBackgroundTasksChanged SessionEventType = "sessio... constant SessionEventTypeSessionSkillsLoaded (line 650) | SessionEventTypeSessionSkillsLoaded SessionEventType = "sessio... constant SessionEventTypeSessionCustomAgentsUpdated (line 651) | SessionEventTypeSessionCustomAgentsUpdated SessionEventType = "sessio... constant SessionEventTypeSessionMcpServersLoaded (line 652) | SessionEventTypeSessionMcpServersLoaded SessionEventType = "sessio... constant SessionEventTypeSessionMcpServerStatusChanged (line 653) | SessionEventTypeSessionMcpServerStatusChanged SessionEventType = "sessio... constant SessionEventTypeSessionExtensionsLoaded (line 654) | SessionEventTypeSessionExtensionsLoaded SessionEventType = "sessio... type AssistantIntentData (line 658) | type AssistantIntentData struct method sessionEventData (line 663) | func (*AssistantIntentData) sessionEventData() {} type SessionModeChangedData (line 666) | type SessionModeChangedData struct method sessionEventData (line 673) | func (*SessionModeChangedData) sessionEventData() {} type AssistantReasoningData (line 676) | type AssistantReasoningData struct method sessionEventData (line 683) | func (*AssistantReasoningData) sessionEventData() {} type AssistantMessageData (line 686) | type AssistantMessageData struct method sessionEventData (line 714) | func (*AssistantMessageData) sessionEventData() {} type AutoModeSwitchCompletedData (line 717) | type AutoModeSwitchCompletedData struct method sessionEventData (line 724) | func (*AutoModeSwitchCompletedData) sessionEventData() {} type AutoModeSwitchRequestedData (line 727) | type AutoModeSwitchRequestedData struct method sessionEventData (line 736) | func (*AutoModeSwitchRequestedData) sessionEventData() {} type SessionCompactionStartData (line 739) | type SessionCompactionStartData struct method sessionEventData (line 748) | func (*SessionCompactionStartData) sessionEventData() {} type SessionCompactionCompleteData (line 751) | type SessionCompactionCompleteData struct method sessionEventData (line 784) | func (*SessionCompactionCompleteData) sessionEventData() {} type SessionTruncationData (line 787) | type SessionTruncationData struct method sessionEventData (line 806) | func (*SessionTruncationData) sessionEventData() {} type SessionUsageInfoData (line 809) | type SessionUsageInfoData struct method sessionEventData (line 826) | func (*SessionUsageInfoData) sessionEventData() {} type SubagentSelectedData (line 829) | type SubagentSelectedData struct method sessionEventData (line 838) | func (*SubagentSelectedData) sessionEventData() {} type ElicitationCompletedData (line 841) | type ElicitationCompletedData struct method sessionEventData (line 850) | func (*ElicitationCompletedData) sessionEventData() {} type ElicitationRequestedData (line 853) | type ElicitationRequestedData struct method sessionEventData (line 870) | func (*ElicitationRequestedData) sessionEventData() {} type SubagentDeselectedData (line 873) | type SubagentDeselectedData struct method sessionEventData (line 876) | func (*SubagentDeselectedData) sessionEventData() {} type PendingMessagesModifiedData (line 879) | type PendingMessagesModifiedData struct method sessionEventData (line 882) | func (*PendingMessagesModifiedData) sessionEventData() {} type SessionErrorData (line 885) | type SessionErrorData struct method sessionEventData (line 904) | func (*SessionErrorData) sessionEventData() {} type ExternalToolCompletedData (line 907) | type ExternalToolCompletedData struct method sessionEventData (line 912) | func (*ExternalToolCompletedData) sessionEventData() {} type ExternalToolRequestedData (line 915) | type ExternalToolRequestedData struct method sessionEventData (line 932) | func (*ExternalToolRequestedData) sessionEventData() {} type ModelCallFailureData (line 935) | type ModelCallFailureData struct method sessionEventData (line 954) | func (*ModelCallFailureData) sessionEventData() {} type HookEndData (line 957) | type HookEndData struct method sessionEventData (line 970) | func (*HookEndData) sessionEventData() {} type HookStartData (line 973) | type HookStartData struct method sessionEventData (line 982) | func (*HookStartData) sessionEventData() {} type SessionInfoData (line 985) | type SessionInfoData struct method sessionEventData (line 996) | func (*SessionInfoData) sessionEventData() {} type AssistantUsageData (line 999) | type AssistantUsageData struct method sessionEventData (line 1037) | func (*AssistantUsageData) sessionEventData() {} type McpOauthCompletedData (line 1040) | type McpOauthCompletedData struct method sessionEventData (line 1045) | func (*McpOauthCompletedData) sessionEventData() {} type SessionModelChangeData (line 1048) | type SessionModelChangeData struct method sessionEventData (line 1061) | func (*SessionModelChangeData) sessionEventData() {} type SessionRemoteSteerableChangedData (line 1064) | type SessionRemoteSteerableChangedData struct method sessionEventData (line 1069) | func (*SessionRemoteSteerableChangedData) sessionEventData() {} type McpOauthRequiredData (line 1072) | type McpOauthRequiredData struct method sessionEventData (line 1083) | func (*McpOauthRequiredData) sessionEventData() {} type SessionIdleData (line 1086) | type SessionIdleData struct method sessionEventData (line 1091) | func (*SessionIdleData) sessionEventData() {} type PermissionCompletedData (line 1094) | type PermissionCompletedData struct method sessionEventData (line 1103) | func (*PermissionCompletedData) sessionEventData() {} type PermissionRequestedData (line 1106) | type PermissionRequestedData struct method sessionEventData (line 1117) | func (*PermissionRequestedData) sessionEventData() {} type ExitPlanModeRequestedData (line 1120) | type ExitPlanModeRequestedData struct method sessionEventData (line 1133) | func (*ExitPlanModeRequestedData) sessionEventData() {} type SessionPlanChangedData (line 1136) | type SessionPlanChangedData struct method sessionEventData (line 1141) | func (*SessionPlanChangedData) sessionEventData() {} type ExitPlanModeCompletedData (line 1144) | type ExitPlanModeCompletedData struct method sessionEventData (line 1157) | func (*ExitPlanModeCompletedData) sessionEventData() {} type CommandCompletedData (line 1160) | type CommandCompletedData struct method sessionEventData (line 1165) | func (*CommandCompletedData) sessionEventData() {} type CommandQueuedData (line 1168) | type CommandQueuedData struct method sessionEventData (line 1175) | func (*CommandQueuedData) sessionEventData() {} type CommandExecuteData (line 1178) | type CommandExecuteData struct method sessionEventData (line 1189) | func (*CommandExecuteData) sessionEventData() {} type CommandsChangedData (line 1192) | type CommandsChangedData struct method sessionEventData (line 1197) | func (*CommandsChangedData) sessionEventData() {} type SamplingCompletedData (line 1200) | type SamplingCompletedData struct method sessionEventData (line 1205) | func (*SamplingCompletedData) sessionEventData() {} type SamplingRequestedData (line 1208) | type SamplingRequestedData struct method sessionEventData (line 1217) | func (*SamplingRequestedData) sessionEventData() {} type CapabilitiesChangedData (line 1220) | type CapabilitiesChangedData struct method sessionEventData (line 1225) | func (*CapabilitiesChangedData) sessionEventData() {} type SessionHandoffData (line 1228) | type SessionHandoffData struct method sessionEventData (line 1245) | func (*SessionHandoffData) sessionEventData() {} type SessionStartData (line 1248) | type SessionStartData struct method sessionEventData (line 1271) | func (*SessionStartData) sessionEventData() {} type SessionResumeData (line 1274) | type SessionResumeData struct method sessionEventData (line 1295) | func (*SessionResumeData) sessionEventData() {} type SessionSnapshotRewindData (line 1298) | type SessionSnapshotRewindData struct method sessionEventData (line 1305) | func (*SessionSnapshotRewindData) sessionEventData() {} type SessionShutdownData (line 1308) | type SessionShutdownData struct method sessionEventData (line 1339) | func (*SessionShutdownData) sessionEventData() {} type SessionTitleChangedData (line 1342) | type SessionTitleChangedData struct method sessionEventData (line 1347) | func (*SessionTitleChangedData) sessionEventData() {} type SessionBackgroundTasksChangedData (line 1350) | type SessionBackgroundTasksChangedData struct method sessionEventData (line 1353) | func (*SessionBackgroundTasksChangedData) sessionEventData() {} type SessionCustomAgentsUpdatedData (line 1356) | type SessionCustomAgentsUpdatedData struct method sessionEventData (line 1365) | func (*SessionCustomAgentsUpdatedData) sessionEventData() {} type SessionExtensionsLoadedData (line 1368) | type SessionExtensionsLoadedData struct method sessionEventData (line 1373) | func (*SessionExtensionsLoadedData) sessionEventData() {} type SessionMcpServerStatusChangedData (line 1376) | type SessionMcpServerStatusChangedData struct method sessionEventData (line 1383) | func (*SessionMcpServerStatusChangedData) sessionEventData() {} type SessionMcpServersLoadedData (line 1386) | type SessionMcpServersLoadedData struct method sessionEventData (line 1391) | func (*SessionMcpServersLoadedData) sessionEventData() {} type SessionSkillsLoadedData (line 1394) | type SessionSkillsLoadedData struct method sessionEventData (line 1399) | func (*SessionSkillsLoadedData) sessionEventData() {} type SessionToolsUpdatedData (line 1402) | type SessionToolsUpdatedData struct method sessionEventData (line 1406) | func (*SessionToolsUpdatedData) sessionEventData() {} type SkillInvokedData (line 1409) | type SkillInvokedData struct method sessionEventData (line 1426) | func (*SkillInvokedData) sessionEventData() {} type AssistantMessageDeltaData (line 1429) | type AssistantMessageDeltaData struct method sessionEventData (line 1439) | func (*AssistantMessageDeltaData) sessionEventData() {} type AssistantMessageStartData (line 1442) | type AssistantMessageStartData struct method sessionEventData (line 1449) | func (*AssistantMessageStartData) sessionEventData() {} type AssistantReasoningDeltaData (line 1452) | type AssistantReasoningDeltaData struct method sessionEventData (line 1459) | func (*AssistantReasoningDeltaData) sessionEventData() {} type AssistantStreamingDeltaData (line 1462) | type AssistantStreamingDeltaData struct method sessionEventData (line 1467) | func (*AssistantStreamingDeltaData) sessionEventData() {} type ToolExecutionPartialResultData (line 1470) | type ToolExecutionPartialResultData struct method sessionEventData (line 1477) | func (*ToolExecutionPartialResultData) sessionEventData() {} type SubagentCompletedData (line 1480) | type SubagentCompletedData struct method sessionEventData (line 1497) | func (*SubagentCompletedData) sessionEventData() {} type SubagentFailedData (line 1500) | type SubagentFailedData struct method sessionEventData (line 1519) | func (*SubagentFailedData) sessionEventData() {} type SubagentStartedData (line 1522) | type SubagentStartedData struct method sessionEventData (line 1533) | func (*SubagentStartedData) sessionEventData() {} type SystemNotificationData (line 1536) | type SystemNotificationData struct method sessionEventData (line 1543) | func (*SystemNotificationData) sessionEventData() {} type SystemMessageData (line 1546) | type SystemMessageData struct method sessionEventData (line 1557) | func (*SystemMessageData) sessionEventData() {} type SessionTaskCompleteData (line 1560) | type SessionTaskCompleteData struct method sessionEventData (line 1567) | func (*SessionTaskCompleteData) sessionEventData() {} type ToolExecutionCompleteData (line 1570) | type ToolExecutionCompleteData struct method sessionEventData (line 1594) | func (*ToolExecutionCompleteData) sessionEventData() {} type ToolExecutionProgressData (line 1597) | type ToolExecutionProgressData struct method sessionEventData (line 1604) | func (*ToolExecutionProgressData) sessionEventData() {} type ToolExecutionStartData (line 1607) | type ToolExecutionStartData struct method sessionEventData (line 1625) | func (*ToolExecutionStartData) sessionEventData() {} type AbortData (line 1628) | type AbortData struct method sessionEventData (line 1633) | func (*AbortData) sessionEventData() {} type AssistantTurnEndData (line 1636) | type AssistantTurnEndData struct method sessionEventData (line 1641) | func (*AssistantTurnEndData) sessionEventData() {} type AssistantTurnStartData (line 1644) | type AssistantTurnStartData struct method sessionEventData (line 1651) | func (*AssistantTurnStartData) sessionEventData() {} type UserInputCompletedData (line 1654) | type UserInputCompletedData struct method sessionEventData (line 1663) | func (*UserInputCompletedData) sessionEventData() {} type UserInputRequestedData (line 1666) | type UserInputRequestedData struct method sessionEventData (line 1679) | func (*UserInputRequestedData) sessionEventData() {} type ToolUserRequestedData (line 1682) | type ToolUserRequestedData struct method sessionEventData (line 1691) | func (*ToolUserRequestedData) sessionEventData() {} type UserMessageData (line 1694) | type UserMessageData struct method sessionEventData (line 1715) | func (*UserMessageData) sessionEventData() {} type SessionWarningData (line 1718) | type SessionWarningData struct method sessionEventData (line 1727) | func (*SessionWarningData) sessionEventData() {} type SessionContextChangedData (line 1730) | type SessionContextChangedData struct method sessionEventData (line 1749) | func (*SessionContextChangedData) sessionEventData() {} type SessionWorkspaceFileChangedData (line 1752) | type SessionWorkspaceFileChangedData struct method sessionEventData (line 1759) | func (*SessionWorkspaceFileChangedData) sessionEventData() {} type ToolExecutionCompleteContent (line 1762) | type ToolExecutionCompleteContent struct type AssistantMessageToolRequest (line 1792) | type AssistantMessageToolRequest struct type UserMessageAttachment (line 1810) | type UserMessageAttachment struct type ShutdownCodeChanges (line 1842) | type ShutdownCodeChanges struct type PermissionPromptRequest (line 1852) | type PermissionPromptRequest struct type PermissionRequest (line 1910) | type PermissionRequest struct type UserMessageAttachmentSelectionDetailsEnd (line 1972) | type UserMessageAttachmentSelectionDetailsEnd struct type HookEndError (line 1980) | type HookEndError struct type ToolExecutionCompleteError (line 1988) | type ToolExecutionCompleteError struct type ToolExecutionCompleteContentResourceLinkIcon (line 1996) | type ToolExecutionCompleteContentResourceLinkIcon struct type ElicitationRequestedSchema (line 2008) | type ElicitationRequestedSchema struct type SystemMessageMetadata (line 2018) | type SystemMessageMetadata struct type UserMessageAttachmentFileLineRange (line 2026) | type UserMessageAttachmentFileLineRange struct type AssistantUsageCopilotUsage (line 2034) | type AssistantUsageCopilotUsage struct type CompactionCompleteCompactionTokensUsedCopilotUsage (line 2042) | type CompactionCompleteCompactionTokensUsedCopilotUsage struct type UserMessageAttachmentSelectionDetails (line 2050) | type UserMessageAttachmentSelectionDetails struct type HandoffRepository (line 2058) | type HandoffRepository struct type ShutdownModelMetricRequests (line 2068) | type ShutdownModelMetricRequests struct type UserMessageAttachmentSelectionDetailsStart (line 2076) | type UserMessageAttachmentSelectionDetailsStart struct type McpOauthRequiredStaticClientConfig (line 2084) | type McpOauthRequiredStaticClientConfig struct type SystemNotification (line 2094) | type SystemNotification struct type UserToolSessionApproval (line 2128) | type UserToolSessionApproval struct type PermissionResult (line 2140) | type PermissionResult struct type ShutdownModelMetricUsage (line 2164) | type ShutdownModelMetricUsage struct type CompactionCompleteCompactionTokensUsed (line 2178) | type CompactionCompleteCompactionTokensUsed struct type AssistantUsageCopilotUsageTokenDetail (line 2196) | type AssistantUsageCopilotUsageTokenDetail struct type CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail (line 2208) | type CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail struct type ToolExecutionCompleteResult (line 2220) | type ToolExecutionCompleteResult struct type CapabilitiesChangedUI (line 2230) | type CapabilitiesChangedUI struct type WorkingDirectoryContext (line 2236) | type WorkingDirectoryContext struct type AssistantUsageQuotaSnapshot (line 2255) | type AssistantUsageQuotaSnapshot struct type CommandsChangedCommand (line 2274) | type CommandsChangedCommand struct type CustomAgentsUpdatedAgent (line 2279) | type CustomAgentsUpdatedAgent struct type ExtensionsLoadedExtension (line 2298) | type ExtensionsLoadedExtension struct type McpServersLoadedServer (line 2309) | type McpServersLoadedServer struct type PermissionRequestShellCommand (line 2320) | type PermissionRequestShellCommand struct type PermissionRequestShellPossibleURL (line 2327) | type PermissionRequestShellPossibleURL struct type PermissionRule (line 2332) | type PermissionRule struct type ShutdownModelMetric (line 2339) | type ShutdownModelMetric struct type ShutdownModelMetricTokenDetail (line 2350) | type ShutdownModelMetricTokenDetail struct type ShutdownTokenDetail (line 2355) | type ShutdownTokenDetail struct type SkillsLoadedSkill (line 2360) | type SkillsLoadedSkill struct type McpServersLoadedServerStatus (line 2376) | type McpServersLoadedServerStatus constant McpServersLoadedServerStatusConnected (line 2379) | McpServersLoadedServerStatusConnected McpServersLoadedServerStatus =... constant McpServersLoadedServerStatusFailed (line 2380) | McpServersLoadedServerStatusFailed McpServersLoadedServerStatus =... constant McpServersLoadedServerStatusNeedsAuth (line 2381) | McpServersLoadedServerStatusNeedsAuth McpServersLoadedServerStatus =... constant McpServersLoadedServerStatusPending (line 2382) | McpServersLoadedServerStatusPending McpServersLoadedServerStatus =... constant McpServersLoadedServerStatusDisabled (line 2383) | McpServersLoadedServerStatusDisabled McpServersLoadedServerStatus =... constant McpServersLoadedServerStatusNotConfigured (line 2384) | McpServersLoadedServerStatusNotConfigured McpServersLoadedServerStatus =... type ExtensionsLoadedExtensionStatus (line 2388) | type ExtensionsLoadedExtensionStatus constant ExtensionsLoadedExtensionStatusRunning (line 2391) | ExtensionsLoadedExtensionStatusRunning ExtensionsLoadedExtensionStatus ... constant ExtensionsLoadedExtensionStatusDisabled (line 2392) | ExtensionsLoadedExtensionStatusDisabled ExtensionsLoadedExtensionStatus ... constant ExtensionsLoadedExtensionStatusFailed (line 2393) | ExtensionsLoadedExtensionStatusFailed ExtensionsLoadedExtensionStatus ... constant ExtensionsLoadedExtensionStatusStarting (line 2394) | ExtensionsLoadedExtensionStatusStarting ExtensionsLoadedExtensionStatus ... type ExtensionsLoadedExtensionSource (line 2398) | type ExtensionsLoadedExtensionSource constant ExtensionsLoadedExtensionSourceProject (line 2401) | ExtensionsLoadedExtensionSourceProject ExtensionsLoadedExtensionSource =... constant ExtensionsLoadedExtensionSourceUser (line 2402) | ExtensionsLoadedExtensionSourceUser ExtensionsLoadedExtensionSource =... type ElicitationRequestedMode (line 2406) | type ElicitationRequestedMode constant ElicitationRequestedModeForm (line 2409) | ElicitationRequestedModeForm ElicitationRequestedMode = "form" constant ElicitationRequestedModeURL (line 2410) | ElicitationRequestedModeURL ElicitationRequestedMode = "url" type WorkingDirectoryContextHostType (line 2414) | type WorkingDirectoryContextHostType constant WorkingDirectoryContextHostTypeGithub (line 2417) | WorkingDirectoryContextHostTypeGithub WorkingDirectoryContextHostType = ... constant WorkingDirectoryContextHostTypeAdo (line 2418) | WorkingDirectoryContextHostTypeAdo WorkingDirectoryContextHostType = ... type PermissionPromptRequestKind (line 2422) | type PermissionPromptRequestKind constant PermissionPromptRequestKindCommands (line 2425) | PermissionPromptRequestKindCommands PermissionPromptRequestKind = "com... constant PermissionPromptRequestKindWrite (line 2426) | PermissionPromptRequestKindWrite PermissionPromptRequestKind = "write" constant PermissionPromptRequestKindRead (line 2427) | PermissionPromptRequestKindRead PermissionPromptRequestKind = "read" constant PermissionPromptRequestKindMcp (line 2428) | PermissionPromptRequestKindMcp PermissionPromptRequestKind = "mcp" constant PermissionPromptRequestKindURL (line 2429) | PermissionPromptRequestKindURL PermissionPromptRequestKind = "url" constant PermissionPromptRequestKindMemory (line 2430) | PermissionPromptRequestKindMemory PermissionPromptRequestKind = "mem... constant PermissionPromptRequestKindCustomTool (line 2431) | PermissionPromptRequestKindCustomTool PermissionPromptRequestKind = "cus... constant PermissionPromptRequestKindPath (line 2432) | PermissionPromptRequestKindPath PermissionPromptRequestKind = "path" constant PermissionPromptRequestKindHook (line 2433) | PermissionPromptRequestKindHook PermissionPromptRequestKind = "hook" type PermissionRequestKind (line 2437) | type PermissionRequestKind constant PermissionRequestKindShell (line 2440) | PermissionRequestKindShell PermissionRequestKind = "shell" constant PermissionRequestKindWrite (line 2441) | PermissionRequestKindWrite PermissionRequestKind = "write" constant PermissionRequestKindRead (line 2442) | PermissionRequestKindRead PermissionRequestKind = "read" constant PermissionRequestKindMcp (line 2443) | PermissionRequestKindMcp PermissionRequestKind = "mcp" constant PermissionRequestKindURL (line 2444) | PermissionRequestKindURL PermissionRequestKind = "url" constant PermissionRequestKindMemory (line 2445) | PermissionRequestKindMemory PermissionRequestKind = "memory" constant PermissionRequestKindCustomTool (line 2446) | PermissionRequestKindCustomTool PermissionRequestKind = "custom-tool" constant PermissionRequestKindHook (line 2447) | PermissionRequestKindHook PermissionRequestKind = "hook" type PermissionResultKind (line 2451) | type PermissionResultKind constant PermissionResultKindApproved (line 2454) | PermissionResultKindApproved Permi... constant PermissionResultKindApprovedForSession (line 2455) | PermissionResultKindApprovedForSession Permi... constant PermissionResultKindApprovedForLocation (line 2456) | PermissionResultKindApprovedForLocation Permi... constant PermissionResultKindCancelled (line 2457) | PermissionResultKindCancelled Permi... constant PermissionResultKindDeniedByRules (line 2458) | PermissionResultKindDeniedByRules Permi... constant PermissionResultKindDeniedNoApprovalRuleAndCouldNotRequestFromUser (line 2459) | PermissionResultKindDeniedNoApprovalRuleAndCouldNotRequestFromUser Permi... constant PermissionResultKindDeniedInteractivelyByUser (line 2460) | PermissionResultKindDeniedInteractivelyByUser Permi... constant PermissionResultKindDeniedByContentExclusionPolicy (line 2461) | PermissionResultKindDeniedByContentExclusionPolicy Permi... constant PermissionResultKindDeniedByPermissionRequestHook (line 2462) | PermissionResultKindDeniedByPermissionRequestHook Permi... type UserToolSessionApprovalKind (line 2466) | type UserToolSessionApprovalKind constant UserToolSessionApprovalKindCommands (line 2469) | UserToolSessionApprovalKindCommands UserToolSessionApprovalKind = "com... constant UserToolSessionApprovalKindRead (line 2470) | UserToolSessionApprovalKindRead UserToolSessionApprovalKind = "read" constant UserToolSessionApprovalKindWrite (line 2471) | UserToolSessionApprovalKindWrite UserToolSessionApprovalKind = "write" constant UserToolSessionApprovalKindMcp (line 2472) | UserToolSessionApprovalKindMcp UserToolSessionApprovalKind = "mcp" constant UserToolSessionApprovalKindMemory (line 2473) | UserToolSessionApprovalKindMemory UserToolSessionApprovalKind = "mem... constant UserToolSessionApprovalKindCustomTool (line 2474) | UserToolSessionApprovalKindCustomTool UserToolSessionApprovalKind = "cus... type SystemMessageRole (line 2478) | type SystemMessageRole constant SystemMessageRoleSystem (line 2481) | SystemMessageRoleSystem SystemMessageRole = "system" constant SystemMessageRoleDeveloper (line 2482) | SystemMessageRoleDeveloper SystemMessageRole = "developer" type McpServerStatusChangedStatus (line 2486) | type McpServerStatusChangedStatus constant McpServerStatusChangedStatusConnected (line 2489) | McpServerStatusChangedStatusConnected McpServerStatusChangedStatus =... constant McpServerStatusChangedStatusFailed (line 2490) | McpServerStatusChangedStatusFailed McpServerStatusChangedStatus =... constant McpServerStatusChangedStatusNeedsAuth (line 2491) | McpServerStatusChangedStatusNeedsAuth McpServerStatusChangedStatus =... constant McpServerStatusChangedStatusPending (line 2492) | McpServerStatusChangedStatusPending McpServerStatusChangedStatus =... constant McpServerStatusChangedStatusDisabled (line 2493) | McpServerStatusChangedStatusDisabled McpServerStatusChangedStatus =... constant McpServerStatusChangedStatusNotConfigured (line 2494) | McpServerStatusChangedStatusNotConfigured McpServerStatusChangedStatus =... type HandoffSourceType (line 2498) | type HandoffSourceType constant HandoffSourceTypeRemote (line 2501) | HandoffSourceTypeRemote HandoffSourceType = "remote" constant HandoffSourceTypeLocal (line 2502) | HandoffSourceTypeLocal HandoffSourceType = "local" type UserMessageAgentMode (line 2506) | type UserMessageAgentMode constant UserMessageAgentModeInteractive (line 2509) | UserMessageAgentModeInteractive UserMessageAgentMode = "interactive" constant UserMessageAgentModePlan (line 2510) | UserMessageAgentModePlan UserMessageAgentMode = "plan" constant UserMessageAgentModeAutopilot (line 2511) | UserMessageAgentModeAutopilot UserMessageAgentMode = "autopilot" constant UserMessageAgentModeShell (line 2512) | UserMessageAgentModeShell UserMessageAgentMode = "shell" type PlanChangedOperation (line 2516) | type PlanChangedOperation constant PlanChangedOperationCreate (line 2519) | PlanChangedOperationCreate PlanChangedOperation = "create" constant PlanChangedOperationUpdate (line 2520) | PlanChangedOperationUpdate PlanChangedOperation = "update" constant PlanChangedOperationDelete (line 2521) | PlanChangedOperationDelete PlanChangedOperation = "delete" type ElicitationCompletedAction (line 2525) | type ElicitationCompletedAction constant ElicitationCompletedActionAccept (line 2528) | ElicitationCompletedActionAccept ElicitationCompletedAction = "accept" constant ElicitationCompletedActionDecline (line 2529) | ElicitationCompletedActionDecline ElicitationCompletedAction = "decline" constant ElicitationCompletedActionCancel (line 2530) | ElicitationCompletedActionCancel ElicitationCompletedAction = "cancel" type ToolExecutionCompleteContentResourceLinkIconTheme (line 2534) | type ToolExecutionCompleteContentResourceLinkIconTheme constant ToolExecutionCompleteContentResourceLinkIconThemeLight (line 2537) | ToolExecutionCompleteContentResourceLinkIconThemeLight ToolExecutionComp... constant ToolExecutionCompleteContentResourceLinkIconThemeDark (line 2538) | ToolExecutionCompleteContentResourceLinkIconThemeDark ToolExecutionComp... type AssistantMessageToolRequestType (line 2542) | type AssistantMessageToolRequestType constant AssistantMessageToolRequestTypeFunction (line 2545) | AssistantMessageToolRequestTypeFunction AssistantMessageToolRequestType ... constant AssistantMessageToolRequestTypeCustom (line 2546) | AssistantMessageToolRequestTypeCustom AssistantMessageToolRequestType ... type SystemNotificationType (line 2550) | type SystemNotificationType constant SystemNotificationTypeAgentCompleted (line 2553) | SystemNotificationTypeAgentCompleted SystemNotificationType = "a... constant SystemNotificationTypeAgentIdle (line 2554) | SystemNotificationTypeAgentIdle SystemNotificationType = "a... constant SystemNotificationTypeNewInboxMessage (line 2555) | SystemNotificationTypeNewInboxMessage SystemNotificationType = "n... constant SystemNotificationTypeShellCompleted (line 2556) | SystemNotificationTypeShellCompleted SystemNotificationType = "s... constant SystemNotificationTypeShellDetachedCompleted (line 2557) | SystemNotificationTypeShellDetachedCompleted SystemNotificationType = "s... constant SystemNotificationTypeInstructionDiscovered (line 2558) | SystemNotificationTypeInstructionDiscovered SystemNotificationType = "i... type ToolExecutionCompleteContentType (line 2562) | type ToolExecutionCompleteContentType constant ToolExecutionCompleteContentTypeText (line 2565) | ToolExecutionCompleteContentTypeText ToolExecutionCompleteConten... constant ToolExecutionCompleteContentTypeTerminal (line 2566) | ToolExecutionCompleteContentTypeTerminal ToolExecutionCompleteConten... constant ToolExecutionCompleteContentTypeImage (line 2567) | ToolExecutionCompleteContentTypeImage ToolExecutionCompleteConten... constant ToolExecutionCompleteContentTypeAudio (line 2568) | ToolExecutionCompleteContentTypeAudio ToolExecutionCompleteConten... constant ToolExecutionCompleteContentTypeResourceLink (line 2569) | ToolExecutionCompleteContentTypeResourceLink ToolExecutionCompleteConten... constant ToolExecutionCompleteContentTypeResource (line 2570) | ToolExecutionCompleteContentTypeResource ToolExecutionCompleteConten... type UserMessageAttachmentType (line 2574) | type UserMessageAttachmentType constant UserMessageAttachmentTypeFile (line 2577) | UserMessageAttachmentTypeFile UserMessageAttachmentType = "file" constant UserMessageAttachmentTypeDirectory (line 2578) | UserMessageAttachmentTypeDirectory UserMessageAttachmentType = "di... constant UserMessageAttachmentTypeSelection (line 2579) | UserMessageAttachmentTypeSelection UserMessageAttachmentType = "se... constant UserMessageAttachmentTypeGithubReference (line 2580) | UserMessageAttachmentTypeGithubReference UserMessageAttachmentType = "gi... constant UserMessageAttachmentTypeBlob (line 2581) | UserMessageAttachmentTypeBlob UserMessageAttachmentType = "blob" type UserMessageAttachmentGithubReferenceType (line 2585) | type UserMessageAttachmentGithubReferenceType constant UserMessageAttachmentGithubReferenceTypeIssue (line 2588) | UserMessageAttachmentGithubReferenceTypeIssue UserMessageAttachment... constant UserMessageAttachmentGithubReferenceTypePr (line 2589) | UserMessageAttachmentGithubReferenceTypePr UserMessageAttachment... constant UserMessageAttachmentGithubReferenceTypeDiscussion (line 2590) | UserMessageAttachmentGithubReferenceTypeDiscussion UserMessageAttachment... type PermissionPromptRequestPathAccessKind (line 2594) | type PermissionPromptRequestPathAccessKind constant PermissionPromptRequestPathAccessKindRead (line 2597) | PermissionPromptRequestPathAccessKindRead PermissionPromptRequestPathAc... constant PermissionPromptRequestPathAccessKindShell (line 2598) | PermissionPromptRequestPathAccessKindShell PermissionPromptRequestPathAc... constant PermissionPromptRequestPathAccessKindWrite (line 2599) | PermissionPromptRequestPathAccessKindWrite PermissionPromptRequestPathAc... type PermissionPromptRequestMemoryDirection (line 2603) | type PermissionPromptRequestMemoryDirection constant PermissionPromptRequestMemoryDirectionUpvote (line 2606) | PermissionPromptRequestMemoryDirectionUpvote PermissionPromptRequestMe... constant PermissionPromptRequestMemoryDirectionDownvote (line 2607) | PermissionPromptRequestMemoryDirectionDownvote PermissionPromptRequestMe... type PermissionRequestMemoryDirection (line 2611) | type PermissionRequestMemoryDirection constant PermissionRequestMemoryDirectionUpvote (line 2614) | PermissionRequestMemoryDirectionUpvote PermissionRequestMemoryDirectio... constant PermissionRequestMemoryDirectionDownvote (line 2615) | PermissionRequestMemoryDirectionDownvote PermissionRequestMemoryDirectio... type ModelCallFailureSource (line 2619) | type ModelCallFailureSource constant ModelCallFailureSourceTopLevel (line 2622) | ModelCallFailureSourceTopLevel ModelCallFailureSource = "top_level" constant ModelCallFailureSourceSubagent (line 2623) | ModelCallFailureSourceSubagent ModelCallFailureSource = "subagent" constant ModelCallFailureSourceMcpSampling (line 2624) | ModelCallFailureSourceMcpSampling ModelCallFailureSource = "mcp_sampling" type SystemNotificationAgentCompletedStatus (line 2628) | type SystemNotificationAgentCompletedStatus constant SystemNotificationAgentCompletedStatusCompleted (line 2631) | SystemNotificationAgentCompletedStatusCompleted SystemNotificationAgentC... constant SystemNotificationAgentCompletedStatusFailed (line 2632) | SystemNotificationAgentCompletedStatusFailed SystemNotificationAgentC... type WorkspaceFileChangedOperation (line 2636) | type WorkspaceFileChangedOperation constant WorkspaceFileChangedOperationCreate (line 2639) | WorkspaceFileChangedOperationCreate WorkspaceFileChangedOperation = "cre... constant WorkspaceFileChangedOperationUpdate (line 2640) | WorkspaceFileChangedOperationUpdate WorkspaceFileChangedOperation = "upd... type ShutdownType (line 2644) | type ShutdownType constant ShutdownTypeRoutine (line 2647) | ShutdownTypeRoutine ShutdownType = "routine" constant ShutdownTypeError (line 2648) | ShutdownTypeError ShutdownType = "error" type PermissionPromptRequestMemoryAction (line 2652) | type PermissionPromptRequestMemoryAction constant PermissionPromptRequestMemoryActionStore (line 2655) | PermissionPromptRequestMemoryActionStore PermissionPromptRequestMemoryAc... constant PermissionPromptRequestMemoryActionVote (line 2656) | PermissionPromptRequestMemoryActionVote PermissionPromptRequestMemoryAc... type PermissionRequestMemoryAction (line 2660) | type PermissionRequestMemoryAction constant PermissionRequestMemoryActionStore (line 2663) | PermissionRequestMemoryActionStore PermissionRequestMemoryAction = "store" constant PermissionRequestMemoryActionVote (line 2664) | PermissionRequestMemoryActionVote PermissionRequestMemoryAction = "vote" constant AttachmentTypeFile (line 2677) | AttachmentTypeFile = UserMessageAttachmentTypeFile constant AttachmentTypeDirectory (line 2678) | AttachmentTypeDirectory = UserMessageAttachmentTypeDirectory constant AttachmentTypeSelection (line 2679) | AttachmentTypeSelection = UserMessageAttachmentTypeSelection constant AttachmentTypeGithubReference (line 2680) | AttachmentTypeGithubReference = UserMessageAttachmentTypeGithubReference constant AttachmentTypeBlob (line 2681) | AttachmentTypeBlob = UserMessageAttachmentTypeBlob FILE: go/internal/e2e/agent_and_compact_rpc_e2e_test.go function TestAgentSelectionRpcE2E (line 11) | func TestAgentSelectionRpcE2E(t *testing.T) { function TestSessionCompactionRpcE2E (line 314) | func TestSessionCompactionRpcE2E(t *testing.T) { FILE: go/internal/e2e/ask_user_e2e_test.go function TestAskUserE2E (line 11) | func TestAskUserE2E(t *testing.T) { FILE: go/internal/e2e/builtin_tools_e2e_test.go function TestBuiltinToolsE2E (line 14) | func TestBuiltinToolsE2E(t *testing.T) { function assistantContent (line 239) | func assistantContent(t *testing.T, event *copilot.SessionEvent) string { FILE: go/internal/e2e/client_api_e2e_test.go function TestClientApiE2E (line 12) | func TestClientApiE2E(t *testing.T) { FILE: go/internal/e2e/client_e2e_test.go function TestClientE2E (line 11) | func TestClientE2E(t *testing.T) { FILE: go/internal/e2e/client_lifecycle_e2e_test.go function TestClientLifecycleE2E (line 13) | func TestClientLifecycleE2E(t *testing.T) { FILE: go/internal/e2e/client_options_e2e_test.go function TestClientOptionsE2E (line 19) | func TestClientOptionsE2E(t *testing.T) { function TestClientOptionsUnit (line 235) | func TestClientOptionsUnit(t *testing.T) { function getAvailableTcpPort (line 315) | func getAvailableTcpPort(t *testing.T) int { function assertPanics (line 325) | func assertPanics(t *testing.T, fn func()) { function containsStringE (line 335) | func containsStringE(slice []string, s string) bool { function assertArgValue (line 344) | func assertArgValue(t *testing.T, args []string, name, expected string) { type capturedCli (line 362) | type capturedCli struct type capturedRequest (line 369) | type capturedRequest struct function readCapture (line 374) | func readCapture(t *testing.T, path string) capturedCli { constant fakeStdioCliScript (line 389) | fakeStdioCliScript = ` FILE: go/internal/e2e/commands_and_elicitation_e2e_test.go function TestCommandsE2E (line 14) | func TestCommandsE2E(t *testing.T) { function TestUIElicitationE2E (line 168) | func TestUIElicitationE2E(t *testing.T) { function TestUIElicitationCallbackE2E (line 215) | func TestUIElicitationCallbackE2E(t *testing.T) { function schemaHasProperty (line 486) | func schemaHasProperty(schema map[string]any, name string) bool { function TestUIElicitationMultiClientE2E (line 508) | func TestUIElicitationMultiClientE2E(t *testing.T) { FILE: go/internal/e2e/compaction_e2e_test.go function TestCompactionE2E (line 11) | func TestCompactionE2E(t *testing.T) { FILE: go/internal/e2e/error_resilience_e2e_test.go function TestErrorResilienceE2E (line 12) | func TestErrorResilienceE2E(t *testing.T) { FILE: go/internal/e2e/event_fidelity_e2e_test.go function TestEventFidelityE2E (line 14) | func TestEventFidelityE2E(t *testing.T) { function snapshotEventFidelityEvents (line 213) | func snapshotEventFidelityEvents(mu *sync.Mutex, events *[]copilot.Sessi... function eventFidelityTypes (line 222) | func eventFidelityTypes(events []copilot.SessionEvent) []copilot.Session... function containsEventFidelityType (line 230) | func containsEventFidelityType(types []copilot.SessionEventType, eventTy... function firstEventFidelityTypeIndex (line 234) | func firstEventFidelityTypeIndex(types []copilot.SessionEventType, event... function lastEventFidelityTypeIndex (line 243) | func lastEventFidelityTypeIndex(types []copilot.SessionEventType, eventT... function firstUserMessageEventFidelityData (line 252) | func firstUserMessageEventFidelityData(events []copilot.SessionEvent) *c... function firstAssistantMessageEventFidelityData (line 261) | func firstAssistantMessageEventFidelityData(events []copilot.SessionEven... FILE: go/internal/e2e/hooks_e2e_test.go function TestHooksE2E (line 13) | func TestHooksE2E(t *testing.T) { FILE: go/internal/e2e/hooks_extended_e2e_test.go function TestHooksExtendedE2E (line 20) | func TestHooksExtendedE2E(t *testing.T) { FILE: go/internal/e2e/mcp_and_agents_e2e_test.go function TestMCPServersE2E (line 12) | func TestMCPServersE2E(t *testing.T) { function TestCustomAgentsE2E (line 185) | func TestCustomAgentsE2E(t *testing.T) { function TestCombinedConfigurationE2E (line 387) | func TestCombinedConfigurationE2E(t *testing.T) { FILE: go/internal/e2e/multi_client_e2e_test.go function TestMultiClientE2E (line 16) | func TestMultiClientE2E(t *testing.T) { function filterEventsByType (line 505) | func filterEventsByType(events []copilot.SessionEvent, eventType copilot... function waitForEventsByType (line 517) | func waitForEventsByType(t *testing.T, mu *sync.Mutex, events *[]copilot... FILE: go/internal/e2e/multi_turn_e2e_test.go function TestMultiTurnE2E (line 13) | func TestMultiTurnE2E(t *testing.T) { FILE: go/internal/e2e/pending_work_resume_e2e_test.go constant pendingWorkTimeout (line 17) | pendingWorkTimeout = 60 * time.Second function TestPendingWorkResumeE2E (line 25) | func TestPendingWorkResumeE2E(t *testing.T) { function serverCliURL (line 469) | func serverCliURL(t *testing.T, server *copilot.Client) string { function startTcpServer (line 480) | func startTcpServer(t *testing.T, ctx *testharness.TestContext) (*copilo... type collectedExternalRequests (line 496) | type collectedExternalRequests struct function waitForExternalToolRequests (line 505) | func waitForExternalToolRequests(session *copilot.Session, names []strin... function waitForExternalToolResults (line 542) | func waitForExternalToolResults(c *collectedExternalRequests, timeout ti... FILE: go/internal/e2e/per_session_auth_e2e_test.go function TestPerSessionAuthE2E (line 10) | func TestPerSessionAuthE2E(t *testing.T) { FILE: go/internal/e2e/permissions_e2e_test.go function TestPermissionsE2E (line 16) | func TestPermissionsE2E(t *testing.T) { type atomicBool (line 413) | type atomicBool struct method Set (line 418) | func (a *atomicBool) Set(v bool) { method Get (line 424) | func (a *atomicBool) Get() bool { FILE: go/internal/e2e/rpc_e2e_test.go function TestRpcE2E (line 12) | func TestRpcE2E(t *testing.T) { function TestSessionRpcE2E (line 119) | func TestSessionRpcE2E(t *testing.T) { function containsString (line 377) | func containsString(slice []string, str string) bool { FILE: go/internal/e2e/rpc_mcp_and_skills_e2e_test.go function TestRpcMcpAndSkillsE2E (line 17) | func TestRpcMcpAndSkillsE2E(t *testing.T) { function createMcpSkillsRpcDirectory (line 230) | func createMcpSkillsRpcDirectory(t *testing.T, workDir, baseName, skillN... function writeSkillFile (line 240) | func writeSkillFile(t *testing.T, skillsDir, skillName, description stri... function assertSkillState (line 254) | func assertSkillState(t *testing.T, list *rpc.SkillList, name string, en... function assertRpcError (line 276) | func assertRpcError(t *testing.T, name string, action func() error, expe... FILE: go/internal/e2e/rpc_mcp_config_e2e_test.go function TestRpcMcpConfigE2E (line 13) | func TestRpcMcpConfigE2E(t *testing.T) { FILE: go/internal/e2e/rpc_server_e2e_test.go function TestRpcServerE2E (line 16) | func TestRpcServerE2E(t *testing.T) { function newAuthenticatedClient (line 217) | func newAuthenticatedClient(ctx *testharness.TestContext, token string) ... function registerProxyUser (line 225) | func registerProxyUser(t *testing.T, ctx *testharness.TestContext, token... function findServerSkill (line 241) | func findServerSkill(skills []rpc.ServerSkill, name string) *rpc.ServerS... FILE: go/internal/e2e/rpc_session_state_e2e_test.go function TestRpcSessionStateE2E (line 16) | func TestRpcSessionStateE2E(t *testing.T) { type roleContent (line 425) | type roleContent struct function conversationMessages (line 430) | func conversationMessages(events []copilot.SessionEvent) []roleContent { function containsConversation (line 443) | func containsConversation(msgs []roleContent, role, contentNeedle string... FILE: go/internal/e2e/rpc_shell_and_fleet_e2e_test.go function TestRpcShellAndFleetE2E (line 20) | func TestRpcShellAndFleetE2E(t *testing.T) { function randomHex (line 164) | func randomHex(t *testing.T) string { function writeFileCommand (line 173) | func writeFileCommand(markerPath, marker string) string { function waitForFileText (line 180) | func waitForFileText(t *testing.T, path, expected string) { function waitForFleetCompletion (line 192) | func waitForFleetCompletion(t *testing.T, session *copilot.Session, cont... FILE: go/internal/e2e/rpc_tasks_and_handlers_e2e_test.go function TestRpcTasksAndHandlersE2E (line 13) | func TestRpcTasksAndHandlersE2E(t *testing.T) { FILE: go/internal/e2e/session_config_e2e_test.go function hasImageURLContent (line 19) | func hasImageURLContent(exchanges []testharness.ParsedHttpExchange) bool { function TestSessionConfigE2E (line 39) | func TestSessionConfigE2E(t *testing.T) { function TestSessionConfigExtrasE2E (line 178) | func TestSessionConfigExtrasE2E(t *testing.T) { function createProxyProvider (line 483) | func createProxyProvider(ctx *testharness.TestContext, headerName, heade... function newUUID (line 495) | func newUUID(t *testing.T) string { function assistantMessageContains (line 508) | func assistantMessageContains(message *copilot.SessionEvent, substring s... FILE: go/internal/e2e/session_e2e_test.go function TestSessionE2E (line 18) | func TestSessionE2E(t *testing.T) { function getSystemMessage (line 1052) | func getSystemMessage(exchange testharness.ParsedHttpExchange) string { function TestSetModelWithReasoningEffortE2E (line 1061) | func TestSetModelWithReasoningEffortE2E(t *testing.T) { function TestSessionBlobAttachmentE2E (line 1105) | func TestSessionBlobAttachmentE2E(t *testing.T) { function getToolNames (line 1152) | func getToolNames(exchange testharness.ParsedHttpExchange) []string { function contains (line 1160) | func contains(slice []string, item string) bool { function TestSessionLogE2E (line 1169) | func TestSessionLogE2E(t *testing.T) { function waitForEvent (line 1257) | func waitForEvent(t *testing.T, mu *sync.Mutex, events *[]copilot.Sessio... function getEventMessage (line 1276) | func getEventMessage(evt copilot.SessionEvent) string { function TestSessionAttachmentsE2E (line 1292) | func TestSessionAttachmentsE2E(t *testing.T) { function lastUserAttachment (line 1502) | func lastUserAttachment(t *testing.T, session *copilot.Session) copilot.... function TestSessionMessageOptionsE2E (line 1526) | func TestSessionMessageOptionsE2E(t *testing.T) { function exchangeHasHeader (line 1613) | func exchangeHasHeader(exchange testharness.ParsedHttpExchange, name, ex... function TestSessionSetModelOnExistingE2E (line 1626) | func TestSessionSetModelOnExistingE2E(t *testing.T) { FILE: go/internal/e2e/session_fs_e2e_test.go function TestSessionFsE2E (line 18) | func TestSessionFsE2E(t *testing.T) { function createSessionStatePath (line 341) | func createSessionStatePath(t *testing.T) string { type testSessionFsHandler (line 349) | type testSessionFsHandler struct method ReadFile (line 354) | func (h *testSessionFsHandler) ReadFile(path string) (string, error) { method WriteFile (line 362) | func (h *testSessionFsHandler) WriteFile(path string, content string, ... method AppendFile (line 374) | func (h *testSessionFsHandler) AppendFile(path string, content string,... method Exists (line 392) | func (h *testSessionFsHandler) Exists(path string) (bool, error) { method Stat (line 403) | func (h *testSessionFsHandler) Stat(path string) (*copilot.SessionFsFi... method Mkdir (line 418) | func (h *testSessionFsHandler) Mkdir(path string, recursive bool, mode... method Readdir (line 430) | func (h *testSessionFsHandler) Readdir(path string) ([]string, error) { method ReaddirWithTypes (line 442) | func (h *testSessionFsHandler) ReaddirWithTypes(path string) ([]rpc.Se... method Rm (line 461) | func (h *testSessionFsHandler) Rm(path string, recursive bool, force b... method Rename (line 475) | func (h *testSessionFsHandler) Rename(src string, dest string) error { function providerPath (line 483) | func providerPath(root string, sessionID string, path string) string { function findToolCallResult (line 491) | func findToolCallResult(messages []copilot.SessionEvent, toolName string... function findToolName (line 502) | func findToolName(messages []copilot.SessionEvent, toolCallID string) st... function waitForFile (line 512) | func waitForFile(path string, timeout time.Duration) error { function waitForFileContent (line 523) | func waitForFileContent(path string, needle string, timeout time.Duratio... function TestSessionFsHandlerOperationsE2E (line 538) | func TestSessionFsHandlerOperationsE2E(t *testing.T) { function sliceContains (line 648) | func sliceContains(slice []string, value string) bool { FILE: go/internal/e2e/skills_e2e_test.go constant skillMarker (line 14) | skillMarker = "PINEAPPLE_COCONUT_42" function cleanSkillsDir (line 16) | func cleanSkillsDir(t *testing.T, workDir string) { function createTestSkillDir (line 23) | func createTestSkillDir(t *testing.T, workDir string, marker string) str... function TestSkillsE2E (line 50) | func TestSkillsE2E(t *testing.T) { FILE: go/internal/e2e/streaming_fidelity_e2e_test.go function TestStreamingFidelityE2E (line 12) | func TestStreamingFidelityE2E(t *testing.T) { FILE: go/internal/e2e/suspend_e2e_test.go constant suspendTimeout (line 14) | suspendTimeout = 60 * time.Second function TestSuspendE2E (line 16) | func TestSuspendE2E(t *testing.T) { function suspendSession (line 238) | func suspendSession(ctx context.Context, session *copilot.Session) error { FILE: go/internal/e2e/system_message_transform_e2e_test.go function TestSystemMessageTransformE2E (line 17) | func TestSystemMessageTransformE2E(t *testing.T) { FILE: go/internal/e2e/telemetry_e2e_test.go function TestTelemetryE2E (line 17) | func TestTelemetryE2E(t *testing.T) { function readTelemetryEntries (line 185) | func readTelemetryEntries(t *testing.T, path string, timeout time.Durati... function telemetryType (line 214) | func telemetryType(e map[string]any) string { return stringProp(e, "type... function stringProp (line 216) | func stringProp(e map[string]any, name string) string { function stringAttr (line 233) | func stringAttr(e map[string]any, name string) string { function instrumentationScopeName (line 251) | func instrumentationScopeName(e map[string]any) string { function statusCode (line 262) | func statusCode(e map[string]any) int { function isRootSpan (line 276) | func isRootSpan(e map[string]any) bool { function findSpanWithOperation (line 281) | func findSpanWithOperation(spans []map[string]any, op string) map[string... function TestTelemetryConfigUnit (line 303) | func TestTelemetryConfigUnit(t *testing.T) { FILE: go/internal/e2e/testharness/context.go function CLIPath (line 21) | func CLIPath() string { type TestContext (line 40) | type TestContext struct method ConfigureForTest (line 102) | func (c *TestContext) ConfigureForTest(t *testing.T) { method Close (line 139) | func (c *TestContext) Close(testFailed bool) { method GetExchanges (line 152) | func (c *TestContext) GetExchanges() ([]ParsedHttpExchange, error) { method SetCopilotUserByToken (line 157) | func (c *TestContext) SetCopilotUserByToken(token string, response map... method Env (line 162) | func (c *TestContext) Env() []string { method NewClient (line 177) | func (c *TestContext) NewClient(opts ...func(*copilot.ClientOptions)) ... function NewTestContext (line 50) | func NewTestContext(t *testing.T) *TestContext { function fileExists (line 196) | func fileExists(path string) bool { FILE: go/internal/e2e/testharness/helper.go function GetFinalAssistantMessage (line 14) | func GetFinalAssistantMessage(ctx context.Context, session *copilot.Sess... function GetNextEventOfType (line 58) | func GetNextEventOfType(session *copilot.Session, eventType copilot.Sess... function getExistingFinalResponse (line 92) | func getExistingFinalResponse(ctx context.Context, session *copilot.Sess... FILE: go/internal/e2e/testharness/proxy.go type CapiProxy (line 19) | type CapiProxy struct method Start (line 31) | func (p *CapiProxy) Start() (string, error) { method Stop (line 78) | func (p *CapiProxy) Stop() error { method StopWithOptions (line 84) | func (p *CapiProxy) StopWithOptions(skipWritingCache bool) error { method Configure (line 114) | func (p *CapiProxy) Configure(filePath, workDir string) error { method GetExchanges (line 138) | func (p *CapiProxy) GetExchanges() ([]ParsedHttpExchange, error) { method URL (line 251) | func (p *CapiProxy) URL() string { method SetCopilotUserByToken (line 258) | func (p *CapiProxy) SetCopilotUserByToken(token string, response map[s... function NewCapiProxy (line 26) | func NewCapiProxy() *CapiProxy { type ParsedHttpExchange (line 162) | type ParsedHttpExchange struct type ChatCompletionRequest (line 169) | type ChatCompletionRequest struct type ChatCompletionMessage (line 176) | type ChatCompletionMessage struct method UnmarshalJSON (line 186) | func (m *ChatCompletionMessage) UnmarshalJSON(data []byte) error { type ToolCall (line 209) | type ToolCall struct type FunctionCall (line 216) | type FunctionCall struct type ChatCompletionTool (line 225) | type ChatCompletionTool struct type ChatCompletionToolFunction (line 231) | type ChatCompletionToolFunction struct type ChatCompletionResponse (line 237) | type ChatCompletionResponse struct type ChatCompletionChoice (line 244) | type ChatCompletionChoice struct FILE: go/internal/e2e/tool_results_e2e_test.go function TestToolResultsE2E (line 11) | func TestToolResultsE2E(t *testing.T) { FILE: go/internal/e2e/tools_e2e_test.go function TestToolsE2E (line 15) | func TestToolsE2E(t *testing.T) { FILE: go/internal/embeddedcli/embeddedcli.go type Config (line 24) | type Config struct function Setup (line 34) | func Setup(cfg Config) { function install (line 71) | func install() (path string) { function installAt (line 102) | func installAt(installDir string) (string, error) { function versionedBinaryPath (line 158) | func versionedBinaryPath(dir, binaryName, version string) string { function sanitizeVersion (line 168) | func sanitizeVersion(version string) string { function hashFile (line 191) | func hashFile(path string) ([]byte, error) { FILE: go/internal/embeddedcli/embeddedcli_test.go function resetGlobals (line 13) | func resetGlobals() { function mustPanic (line 21) | func mustPanic(t *testing.T, fn func()) { function binaryNameForOS (line 31) | func binaryNameForOS() string { function TestSetupPanicsOnNilCli (line 39) | func TestSetupPanicsOnNilCli(t *testing.T) { function TestSetupPanicsOnSecondCall (line 44) | func TestSetupPanicsOnSecondCall(t *testing.T) { function TestInstallAtWritesBinaryAndLicense (line 53) | func TestInstallAtWritesBinaryAndLicense(t *testing.T) { function TestInstallAtExistingBinaryHashMismatch (line 99) | func TestInstallAtExistingBinaryHashMismatch(t *testing.T) { function TestSanitizeVersion (line 122) | func TestSanitizeVersion(t *testing.T) { function TestVersionedBinaryPath (line 130) | func TestVersionedBinaryPath(t *testing.T) { FILE: go/internal/flock/flock.go function Acquire (line 7) | func Acquire(path string) (func() error, error) { FILE: go/internal/flock/flock_other.go function lockFile (line 10) | func lockFile(_ *os.File) error { function unlockFile (line 14) | func unlockFile(_ *os.File) (err error) { FILE: go/internal/flock/flock_test.go function TestAcquireReleaseCreatesFile (line 12) | func TestAcquireReleaseCreatesFile(t *testing.T) { function TestLockBlocksUntilRelease (line 35) | func TestLockBlocksUntilRelease(t *testing.T) { FILE: go/internal/flock/flock_unix.go function lockFile (line 10) | func lockFile(f *os.File) (err error) { function unlockFile (line 20) | func unlockFile(f *os.File) (err error) { FILE: go/internal/flock/flock_windows.go constant LOCKFILE_EXCLUSIVE_LOCK (line 17) | LOCKFILE_EXCLUSIVE_LOCK = 0x00000002 function lockFile (line 19) | func lockFile(f *os.File) error { function unlockFile (line 44) | func unlockFile(f *os.File) error { FILE: go/internal/jsonrpc2/frame.go type headerReader (line 13) | type headerReader struct method Read (line 24) | func (r *headerReader) Read() ([]byte, error) { function newHeaderReader (line 17) | func newHeaderReader(r io.Reader) *headerReader { type headerWriter (line 77) | type headerWriter struct method Write (line 86) | func (w *headerWriter) Write(data []byte) error { function newHeaderWriter (line 81) | func newHeaderWriter(w io.Writer) *headerWriter { FILE: go/internal/jsonrpc2/jsonrpc2.go constant version (line 15) | version = "2.0" type Error (line 27) | type Error struct method Error (line 33) | func (e *Error) Error() string { type Request (line 38) | type Request struct method IsCall (line 45) | func (r *Request) IsCall() bool { type Response (line 50) | type Response struct type NotificationHandler (line 58) | type NotificationHandler type RequestHandler (line 61) | type RequestHandler type Client (line 64) | type Client struct method SetProcessDone (line 96) | func (c *Client) SetProcessDone(done chan struct{}, errPtr *error) { method getProcessError (line 110) | func (c *Client) getProcessError() error { method Start (line 117) | func (c *Client) Start() { method Stop (line 124) | func (c *Client) Stop() { method SetRequestHandler (line 191) | func (c *Client) SetRequestHandler(method string, handler RequestHandl... method Request (line 202) | func (c *Client) Request(method string, params any) (json.RawMessage, ... method sendMessage (line 285) | func (c *Client) sendMessage(message any) error { method SetOnClose (line 298) | func (c *Client) SetOnClose(fn func()) { method readLoop (line 303) | func (c *Client) readLoop() { method handleResponse (line 342) | func (c *Client) handleResponse(response *Response) { method handleRequest (line 359) | func (c *Client) handleRequest(request *Request) { method sendResponse (line 399) | func (c *Client) sendResponse(id json.RawMessage, result json.RawMessa... method sendErrorResponse (line 410) | func (c *Client) sendErrorResponse(id json.RawMessage, rpcErr *Error) { function NewClient (line 81) | func NewClient(stdin io.WriteCloser, stdout io.ReadCloser) *Client { function NotificationHandlerFor (line 139) | func NotificationHandlerFor[In any](handler func(params In)) RequestHand... function RequestHandlerFor (line 160) | func RequestHandlerFor[In, Out any](handler func(params In) (Out, *Error... function generateUUID (line 422) | func generateUUID() string { function decodeMessage (line 432) | func decodeMessage(data []byte) (any, error) { FILE: go/internal/jsonrpc2/jsonrpc2_test.go function TestOnCloseCalledOnUnexpectedExit (line 10) | func TestOnCloseCalledOnUnexpectedExit(t *testing.T) { function TestOnCloseNotCalledOnIntentionalStop (line 40) | func TestOnCloseNotCalledOnIntentionalStop(t *testing.T) { FILE: go/process_other.go function configureProcAttr (line 9) | func configureProcAttr(cmd *exec.Cmd) { FILE: go/process_windows.go function configureProcAttr (line 12) | func configureProcAttr(cmd *exec.Cmd) { FILE: go/rpc/generated_rpc.go type RPCTypes (line 15) | type RPCTypes struct type AccountGetQuotaRequest (line 262) | type AccountGetQuotaRequest struct type AccountGetQuotaResult (line 268) | type AccountGetQuotaResult struct type AccountQuotaSnapshot (line 273) | type AccountQuotaSnapshot struct type AgentDeselectResult (line 293) | type AgentDeselectResult struct type AgentGetCurrentResult (line 297) | type AgentGetCurrentResult struct type AgentInfo (line 303) | type AgentInfo struct type AgentList (line 316) | type AgentList struct type AgentReloadResult (line 322) | type AgentReloadResult struct type AgentSelectRequest (line 328) | type AgentSelectRequest struct type AgentSelectResult (line 334) | type AgentSelectResult struct type CommandsHandlePendingCommandRequest (line 339) | type CommandsHandlePendingCommandRequest struct type CommandsHandlePendingCommandResult (line 346) | type CommandsHandlePendingCommandResult struct type CurrentModel (line 351) | type CurrentModel struct type DiscoveredMCPServer (line 356) | type DiscoveredMCPServer struct type EmbeddedBlobResourceContents (line 367) | type EmbeddedBlobResourceContents struct type EmbeddedTextResourceContents (line 376) | type EmbeddedTextResourceContents struct type Extension (line 385) | type Extension struct type ExtensionList (line 399) | type ExtensionList struct type ExtensionsDisableRequest (line 405) | type ExtensionsDisableRequest struct type ExtensionsDisableResult (line 411) | type ExtensionsDisableResult struct type ExtensionsEnableRequest (line 415) | type ExtensionsEnableRequest struct type ExtensionsEnableResult (line 421) | type ExtensionsEnableResult struct type ExtensionsReloadResult (line 425) | type ExtensionsReloadResult struct type ExternalToolTextResultForLlm (line 429) | type ExternalToolTextResultForLlm struct type ExternalToolTextResultForLlmContent (line 459) | type ExternalToolTextResultForLlmContent struct type ExternalToolTextResultForLlmContentResourceLinkIcon (line 497) | type ExternalToolTextResultForLlmContentResourceLinkIcon struct type ExternalToolTextResultForLlmContentResourceDetails (line 509) | type ExternalToolTextResultForLlmContentResourceDetails struct type ExternalToolTextResultForLlmContentAudio (line 523) | type ExternalToolTextResultForLlmContentAudio struct type ExternalToolTextResultForLlmContentImage (line 533) | type ExternalToolTextResultForLlmContentImage struct type ExternalToolTextResultForLlmContentResource (line 543) | type ExternalToolTextResultForLlmContentResource struct type ExternalToolTextResultForLlmContentResourceLink (line 551) | type ExternalToolTextResultForLlmContentResourceLink struct type ExternalToolTextResultForLlmContentTerminal (line 571) | type ExternalToolTextResultForLlmContentTerminal struct type ExternalToolTextResultForLlmContentText (line 583) | type ExternalToolTextResultForLlmContentText struct type FleetStartRequest (line 591) | type FleetStartRequest struct type FleetStartResult (line 597) | type FleetStartResult struct type HandlePendingToolCallRequest (line 602) | type HandlePendingToolCallRequest struct type HandlePendingToolCallResult (line 611) | type HandlePendingToolCallResult struct type HistoryCompactContextWindow (line 617) | type HistoryCompactContextWindow struct type HistoryCompactResult (line 633) | type HistoryCompactResult struct type HistoryTruncateRequest (line 645) | type HistoryTruncateRequest struct type HistoryTruncateResult (line 651) | type HistoryTruncateResult struct type InstructionsGetSourcesResult (line 656) | type InstructionsGetSourcesResult struct type InstructionsSources (line 661) | type InstructionsSources struct type LogRequest (line 680) | type LogRequest struct type LogResult (line 692) | type LogResult struct type MCPConfigAddRequest (line 697) | type MCPConfigAddRequest struct type MCPServerConfig (line 705) | type MCPServerConfig struct type MCPConfigAddResult (line 725) | type MCPConfigAddResult struct type MCPConfigDisableRequest (line 728) | type MCPConfigDisableRequest struct type MCPConfigDisableResult (line 735) | type MCPConfigDisableResult struct type MCPConfigEnableRequest (line 738) | type MCPConfigEnableRequest struct type MCPConfigEnableResult (line 744) | type MCPConfigEnableResult struct type MCPConfigList (line 747) | type MCPConfigList struct type MCPConfigRemoveRequest (line 752) | type MCPConfigRemoveRequest struct type MCPConfigRemoveResult (line 757) | type MCPConfigRemoveResult struct type MCPConfigUpdateRequest (line 760) | type MCPConfigUpdateRequest struct type MCPConfigUpdateResult (line 767) | type MCPConfigUpdateResult struct type MCPDisableRequest (line 770) | type MCPDisableRequest struct type MCPDisableResult (line 775) | type MCPDisableResult struct type MCPDiscoverRequest (line 778) | type MCPDiscoverRequest struct type MCPDiscoverResult (line 783) | type MCPDiscoverResult struct type MCPEnableRequest (line 788) | type MCPEnableRequest struct type MCPEnableResult (line 793) | type MCPEnableResult struct type MCPOauthLoginRequest (line 796) | type MCPOauthLoginRequest struct type MCPOauthLoginResult (line 815) | type MCPOauthLoginResult struct type MCPReloadResult (line 824) | type MCPReloadResult struct type MCPServer (line 827) | type MCPServer struct type MCPServerConfigHTTP (line 838) | type MCPServerConfigHTTP struct type MCPServerConfigLocal (line 854) | type MCPServerConfigLocal struct type MCPServerList (line 868) | type MCPServerList struct type ModeSetRequest (line 873) | type ModeSetRequest struct type ModeSetResult (line 878) | type ModeSetResult struct type ModelElement (line 881) | type ModelElement struct type ModelBilling (line 899) | type ModelBilling struct type ModelCapabilities (line 905) | type ModelCapabilities struct type ModelCapabilitiesLimits (line 913) | type ModelCapabilitiesLimits struct type ModelCapabilitiesLimitsVision (line 925) | type ModelCapabilitiesLimitsVision struct type ModelCapabilitiesSupports (line 935) | type ModelCapabilitiesSupports struct type ModelPolicy (line 943) | type ModelPolicy struct type ModelCapabilitiesOverride (line 951) | type ModelCapabilitiesOverride struct type ModelCapabilitiesOverrideLimits (line 959) | type ModelCapabilitiesOverrideLimits struct type ModelCapabilitiesOverrideLimitsVision (line 967) | type ModelCapabilitiesOverrideLimitsVision struct type ModelCapabilitiesOverrideSupports (line 977) | type ModelCapabilitiesOverrideSupports struct type ModelList (line 982) | type ModelList struct type ModelSwitchToRequest (line 987) | type ModelSwitchToRequest struct type ModelSwitchToResult (line 996) | type ModelSwitchToResult struct type ModelsListRequest (line 1001) | type ModelsListRequest struct type NameGetResult (line 1007) | type NameGetResult struct type NameSetRequest (line 1012) | type NameSetRequest struct type NameSetResult (line 1017) | type NameSetResult struct type PermissionDecision (line 1020) | type PermissionDecision struct type PermissionDecisionApproveForLocation (line 1047) | type PermissionDecisionApproveForLocation struct type PermissionDecisionApproveForLocationApproval (line 1057) | type PermissionDecisionApproveForLocationApproval struct type PermissionDecisionApproveForLocationApprovalCommands (line 1064) | type PermissionDecisionApproveForLocationApprovalCommands struct type PermissionDecisionApproveForLocationApprovalCustomTool (line 1069) | type PermissionDecisionApproveForLocationApprovalCustomTool struct type PermissionDecisionApproveForLocationApprovalMCP (line 1074) | type PermissionDecisionApproveForLocationApprovalMCP struct type PermissionDecisionApproveForLocationApprovalMCPSampling (line 1080) | type PermissionDecisionApproveForLocationApprovalMCPSampling struct type PermissionDecisionApproveForLocationApprovalMemory (line 1085) | type PermissionDecisionApproveForLocationApprovalMemory struct type PermissionDecisionApproveForLocationApprovalRead (line 1089) | type PermissionDecisionApproveForLocationApprovalRead struct type PermissionDecisionApproveForLocationApprovalWrite (line 1093) | type PermissionDecisionApproveForLocationApprovalWrite struct type PermissionDecisionApproveForSession (line 1097) | type PermissionDecisionApproveForSession struct type PermissionDecisionApproveForSessionApproval (line 1107) | type PermissionDecisionApproveForSessionApproval struct type PermissionDecisionApproveForSessionApprovalCommands (line 1114) | type PermissionDecisionApproveForSessionApprovalCommands struct type PermissionDecisionApproveForSessionApprovalCustomTool (line 1119) | type PermissionDecisionApproveForSessionApprovalCustomTool struct type PermissionDecisionApproveForSessionApprovalMCP (line 1124) | type PermissionDecisionApproveForSessionApprovalMCP struct type PermissionDecisionApproveForSessionApprovalMCPSampling (line 1130) | type PermissionDecisionApproveForSessionApprovalMCPSampling struct type PermissionDecisionApproveForSessionApprovalMemory (line 1135) | type PermissionDecisionApproveForSessionApprovalMemory struct type PermissionDecisionApproveForSessionApprovalRead (line 1139) | type PermissionDecisionApproveForSessionApprovalRead struct type PermissionDecisionApproveForSessionApprovalWrite (line 1143) | type PermissionDecisionApproveForSessionApprovalWrite struct type PermissionDecisionApproveOnce (line 1147) | type PermissionDecisionApproveOnce struct type PermissionDecisionApprovePermanently (line 1152) | type PermissionDecisionApprovePermanently struct type PermissionDecisionReject (line 1159) | type PermissionDecisionReject struct type PermissionDecisionRequest (line 1166) | type PermissionDecisionRequest struct type PermissionDecisionUserNotAvailable (line 1172) | type PermissionDecisionUserNotAvailable struct type PermissionRequestResult (line 1177) | type PermissionRequestResult struct type PermissionsResetSessionApprovalsRequest (line 1182) | type PermissionsResetSessionApprovalsRequest struct type PermissionsResetSessionApprovalsResult (line 1185) | type PermissionsResetSessionApprovalsResult struct type PermissionsSetApproveAllRequest (line 1190) | type PermissionsSetApproveAllRequest struct type PermissionsSetApproveAllResult (line 1195) | type PermissionsSetApproveAllResult struct type PingRequest (line 1200) | type PingRequest struct type PingResult (line 1205) | type PingResult struct type PlanDeleteResult (line 1214) | type PlanDeleteResult struct type PlanReadResult (line 1217) | type PlanReadResult struct type PlanUpdateRequest (line 1226) | type PlanUpdateRequest struct type PlanUpdateResult (line 1231) | type PlanUpdateResult struct type PluginElement (line 1234) | type PluginElement struct type PluginList (line 1246) | type PluginList struct type ServerSkill (line 1251) | type ServerSkill struct type ServerSkillList (line 1268) | type ServerSkillList struct type SessionAuthStatus (line 1273) | type SessionAuthStatus struct type SessionFSAppendFileRequest (line 1288) | type SessionFSAppendFileRequest struct type SessionFSError (line 1300) | type SessionFSError struct type SessionFSExistsRequest (line 1307) | type SessionFSExistsRequest struct type SessionFSExistsResult (line 1314) | type SessionFSExistsResult struct type SessionFSMkdirRequest (line 1319) | type SessionFSMkdirRequest struct type SessionFSReadFileRequest (line 1330) | type SessionFSReadFileRequest struct type SessionFSReadFileResult (line 1337) | type SessionFSReadFileResult struct type SessionFSReaddirRequest (line 1344) | type SessionFSReaddirRequest struct type SessionFSReaddirResult (line 1351) | type SessionFSReaddirResult struct type SessionFSReaddirWithTypesEntry (line 1358) | type SessionFSReaddirWithTypesEntry struct type SessionFSReaddirWithTypesRequest (line 1365) | type SessionFSReaddirWithTypesRequest struct type SessionFSReaddirWithTypesResult (line 1372) | type SessionFSReaddirWithTypesResult struct type SessionFSRenameRequest (line 1379) | type SessionFSRenameRequest struct type SessionFSRmRequest (line 1388) | type SessionFSRmRequest struct type SessionFSSetProviderRequest (line 1399) | type SessionFSSetProviderRequest struct type SessionFSSetProviderResult (line 1408) | type SessionFSSetProviderResult struct type SessionFSStatRequest (line 1413) | type SessionFSStatRequest struct type SessionFSStatResult (line 1420) | type SessionFSStatResult struct type SessionFSWriteFileRequest (line 1435) | type SessionFSWriteFileRequest struct type SessionsForkRequest (line 1447) | type SessionsForkRequest struct type SessionsForkResult (line 1456) | type SessionsForkResult struct type ShellExecRequest (line 1461) | type ShellExecRequest struct type ShellExecResult (line 1470) | type ShellExecResult struct type ShellKillRequest (line 1475) | type ShellKillRequest struct type ShellKillResult (line 1482) | type ShellKillResult struct type Skill (line 1487) | type Skill struct type SkillList (line 1503) | type SkillList struct type SkillsConfigSetDisabledSkillsRequest (line 1508) | type SkillsConfigSetDisabledSkillsRequest struct type SkillsConfigSetDisabledSkillsResult (line 1513) | type SkillsConfigSetDisabledSkillsResult struct type SkillsDisableRequest (line 1517) | type SkillsDisableRequest struct type SkillsDisableResult (line 1523) | type SkillsDisableResult struct type SkillsDiscoverRequest (line 1526) | type SkillsDiscoverRequest struct type SkillsEnableRequest (line 1534) | type SkillsEnableRequest struct type SkillsEnableResult (line 1540) | type SkillsEnableResult struct type SkillsReloadResult (line 1544) | type SkillsReloadResult struct type SuspendResult (line 1547) | type SuspendResult struct type TaskAgentInfo (line 1550) | type TaskAgentInfo struct type TaskInfo (line 1591) | type TaskInfo struct type TaskList (line 1646) | type TaskList struct type TaskShellInfo (line 1651) | type TaskShellInfo struct type TasksCancelRequest (line 1680) | type TasksCancelRequest struct type TasksCancelResult (line 1686) | type TasksCancelResult struct type TasksPromoteToBackgroundRequest (line 1692) | type TasksPromoteToBackgroundRequest struct type TasksPromoteToBackgroundResult (line 1698) | type TasksPromoteToBackgroundResult struct type TasksRemoveRequest (line 1704) | type TasksRemoveRequest struct type TasksRemoveResult (line 1710) | type TasksRemoveResult struct type TasksStartAgentRequest (line 1717) | type TasksStartAgentRequest struct type TasksStartAgentResult (line 1731) | type TasksStartAgentResult struct type Tool (line 1736) | type Tool struct type ToolList (line 1750) | type ToolList struct type ToolsListRequest (line 1755) | type ToolsListRequest struct type UIElicitationArrayAnyOfField (line 1761) | type UIElicitationArrayAnyOfField struct type UIElicitationArrayAnyOfFieldItems (line 1771) | type UIElicitationArrayAnyOfFieldItems struct type UIElicitationArrayAnyOfFieldItemsAnyOf (line 1775) | type UIElicitationArrayAnyOfFieldItemsAnyOf struct type UIElicitationArrayEnumField (line 1780) | type UIElicitationArrayEnumField struct type UIElicitationArrayEnumFieldItems (line 1790) | type UIElicitationArrayEnumFieldItems struct type UIElicitationRequest (line 1795) | type UIElicitationRequest struct type UIElicitationSchema (line 1803) | type UIElicitationSchema struct type UIElicitationSchemaProperty (line 1812) | type UIElicitationSchemaProperty struct type UIElicitationArrayFieldItems (line 1830) | type UIElicitationArrayFieldItems struct type UIElicitationStringOneOfFieldOneOf (line 1836) | type UIElicitationStringOneOfFieldOneOf struct type UIElicitationResponse (line 1842) | type UIElicitationResponse struct type UIElicitationResult (line 1849) | type UIElicitationResult struct type UIElicitationSchemaPropertyBoolean (line 1855) | type UIElicitationSchemaPropertyBoolean struct type UIElicitationSchemaPropertyNumber (line 1862) | type UIElicitationSchemaPropertyNumber struct type UIElicitationSchemaPropertyString (line 1871) | type UIElicitationSchemaPropertyString struct type UIElicitationStringEnumField (line 1881) | type UIElicitationStringEnumField struct type UIElicitationStringOneOfField (line 1890) | type UIElicitationStringOneOfField struct type UIHandlePendingElicitationRequest (line 1898) | type UIHandlePendingElicitationRequest struct type UsageGetMetricsResult (line 1906) | type UsageGetMetricsResult struct type UsageMetricsCodeChanges (line 1933) | type UsageMetricsCodeChanges struct type UsageMetricsModelMetric (line 1942) | type UsageMetricsModelMetric struct type UsageMetricsModelMetricRequests (line 1954) | type UsageMetricsModelMetricRequests struct type UsageMetricsModelMetricTokenDetail (line 1961) | type UsageMetricsModelMetricTokenDetail struct type UsageMetricsModelMetricUsage (line 1967) | type UsageMetricsModelMetricUsage struct type UsageMetricsTokenDetail (line 1980) | type UsageMetricsTokenDetail struct type WorkspacesCreateFileRequest (line 1985) | type WorkspacesCreateFileRequest struct type WorkspacesCreateFileResult (line 1992) | type WorkspacesCreateFileResult struct type WorkspacesGetWorkspaceResult (line 1995) | type WorkspacesGetWorkspaceResult struct type WorkspaceClass (line 2000) | type WorkspaceClass struct type WorkspacesListFilesResult (line 2021) | type WorkspacesListFilesResult struct type WorkspacesReadFileRequest (line 2026) | type WorkspacesReadFileRequest struct type WorkspacesReadFileResult (line 2031) | type WorkspacesReadFileResult struct type AuthInfoType (line 2037) | type AuthInfoType constant AuthInfoTypeAPIKey (line 2040) | AuthInfoTypeAPIKey AuthInfoType = "api-key" constant AuthInfoTypeUser (line 2041) | AuthInfoTypeUser AuthInfoType = "user" constant AuthInfoTypeCopilotAPIToken (line 2042) | AuthInfoTypeCopilotAPIToken AuthInfoType = "copilot-api-token" constant AuthInfoTypeEnv (line 2043) | AuthInfoTypeEnv AuthInfoType = "env" constant AuthInfoTypeGhCli (line 2044) | AuthInfoTypeGhCli AuthInfoType = "gh-cli" constant AuthInfoTypeHmac (line 2045) | AuthInfoTypeHmac AuthInfoType = "hmac" constant AuthInfoTypeToken (line 2046) | AuthInfoTypeToken AuthInfoType = "token" type MCPServerSource (line 2052) | type MCPServerSource constant MCPServerSourceBuiltin (line 2055) | MCPServerSourceBuiltin MCPServerSource = "builtin" constant MCPServerSourceUser (line 2056) | MCPServerSourceUser MCPServerSource = "user" constant MCPServerSourcePlugin (line 2057) | MCPServerSourcePlugin MCPServerSource = "plugin" constant MCPServerSourceWorkspace (line 2058) | MCPServerSourceWorkspace MCPServerSource = "workspace" type DiscoveredMCPServerType (line 2062) | type DiscoveredMCPServerType constant DiscoveredMCPServerTypeHTTP (line 2065) | DiscoveredMCPServerTypeHTTP DiscoveredMCPServerType = "http" constant DiscoveredMCPServerTypeMemory (line 2066) | DiscoveredMCPServerTypeMemory DiscoveredMCPServerType = "memory" constant DiscoveredMCPServerTypeSSE (line 2067) | DiscoveredMCPServerTypeSSE DiscoveredMCPServerType = "sse" constant DiscoveredMCPServerTypeStdio (line 2068) | DiscoveredMCPServerTypeStdio DiscoveredMCPServerType = "stdio" type ExtensionSource (line 2072) | type ExtensionSource constant ExtensionSourceUser (line 2075) | ExtensionSourceUser ExtensionSource = "user" constant ExtensionSourceProject (line 2076) | ExtensionSourceProject ExtensionSource = "project" type ExtensionStatus (line 2080) | type ExtensionStatus constant ExtensionStatusDisabled (line 2083) | ExtensionStatusDisabled ExtensionStatus = "disabled" constant ExtensionStatusFailed (line 2084) | ExtensionStatusFailed ExtensionStatus = "failed" constant ExtensionStatusRunning (line 2085) | ExtensionStatusRunning ExtensionStatus = "running" constant ExtensionStatusStarting (line 2086) | ExtensionStatusStarting ExtensionStatus = "starting" type ExternalToolTextResultForLlmContentResourceLinkIconTheme (line 2090) | type ExternalToolTextResultForLlmContentResourceLinkIconTheme constant ExternalToolTextResultForLlmContentResourceLinkIconThemeDark (line 2093) | ExternalToolTextResultForLlmContentResourceLinkIconThemeDark ExternalTo... constant ExternalToolTextResultForLlmContentResourceLinkIconThemeLight (line 2094) | ExternalToolTextResultForLlmContentResourceLinkIconThemeLight ExternalTo... type ExternalToolTextResultForLlmContentType (line 2097) | type ExternalToolTextResultForLlmContentType constant ExternalToolTextResultForLlmContentTypeAudio (line 2100) | ExternalToolTextResultForLlmContentTypeAudio ExternalToolTextResu... constant ExternalToolTextResultForLlmContentTypeImage (line 2101) | ExternalToolTextResultForLlmContentTypeImage ExternalToolTextResu... constant ExternalToolTextResultForLlmContentTypeResource (line 2102) | ExternalToolTextResultForLlmContentTypeResource ExternalToolTextResu... constant ExternalToolTextResultForLlmContentTypeResourceLink (line 2103) | ExternalToolTextResultForLlmContentTypeResourceLink ExternalToolTextResu... constant ExternalToolTextResultForLlmContentTypeTerminal (line 2104) | ExternalToolTextResultForLlmContentTypeTerminal ExternalToolTextResu... constant ExternalToolTextResultForLlmContentTypeText (line 2105) | ExternalToolTextResultForLlmContentTypeText ExternalToolTextResu... type ExternalToolTextResultForLlmContentAudioType (line 2108) | type ExternalToolTextResultForLlmContentAudioType constant ExternalToolTextResultForLlmContentAudioTypeAudio (line 2111) | ExternalToolTextResultForLlmContentAudioTypeAudio ExternalToolTextResult... type ExternalToolTextResultForLlmContentImageType (line 2114) | type ExternalToolTextResultForLlmContentImageType constant ExternalToolTextResultForLlmContentImageTypeImage (line 2117) | ExternalToolTextResultForLlmContentImageTypeImage ExternalToolTextResult... type ExternalToolTextResultForLlmContentResourceType (line 2120) | type ExternalToolTextResultForLlmContentResourceType constant ExternalToolTextResultForLlmContentResourceTypeResource (line 2123) | ExternalToolTextResultForLlmContentResourceTypeResource ExternalToolText... type ExternalToolTextResultForLlmContentResourceLinkType (line 2126) | type ExternalToolTextResultForLlmContentResourceLinkType constant ExternalToolTextResultForLlmContentResourceLinkTypeResourceLink (line 2129) | ExternalToolTextResultForLlmContentResourceLinkTypeResourceLink External... type ExternalToolTextResultForLlmContentTerminalType (line 2132) | type ExternalToolTextResultForLlmContentTerminalType constant ExternalToolTextResultForLlmContentTerminalTypeTerminal (line 2135) | ExternalToolTextResultForLlmContentTerminalTypeTerminal ExternalToolText... type ExternalToolTextResultForLlmContentTextType (line 2138) | type ExternalToolTextResultForLlmContentTextType constant ExternalToolTextResultForLlmContentTextTypeText (line 2141) | ExternalToolTextResultForLlmContentTextTypeText ExternalToolTextResultFo... type FilterMappingString (line 2144) | type FilterMappingString constant FilterMappingStringHiddenCharacters (line 2147) | FilterMappingStringHiddenCharacters FilterMappingString = "hidden_charac... constant FilterMappingStringMarkdown (line 2148) | FilterMappingStringMarkdown FilterMappingString = "markdown" constant FilterMappingStringNone (line 2149) | FilterMappingStringNone FilterMappingString = "none" type InstructionsSourcesLocation (line 2153) | type InstructionsSourcesLocation constant InstructionsSourcesLocationUser (line 2156) | InstructionsSourcesLocationUser InstructionsSourcesLocation ... constant InstructionsSourcesLocationRepository (line 2157) | InstructionsSourcesLocationRepository InstructionsSourcesLocation ... constant InstructionsSourcesLocationWorkingDirectory (line 2158) | InstructionsSourcesLocationWorkingDirectory InstructionsSourcesLocation ... type InstructionsSourcesType (line 2162) | type InstructionsSourcesType constant InstructionsSourcesTypeChildInstructions (line 2165) | InstructionsSourcesTypeChildInstructions InstructionsSourcesType = "chil... constant InstructionsSourcesTypeHome (line 2166) | InstructionsSourcesTypeHome InstructionsSourcesType = "home" constant InstructionsSourcesTypeModel (line 2167) | InstructionsSourcesTypeModel InstructionsSourcesType = "model" constant InstructionsSourcesTypeNestedAgents (line 2168) | InstructionsSourcesTypeNestedAgents InstructionsSourcesType = "nest... constant InstructionsSourcesTypeRepo (line 2169) | InstructionsSourcesTypeRepo InstructionsSourcesType = "repo" constant InstructionsSourcesTypeVscode (line 2170) | InstructionsSourcesTypeVscode InstructionsSourcesType = "vscode" type SessionLogLevel (line 2175) | type SessionLogLevel constant SessionLogLevelError (line 2178) | SessionLogLevelError SessionLogLevel = "error" constant SessionLogLevelInfo (line 2179) | SessionLogLevelInfo SessionLogLevel = "info" constant SessionLogLevelWarning (line 2180) | SessionLogLevelWarning SessionLogLevel = "warning" type MCPServerConfigHTTPOauthGrantType (line 2183) | type MCPServerConfigHTTPOauthGrantType constant MCPServerConfigHTTPOauthGrantTypeAuthorizationCode (line 2186) | MCPServerConfigHTTPOauthGrantTypeAuthorizationCode MCPServerConfigHTTPOa... constant MCPServerConfigHTTPOauthGrantTypeClientCredentials (line 2187) | MCPServerConfigHTTPOauthGrantTypeClientCredentials MCPServerConfigHTTPOa... type MCPServerConfigType (line 2191) | type MCPServerConfigType constant MCPServerConfigTypeHTTP (line 2194) | MCPServerConfigTypeHTTP MCPServerConfigType = "http" constant MCPServerConfigTypeLocal (line 2195) | MCPServerConfigTypeLocal MCPServerConfigType = "local" constant MCPServerConfigTypeSSE (line 2196) | MCPServerConfigTypeSSE MCPServerConfigType = "sse" constant MCPServerConfigTypeStdio (line 2197) | MCPServerConfigTypeStdio MCPServerConfigType = "stdio" type MCPServerStatus (line 2201) | type MCPServerStatus constant MCPServerStatusConnected (line 2204) | MCPServerStatusConnected MCPServerStatus = "connected" constant MCPServerStatusDisabled (line 2205) | MCPServerStatusDisabled MCPServerStatus = "disabled" constant MCPServerStatusFailed (line 2206) | MCPServerStatusFailed MCPServerStatus = "failed" constant MCPServerStatusNeedsAuth (line 2207) | MCPServerStatusNeedsAuth MCPServerStatus = "needs-auth" constant MCPServerStatusNotConfigured (line 2208) | MCPServerStatusNotConfigured MCPServerStatus = "not_configured" constant MCPServerStatusPending (line 2209) | MCPServerStatusPending MCPServerStatus = "pending" type MCPServerConfigHTTPType (line 2213) | type MCPServerConfigHTTPType constant MCPServerConfigHTTPTypeHTTP (line 2216) | MCPServerConfigHTTPTypeHTTP MCPServerConfigHTTPType = "http" constant MCPServerConfigHTTPTypeSSE (line 2217) | MCPServerConfigHTTPTypeSSE MCPServerConfigHTTPType = "sse" type MCPServerConfigLocalType (line 2220) | type MCPServerConfigLocalType constant MCPServerConfigLocalTypeLocal (line 2223) | MCPServerConfigLocalTypeLocal MCPServerConfigLocalType = "local" constant MCPServerConfigLocalTypeStdio (line 2224) | MCPServerConfigLocalTypeStdio MCPServerConfigLocalType = "stdio" type SessionMode (line 2228) | type SessionMode constant SessionModeAutopilot (line 2231) | SessionModeAutopilot SessionMode = "autopilot" constant SessionModeInteractive (line 2232) | SessionModeInteractive SessionMode = "interactive" constant SessionModePlan (line 2233) | SessionModePlan SessionMode = "plan" type ApprovalKind (line 2236) | type ApprovalKind constant ApprovalKindCommands (line 2239) | ApprovalKindCommands ApprovalKind = "commands" constant ApprovalKindCustomTool (line 2240) | ApprovalKindCustomTool ApprovalKind = "custom-tool" constant ApprovalKindMcp (line 2241) | ApprovalKindMcp ApprovalKind = "mcp" constant ApprovalKindMcpSampling (line 2242) | ApprovalKindMcpSampling ApprovalKind = "mcp-sampling" constant ApprovalKindMemory (line 2243) | ApprovalKindMemory ApprovalKind = "memory" constant ApprovalKindRead (line 2244) | ApprovalKindRead ApprovalKind = "read" constant ApprovalKindWrite (line 2245) | ApprovalKindWrite ApprovalKind = "write" type PermissionDecisionKind (line 2248) | type PermissionDecisionKind constant PermissionDecisionKindApproveForLocation (line 2251) | PermissionDecisionKindApproveForLocation PermissionDecisionKind = "appro... constant PermissionDecisionKindApproveForSession (line 2252) | PermissionDecisionKindApproveForSession PermissionDecisionKind = "appro... constant PermissionDecisionKindApproveOnce (line 2253) | PermissionDecisionKindApproveOnce PermissionDecisionKind = "appro... constant PermissionDecisionKindApprovePermanently (line 2254) | PermissionDecisionKindApprovePermanently PermissionDecisionKind = "appro... constant PermissionDecisionKindReject (line 2255) | PermissionDecisionKindReject PermissionDecisionKind = "reject" constant PermissionDecisionKindUserNotAvailable (line 2256) | PermissionDecisionKindUserNotAvailable PermissionDecisionKind = "user-... type PermissionDecisionApproveForLocationKind (line 2259) | type PermissionDecisionApproveForLocationKind constant PermissionDecisionApproveForLocationKindApproveForLocation (line 2262) | PermissionDecisionApproveForLocationKindApproveForLocation PermissionDec... type PermissionDecisionApproveForLocationApprovalCommandsKind (line 2265) | type PermissionDecisionApproveForLocationApprovalCommandsKind constant PermissionDecisionApproveForLocationApprovalCommandsKindCommands (line 2268) | PermissionDecisionApproveForLocationApprovalCommandsKindCommands Permiss... type PermissionDecisionApproveForLocationApprovalCustomToolKind (line 2271) | type PermissionDecisionApproveForLocationApprovalCustomToolKind constant PermissionDecisionApproveForLocationApprovalCustomToolKindCustomTool (line 2274) | PermissionDecisionApproveForLocationApprovalCustomToolKindCustomTool Per... type PermissionDecisionApproveForLocationApprovalMCPKind (line 2277) | type PermissionDecisionApproveForLocationApprovalMCPKind constant PermissionDecisionApproveForLocationApprovalMCPKindMcp (line 2280) | PermissionDecisionApproveForLocationApprovalMCPKindMcp PermissionDecisio... type PermissionDecisionApproveForLocationApprovalMCPSamplingKind (line 2283) | type PermissionDecisionApproveForLocationApprovalMCPSamplingKind constant PermissionDecisionApproveForLocationApprovalMCPSamplingKindMcpSampling (line 2286) | PermissionDecisionApproveForLocationApprovalMCPSamplingKindMcpSampling P... type PermissionDecisionApproveForLocationApprovalMemoryKind (line 2289) | type PermissionDecisionApproveForLocationApprovalMemoryKind constant PermissionDecisionApproveForLocationApprovalMemoryKindMemory (line 2292) | PermissionDecisionApproveForLocationApprovalMemoryKindMemory PermissionD... type PermissionDecisionApproveForLocationApprovalReadKind (line 2295) | type PermissionDecisionApproveForLocationApprovalReadKind constant PermissionDecisionApproveForLocationApprovalReadKindRead (line 2298) | PermissionDecisionApproveForLocationApprovalReadKindRead PermissionDecis... type PermissionDecisionApproveForLocationApprovalWriteKind (line 2301) | type PermissionDecisionApproveForLocationApprovalWriteKind constant PermissionDecisionApproveForLocationApprovalWriteKindWrite (line 2304) | PermissionDecisionApproveForLocationApprovalWriteKindWrite PermissionDec... type PermissionDecisionApproveForSessionKind (line 2307) | type PermissionDecisionApproveForSessionKind constant PermissionDecisionApproveForSessionKindApproveForSession (line 2310) | PermissionDecisionApproveForSessionKindApproveForSession PermissionDecis... type PermissionDecisionApproveOnceKind (line 2313) | type PermissionDecisionApproveOnceKind constant PermissionDecisionApproveOnceKindApproveOnce (line 2316) | PermissionDecisionApproveOnceKindApproveOnce PermissionDecisionApproveOn... type PermissionDecisionApprovePermanentlyKind (line 2319) | type PermissionDecisionApprovePermanentlyKind constant PermissionDecisionApprovePermanentlyKindApprovePermanently (line 2322) | PermissionDecisionApprovePermanentlyKindApprovePermanently PermissionDec... type PermissionDecisionRejectKind (line 2325) | type PermissionDecisionRejectKind constant PermissionDecisionRejectKindReject (line 2328) | PermissionDecisionRejectKindReject PermissionDecisionRejectKind = "reject" type PermissionDecisionUserNotAvailableKind (line 2331) | type PermissionDecisionUserNotAvailableKind constant PermissionDecisionUserNotAvailableKindUserNotAvailable (line 2334) | PermissionDecisionUserNotAvailableKindUserNotAvailable PermissionDecisio... type SessionFSErrorCode (line 2338) | type SessionFSErrorCode constant SessionFSErrorCodeENOENT (line 2341) | SessionFSErrorCodeENOENT SessionFSErrorCode = "ENOENT" constant SessionFSErrorCodeUNKNOWN (line 2342) | SessionFSErrorCodeUNKNOWN SessionFSErrorCode = "UNKNOWN" type SessionFSReaddirWithTypesEntryType (line 2346) | type SessionFSReaddirWithTypesEntryType constant SessionFSReaddirWithTypesEntryTypeDirectory (line 2349) | SessionFSReaddirWithTypesEntryTypeDirectory SessionFSReaddirWithTypesEnt... constant SessionFSReaddirWithTypesEntryTypeFile (line 2350) | SessionFSReaddirWithTypesEntryTypeFile SessionFSReaddirWithTypesEnt... type SessionFSSetProviderConventions (line 2354) | type SessionFSSetProviderConventions constant SessionFSSetProviderConventionsPosix (line 2357) | SessionFSSetProviderConventionsPosix SessionFSSetProviderConventions =... constant SessionFSSetProviderConventionsWindows (line 2358) | SessionFSSetProviderConventionsWindows SessionFSSetProviderConventions =... type ShellKillSignal (line 2362) | type ShellKillSignal constant ShellKillSignalSIGINT (line 2365) | ShellKillSignalSIGINT ShellKillSignal = "SIGINT" constant ShellKillSignalSIGKILL (line 2366) | ShellKillSignalSIGKILL ShellKillSignal = "SIGKILL" constant ShellKillSignalSIGTERM (line 2367) | ShellKillSignalSIGTERM ShellKillSignal = "SIGTERM" type TaskInfoExecutionMode (line 2373) | type TaskInfoExecutionMode constant TaskInfoExecutionModeBackground (line 2376) | TaskInfoExecutionModeBackground TaskInfoExecutionMode = "background" constant TaskInfoExecutionModeSync (line 2377) | TaskInfoExecutionModeSync TaskInfoExecutionMode = "sync" type TaskInfoStatus (line 2381) | type TaskInfoStatus constant TaskInfoStatusCancelled (line 2384) | TaskInfoStatusCancelled TaskInfoStatus = "cancelled" constant TaskInfoStatusCompleted (line 2385) | TaskInfoStatusCompleted TaskInfoStatus = "completed" constant TaskInfoStatusIdle (line 2386) | TaskInfoStatusIdle TaskInfoStatus = "idle" constant TaskInfoStatusFailed (line 2387) | TaskInfoStatusFailed TaskInfoStatus = "failed" constant TaskInfoStatusRunning (line 2388) | TaskInfoStatusRunning TaskInfoStatus = "running" type TaskAgentInfoType (line 2391) | type TaskAgentInfoType constant TaskAgentInfoTypeAgent (line 2394) | TaskAgentInfoTypeAgent TaskAgentInfoType = "agent" type TaskShellInfoAttachmentMode (line 2399) | type TaskShellInfoAttachmentMode constant TaskShellInfoAttachmentModeAttached (line 2402) | TaskShellInfoAttachmentModeAttached TaskShellInfoAttachmentMode = "attac... constant TaskShellInfoAttachmentModeDetached (line 2403) | TaskShellInfoAttachmentModeDetached TaskShellInfoAttachmentMode = "detac... type TaskInfoType (line 2406) | type TaskInfoType constant TaskInfoTypeAgent (line 2409) | TaskInfoTypeAgent TaskInfoType = "agent" constant TaskInfoTypeShell (line 2410) | TaskInfoTypeShell TaskInfoType = "shell" type TaskShellInfoType (line 2413) | type TaskShellInfoType constant TaskShellInfoTypeShell (line 2416) | TaskShellInfoTypeShell TaskShellInfoType = "shell" type UIElicitationArrayAnyOfFieldType (line 2419) | type UIElicitationArrayAnyOfFieldType constant UIElicitationArrayAnyOfFieldTypeArray (line 2422) | UIElicitationArrayAnyOfFieldTypeArray UIElicitationArrayAnyOfFieldType =... type UIElicitationArrayEnumFieldItemsType (line 2425) | type UIElicitationArrayEnumFieldItemsType constant UIElicitationArrayEnumFieldItemsTypeString (line 2428) | UIElicitationArrayEnumFieldItemsTypeString UIElicitationArrayEnumFieldIt... type UIElicitationSchemaPropertyStringFormat (line 2431) | type UIElicitationSchemaPropertyStringFormat constant UIElicitationSchemaPropertyStringFormatDate (line 2434) | UIElicitationSchemaPropertyStringFormatDate UIElicitationSchemaPrope... constant UIElicitationSchemaPropertyStringFormatDateTime (line 2435) | UIElicitationSchemaPropertyStringFormatDateTime UIElicitationSchemaPrope... constant UIElicitationSchemaPropertyStringFormatEmail (line 2436) | UIElicitationSchemaPropertyStringFormatEmail UIElicitationSchemaPrope... constant UIElicitationSchemaPropertyStringFormatURI (line 2437) | UIElicitationSchemaPropertyStringFormatURI UIElicitationSchemaPrope... type UIElicitationSchemaPropertyType (line 2440) | type UIElicitationSchemaPropertyType constant UIElicitationSchemaPropertyTypeInteger (line 2443) | UIElicitationSchemaPropertyTypeInteger UIElicitationSchemaPropertyType =... constant UIElicitationSchemaPropertyTypeNumber (line 2444) | UIElicitationSchemaPropertyTypeNumber UIElicitationSchemaPropertyType =... constant UIElicitationSchemaPropertyTypeArray (line 2445) | UIElicitationSchemaPropertyTypeArray UIElicitationSchemaPropertyType =... constant UIElicitationSchemaPropertyTypeBoolean (line 2446) | UIElicitationSchemaPropertyTypeBoolean UIElicitationSchemaPropertyType =... constant UIElicitationSchemaPropertyTypeString (line 2447) | UIElicitationSchemaPropertyTypeString UIElicitationSchemaPropertyType =... type UIElicitationSchemaType (line 2450) | type UIElicitationSchemaType constant UIElicitationSchemaTypeObject (line 2453) | UIElicitationSchemaTypeObject UIElicitationSchemaType = "object" type UIElicitationResponseAction (line 2457) | type UIElicitationResponseAction constant UIElicitationResponseActionAccept (line 2460) | UIElicitationResponseActionAccept UIElicitationResponseAction = "accept" constant UIElicitationResponseActionCancel (line 2461) | UIElicitationResponseActionCancel UIElicitationResponseAction = "cancel" constant UIElicitationResponseActionDecline (line 2462) | UIElicitationResponseActionDecline UIElicitationResponseAction = "decline" type UIElicitationSchemaPropertyBooleanType (line 2465) | type UIElicitationSchemaPropertyBooleanType constant UIElicitationSchemaPropertyBooleanTypeBoolean (line 2468) | UIElicitationSchemaPropertyBooleanTypeBoolean UIElicitationSchemaPropert... type UIElicitationSchemaPropertyNumberTypeEnum (line 2471) | type UIElicitationSchemaPropertyNumberTypeEnum constant UIElicitationSchemaPropertyNumberTypeEnumInteger (line 2474) | UIElicitationSchemaPropertyNumberTypeEnumInteger UIElicitationSchemaProp... constant UIElicitationSchemaPropertyNumberTypeEnumNumber (line 2475) | UIElicitationSchemaPropertyNumberTypeEnumNumber UIElicitationSchemaProp... type HostType (line 2478) | type HostType constant HostTypeAdo (line 2481) | HostTypeAdo HostType = "ado" constant HostTypeGithub (line 2482) | HostTypeGithub HostType = "github" type SessionSyncLevel (line 2485) | type SessionSyncLevel constant SessionSyncLevelRepoAndUser (line 2488) | SessionSyncLevelRepoAndUser SessionSyncLevel = "repo_and_user" constant SessionSyncLevelLocal (line 2489) | SessionSyncLevelLocal SessionSyncLevel = "local" constant SessionSyncLevelUser (line 2490) | SessionSyncLevelUser SessionSyncLevel = "user" type ExternalToolResult (line 2494) | type ExternalToolResult struct type FilterMapping (line 2499) | type FilterMapping struct type UIElicitationFieldValue (line 2504) | type UIElicitationFieldValue struct type serverApi (line 2511) | type serverApi struct type ServerModelsApi (line 2515) | type ServerModelsApi method List (line 2517) | func (a *ServerModelsApi) List(ctx context.Context, params *ModelsList... type ServerToolsApi (line 2529) | type ServerToolsApi method List (line 2531) | func (a *ServerToolsApi) List(ctx context.Context, params *ToolsListRe... type ServerAccountApi (line 2543) | type ServerAccountApi method GetQuota (line 2545) | func (a *ServerAccountApi) GetQuota(ctx context.Context, params *Accou... type ServerMcpApi (line 2557) | type ServerMcpApi method Discover (line 2559) | func (a *ServerMcpApi) Discover(ctx context.Context, params *MCPDiscov... method Config (line 2645) | func (s *ServerMcpApi) Config() *ServerMcpConfigApi { type ServerMcpConfigApi (line 2571) | type ServerMcpConfigApi method List (line 2573) | func (a *ServerMcpConfigApi) List(ctx context.Context) (*MCPConfigList... method Add (line 2585) | func (a *ServerMcpConfigApi) Add(ctx context.Context, params *MCPConfi... method Update (line 2597) | func (a *ServerMcpConfigApi) Update(ctx context.Context, params *MCPCo... method Remove (line 2609) | func (a *ServerMcpConfigApi) Remove(ctx context.Context, params *MCPCo... method Enable (line 2621) | func (a *ServerMcpConfigApi) Enable(ctx context.Context, params *MCPCo... method Disable (line 2633) | func (a *ServerMcpConfigApi) Disable(ctx context.Context, params *MCPC... type ServerSkillsApi (line 2649) | type ServerSkillsApi method Discover (line 2651) | func (a *ServerSkillsApi) Discover(ctx context.Context, params *Skills... method Config (line 2677) | func (s *ServerSkillsApi) Config() *ServerSkillsConfigApi { type ServerSkillsConfigApi (line 2663) | type ServerSkillsConfigApi method SetDisabledSkills (line 2665) | func (a *ServerSkillsConfigApi) SetDisabledSkills(ctx context.Context,... type ServerSessionFsApi (line 2681) | type ServerSessionFsApi method SetProvider (line 2683) | func (a *ServerSessionFsApi) SetProvider(ctx context.Context, params *... type ServerSessionsApi (line 2696) | type ServerSessionsApi method Fork (line 2698) | func (a *ServerSessionsApi) Fork(ctx context.Context, params *Sessions... type ServerRpc (line 2711) | type ServerRpc struct method Ping (line 2723) | func (a *ServerRpc) Ping(ctx context.Context, params *PingRequest) (*P... function NewServerRpc (line 2735) | func NewServerRpc(client *jsonrpc2.Client) *ServerRpc { type sessionApi (line 2748) | type sessionApi struct type AuthApi (line 2753) | type AuthApi method GetStatus (line 2755) | func (a *AuthApi) GetStatus(ctx context.Context) (*SessionAuthStatus, ... type ModelApi (line 2768) | type ModelApi method GetCurrent (line 2770) | func (a *ModelApi) GetCurrent(ctx context.Context) (*CurrentModel, err... method SwitchTo (line 2783) | func (a *ModelApi) SwitchTo(ctx context.Context, params *ModelSwitchTo... type ModeApi (line 2805) | type ModeApi method Get (line 2807) | func (a *ModeApi) Get(ctx context.Context) (*SessionMode, error) { method Set (line 2820) | func (a *ModeApi) Set(ctx context.Context, params *ModeSetRequest) (*M... type NameApi (line 2836) | type NameApi method Get (line 2838) | func (a *NameApi) Get(ctx context.Context) (*NameGetResult, error) { method Set (line 2851) | func (a *NameApi) Set(ctx context.Context, params *NameSetRequest) (*N... type PlanApi (line 2867) | type PlanApi method Read (line 2869) | func (a *PlanApi) Read(ctx context.Context) (*PlanReadResult, error) { method Update (line 2882) | func (a *PlanApi) Update(ctx context.Context, params *PlanUpdateReques... method Delete (line 2898) | func (a *PlanApi) Delete(ctx context.Context) (*PlanDeleteResult, erro... type WorkspacesApi (line 2911) | type WorkspacesApi method GetWorkspace (line 2913) | func (a *WorkspacesApi) GetWorkspace(ctx context.Context) (*Workspaces... method ListFiles (line 2926) | func (a *WorkspacesApi) ListFiles(ctx context.Context) (*WorkspacesLis... method ReadFile (line 2939) | func (a *WorkspacesApi) ReadFile(ctx context.Context, params *Workspac... method CreateFile (line 2955) | func (a *WorkspacesApi) CreateFile(ctx context.Context, params *Worksp... type InstructionsApi (line 2972) | type InstructionsApi method GetSources (line 2974) | func (a *InstructionsApi) GetSources(ctx context.Context) (*Instructio... type FleetApi (line 2988) | type FleetApi method Start (line 2990) | func (a *FleetApi) Start(ctx context.Context, params *FleetStartReques... type AgentApi (line 3009) | type AgentApi method List (line 3011) | func (a *AgentApi) List(ctx context.Context) (*AgentList, error) { method GetCurrent (line 3024) | func (a *AgentApi) GetCurrent(ctx context.Context) (*AgentGetCurrentRe... method Select (line 3037) | func (a *AgentApi) Select(ctx context.Context, params *AgentSelectRequ... method Deselect (line 3053) | func (a *AgentApi) Deselect(ctx context.Context) (*AgentDeselectResult... method Reload (line 3066) | func (a *AgentApi) Reload(ctx context.Context) (*AgentReloadResult, er... type TasksApi (line 3080) | type TasksApi method StartAgent (line 3082) | func (a *TasksApi) StartAgent(ctx context.Context, params *TasksStartA... method List (line 3106) | func (a *TasksApi) List(ctx context.Context) (*TaskList, error) { method PromoteToBackground (line 3119) | func (a *TasksApi) PromoteToBackground(ctx context.Context, params *Ta... method Cancel (line 3135) | func (a *TasksApi) Cancel(ctx context.Context, params *TasksCancelRequ... method Remove (line 3151) | func (a *TasksApi) Remove(ctx context.Context, params *TasksRemoveRequ... type SkillsApi (line 3168) | type SkillsApi method List (line 3170) | func (a *SkillsApi) List(ctx context.Context) (*SkillList, error) { method Enable (line 3183) | func (a *SkillsApi) Enable(ctx context.Context, params *SkillsEnableRe... method Disable (line 3199) | func (a *SkillsApi) Disable(ctx context.Context, params *SkillsDisable... method Reload (line 3215) | func (a *SkillsApi) Reload(ctx context.Context) (*SkillsReloadResult, ... type McpApi (line 3229) | type McpApi method List (line 3231) | func (a *McpApi) List(ctx context.Context) (*MCPServerList, error) { method Enable (line 3244) | func (a *McpApi) Enable(ctx context.Context, params *MCPEnableRequest)... method Disable (line 3260) | func (a *McpApi) Disable(ctx context.Context, params *MCPDisableReques... method Reload (line 3276) | func (a *McpApi) Reload(ctx context.Context) (*MCPReloadResult, error) { method Oauth (line 3318) | func (s *McpApi) Oauth() *McpOauthApi { type McpOauthApi (line 3290) | type McpOauthApi method Login (line 3292) | func (a *McpOauthApi) Login(ctx context.Context, params *MCPOauthLogin... type PluginsApi (line 3323) | type PluginsApi method List (line 3325) | func (a *PluginsApi) List(ctx context.Context) (*PluginList, error) { type ExtensionsApi (line 3339) | type ExtensionsApi method List (line 3341) | func (a *ExtensionsApi) List(ctx context.Context) (*ExtensionList, err... method Enable (line 3354) | func (a *ExtensionsApi) Enable(ctx context.Context, params *Extensions... method Disable (line 3370) | func (a *ExtensionsApi) Disable(ctx context.Context, params *Extension... method Reload (line 3386) | func (a *ExtensionsApi) Reload(ctx context.Context) (*ExtensionsReload... type ToolsApi (line 3399) | type ToolsApi method HandlePendingToolCall (line 3401) | func (a *ToolsApi) HandlePendingToolCall(ctx context.Context, params *... type CommandsApi (line 3423) | type CommandsApi method HandlePendingCommand (line 3425) | func (a *CommandsApi) HandlePendingCommand(ctx context.Context, params... type UIApi (line 3444) | type UIApi method Elicitation (line 3446) | func (a *UIApi) Elicitation(ctx context.Context, params *UIElicitation... method HandlePendingElicitation (line 3463) | func (a *UIApi) HandlePendingElicitation(ctx context.Context, params *... type PermissionsApi (line 3480) | type PermissionsApi method HandlePendingPermissionRequest (line 3482) | func (a *PermissionsApi) HandlePendingPermissionRequest(ctx context.Co... method SetApproveAll (line 3499) | func (a *PermissionsApi) SetApproveAll(ctx context.Context, params *Pe... method ResetSessionApprovals (line 3515) | func (a *PermissionsApi) ResetSessionApprovals(ctx context.Context) (*... type ShellApi (line 3528) | type ShellApi method Exec (line 3530) | func (a *ShellApi) Exec(ctx context.Context, params *ShellExecRequest)... method Kill (line 3552) | func (a *ShellApi) Kill(ctx context.Context, params *ShellKillRequest)... type HistoryApi (line 3572) | type HistoryApi method Compact (line 3574) | func (a *HistoryApi) Compact(ctx context.Context) (*HistoryCompactResu... method Truncate (line 3587) | func (a *HistoryApi) Truncate(ctx context.Context, params *HistoryTrun... type UsageApi (line 3604) | type UsageApi method GetMetrics (line 3606) | func (a *UsageApi) GetMetrics(ctx context.Context) (*UsageGetMetricsRe... type SessionRpc (line 3620) | type SessionRpc struct method Suspend (line 3646) | func (a *SessionRpc) Suspend(ctx context.Context) (*SuspendResult, err... method Log (line 3659) | func (a *SessionRpc) Log(ctx context.Context, params *LogRequest) (*Lo... function NewSessionRpc (line 3684) | func NewSessionRpc(client *jsonrpc2.Client, sessionID string) *SessionRpc { type SessionFsHandler (line 3711) | type SessionFsHandler interface type ClientSessionApiHandlers (line 3725) | type ClientSessionApiHandlers struct function clientSessionHandlerError (line 3729) | func clientSessionHandlerError(err error) *jsonrpc2.Error { function RegisterClientSessionApiHandlers (line 3741) | func RegisterClientSessionApiHandlers(client *jsonrpc2.Client, getHandle... FILE: go/rpc/result_union.go method MarshalJSON (line 10) | func (r ExternalToolResult) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 21) | func (r *ExternalToolResult) UnmarshalJSON(data []byte) error { FILE: go/samples/chat.go constant blue (line 14) | blue = "\033[34m" constant reset (line 15) | reset = "\033[0m" function main (line 17) | func main() { FILE: go/sdk_protocol_version.go constant SdkProtocolVersion (line 7) | SdkProtocolVersion = 3 function GetSdkProtocolVersion (line 10) | func GetSdkProtocolVersion() int { FILE: go/session.go type sessionHandler (line 15) | type sessionHandler struct type Session (line 51) | type Session struct method WorkspacePath (line 89) | func (s *Session) WorkspacePath() string { method Send (line 132) | func (s *Session) Send(ctx context.Context, options MessageOptions) (s... method SendAndWait (line 185) | func (s *Session) SendAndWait(ctx context.Context, options MessageOpti... method On (line 258) | func (s *Session) On(handler SessionEventHandler) func() { method registerTools (line 286) | func (s *Session) registerTools(tools []Tool) { method getToolHandler (line 301) | func (s *Session) getToolHandler(name string) (ToolHandler, bool) { method registerPermissionHandler (line 314) | func (s *Session) registerPermissionHandler(handler PermissionHandlerF... method getPermissionHandler (line 321) | func (s *Session) getPermissionHandler() PermissionHandlerFunc { method registerUserInputHandler (line 333) | func (s *Session) registerUserInputHandler(handler UserInputHandler) { method getUserInputHandler (line 340) | func (s *Session) getUserInputHandler() UserInputHandler { method handleUserInputRequest (line 348) | func (s *Session) handleUserInputRequest(request UserInputRequest) (Us... method registerHooks (line 368) | func (s *Session) registerHooks(hooks *SessionHooks) { method getHooks (line 375) | func (s *Session) getHooks() *SessionHooks { method handleHooksInvoke (line 383) | func (s *Session) handleHooksInvoke(hookType string, rawInput json.Raw... method registerTransformCallbacks (line 463) | func (s *Session) registerTransformCallbacks(callbacks map[string]Sect... method handleSystemMessageTransform (line 484) | func (s *Session) handleSystemMessageTransform(sections map[string]sys... method registerCommands (line 510) | func (s *Session) registerCommands(commands []CommandDefinition) { method getCommandHandler (line 523) | func (s *Session) getCommandHandler(name string) (CommandHandler, bool) { method executeCommandAndRespond (line 532) | func (s *Session) executeCommandAndRespond(requestID, commandName, com... method registerElicitationHandler (line 566) | func (s *Session) registerElicitationHandler(handler ElicitationHandle... method getElicitationHandler (line 573) | func (s *Session) getElicitationHandler() ElicitationHandler { method handleElicitationRequest (line 581) | func (s *Session) handleElicitationRequest(elicitCtx ElicitationContex... method Capabilities (line 649) | func (s *Session) Capabilities() SessionCapabilities { method setCapabilities (line 656) | func (s *Session) setCapabilities(caps *SessionCapabilities) { method UI (line 669) | func (s *Session) UI() *SessionUI { method assertElicitation (line 674) | func (s *Session) assertElicitation() error { method dispatchEvent (line 843) | func (s *Session) dispatchEvent(event SessionEvent) { method processEvents (line 860) | func (s *Session) processEvents() { method handleBroadcastEvent (line 889) | func (s *Session) handleBroadcastEvent(event SessionEvent) { method executeToolAndRespond (line 964) | func (s *Session) executeToolAndRespond(requestID, toolName, toolCallI... method executePermissionAndRespond (line 1026) | func (s *Session) executePermissionAndRespond(requestID string, permis... method GetMessages (line 1084) | func (s *Session) GetMessages(ctx context.Context) ([]SessionEvent, er... method Disconnect (line 1120) | func (s *Session) Disconnect() error { method Destroy (line 1156) | func (s *Session) Destroy() error { method Abort (line 1181) | func (s *Session) Abort(ctx context.Context) error { method SetModel (line 1210) | func (s *Session) SetModel(ctx context.Context, model string, opts *Se... method Log (line 1250) | func (s *Session) Log(ctx context.Context, message string, opts *LogOp... function newSession (line 94) | func newSession(sessionID string, client *jsonrpc2.Client, workspacePath... type systemMessageTransformSection (line 469) | type systemMessageTransformSection struct type systemMessageTransformRequest (line 473) | type systemMessageTransformRequest struct type systemMessageTransformResponse (line 478) | type systemMessageTransformResponse struct function toRPCContent (line 616) | func toRPCContent(v any) *rpc.UIElicitationFieldValue { method Elicitation (line 683) | func (ui *SessionUI) Elicitation(ctx context.Context, message string, re... method Confirm (line 699) | func (ui *SessionUI) Confirm(ctx context.Context, message string) (bool,... method Select (line 730) | func (ui *SessionUI) Select(ctx context.Context, message string, options... method Input (line 760) | func (ui *SessionUI) Input(ctx context.Context, message string, opts *In... function fromRPCElicitationResult (line 810) | func fromRPCElicitationResult(r *rpc.UIElicitationResponse) *Elicitation... type SetModelOptions (line 1191) | type SetModelOptions struct type LogOptions (line 1224) | type LogOptions struct FILE: go/session_event_serialization_test.go function TestSessionEventAgentIDRoundTripsKnownEvent (line 8) | func TestSessionEventAgentIDRoundTripsKnownEvent(t *testing.T) { function TestSessionEventAgentIDRoundTripsUnknownEvent (line 44) | func TestSessionEventAgentIDRoundTripsUnknownEvent(t *testing.T) { FILE: go/session_fs_provider.go type SessionFsProvider (line 18) | type SessionFsProvider interface type SessionFsFileInfo (line 50) | type SessionFsFileInfo struct type sessionFsAdapter (line 60) | type sessionFsAdapter struct method ReadFile (line 68) | func (a *sessionFsAdapter) ReadFile(request *rpc.SessionFSReadFileRequ... method WriteFile (line 76) | func (a *sessionFsAdapter) WriteFile(request *rpc.SessionFSWriteFileRe... method AppendFile (line 88) | func (a *sessionFsAdapter) AppendFile(request *rpc.SessionFSAppendFile... method Exists (line 100) | func (a *sessionFsAdapter) Exists(request *rpc.SessionFSExistsRequest)... method Stat (line 108) | func (a *sessionFsAdapter) Stat(request *rpc.SessionFSStatRequest) (*r... method Mkdir (line 122) | func (a *sessionFsAdapter) Mkdir(request *rpc.SessionFSMkdirRequest) (... method Readdir (line 135) | func (a *sessionFsAdapter) Readdir(request *rpc.SessionFSReaddirReques... method ReaddirWithTypes (line 143) | func (a *sessionFsAdapter) ReaddirWithTypes(request *rpc.SessionFSRead... method Rm (line 151) | func (a *sessionFsAdapter) Rm(request *rpc.SessionFSRmRequest) (*rpc.S... method Rename (line 160) | func (a *sessionFsAdapter) Rename(request *rpc.SessionFSRenameRequest)... function newSessionFsAdapter (line 64) | func newSessionFsAdapter(provider SessionFsProvider) rpc.SessionFsHandler { function toSessionFsError (line 167) | func toSessionFsError(err error) *rpc.SessionFSError { FILE: go/session_test.go function newTestSession (line 15) | func newTestSession() (*Session, func()) { function TestSession_On (line 25) | func TestSession_On(t *testing.T) { function TestSession_CommandRouting (line 212) | func TestSession_CommandRouting(t *testing.T) { function TestSession_Capabilities (line 353) | func TestSession_Capabilities(t *testing.T) { function waitForCapability (line 440) | func waitForCapability(t *testing.T, session *Session, predicate func(Se... function TestSession_ElicitationCapabilityGating (line 456) | func TestSession_ElicitationCapabilityGating(t *testing.T) { function TestSession_ElicitationHandler (line 485) | func TestSession_ElicitationHandler(t *testing.T) { function TestSession_HookForwardCompatibility (line 554) | func TestSession_HookForwardCompatibility(t *testing.T) { function TestSession_ElicitationRequestSchema (line 593) | func TestSession_ElicitationRequestSchema(t *testing.T) { FILE: go/telemetry.go function getTraceContext (line 12) | func getTraceContext(ctx context.Context) (traceparent, tracestate strin... function contextWithTraceParent (line 20) | func contextWithTraceParent(ctx context.Context, traceparent, tracestate... FILE: go/telemetry_test.go function TestGetTraceContextEmpty (line 12) | func TestGetTraceContextEmpty(t *testing.T) { function TestGetTraceContextWithPropagator (line 20) | func TestGetTraceContextWithPropagator(t *testing.T) { function TestContextWithTraceParentEmpty (line 38) | func TestContextWithTraceParentEmpty(t *testing.T) { function TestContextWithTraceParentValid (line 45) | func TestContextWithTraceParentValid(t *testing.T) { function TestToolInvocationTraceContext (line 60) | func TestToolInvocationTraceContext(t *testing.T) { FILE: go/types.go type ConnectionState (line 11) | type ConnectionState constant StateDisconnected (line 14) | StateDisconnected ConnectionState = "disconnected" constant StateConnecting (line 15) | StateConnecting ConnectionState = "connecting" constant StateConnected (line 16) | StateConnected ConnectionState = "connected" constant StateError (line 17) | StateError ConnectionState = "error" type ClientOptions (line 21) | type ClientOptions struct type TelemetryConfig (line 83) | type TelemetryConfig struct function Bool (line 110) | func Bool(v bool) *bool { function String (line 116) | func String(v string) *string { function Float64 (line 122) | func Float64(v float64) *float64 { function Int (line 128) | func Int(v int) *int { constant SectionIdentity (line 134) | SectionIdentity = "identity" constant SectionTone (line 135) | SectionTone = "tone" constant SectionToolEfficiency (line 136) | SectionToolEfficiency = "tool_efficiency" constant SectionEnvironmentContext (line 137) | SectionEnvironmentContext = "environment_context" constant SectionCodeChangeRules (line 138) | SectionCodeChangeRules = "code_change_rules" constant SectionGuidelines (line 139) | SectionGuidelines = "guidelines" constant SectionSafety (line 140) | SectionSafety = "safety" constant SectionToolInstructions (line 141) | SectionToolInstructions = "tool_instructions" constant SectionCustomInstructions (line 142) | SectionCustomInstructions = "custom_instructions" constant SectionLastInstructions (line 143) | SectionLastInstructions = "last_instructions" type SectionOverrideAction (line 147) | type SectionOverrideAction constant SectionActionReplace (line 151) | SectionActionReplace SectionOverrideAction = "replace" constant SectionActionRemove (line 153) | SectionActionRemove SectionOverrideAction = "remove" constant SectionActionAppend (line 155) | SectionActionAppend SectionOverrideAction = "append" constant SectionActionPrepend (line 157) | SectionActionPrepend SectionOverrideAction = "prepend" type SectionTransformFn (line 163) | type SectionTransformFn type SectionOverride (line 166) | type SectionOverride struct type SystemMessageAppendConfig (line 178) | type SystemMessageAppendConfig struct type SystemMessageReplaceConfig (line 187) | type SystemMessageReplaceConfig struct type SystemMessageConfig (line 200) | type SystemMessageConfig struct type PermissionRequestResultKind (line 207) | type PermissionRequestResultKind constant PermissionRequestResultKindApproved (line 211) | PermissionRequestResultKindApproved PermissionRequestResultKind = "appro... constant PermissionRequestResultKindRejected (line 214) | PermissionRequestResultKindRejected PermissionRequestResultKind = "reject" constant PermissionRequestResultKindUserNotAvailable (line 218) | PermissionRequestResultKindUserNotAvailable PermissionRequestResultKind ... constant PermissionRequestResultKindNoResult (line 221) | PermissionRequestResultKindNoResult PermissionRequestResultKind = "no-re... constant PermissionRequestResultKindDeniedInteractivelyByUser (line 224) | PermissionRequestResultKindDeniedInteractivelyByUser = PermissionRequest... constant PermissionRequestResultKindDeniedCouldNotRequestFromUser (line 227) | PermissionRequestResultKindDeniedCouldNotRequestFromUser = PermissionReq... constant PermissionRequestResultKindDeniedByRules (line 230) | PermissionRequestResultKindDeniedByRules = PermissionRequestResultKindUs... type PermissionRequestResult (line 234) | type PermissionRequestResult struct type PermissionHandlerFunc (line 241) | type PermissionHandlerFunc type PermissionInvocation (line 244) | type PermissionInvocation struct type UserInputRequest (line 249) | type UserInputRequest struct type UserInputResponse (line 256) | type UserInputResponse struct type UserInputHandler (line 263) | type UserInputHandler type UserInputInvocation (line 266) | type UserInputInvocation struct type PreToolUseHookInput (line 271) | type PreToolUseHookInput struct type PreToolUseHookOutput (line 279) | type PreToolUseHookOutput struct type PreToolUseHandler (line 288) | type PreToolUseHandler type PostToolUseHookInput (line 291) | type PostToolUseHookInput struct type PostToolUseHookOutput (line 300) | type PostToolUseHookOutput struct type PostToolUseHandler (line 307) | type PostToolUseHandler type UserPromptSubmittedHookInput (line 310) | type UserPromptSubmittedHookInput struct type UserPromptSubmittedHookOutput (line 317) | type UserPromptSubmittedHookOutput struct type UserPromptSubmittedHandler (line 324) | type UserPromptSubmittedHandler type SessionStartHookInput (line 327) | type SessionStartHookInput struct type SessionStartHookOutput (line 335) | type SessionStartHookOutput struct type SessionStartHandler (line 341) | type SessionStartHandler type SessionEndHookInput (line 344) | type SessionEndHookInput struct type SessionEndHookOutput (line 353) | type SessionEndHookOutput struct type SessionEndHandler (line 360) | type SessionEndHandler type ErrorOccurredHookInput (line 363) | type ErrorOccurredHookInput struct type ErrorOccurredHookOutput (line 372) | type ErrorOccurredHookOutput struct type ErrorOccurredHandler (line 380) | type ErrorOccurredHandler type HookInvocation (line 383) | type HookInvocation struct type SessionHooks (line 388) | type SessionHooks struct type MCPServerConfig (line 399) | type MCPServerConfig interface type MCPStdioServerConfig (line 404) | type MCPStdioServerConfig struct method mcpServerConfig (line 413) | func (MCPStdioServerConfig) mcpServerConfig() {} method MarshalJSON (line 416) | func (c MCPStdioServerConfig) MarshalJSON() ([]byte, error) { type MCPHTTPServerConfig (line 428) | type MCPHTTPServerConfig struct method mcpServerConfig (line 435) | func (MCPHTTPServerConfig) mcpServerConfig() {} method MarshalJSON (line 438) | func (c MCPHTTPServerConfig) MarshalJSON() ([]byte, error) { type CustomAgentConfig (line 450) | type CustomAgentConfig struct type DefaultAgentConfig (line 472) | type DefaultAgentConfig struct type InfiniteSessionConfig (line 481) | type InfiniteSessionConfig struct type SessionFsConfig (line 493) | type SessionFsConfig struct type SessionConfig (line 504) | type SessionConfig struct type Tool (line 602) | type Tool struct type ToolInvocation (line 612) | type ToolInvocation struct type ToolHandler (line 627) | type ToolHandler type ToolResult (line 630) | type ToolResult struct type CommandContext (line 640) | type CommandContext struct type CommandHandler (line 652) | type CommandHandler type CommandDefinition (line 656) | type CommandDefinition struct type SessionCapabilities (line 666) | type SessionCapabilities struct type UICapabilities (line 671) | type UICapabilities struct type ElicitationResult (line 677) | type ElicitationResult struct type ElicitationContext (line 687) | type ElicitationContext struct type ElicitationHandler (line 705) | type ElicitationHandler type InputOptions (line 708) | type InputOptions struct type SessionUI (line 725) | type SessionUI struct type ResumeSessionConfig (line 730) | type ResumeSessionConfig struct type ProviderConfig (line 828) | type ProviderConfig struct type AzureProviderOptions (line 848) | type AzureProviderOptions struct type ToolBinaryResult (line 854) | type ToolBinaryResult struct type MessageOptions (line 862) | type MessageOptions struct type SessionEventHandler (line 874) | type SessionEventHandler type ModelVisionLimits (line 877) | type ModelVisionLimits struct type ModelLimits (line 884) | type ModelLimits struct type ModelSupports (line 891) | type ModelSupports struct type ModelCapabilities (line 897) | type ModelCapabilities struct type ModelPolicy (line 912) | type ModelPolicy struct type ModelBilling (line 918) | type ModelBilling struct type ModelInfo (line 923) | type ModelInfo struct type SessionContext (line 934) | type SessionContext struct type SessionListFilter (line 946) | type SessionListFilter struct type SessionMetadata (line 958) | type SessionMetadata struct type SessionLifecycleEventType (line 968) | type SessionLifecycleEventType constant SessionLifecycleCreated (line 971) | SessionLifecycleCreated SessionLifecycleEventType = "session.created" constant SessionLifecycleDeleted (line 972) | SessionLifecycleDeleted SessionLifecycleEventType = "session.deleted" constant SessionLifecycleUpdated (line 973) | SessionLifecycleUpdated SessionLifecycleEventType = "session.updated" constant SessionLifecycleForeground (line 974) | SessionLifecycleForeground SessionLifecycleEventType = "session.foreground" constant SessionLifecycleBackground (line 975) | SessionLifecycleBackground SessionLifecycleEventType = "session.background" type SessionLifecycleEvent (line 979) | type SessionLifecycleEvent struct type SessionLifecycleEventMetadata (line 986) | type SessionLifecycleEventMetadata struct type SessionLifecycleHandler (line 993) | type SessionLifecycleHandler type createSessionRequest (line 996) | type createSessionRequest struct type wireCommand (line 1031) | type wireCommand struct type createSessionResponse (line 1037) | type createSessionResponse struct type resumeSessionRequest (line 1044) | type resumeSessionRequest struct type resumeSessionResponse (line 1081) | type resumeSessionResponse struct type hooksInvokeRequest (line 1087) | type hooksInvokeRequest struct type listSessionsRequest (line 1094) | type listSessionsRequest struct type listSessionsResponse (line 1099) | type listSessionsResponse struct type getSessionMetadataRequest (line 1104) | type getSessionMetadataRequest struct type getSessionMetadataResponse (line 1109) | type getSessionMetadataResponse struct type deleteSessionRequest (line 1114) | type deleteSessionRequest struct type deleteSessionResponse (line 1119) | type deleteSessionResponse struct type getLastSessionIDRequest (line 1125) | type getLastSessionIDRequest struct type getLastSessionIDResponse (line 1128) | type getLastSessionIDResponse struct type getForegroundSessionRequest (line 1133) | type getForegroundSessionRequest struct type getForegroundSessionResponse (line 1136) | type getForegroundSessionResponse struct type setForegroundSessionRequest (line 1142) | type setForegroundSessionRequest struct type setForegroundSessionResponse (line 1147) | type setForegroundSessionResponse struct type pingRequest (line 1152) | type pingRequest struct type PingResponse (line 1157) | type PingResponse struct type getStatusRequest (line 1164) | type getStatusRequest struct type GetStatusResponse (line 1167) | type GetStatusResponse struct type getAuthStatusRequest (line 1173) | type getAuthStatusRequest struct type GetAuthStatusResponse (line 1176) | type GetAuthStatusResponse struct type listModelsRequest (line 1185) | type listModelsRequest struct type listModelsResponse (line 1188) | type listModelsResponse struct type sessionGetMessagesRequest (line 1193) | type sessionGetMessagesRequest struct type sessionGetMessagesResponse (line 1198) | type sessionGetMessagesResponse struct type sessionDestroyRequest (line 1203) | type sessionDestroyRequest struct type sessionAbortRequest (line 1208) | type sessionAbortRequest struct type sessionSendRequest (line 1212) | type sessionSendRequest struct type sessionSendResponse (line 1223) | type sessionSendResponse struct type sessionEventRequest (line 1228) | type sessionEventRequest struct type userInputRequest (line 1234) | type userInputRequest struct type userInputResponse (line 1242) | type userInputResponse struct FILE: go/types_test.go function TestPermissionRequestResultKind_Constants (line 8) | func TestPermissionRequestResultKind_Constants(t *testing.T) { function TestPermissionRequestResultKind_CustomValue (line 33) | func TestPermissionRequestResultKind_CustomValue(t *testing.T) { function TestPermissionRequestResult_JSONRoundTrip (line 40) | func TestPermissionRequestResult_JSONRoundTrip(t *testing.T) { function TestPermissionRequestResult_JSONDeserialize (line 73) | func TestPermissionRequestResult_JSONDeserialize(t *testing.T) { function TestPermissionRequestResult_JSONSerialize (line 85) | func TestPermissionRequestResult_JSONSerialize(t *testing.T) { function TestProviderConfig_JSONIncludesHeaders (line 98) | func TestProviderConfig_JSONIncludesHeaders(t *testing.T) { function TestSessionSendRequest_JSONIncludesRequestHeaders (line 126) | func TestSessionSendRequest_JSONIncludesRequestHeaders(t *testing.T) { FILE: nodejs/samples/chat.ts function main (line 4) | async function main() { FILE: nodejs/scripts/get-version.js function getLatestVersion (line 15) | async function getLatestVersion(tag) { function main (line 33) | async function main() { FILE: nodejs/src/client.ts constant MIN_PROTOCOL_VERSION (line 65) | const MIN_PROTOCOL_VERSION = 2; function isZodSchema (line 70) | function isZodSchema(value: unknown): value is { toJSONSchema(): Record<... function toJsonSchema (line 82) | function toJsonSchema(parameters: Tool["parameters"]): Record { method constructor (line 284) | constructor(options: CopilotClientOptions = {}) { method parseCliUrl (line 351) | private parseCliUrl(url: string): { host: string; port: number } { method validateSessionFsConfig (line 378) | private validateSessionFsConfig(config: SessionFsConfig): void { method start (line 410) | async start(): Promise { method stop (line 468) | async stop(): Promise { method forceStop (line 585) | async forceStop(): Promise { method createSession (line 664) | async createSession(config: SessionConfig): Promise { method resumeSession (line 808) | async resumeSession(sessionId: string, config: ResumeSessionConfig): P... method getState (line 941) | getState(): ConnectionState { method ping (line 958) | async ping( method getStatus (line 976) | async getStatus(): Promise { method getAuthStatus (line 988) | async getAuthStatus(): Promise { method listModels (line 1008) | async listModels(): Promise { method verifyProtocolVersion (line 1070) | private async verifyProtocolVersion(): Promise { method getLastSessionId (line 1117) | async getLastSessionId(): Promise { method deleteSession (line 1143) | async deleteSession(sessionId: string): Promise { method listSessions (line 1174) | async listSessions(filter?: SessionListFilter): Promise { method setForegroundSessionId (line 1298) | async setForegroundSessionId(sessionId: string): Promise { method on (line 1362) | on( method startCLIServer (line 1393) | private async startCLIServer(): Promise { method connectToServer (line 1594) | private async connectToServer(): Promise { method connectToChildProcessViaStdio (line 1607) | private async connectToChildProcessViaStdio(): Promise { method connectToParentProcessViaStdio (line 1632) | private async connectToParentProcessViaStdio(): Promise { method connectViaTcp (line 1650) | private async connectViaTcp(): Promise { method attachConnectionHandlers (line 1676) | private attachConnectionHandlers(): void { method handleSessionEventNotification (line 1754) | private handleSessionEventNotification(notification: unknown): void { method handleSessionLifecycleNotification (line 1771) | private handleSessionLifecycleNotification(notification: unknown): void { method handleUserInputRequest (line 1807) | private async handleUserInputRequest(params: { method handleHooksInvoke (line 1834) | private async handleHooksInvoke(params: { method handleSystemMessageTransform (line 1856) | private async handleSystemMessageTransform(params: { method handleToolCallRequestV2 (line 1886) | private async handleToolCallRequestV2( method handlePermissionRequestV2 (line 1945) | private async handlePermissionRequestV2(params: { method normalizeToolResultV2 (line 1973) | private normalizeToolResultV2(result: unknown): ToolResultObject { method isToolResultObject (line 1995) | private isToolResultObject(value: unknown): value is ToolResultObject { FILE: nodejs/src/extension.ts type JoinSessionConfig (line 13) | type JoinSessionConfig = Omit { method workspacePath (line 129) | get workspacePath(): string | undefined { method capabilities (line 137) | get capabilities(): SessionCapabilities { method ui (line 153) | get ui(): SessionUiApi { method send (line 180) | async send(options: MessageOptions): Promise { method sendAndWait (line 216) | async sendAndWait( method on (line 319) | on( method _dispatchEvent (line 355) | _dispatchEvent(event: SessionEvent): void { method _handleBroadcastEvent (line 387) | private _handleBroadcastEvent(event: SessionEvent): void { method _executeToolAndRespond (line 457) | private async _executeToolAndRespond( method _executePermissionAndRespond (line 503) | private async _executePermissionAndRespond( method _executeCommandAndRespond (line 536) | private async _executeCommandAndRespond( method registerTools (line 581) | registerTools(tools?: Tool[]): void { method getToolHandler (line 599) | getToolHandler(name: string): ToolHandler | undefined { method registerCommands (line 609) | registerCommands(commands?: { name: string; handler: CommandHandler }[... method registerElicitationHandler (line 625) | registerElicitationHandler(handler?: ElicitationHandler): void { method _handleElicitationRequest (line 634) | async _handleElicitationRequest(context: ElicitationContext, requestId... method setCapabilities (line 663) | setCapabilities(capabilities?: SessionCapabilities): void { method assertElicitation (line 667) | private assertElicitation(): void { method _elicitation (line 676) | private async _elicitation(params: ElicitationParams): Promise { method _select (line 699) | private async _select(message: string, options: string[]): Promise... method _handleSystemMessageTransform (line 800) | async _handleSystemMessageTransform( method _handlePermissionRequestV2 (line 832) | async _handlePermissionRequestV2(request: unknown): Promise { method disconnect (line 967) | async disconnect(): Promise { method destroy (line 986) | async destroy(): Promise { method abort (line 1015) | async abort(): Promise { method setModel (line 1034) | async setModel( method log (line 1060) | async log( method [Symbol.asyncDispose] (line 991) | async [Symbol.asyncDispose](): Promise { function isToolResultObject (line 1072) | function isToolResultObject(value: unknown): value is ToolResultObject { FILE: nodejs/src/sessionFsProvider.ts type SessionFsFileInfo (line 17) | type SessionFsFileInfo = Omit; type SessionFsProvider (line 28) | interface SessionFsProvider { function createSessionFsAdapter (line 65) | function createSessionFsAdapter(provider: SessionFsProvider): SessionFsH... function toSessionFsError (line 155) | function toSessionFsError(err: unknown): SessionFsError { FILE: nodejs/src/telemetry.ts function getTraceContext (line 20) | async function getTraceContext(provider?: TraceContextProvider): Promise... FILE: nodejs/src/types.ts type SessionEvent (line 13) | type SessionEvent = GeneratedSessionEvent; type TraceContext (line 24) | interface TraceContext { type TraceContextProvider (line 34) | type TraceContextProvider = () => TraceContext | Promise; type TelemetryConfig (line 43) | interface TelemetryConfig { type CopilotClientOptions (line 56) | interface CopilotClientOptions { type ToolResultType (line 202) | type ToolResultType = "success" | "failure" | "rejected" | "denied" | "t... type ToolBinaryResult (line 204) | type ToolBinaryResult = { type ToolResultObject (line 211) | type ToolResultObject = { type ToolResult (line 220) | type ToolResult = string | ToolResultObject; type McpCallToolResultTextContent (line 229) | type McpCallToolResultTextContent = { type McpCallToolResultImageContent (line 234) | type McpCallToolResultImageContent = { type McpCallToolResultResourceContent (line 240) | type McpCallToolResultResourceContent = { type McpCallToolResultContent (line 250) | type McpCallToolResultContent = type McpCallToolResult (line 259) | type McpCallToolResult = { function convertMcpCallToolResult (line 267) | function convertMcpCallToolResult(callResult: McpCallToolResult): ToolRe... type ToolInvocation (line 317) | interface ToolInvocation { type ToolHandler (line 328) | type ToolHandler = ( type ZodSchema (line 337) | interface ZodSchema { type Tool (line 348) | interface Tool { function defineTool (line 369) | function defineTool( type CommandContext (line 389) | interface CommandContext { type CommandHandler (line 403) | type CommandHandler = (context: CommandContext) => Promise | void; type CommandDefinition (line 410) | interface CommandDefinition { type SessionCapabilities (line 426) | interface SessionCapabilities { type ElicitationSchemaField (line 437) | type ElicitationSchemaField = type ElicitationSchema (line 498) | interface ElicitationSchema { type ElicitationFieldValue (line 508) | type ElicitationFieldValue = string | number | boolean | string[]; type ElicitationResult (line 513) | interface ElicitationResult { type ElicitationParams (line 523) | interface ElicitationParams { type ElicitationContext (line 534) | interface ElicitationContext { type ElicitationHandler (line 553) | type ElicitationHandler = ( type InputOptions (line 560) | interface InputOptions { type SessionUiApi (line 579) | interface SessionUiApi { type ToolCallRequestPayload (line 608) | interface ToolCallRequestPayload { type ToolCallResponsePayload (line 615) | interface ToolCallResponsePayload { type SystemPromptSection (line 623) | type SystemPromptSection = constant SYSTEM_PROMPT_SECTIONS (line 636) | const SYSTEM_PROMPT_SECTIONS: Record string | Promise = Extract = ( type SessionEventHandler (line 1559) | type SessionEventHandler = (event: SessionEvent) => void; type ConnectionState (line 1564) | type ConnectionState = "disconnected" | "connecting" | "connected" | "er... type SessionContext (line 1569) | interface SessionContext { type SessionFsConfig (line 1583) | interface SessionFsConfig { type SessionListFilter (line 1604) | interface SessionListFilter { type SessionMetadata (line 1618) | interface SessionMetadata { type GetStatusResponse (line 1631) | interface GetStatusResponse { type GetAuthStatusResponse (line 1641) | interface GetAuthStatusResponse { type ModelCapabilities (line 1657) | interface ModelCapabilities { type DeepPartial (line 1675) | type DeepPartial = T extends readonly (infer U)[] type ModelCapabilitiesOverride (line 1682) | type ModelCapabilitiesOverride = DeepPartial; type ModelPolicy (line 1687) | interface ModelPolicy { type ModelBilling (line 1695) | interface ModelBilling { type ModelInfo (line 1702) | interface ModelInfo { type SessionLifecycleEventType (line 1726) | type SessionLifecycleEventType = type SessionLifecycleEvent (line 1737) | interface SessionLifecycleEvent { type SessionLifecycleHandler (line 1753) | type SessionLifecycleHandler = (event: SessionLifecycleEvent) => void; type TypedSessionLifecycleHandler (line 1758) | type TypedSessionLifecycleHandler = ( type ForegroundSessionInfo (line 1765) | interface ForegroundSessionInfo { FILE: nodejs/test/call-tool-result.test.ts type McpCallToolResult (line 4) | type McpCallToolResult = Parameters[0]; FILE: nodejs/test/e2e/client.e2e.test.ts function onTestFinishedForceStop (line 5) | function onTestFinishedForceStop(client: CopilotClient) { FILE: nodejs/test/e2e/client_api.e2e.test.ts function assertFailure (line 12) | async function assertFailure( FILE: nodejs/test/e2e/client_lifecycle.e2e.test.ts function deferred (line 12) | function deferred(): { promise: Promise; resolve: (value: T) => vo... function withTimeout (line 20) | async function withTimeout(promise: Promise, ms: number, label: st... FILE: nodejs/test/e2e/client_options.e2e.test.ts constant FAKE_STDIO_CLI_SCRIPT (line 12) | const FAKE_STDIO_CLI_SCRIPT = `const fs = require("fs"); function getAvailableTcpPort (line 104) | async function getAvailableTcpPort(): Promise { function assertArgumentValue (line 120) | function assertArgumentValue( FILE: nodejs/test/e2e/commands.e2e.test.ts type CommandsChangedEvent (line 34) | type CommandsChangedEvent = Extract { method updateConfig (line 41) | async updateConfig(config: { method getExchanges (line 54) | async getExchanges(): Promise { method stop (line 59) | async stop(skipWritingCache?: boolean): Promise { method setCopilotUserByToken (line 72) | async setCopilotUserByToken(token: string, response: CopilotUserRespon... FILE: nodejs/test/e2e/harness/sdkTestContext.ts constant SNAPSHOTS_DIR (line 20) | const SNAPSHOTS_DIR = resolve(__dirname, "../../../../test/snapshots"); function createSdkTestContext (line 22) | async function createSdkTestContext({ function getTrafficCapturePath (line 99) | function getTrafficCapturePath(testContext: TestContext): string { function rmDir (line 118) | async function rmDir(message: string, path: string): Promise { FILE: nodejs/test/e2e/harness/sdkTestHelper.ts function getFinalAssistantMessage (line 7) | async function getFinalAssistantMessage( function getExistingFinalResponse (line 24) | function getExistingFinalResponse( function getFutureFinalResponse (line 57) | function getFutureFinalResponse(session: CopilotSession): Promise(): { function waitWithTimeout (line 43) | async function waitWithTimeout( function waitForExternalToolRequests (line 61) | function waitForExternalToolRequests( function waitForPermissionRequest (line 100) | function waitForPermissionRequest(session: CopilotSession): Promise; function getServerConfig (line 26) | function getServerConfig(list: { servers: Record }, nam... FILE: nodejs/test/e2e/rpc_server.e2e.test.ts function createAuthenticatedClient (line 14) | function createAuthenticatedClient(token: string): CopilotClient { function configureAuthenticatedUser (line 36) | async function configureAuthenticatedUser( function createSkillDirectory (line 62) | function createSkillDirectory(skillName: string, description: string): s... FILE: nodejs/test/e2e/rpc_session_state.e2e.test.ts function assertImplementedFailure (line 13) | async function assertImplementedFailure( function getConversationMessages (line 24) | function getConversationMessages(events: SessionEvent[]): { role: string... FILE: nodejs/test/e2e/rpc_shell_and_fleet.e2e.test.ts function createWriteFileCommand (line 17) | function createWriteFileCommand(markerPath: string, marker: string): str... function waitForFileText (line 24) | async function waitForFileText( function waitForMessages (line 44) | async function waitForMessages( FILE: nodejs/test/e2e/rpc_tasks_and_handlers.e2e.test.ts function assertImplementedFailure (line 12) | async function assertImplementedFailure( FILE: nodejs/test/e2e/session.e2e.test.ts function getSystemMessage (line 792) | function getSystemMessage(exchange: ParsedHttpExchange): string | undefi... FILE: nodejs/test/e2e/session_config.e2e.test.ts function hasImageUrlContent (line 89) | function hasImageUrlContent(messages: Array<{ role: string; content: unk... function createProxyProvider (line 160) | function createProxyProvider(headerValue: string) { function getHeaderString (line 171) | function getHeaderString( function getSystemMessage (line 191) | function getSystemMessage(exchange: { function getToolNames (line 200) | function getToolNames(exchange: { FILE: nodejs/test/e2e/session_fs.e2e.test.ts method readFile (line 217) | async readFile(path: string): Promise { method writeFile (line 220) | async writeFile(path: string, content: string): Promise { method appendFile (line 223) | async appendFile(path: string, content: string): Promise { method exists (line 226) | async exists(path: string): Promise { method stat (line 229) | async stat(path: string): Promise { method mkdir (line 239) | async mkdir(path: string, recursive: boolean, mode?: number): Promise { method readdirWithTypes (line 245) | async readdirWithTypes(path: string): Promise { function findToolCallResult (line 428) | function findToolCallResult(messages: SessionEvent[], toolName: string):... function findToolName (line 438) | function findToolName(messages: SessionEvent[], toolCallId: string): str... function escapeRegExp (line 452) | function escapeRegExp(value: string): string { function createTestSessionFsHandler (line 456) | function createTestSessionFsHandler( FILE: nodejs/test/e2e/session_lifecycle.e2e.test.ts function waitFor (line 14) | async function waitFor( FILE: nodejs/test/e2e/skills.e2e.test.ts function createSkillDir (line 24) | function createSkillDir(): string { FILE: nodejs/test/e2e/suspend.e2e.test.ts constant SUSPEND_TIMEOUT_MS (line 11) | const SUSPEND_TIMEOUT_MS = 60_000; constant TEST_TIMEOUT_MS (line 12) | const TEST_TIMEOUT_MS = 180_000; type Deferred (line 14) | type Deferred = { function deferred (line 20) | function deferred(): Deferred { function waitWithTimeout (line 32) | async function waitWithTimeout( function onTestFinishedForceStop (line 50) | function onTestFinishedForceStop(client: CopilotClient): void { function createTcpServer (line 63) | function createTcpServer(): CopilotClient { function createConnectingClient (line 74) | function createConnectingClient(cliUrl: string): CopilotClient { function getCliUrl (line 80) | function getCliUrl(server: CopilotClient): string { FILE: nodejs/test/e2e/system_message_transform.e2e.test.ts function getSystemMessage (line 120) | function getSystemMessage(exchange: ParsedHttpExchange): string | undefi... FILE: nodejs/test/e2e/telemetry.e2e.test.ts type TelemetryEntry (line 14) | interface TelemetryEntry { function getStringAttribute (line 24) | function getStringAttribute(entry: TelemetryEntry, name: string): string... function isRootSpan (line 32) | function isRootSpan(entry: TelemetryEntry): boolean { function readTelemetryEntries (line 37) | async function readTelemetryEntries( FILE: nodejs/test/session_fs_adapter.test.ts method readFile (line 16) | async readFile(path) { method writeFile (line 19) | async writeFile(path, content) { method appendFile (line 22) | async appendFile(path, content) { method exists (line 25) | async exists(path) { method stat (line 28) | async stat(path) { method mkdir (line 38) | async mkdir(path, recursive, mode) { method readdir (line 41) | async readdir(path) { method readdirWithTypes (line 44) | async readdirWithTypes(path) { method rm (line 56) | async rm(path) { method rename (line 59) | async rename(src, dest) { function makeError (line 155) | function makeError(message: string, code?: string): Error { function makeThrowingProvider (line 163) | function makeThrowingProvider(error: Error): SessionFsProvider { function assertEnoent (line 182) | function assertEnoent(error: { code: string; message: string } | undefin... FILE: python/copilot/_jsonrpc.py class JsonRpcError (line 17) | class JsonRpcError(Exception): method __init__ (line 20) | def __init__(self, code: int, message: str, data: Any = None): class ProcessExitedError (line 27) | class ProcessExitedError(Exception): class JsonRpcClient (line 36) | class JsonRpcClient: method __init__ (line 43) | def __init__(self, process): method start (line 65) | def start(self, loop: asyncio.AbstractEventLoop | None = None): method _stderr_loop (line 78) | def _stderr_loop(self): method get_stderr_output (line 94) | def get_stderr_output(self) -> str: method stop (line 99) | async def stop(self): method request (line 107) | async def request( method notify (line 153) | async def notify(self, method: str, params: dict | None = None): method set_notification_handler (line 168) | def set_notification_handler(self, handler: Callable[[str, dict], None]): method set_request_handler (line 172) | def set_request_handler(self, method: str, handler: RequestHandler): method _send_message (line 178) | async def _send_message(self, message: dict): method _read_loop (line 194) | def _read_loop(self): method _fail_pending_requests (line 218) | def _fail_pending_requests(self): method _read_exact (line 241) | def _read_exact(self, num_bytes: int) -> bytes: method _read_message (line 264) | def _read_message(self) -> dict | None: method _handle_message (line 292) | def _handle_message(self, message: dict): method _handle_request (line 330) | def _handle_request(self, message: dict): method _dispatch_request (line 349) | async def _dispatch_request(self, message: dict, handler: RequestHandl... method _send_response (line 365) | async def _send_response(self, request_id: str, result: dict | None): method _send_error_response (line 373) | async def _send_error_response( FILE: python/copilot/_sdk_protocol_version.py function get_sdk_protocol_version (line 12) | def get_sdk_protocol_version() -> int: FILE: python/copilot/_telemetry.py function get_trace_context (line 9) | def get_trace_context() -> dict[str, str]: function trace_context (line 27) | def trace_context(traceparent: str | None, tracestate: str | None) -> Ge... FILE: python/copilot/client.py function _validate_session_fs_config (line 75) | def _validate_session_fs_config(config: SessionFsConfig) -> None: class TelemetryConfig (line 84) | class TelemetryConfig(TypedDict, total=False): class SubprocessConfig (line 100) | class SubprocessConfig: class ExternalServerConfig (line 163) | class ExternalServerConfig: class PingResponse (line 186) | class PingResponse: method from_dict (line 194) | def from_dict(obj: Any) -> PingResponse: method to_dict (line 206) | def to_dict(self) -> dict: class StopError (line 215) | class StopError(Exception): method __post_init__ (line 220) | def __post_init__(self) -> None: method from_dict (line 224) | def from_dict(obj: Any) -> StopError: method to_dict (line 231) | def to_dict(self) -> dict: class GetStatusResponse (line 238) | class GetStatusResponse: method from_dict (line 245) | def from_dict(obj: Any) -> GetStatusResponse: method to_dict (line 256) | def to_dict(self) -> dict: class GetAuthStatusResponse (line 264) | class GetAuthStatusResponse: method from_dict (line 274) | def from_dict(obj: Any) -> GetAuthStatusResponse: method to_dict (line 291) | def to_dict(self) -> dict: class ModelVisionLimits (line 311) | class ModelVisionLimits: method from_dict (line 319) | def from_dict(obj: Any) -> ModelVisionLimits: method to_dict (line 330) | def to_dict(self) -> dict: class ModelLimits (line 342) | class ModelLimits: method from_dict (line 350) | def from_dict(obj: Any) -> ModelLimits: method to_dict (line 362) | def to_dict(self) -> dict: class ModelSupports (line 374) | class ModelSupports: method from_dict (line 381) | def from_dict(obj: Any) -> ModelSupports: method to_dict (line 387) | def to_dict(self) -> dict: class ModelCapabilities (line 395) | class ModelCapabilities: method from_dict (line 402) | def from_dict(obj: Any) -> ModelCapabilities: method to_dict (line 410) | def to_dict(self) -> dict: class ModelVisionLimitsOverride (line 418) | class ModelVisionLimitsOverride: class ModelLimitsOverride (line 425) | class ModelLimitsOverride: class ModelSupportsOverride (line 433) | class ModelSupportsOverride: class ModelCapabilitiesOverride (line 439) | class ModelCapabilitiesOverride: function _capabilities_to_dict (line 444) | def _capabilities_to_dict(caps: ModelCapabilitiesOverride) -> dict: class ModelPolicy (line 478) | class ModelPolicy: method from_dict (line 485) | def from_dict(obj: Any) -> ModelPolicy: method to_dict (line 495) | def to_dict(self) -> dict: class ModelBilling (line 503) | class ModelBilling: method from_dict (line 509) | def from_dict(obj: Any) -> ModelBilling: method to_dict (line 516) | def to_dict(self) -> dict: class ModelInfo (line 523) | class ModelInfo: method from_dict (line 537) | def from_dict(obj: Any) -> ModelInfo: method to_dict (line 564) | def to_dict(self) -> dict: class SessionContext (line 586) | class SessionContext: method from_dict (line 595) | def from_dict(obj: Any) -> SessionContext: method to_dict (line 607) | def to_dict(self) -> dict: class SessionListFilter (line 619) | class SessionListFilter: method to_dict (line 627) | def to_dict(self) -> dict: class SessionMetadata (line 641) | class SessionMetadata: method from_dict (line 652) | def from_dict(obj: Any) -> SessionMetadata: method to_dict (line 675) | def to_dict(self) -> dict: class SessionLifecycleEventMetadata (line 702) | class SessionLifecycleEventMetadata: method from_dict (line 710) | def from_dict(data: dict) -> SessionLifecycleEventMetadata: class SessionLifecycleEvent (line 719) | class SessionLifecycleEvent: method from_dict (line 727) | def from_dict(data: dict) -> SessionLifecycleEvent: function _get_bundled_cli_path (line 751) | def _get_bundled_cli_path() -> str | None: function _extract_transform_callbacks (line 771) | def _extract_transform_callbacks( class CopilotClient (line 806) | class CopilotClient: method __init__ (line 838) | def __init__( method rpc (line 928) | def rpc(self) -> ServerRpc: method actual_port (line 935) | def actual_port(self) -> int | None: method _parse_cli_url (line 944) | def _parse_cli_url(self, url: str) -> tuple[str, int]: method __aenter__ (line 988) | async def __aenter__(self) -> CopilotClient: method __aexit__ (line 1006) | async def __aexit__( method start (line 1020) | async def start(self) -> None: method stop (line 1076) | async def stop(self) -> None: method force_stop (line 1141) | async def force_stop(self) -> None: method create_session (line 1191) | async def create_session( method resume_session (line 1483) | async def resume_session( method get_state (line 1760) | def get_state(self) -> ConnectionState: method ping (line 1774) | async def ping(self, message: str | None = None) -> PingResponse: method get_status (line 1797) | async def get_status(self) -> GetStatusResponse: method get_auth_status (line 1817) | async def get_auth_status(self) -> GetAuthStatusResponse: method list_models (line 1838) | async def list_models(self) -> list[ModelInfo]: method list_sessions (line 1888) | async def list_sessions(self, filter: SessionListFilter | None = None)... method get_session_metadata (line 1923) | async def get_session_metadata(self, session_id: str) -> SessionMetada... method delete_session (line 1953) | async def delete_session(self, session_id: str) -> None: method get_last_session_id (line 1986) | async def get_last_session_id(self) -> str | None: method get_foreground_session_id (line 2011) | async def get_foreground_session_id(self) -> str | None: method set_foreground_session_id (line 2035) | async def set_foreground_session_id(self, session_id: str) -> None: method on (line 2062) | def on(self, handler: SessionLifecycleHandler, /) -> HandlerUnsubcribe... method on (line 2065) | def on( method on (line 2069) | def on( method _dispatch_lifecycle_event (line 2132) | def _dispatch_lifecycle_event(self, event: SessionLifecycleEvent) -> N... method _verify_protocol_version (line 2153) | async def _verify_protocol_version(self) -> None: method _convert_provider_to_wire_format (line 2178) | def _convert_provider_to_wire_format( method _convert_custom_agent_to_wire_format (line 2210) | def _convert_custom_agent_to_wire_format( method _convert_default_agent_to_wire_format (line 2237) | def _convert_default_agent_to_wire_format( method _start_cli_server (line 2254) | async def _start_cli_server(self) -> None: method _connect_to_server (line 2386) | async def _connect_to_server(self) -> None: method _connect_via_stdio (line 2401) | async def _connect_via_stdio(self) -> None: method _connect_via_tcp (line 2453) | async def _connect_via_tcp(self) -> None: method _set_session_fs_provider (line 2558) | async def _set_session_fs_provider(self) -> None: method _get_client_session_handlers (line 2571) | def _get_client_session_handlers(self, session_id: str) -> ClientSessi... method _handle_user_input_request (line 2578) | async def _handle_user_input_request(self, params: dict) -> dict: method _handle_hooks_invoke (line 2605) | async def _handle_hooks_invoke(self, params: dict) -> dict: method _handle_system_message_transform (line 2633) | async def _handle_system_message_transform(self, params: dict) -> dict: method _handle_tool_call_request_v2 (line 2652) | async def _handle_tool_call_request_v2(self, params: dict) -> dict: method _handle_permission_request_v2 (line 2718) | async def _handle_permission_request_v2(self, params: dict) -> dict: FILE: python/copilot/generated/rpc.py function from_str (line 24) | def from_str(x: Any) -> str: function from_none (line 28) | def from_none(x: Any) -> Any: function from_union (line 32) | def from_union(fs, x): function from_int (line 40) | def from_int(x: Any) -> int: function from_bool (line 44) | def from_bool(x: Any) -> bool: function from_float (line 48) | def from_float(x: Any) -> float: function to_float (line 52) | def to_float(x: Any) -> float: function from_dict (line 56) | def from_dict(f: Callable[[Any], T], x: Any) -> dict[str, T]: function to_class (line 60) | def to_class(c: type[T], x: Any) -> dict: function from_list (line 64) | def from_list(f: Callable[[Any], T], x: Any) -> list[T]: function to_enum (line 68) | def to_enum(c: type[EnumT], x: Any) -> EnumT: function from_datetime (line 72) | def from_datetime(x: Any) -> datetime: class AccountGetQuotaRequest (line 76) | class AccountGetQuotaRequest: method from_dict (line 83) | def from_dict(obj: Any) -> 'AccountGetQuotaRequest': method to_dict (line 88) | def to_dict(self) -> dict: class AccountQuotaSnapshot (line 95) | class AccountQuotaSnapshot: method from_dict (line 121) | def from_dict(obj: Any) -> 'AccountQuotaSnapshot': method to_dict (line 133) | def to_dict(self) -> dict: class AgentInfo (line 147) | class AgentInfo: method from_dict (line 165) | def from_dict(obj: Any) -> 'AgentInfo': method to_dict (line 173) | def to_dict(self) -> dict: class AgentSelectRequest (line 184) | class AgentSelectRequest: method from_dict (line 189) | def from_dict(obj: Any) -> 'AgentSelectRequest': method to_dict (line 194) | def to_dict(self) -> dict: class AuthInfoType (line 199) | class AuthInfoType(Enum): class CommandsHandlePendingCommandRequest (line 211) | class CommandsHandlePendingCommandRequest: method from_dict (line 219) | def from_dict(obj: Any) -> 'CommandsHandlePendingCommandRequest': method to_dict (line 225) | def to_dict(self) -> dict: class CommandsHandlePendingCommandResult (line 233) | class CommandsHandlePendingCommandResult: method from_dict (line 238) | def from_dict(obj: Any) -> 'CommandsHandlePendingCommandResult': method to_dict (line 243) | def to_dict(self) -> dict: class CurrentModel (line 249) | class CurrentModel: method from_dict (line 254) | def from_dict(obj: Any) -> 'CurrentModel': method to_dict (line 259) | def to_dict(self) -> dict: class MCPServerSource (line 265) | class MCPServerSource(Enum): class DiscoveredMCPServerType (line 275) | class DiscoveredMCPServerType(Enum): class EmbeddedBlobResourceContents (line 284) | class EmbeddedBlobResourceContents: method from_dict (line 295) | def from_dict(obj: Any) -> 'EmbeddedBlobResourceContents': method to_dict (line 302) | def to_dict(self) -> dict: class EmbeddedTextResourceContents (line 311) | class EmbeddedTextResourceContents: method from_dict (line 322) | def from_dict(obj: Any) -> 'EmbeddedTextResourceContents': method to_dict (line 329) | def to_dict(self) -> dict: class ExtensionSource (line 337) | class ExtensionSource(Enum): class ExtensionStatus (line 343) | class ExtensionStatus(Enum): class ExtensionsDisableRequest (line 353) | class ExtensionsDisableRequest: method from_dict (line 358) | def from_dict(obj: Any) -> 'ExtensionsDisableRequest': method to_dict (line 363) | def to_dict(self) -> dict: class ExtensionsEnableRequest (line 370) | class ExtensionsEnableRequest: method from_dict (line 375) | def from_dict(obj: Any) -> 'ExtensionsEnableRequest': method to_dict (line 380) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentResourceLinkIconTheme (line 385) | class ExternalToolTextResultForLlmContentResourceLinkIconTheme(Enum): class ExternalToolTextResultForLlmContentResourceDetails (line 392) | class ExternalToolTextResultForLlmContentResourceDetails: method from_dict (line 410) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContentResourc... method to_dict (line 418) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentType (line 429) | class ExternalToolTextResultForLlmContentType(Enum): class ExternalToolTextResultForLlmContentAudioType (line 437) | class ExternalToolTextResultForLlmContentAudioType(Enum): class ExternalToolTextResultForLlmContentImageType (line 440) | class ExternalToolTextResultForLlmContentImageType(Enum): class ExternalToolTextResultForLlmContentResourceType (line 443) | class ExternalToolTextResultForLlmContentResourceType(Enum): class ExternalToolTextResultForLlmContentResourceLinkType (line 446) | class ExternalToolTextResultForLlmContentResourceLinkType(Enum): class ExternalToolTextResultForLlmContentTerminalType (line 449) | class ExternalToolTextResultForLlmContentTerminalType(Enum): class ExternalToolTextResultForLlmContentTextType (line 452) | class ExternalToolTextResultForLlmContentTextType(Enum): class FilterMappingString (line 455) | class FilterMappingString(Enum): class FleetStartRequest (line 462) | class FleetStartRequest: method from_dict (line 467) | def from_dict(obj: Any) -> 'FleetStartRequest': method to_dict (line 472) | def to_dict(self) -> dict: class FleetStartResult (line 480) | class FleetStartResult: method from_dict (line 485) | def from_dict(obj: Any) -> 'FleetStartResult': method to_dict (line 490) | def to_dict(self) -> dict: class HandlePendingToolCallResult (line 496) | class HandlePendingToolCallResult: method from_dict (line 501) | def from_dict(obj: Any) -> 'HandlePendingToolCallResult': method to_dict (line 506) | def to_dict(self) -> dict: class HistoryCompactContextWindow (line 512) | class HistoryCompactContextWindow: method from_dict (line 534) | def from_dict(obj: Any) -> 'HistoryCompactContextWindow': method to_dict (line 544) | def to_dict(self) -> dict: class HistoryTruncateRequest (line 559) | class HistoryTruncateRequest: method from_dict (line 564) | def from_dict(obj: Any) -> 'HistoryTruncateRequest': method to_dict (line 569) | def to_dict(self) -> dict: class HistoryTruncateResult (line 576) | class HistoryTruncateResult: method from_dict (line 581) | def from_dict(obj: Any) -> 'HistoryTruncateResult': method to_dict (line 586) | def to_dict(self) -> dict: class InstructionsSourcesLocation (line 591) | class InstructionsSourcesLocation(Enum): class InstructionsSourcesType (line 598) | class InstructionsSourcesType(Enum): class SessionLogLevel (line 608) | class SessionLogLevel(Enum): class LogResult (line 617) | class LogResult: method from_dict (line 622) | def from_dict(obj: Any) -> 'LogResult': method to_dict (line 627) | def to_dict(self) -> dict: class MCPServerConfigHTTPOauthGrantType (line 632) | class MCPServerConfigHTTPOauthGrantType(Enum): class MCPServerConfigType (line 636) | class MCPServerConfigType(Enum): class MCPConfigDisableRequest (line 645) | class MCPConfigDisableRequest: method from_dict (line 653) | def from_dict(obj: Any) -> 'MCPConfigDisableRequest': method to_dict (line 658) | def to_dict(self) -> dict: class MCPConfigEnableRequest (line 664) | class MCPConfigEnableRequest: method from_dict (line 671) | def from_dict(obj: Any) -> 'MCPConfigEnableRequest': method to_dict (line 676) | def to_dict(self) -> dict: class MCPConfigRemoveRequest (line 682) | class MCPConfigRemoveRequest: method from_dict (line 687) | def from_dict(obj: Any) -> 'MCPConfigRemoveRequest': method to_dict (line 692) | def to_dict(self) -> dict: class MCPDisableRequest (line 698) | class MCPDisableRequest: method from_dict (line 703) | def from_dict(obj: Any) -> 'MCPDisableRequest': method to_dict (line 708) | def to_dict(self) -> dict: class MCPDiscoverRequest (line 714) | class MCPDiscoverRequest: method from_dict (line 719) | def from_dict(obj: Any) -> 'MCPDiscoverRequest': method to_dict (line 724) | def to_dict(self) -> dict: class MCPEnableRequest (line 731) | class MCPEnableRequest: method from_dict (line 736) | def from_dict(obj: Any) -> 'MCPEnableRequest': method to_dict (line 741) | def to_dict(self) -> dict: class MCPOauthLoginRequest (line 747) | class MCPOauthLoginRequest: method from_dict (line 770) | def from_dict(obj: Any) -> 'MCPOauthLoginRequest': method to_dict (line 778) | def to_dict(self) -> dict: class MCPOauthLoginResult (line 790) | class MCPOauthLoginResult: method from_dict (line 800) | def from_dict(obj: Any) -> 'MCPOauthLoginResult': method to_dict (line 805) | def to_dict(self) -> dict: class MCPServerStatus (line 811) | class MCPServerStatus(Enum): class MCPServerConfigHTTPType (line 821) | class MCPServerConfigHTTPType(Enum): class MCPServerConfigLocalType (line 827) | class MCPServerConfigLocalType(Enum): class SessionMode (line 831) | class SessionMode(Enum): class ModelBilling (line 839) | class ModelBilling: method from_dict (line 846) | def from_dict(obj: Any) -> 'ModelBilling': method to_dict (line 851) | def to_dict(self) -> dict: class ModelCapabilitiesLimitsVision (line 857) | class ModelCapabilitiesLimitsVision: method from_dict (line 870) | def from_dict(obj: Any) -> 'ModelCapabilitiesLimitsVision': method to_dict (line 877) | def to_dict(self) -> dict: class ModelCapabilitiesSupports (line 885) | class ModelCapabilitiesSupports: method from_dict (line 895) | def from_dict(obj: Any) -> 'ModelCapabilitiesSupports': method to_dict (line 901) | def to_dict(self) -> dict: class ModelPolicy (line 910) | class ModelPolicy: method from_dict (line 920) | def from_dict(obj: Any) -> 'ModelPolicy': method to_dict (line 926) | def to_dict(self) -> dict: class ModelCapabilitiesOverrideLimitsVision (line 934) | class ModelCapabilitiesOverrideLimitsVision: method from_dict (line 945) | def from_dict(obj: Any) -> 'ModelCapabilitiesOverrideLimitsVision': method to_dict (line 952) | def to_dict(self) -> dict: class ModelCapabilitiesOverrideSupports (line 963) | class ModelCapabilitiesOverrideSupports: method from_dict (line 970) | def from_dict(obj: Any) -> 'ModelCapabilitiesOverrideSupports': method to_dict (line 976) | def to_dict(self) -> dict: class ModelSwitchToResult (line 985) | class ModelSwitchToResult: method from_dict (line 990) | def from_dict(obj: Any) -> 'ModelSwitchToResult': method to_dict (line 995) | def to_dict(self) -> dict: class ModelsListRequest (line 1002) | class ModelsListRequest: method from_dict (line 1009) | def from_dict(obj: Any) -> 'ModelsListRequest': method to_dict (line 1014) | def to_dict(self) -> dict: class NameGetResult (line 1021) | class NameGetResult: method from_dict (line 1026) | def from_dict(obj: Any) -> 'NameGetResult': method to_dict (line 1031) | def to_dict(self) -> dict: class NameSetRequest (line 1037) | class NameSetRequest: method from_dict (line 1042) | def from_dict(obj: Any) -> 'NameSetRequest': method to_dict (line 1047) | def to_dict(self) -> dict: class ApprovalKind (line 1052) | class ApprovalKind(Enum): class PermissionDecisionKind (line 1061) | class PermissionDecisionKind(Enum): class PermissionDecisionApproveForLocationKind (line 1069) | class PermissionDecisionApproveForLocationKind(Enum): class PermissionDecisionApproveForLocationApprovalCommandsKind (line 1072) | class PermissionDecisionApproveForLocationApprovalCommandsKind(Enum): class PermissionDecisionApproveForLocationApprovalCustomToolKind (line 1075) | class PermissionDecisionApproveForLocationApprovalCustomToolKind(Enum): class PermissionDecisionApproveForLocationApprovalMCPKind (line 1078) | class PermissionDecisionApproveForLocationApprovalMCPKind(Enum): class PermissionDecisionApproveForLocationApprovalMCPSamplingKind (line 1081) | class PermissionDecisionApproveForLocationApprovalMCPSamplingKind(Enum): class PermissionDecisionApproveForLocationApprovalMemoryKind (line 1084) | class PermissionDecisionApproveForLocationApprovalMemoryKind(Enum): class PermissionDecisionApproveForLocationApprovalReadKind (line 1087) | class PermissionDecisionApproveForLocationApprovalReadKind(Enum): class PermissionDecisionApproveForLocationApprovalWriteKind (line 1090) | class PermissionDecisionApproveForLocationApprovalWriteKind(Enum): class PermissionDecisionApproveForSessionKind (line 1093) | class PermissionDecisionApproveForSessionKind(Enum): class PermissionDecisionApproveOnceKind (line 1096) | class PermissionDecisionApproveOnceKind(Enum): class PermissionDecisionApprovePermanentlyKind (line 1099) | class PermissionDecisionApprovePermanentlyKind(Enum): class PermissionDecisionRejectKind (line 1102) | class PermissionDecisionRejectKind(Enum): class PermissionDecisionUserNotAvailableKind (line 1105) | class PermissionDecisionUserNotAvailableKind(Enum): class PermissionRequestResult (line 1109) | class PermissionRequestResult: method from_dict (line 1114) | def from_dict(obj: Any) -> 'PermissionRequestResult': method to_dict (line 1119) | def to_dict(self) -> dict: class PermissionsResetSessionApprovalsRequest (line 1125) | class PermissionsResetSessionApprovalsRequest: method from_dict (line 1127) | def from_dict(obj: Any) -> 'PermissionsResetSessionApprovalsRequest': method to_dict (line 1131) | def to_dict(self) -> dict: class PermissionsResetSessionApprovalsResult (line 1136) | class PermissionsResetSessionApprovalsResult: method from_dict (line 1141) | def from_dict(obj: Any) -> 'PermissionsResetSessionApprovalsResult': method to_dict (line 1146) | def to_dict(self) -> dict: class PermissionsSetApproveAllRequest (line 1152) | class PermissionsSetApproveAllRequest: method from_dict (line 1157) | def from_dict(obj: Any) -> 'PermissionsSetApproveAllRequest': method to_dict (line 1162) | def to_dict(self) -> dict: class PermissionsSetApproveAllResult (line 1168) | class PermissionsSetApproveAllResult: method from_dict (line 1173) | def from_dict(obj: Any) -> 'PermissionsSetApproveAllResult': method to_dict (line 1178) | def to_dict(self) -> dict: class PingRequest (line 1184) | class PingRequest: method from_dict (line 1189) | def from_dict(obj: Any) -> 'PingRequest': method to_dict (line 1194) | def to_dict(self) -> dict: class PingResult (line 1201) | class PingResult: method from_dict (line 1212) | def from_dict(obj: Any) -> 'PingResult': method to_dict (line 1219) | def to_dict(self) -> dict: class PlanReadResult (line 1227) | class PlanReadResult: method from_dict (line 1238) | def from_dict(obj: Any) -> 'PlanReadResult': method to_dict (line 1245) | def to_dict(self) -> dict: class PlanUpdateRequest (line 1253) | class PlanUpdateRequest: method from_dict (line 1258) | def from_dict(obj: Any) -> 'PlanUpdateRequest': method to_dict (line 1263) | def to_dict(self) -> dict: class Plugin (line 1269) | class Plugin: method from_dict (line 1283) | def from_dict(obj: Any) -> 'Plugin': method to_dict (line 1291) | def to_dict(self) -> dict: class ServerSkill (line 1301) | class ServerSkill: method from_dict (line 1324) | def from_dict(obj: Any) -> 'ServerSkill': method to_dict (line 1335) | def to_dict(self) -> dict: class SessionFSAppendFileRequest (line 1349) | class SessionFSAppendFileRequest: method from_dict (line 1363) | def from_dict(obj: Any) -> 'SessionFSAppendFileRequest': method to_dict (line 1371) | def to_dict(self) -> dict: class SessionFSErrorCode (line 1380) | class SessionFSErrorCode(Enum): class SessionFSExistsRequest (line 1387) | class SessionFSExistsRequest: method from_dict (line 1395) | def from_dict(obj: Any) -> 'SessionFSExistsRequest': method to_dict (line 1401) | def to_dict(self) -> dict: class SessionFSExistsResult (line 1408) | class SessionFSExistsResult: method from_dict (line 1413) | def from_dict(obj: Any) -> 'SessionFSExistsResult': method to_dict (line 1418) | def to_dict(self) -> dict: class SessionFSMkdirRequest (line 1424) | class SessionFSMkdirRequest: method from_dict (line 1438) | def from_dict(obj: Any) -> 'SessionFSMkdirRequest': method to_dict (line 1446) | def to_dict(self) -> dict: class SessionFSReadFileRequest (line 1457) | class SessionFSReadFileRequest: method from_dict (line 1465) | def from_dict(obj: Any) -> 'SessionFSReadFileRequest': method to_dict (line 1471) | def to_dict(self) -> dict: class SessionFSReaddirRequest (line 1478) | class SessionFSReaddirRequest: method from_dict (line 1486) | def from_dict(obj: Any) -> 'SessionFSReaddirRequest': method to_dict (line 1492) | def to_dict(self) -> dict: class SessionFSReaddirWithTypesEntryType (line 1498) | class SessionFSReaddirWithTypesEntryType(Enum): class SessionFSReaddirWithTypesRequest (line 1505) | class SessionFSReaddirWithTypesRequest: method from_dict (line 1513) | def from_dict(obj: Any) -> 'SessionFSReaddirWithTypesRequest': method to_dict (line 1519) | def to_dict(self) -> dict: class SessionFSRenameRequest (line 1526) | class SessionFSRenameRequest: method from_dict (line 1537) | def from_dict(obj: Any) -> 'SessionFSRenameRequest': method to_dict (line 1544) | def to_dict(self) -> dict: class SessionFSRmRequest (line 1552) | class SessionFSRmRequest: method from_dict (line 1566) | def from_dict(obj: Any) -> 'SessionFSRmRequest': method to_dict (line 1574) | def to_dict(self) -> dict: class SessionFSSetProviderConventions (line 1584) | class SessionFSSetProviderConventions(Enum): class SessionFSSetProviderResult (line 1591) | class SessionFSSetProviderResult: method from_dict (line 1596) | def from_dict(obj: Any) -> 'SessionFSSetProviderResult': method to_dict (line 1601) | def to_dict(self) -> dict: class SessionFSStatRequest (line 1607) | class SessionFSStatRequest: method from_dict (line 1615) | def from_dict(obj: Any) -> 'SessionFSStatRequest': method to_dict (line 1621) | def to_dict(self) -> dict: class SessionFSWriteFileRequest (line 1628) | class SessionFSWriteFileRequest: method from_dict (line 1642) | def from_dict(obj: Any) -> 'SessionFSWriteFileRequest': method to_dict (line 1650) | def to_dict(self) -> dict: class SessionsForkRequest (line 1661) | class SessionsForkRequest: method from_dict (line 1671) | def from_dict(obj: Any) -> 'SessionsForkRequest': method to_dict (line 1677) | def to_dict(self) -> dict: class SessionsForkResult (line 1686) | class SessionsForkResult: method from_dict (line 1691) | def from_dict(obj: Any) -> 'SessionsForkResult': method to_dict (line 1696) | def to_dict(self) -> dict: class ShellExecRequest (line 1702) | class ShellExecRequest: method from_dict (line 1713) | def from_dict(obj: Any) -> 'ShellExecRequest': method to_dict (line 1720) | def to_dict(self) -> dict: class ShellExecResult (line 1730) | class ShellExecResult: method from_dict (line 1735) | def from_dict(obj: Any) -> 'ShellExecResult': method to_dict (line 1740) | def to_dict(self) -> dict: class ShellKillSignal (line 1745) | class ShellKillSignal(Enum): class ShellKillResult (line 1753) | class ShellKillResult: method from_dict (line 1758) | def from_dict(obj: Any) -> 'ShellKillResult': method to_dict (line 1763) | def to_dict(self) -> dict: class Skill (line 1769) | class Skill: method from_dict (line 1789) | def from_dict(obj: Any) -> 'Skill': method to_dict (line 1799) | def to_dict(self) -> dict: class SkillsConfigSetDisabledSkillsRequest (line 1811) | class SkillsConfigSetDisabledSkillsRequest: method from_dict (line 1816) | def from_dict(obj: Any) -> 'SkillsConfigSetDisabledSkillsRequest': method to_dict (line 1821) | def to_dict(self) -> dict: class SkillsDisableRequest (line 1828) | class SkillsDisableRequest: method from_dict (line 1833) | def from_dict(obj: Any) -> 'SkillsDisableRequest': method to_dict (line 1838) | def to_dict(self) -> dict: class SkillsDiscoverRequest (line 1844) | class SkillsDiscoverRequest: method from_dict (line 1852) | def from_dict(obj: Any) -> 'SkillsDiscoverRequest': method to_dict (line 1858) | def to_dict(self) -> dict: class SkillsEnableRequest (line 1868) | class SkillsEnableRequest: method from_dict (line 1873) | def from_dict(obj: Any) -> 'SkillsEnableRequest': method to_dict (line 1878) | def to_dict(self) -> dict: class TaskInfoExecutionMode (line 1883) | class TaskInfoExecutionMode(Enum): class TaskInfoStatus (line 1891) | class TaskInfoStatus(Enum): class TaskAgentInfoType (line 1900) | class TaskAgentInfoType(Enum): class TaskShellInfoAttachmentMode (line 1903) | class TaskShellInfoAttachmentMode(Enum): class TaskInfoType (line 1910) | class TaskInfoType(Enum): class TaskShellInfoType (line 1914) | class TaskShellInfoType(Enum): class TasksCancelRequest (line 1919) | class TasksCancelRequest: method from_dict (line 1924) | def from_dict(obj: Any) -> 'TasksCancelRequest': method to_dict (line 1929) | def to_dict(self) -> dict: class TasksCancelResult (line 1936) | class TasksCancelResult: method from_dict (line 1941) | def from_dict(obj: Any) -> 'TasksCancelResult': method to_dict (line 1946) | def to_dict(self) -> dict: class TasksPromoteToBackgroundRequest (line 1953) | class TasksPromoteToBackgroundRequest: method from_dict (line 1958) | def from_dict(obj: Any) -> 'TasksPromoteToBackgroundRequest': method to_dict (line 1963) | def to_dict(self) -> dict: class TasksPromoteToBackgroundResult (line 1970) | class TasksPromoteToBackgroundResult: method from_dict (line 1975) | def from_dict(obj: Any) -> 'TasksPromoteToBackgroundResult': method to_dict (line 1980) | def to_dict(self) -> dict: class TasksRemoveRequest (line 1987) | class TasksRemoveRequest: method from_dict (line 1992) | def from_dict(obj: Any) -> 'TasksRemoveRequest': method to_dict (line 1997) | def to_dict(self) -> dict: class TasksRemoveResult (line 2004) | class TasksRemoveResult: method from_dict (line 2011) | def from_dict(obj: Any) -> 'TasksRemoveResult': method to_dict (line 2016) | def to_dict(self) -> dict: class TasksStartAgentRequest (line 2023) | class TasksStartAgentRequest: method from_dict (line 2040) | def from_dict(obj: Any) -> 'TasksStartAgentRequest': method to_dict (line 2049) | def to_dict(self) -> dict: class TasksStartAgentResult (line 2062) | class TasksStartAgentResult: method from_dict (line 2067) | def from_dict(obj: Any) -> 'TasksStartAgentResult': method to_dict (line 2072) | def to_dict(self) -> dict: class Tool (line 2078) | class Tool: method from_dict (line 2096) | def from_dict(obj: Any) -> 'Tool': method to_dict (line 2105) | def to_dict(self) -> dict: class ToolsListRequest (line 2118) | class ToolsListRequest: method from_dict (line 2125) | def from_dict(obj: Any) -> 'ToolsListRequest': method to_dict (line 2130) | def to_dict(self) -> dict: class UIElicitationArrayAnyOfFieldItemsAnyOf (line 2137) | class UIElicitationArrayAnyOfFieldItemsAnyOf: method from_dict (line 2142) | def from_dict(obj: Any) -> 'UIElicitationArrayAnyOfFieldItemsAnyOf': method to_dict (line 2148) | def to_dict(self) -> dict: class UIElicitationArrayAnyOfFieldType (line 2154) | class UIElicitationArrayAnyOfFieldType(Enum): class UIElicitationArrayEnumFieldItemsType (line 2157) | class UIElicitationArrayEnumFieldItemsType(Enum): class UIElicitationSchemaPropertyStringFormat (line 2160) | class UIElicitationSchemaPropertyStringFormat(Enum): class UIElicitationStringOneOfFieldOneOf (line 2167) | class UIElicitationStringOneOfFieldOneOf: method from_dict (line 2172) | def from_dict(obj: Any) -> 'UIElicitationStringOneOfFieldOneOf': method to_dict (line 2178) | def to_dict(self) -> dict: class UIElicitationSchemaPropertyType (line 2184) | class UIElicitationSchemaPropertyType(Enum): class UIElicitationSchemaType (line 2191) | class UIElicitationSchemaType(Enum): class UIElicitationResponseAction (line 2194) | class UIElicitationResponseAction(Enum): class UIElicitationResult (line 2202) | class UIElicitationResult: method from_dict (line 2209) | def from_dict(obj: Any) -> 'UIElicitationResult': method to_dict (line 2214) | def to_dict(self) -> dict: class UIElicitationSchemaPropertyBooleanType (line 2219) | class UIElicitationSchemaPropertyBooleanType(Enum): class UIElicitationSchemaPropertyNumberType (line 2222) | class UIElicitationSchemaPropertyNumberType(Enum): class UsageMetricsCodeChanges (line 2227) | class UsageMetricsCodeChanges: method from_dict (line 2240) | def from_dict(obj: Any) -> 'UsageMetricsCodeChanges': method to_dict (line 2247) | def to_dict(self) -> dict: class UsageMetricsModelMetricRequests (line 2255) | class UsageMetricsModelMetricRequests: method from_dict (line 2265) | def from_dict(obj: Any) -> 'UsageMetricsModelMetricRequests': method to_dict (line 2271) | def to_dict(self) -> dict: class UsageMetricsModelMetricTokenDetail (line 2278) | class UsageMetricsModelMetricTokenDetail: method from_dict (line 2283) | def from_dict(obj: Any) -> 'UsageMetricsModelMetricTokenDetail': method to_dict (line 2288) | def to_dict(self) -> dict: class UsageMetricsModelMetricUsage (line 2294) | class UsageMetricsModelMetricUsage: method from_dict (line 2313) | def from_dict(obj: Any) -> 'UsageMetricsModelMetricUsage': method to_dict (line 2322) | def to_dict(self) -> dict: class UsageMetricsTokenDetail (line 2333) | class UsageMetricsTokenDetail: method from_dict (line 2338) | def from_dict(obj: Any) -> 'UsageMetricsTokenDetail': method to_dict (line 2343) | def to_dict(self) -> dict: class WorkspacesCreateFileRequest (line 2349) | class WorkspacesCreateFileRequest: method from_dict (line 2357) | def from_dict(obj: Any) -> 'WorkspacesCreateFileRequest': method to_dict (line 2363) | def to_dict(self) -> dict: class HostType (line 2369) | class HostType(Enum): class SessionSyncLevel (line 2373) | class SessionSyncLevel(Enum): class WorkspacesListFilesResult (line 2379) | class WorkspacesListFilesResult: method from_dict (line 2384) | def from_dict(obj: Any) -> 'WorkspacesListFilesResult': method to_dict (line 2389) | def to_dict(self) -> dict: class WorkspacesReadFileRequest (line 2395) | class WorkspacesReadFileRequest: method from_dict (line 2400) | def from_dict(obj: Any) -> 'WorkspacesReadFileRequest': method to_dict (line 2405) | def to_dict(self) -> dict: class WorkspacesReadFileResult (line 2411) | class WorkspacesReadFileResult: method from_dict (line 2416) | def from_dict(obj: Any) -> 'WorkspacesReadFileResult': method to_dict (line 2421) | def to_dict(self) -> dict: class AccountGetQuotaResult (line 2427) | class AccountGetQuotaResult: method from_dict (line 2432) | def from_dict(obj: Any) -> 'AccountGetQuotaResult': method to_dict (line 2437) | def to_dict(self) -> dict: class AgentGetCurrentResult (line 2444) | class AgentGetCurrentResult: method from_dict (line 2449) | def from_dict(obj: Any) -> 'AgentGetCurrentResult': method to_dict (line 2454) | def to_dict(self) -> dict: class AgentList (line 2462) | class AgentList: method from_dict (line 2467) | def from_dict(obj: Any) -> 'AgentList': method to_dict (line 2472) | def to_dict(self) -> dict: class AgentReloadResult (line 2479) | class AgentReloadResult: method from_dict (line 2484) | def from_dict(obj: Any) -> 'AgentReloadResult': method to_dict (line 2489) | def to_dict(self) -> dict: class AgentSelectResult (line 2496) | class AgentSelectResult: method from_dict (line 2501) | def from_dict(obj: Any) -> 'AgentSelectResult': method to_dict (line 2506) | def to_dict(self) -> dict: class SessionAuthStatus (line 2512) | class SessionAuthStatus: method from_dict (line 2532) | def from_dict(obj: Any) -> 'SessionAuthStatus': method to_dict (line 2542) | def to_dict(self) -> dict: class DiscoveredMCPServer (line 2558) | class DiscoveredMCPServer: method from_dict (line 2572) | def from_dict(obj: Any) -> 'DiscoveredMCPServer': method to_dict (line 2580) | def to_dict(self) -> dict: class Extension (line 2590) | class Extension: method from_dict (line 2607) | def from_dict(obj: Any) -> 'Extension': method to_dict (line 2616) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentResourceLinkIcon (line 2627) | class ExternalToolTextResultForLlmContentResourceLinkIcon: method from_dict (line 2643) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContentResourc... method to_dict (line 2651) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentAudio (line 2663) | class ExternalToolTextResultForLlmContentAudio: method from_dict (line 2676) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContentAudio': method to_dict (line 2683) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentImage (line 2691) | class ExternalToolTextResultForLlmContentImage: method from_dict (line 2704) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContentImage': method to_dict (line 2711) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentResource (line 2719) | class ExternalToolTextResultForLlmContentResource: method from_dict (line 2729) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContentResource': method to_dict (line 2735) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentTerminal (line 2742) | class ExternalToolTextResultForLlmContentTerminal: method from_dict (line 2758) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContentTerminal': method to_dict (line 2766) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentText (line 2777) | class ExternalToolTextResultForLlmContentText: method from_dict (line 2787) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContentText': method to_dict (line 2793) | def to_dict(self) -> dict: class HistoryCompactResult (line 2801) | class HistoryCompactResult: method from_dict (line 2815) | def from_dict(obj: Any) -> 'HistoryCompactResult': method to_dict (line 2823) | def to_dict(self) -> dict: class InstructionsSources (line 2833) | class InstructionsSources: method from_dict (line 2859) | def from_dict(obj: Any) -> 'InstructionsSources': method to_dict (line 2871) | def to_dict(self) -> dict: class LogRequest (line 2886) | class LogRequest: method from_dict (line 2901) | def from_dict(obj: Any) -> 'LogRequest': method to_dict (line 2909) | def to_dict(self) -> dict: class MCPServerConfig (line 2921) | class MCPServerConfig: method from_dict (line 2946) | def from_dict(obj: Any) -> 'MCPServerConfig': method to_dict (line 2964) | def to_dict(self) -> dict: class MCPServer (line 2997) | class MCPServer: method from_dict (line 3011) | def from_dict(obj: Any) -> 'MCPServer': method to_dict (line 3019) | def to_dict(self) -> dict: class MCPServerConfigHTTP (line 3030) | class MCPServerConfigHTTP: method from_dict (line 3048) | def from_dict(obj: Any) -> 'MCPServerConfigHTTP': method to_dict (line 3062) | def to_dict(self) -> dict: class MCPServerConfigLocal (line 3086) | class MCPServerConfigLocal: method from_dict (line 3102) | def from_dict(obj: Any) -> 'MCPServerConfigLocal': method to_dict (line 3115) | def to_dict(self) -> dict: class ModeSetRequest (line 3136) | class ModeSetRequest: method from_dict (line 3141) | def from_dict(obj: Any) -> 'ModeSetRequest': method to_dict (line 3146) | def to_dict(self) -> dict: class ModelCapabilitiesLimits (line 3152) | class ModelCapabilitiesLimits: method from_dict (line 3168) | def from_dict(obj: Any) -> 'ModelCapabilitiesLimits': method to_dict (line 3176) | def to_dict(self) -> dict: class ModelCapabilitiesOverrideLimits (line 3189) | class ModelCapabilitiesOverrideLimits: method from_dict (line 3200) | def from_dict(obj: Any) -> 'ModelCapabilitiesOverrideLimits': method to_dict (line 3208) | def to_dict(self) -> dict: class PermissionDecisionApproveForIonApproval (line 3221) | class PermissionDecisionApproveForIonApproval: method from_dict (line 3232) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForIonApproval': method to_dict (line 3240) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocationApproval (line 3252) | class PermissionDecisionApproveForLocationApproval: method from_dict (line 3261) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocationApprov... method to_dict (line 3269) | def to_dict(self) -> dict: class PermissionDecisionApproveForSessionApproval (line 3281) | class PermissionDecisionApproveForSessionApproval: method from_dict (line 3290) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSessionApproval': method to_dict (line 3298) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocationApprovalCommands (line 3310) | class PermissionDecisionApproveForLocationApprovalCommands: method from_dict (line 3315) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocationApprov... method to_dict (line 3321) | def to_dict(self) -> dict: class PermissionDecisionApproveForSessionApprovalCommands (line 3328) | class PermissionDecisionApproveForSessionApprovalCommands: method from_dict (line 3333) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSessionApprova... method to_dict (line 3339) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocationApprovalCustomTool (line 3346) | class PermissionDecisionApproveForLocationApprovalCustomTool: method from_dict (line 3351) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocationApprov... method to_dict (line 3357) | def to_dict(self) -> dict: class PermissionDecisionApproveForSessionApprovalCustomTool (line 3364) | class PermissionDecisionApproveForSessionApprovalCustomTool: method from_dict (line 3369) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSessionApprova... method to_dict (line 3375) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocationApprovalMCP (line 3382) | class PermissionDecisionApproveForLocationApprovalMCP: method from_dict (line 3388) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocationApprov... method to_dict (line 3395) | def to_dict(self) -> dict: class PermissionDecisionApproveForSessionApprovalMCP (line 3403) | class PermissionDecisionApproveForSessionApprovalMCP: method from_dict (line 3409) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSessionApprova... method to_dict (line 3416) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocationApprovalMCPSampling (line 3424) | class PermissionDecisionApproveForLocationApprovalMCPSampling: method from_dict (line 3429) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocationApprov... method to_dict (line 3435) | def to_dict(self) -> dict: class PermissionDecisionApproveForSessionApprovalMCPSampling (line 3442) | class PermissionDecisionApproveForSessionApprovalMCPSampling: method from_dict (line 3447) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSessionApprova... method to_dict (line 3453) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocationApprovalMemory (line 3460) | class PermissionDecisionApproveForLocationApprovalMemory: method from_dict (line 3464) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocationApprov... method to_dict (line 3469) | def to_dict(self) -> dict: class PermissionDecisionApproveForSessionApprovalMemory (line 3475) | class PermissionDecisionApproveForSessionApprovalMemory: method from_dict (line 3479) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSessionApprova... method to_dict (line 3484) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocationApprovalRead (line 3490) | class PermissionDecisionApproveForLocationApprovalRead: method from_dict (line 3494) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocationApprov... method to_dict (line 3499) | def to_dict(self) -> dict: class PermissionDecisionApproveForSessionApprovalRead (line 3505) | class PermissionDecisionApproveForSessionApprovalRead: method from_dict (line 3509) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSessionApprova... method to_dict (line 3514) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocationApprovalWrite (line 3520) | class PermissionDecisionApproveForLocationApprovalWrite: method from_dict (line 3524) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocationApprov... method to_dict (line 3529) | def to_dict(self) -> dict: class PermissionDecisionApproveForSessionApprovalWrite (line 3535) | class PermissionDecisionApproveForSessionApprovalWrite: method from_dict (line 3539) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSessionApprova... method to_dict (line 3544) | def to_dict(self) -> dict: class PermissionDecisionApproveOnce (line 3550) | class PermissionDecisionApproveOnce: method from_dict (line 3555) | def from_dict(obj: Any) -> 'PermissionDecisionApproveOnce': method to_dict (line 3560) | def to_dict(self) -> dict: class PermissionDecisionApprovePermanently (line 3566) | class PermissionDecisionApprovePermanently: method from_dict (line 3574) | def from_dict(obj: Any) -> 'PermissionDecisionApprovePermanently': method to_dict (line 3580) | def to_dict(self) -> dict: class PermissionDecisionReject (line 3587) | class PermissionDecisionReject: method from_dict (line 3595) | def from_dict(obj: Any) -> 'PermissionDecisionReject': method to_dict (line 3601) | def to_dict(self) -> dict: class PermissionDecisionUserNotAvailable (line 3609) | class PermissionDecisionUserNotAvailable: method from_dict (line 3614) | def from_dict(obj: Any) -> 'PermissionDecisionUserNotAvailable': method to_dict (line 3619) | def to_dict(self) -> dict: class PluginList (line 3626) | class PluginList: method from_dict (line 3631) | def from_dict(obj: Any) -> 'PluginList': method to_dict (line 3636) | def to_dict(self) -> dict: class ServerSkillList (line 3642) | class ServerSkillList: method from_dict (line 3647) | def from_dict(obj: Any) -> 'ServerSkillList': method to_dict (line 3652) | def to_dict(self) -> dict: class SessionFSError (line 3658) | class SessionFSError: method from_dict (line 3668) | def from_dict(obj: Any) -> 'SessionFSError': method to_dict (line 3674) | def to_dict(self) -> dict: class SessionFSReaddirWithTypesEntry (line 3682) | class SessionFSReaddirWithTypesEntry: method from_dict (line 3690) | def from_dict(obj: Any) -> 'SessionFSReaddirWithTypesEntry': method to_dict (line 3696) | def to_dict(self) -> dict: class SessionFSSetProviderRequest (line 3703) | class SessionFSSetProviderRequest: method from_dict (line 3714) | def from_dict(obj: Any) -> 'SessionFSSetProviderRequest': method to_dict (line 3721) | def to_dict(self) -> dict: class ShellKillRequest (line 3729) | class ShellKillRequest: method from_dict (line 3737) | def from_dict(obj: Any) -> 'ShellKillRequest': method to_dict (line 3743) | def to_dict(self) -> dict: class SkillList (line 3752) | class SkillList: method from_dict (line 3757) | def from_dict(obj: Any) -> 'SkillList': method to_dict (line 3762) | def to_dict(self) -> dict: class TaskShellInfo (line 3768) | class TaskShellInfo: method from_dict (line 3807) | def from_dict(obj: Any) -> 'TaskShellInfo': method to_dict (line 3823) | def to_dict(self) -> dict: class ToolList (line 3845) | class ToolList: method from_dict (line 3850) | def from_dict(obj: Any) -> 'ToolList': method to_dict (line 3855) | def to_dict(self) -> dict: class UIElicitationArrayAnyOfFieldItems (line 3861) | class UIElicitationArrayAnyOfFieldItems: method from_dict (line 3865) | def from_dict(obj: Any) -> 'UIElicitationArrayAnyOfFieldItems': method to_dict (line 3870) | def to_dict(self) -> dict: class UIElicitationArrayEnumFieldItems (line 3876) | class UIElicitationArrayEnumFieldItems: method from_dict (line 3881) | def from_dict(obj: Any) -> 'UIElicitationArrayEnumFieldItems': method to_dict (line 3887) | def to_dict(self) -> dict: class UIElicitationArrayFieldItems (line 3894) | class UIElicitationArrayFieldItems: method from_dict (line 3900) | def from_dict(obj: Any) -> 'UIElicitationArrayFieldItems': method to_dict (line 3907) | def to_dict(self) -> dict: class UIElicitationStringEnumField (line 3918) | class UIElicitationStringEnumField: method from_dict (line 3927) | def from_dict(obj: Any) -> 'UIElicitationStringEnumField': method to_dict (line 3937) | def to_dict(self) -> dict: class UIElicitationSchemaPropertyString (line 3952) | class UIElicitationSchemaPropertyString: method from_dict (line 3962) | def from_dict(obj: Any) -> 'UIElicitationSchemaPropertyString': method to_dict (line 3973) | def to_dict(self) -> dict: class UIElicitationStringOneOfField (line 3991) | class UIElicitationStringOneOfField: method from_dict (line 3999) | def from_dict(obj: Any) -> 'UIElicitationStringOneOfField': method to_dict (line 4008) | def to_dict(self) -> dict: class UIElicitationResponse (line 4021) | class UIElicitationResponse: method from_dict (line 4031) | def from_dict(obj: Any) -> 'UIElicitationResponse': method to_dict (line 4037) | def to_dict(self) -> dict: class UIElicitationSchemaPropertyBoolean (line 4045) | class UIElicitationSchemaPropertyBoolean: method from_dict (line 4052) | def from_dict(obj: Any) -> 'UIElicitationSchemaPropertyBoolean': method to_dict (line 4060) | def to_dict(self) -> dict: class UIElicitationSchemaPropertyNumber (line 4072) | class UIElicitationSchemaPropertyNumber: method from_dict (line 4081) | def from_dict(obj: Any) -> 'UIElicitationSchemaPropertyNumber': method to_dict (line 4091) | def to_dict(self) -> dict: class UsageMetricsModelMetric (line 4107) | class UsageMetricsModelMetric: method from_dict (line 4121) | def from_dict(obj: Any) -> 'UsageMetricsModelMetric': method to_dict (line 4129) | def to_dict(self) -> dict: class Workspace (line 4140) | class Workspace: method from_dict (line 4161) | def from_dict(obj: Any) -> 'Workspace': method to_dict (line 4183) | def to_dict(self) -> dict: class MCPDiscoverResult (line 4223) | class MCPDiscoverResult: method from_dict (line 4228) | def from_dict(obj: Any) -> 'MCPDiscoverResult': method to_dict (line 4233) | def to_dict(self) -> dict: class ExtensionList (line 4240) | class ExtensionList: method from_dict (line 4245) | def from_dict(obj: Any) -> 'ExtensionList': method to_dict (line 4250) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContent (line 4256) | class ExternalToolTextResultForLlmContent: method from_dict (line 4320) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContent': method to_dict (line 4337) | def to_dict(self) -> dict: class ExternalToolTextResultForLlmContentResourceLink (line 4367) | class ExternalToolTextResultForLlmContentResourceLink: method from_dict (line 4395) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlmContentResourc... method to_dict (line 4407) | def to_dict(self) -> dict: class InstructionsGetSourcesResult (line 4425) | class InstructionsGetSourcesResult: method from_dict (line 4430) | def from_dict(obj: Any) -> 'InstructionsGetSourcesResult': method to_dict (line 4435) | def to_dict(self) -> dict: class MCPConfigAddRequest (line 4441) | class MCPConfigAddRequest: method from_dict (line 4449) | def from_dict(obj: Any) -> 'MCPConfigAddRequest': method to_dict (line 4455) | def to_dict(self) -> dict: class MCPConfigList (line 4462) | class MCPConfigList: method from_dict (line 4467) | def from_dict(obj: Any) -> 'MCPConfigList': method to_dict (line 4472) | def to_dict(self) -> dict: class MCPConfigUpdateRequest (line 4478) | class MCPConfigUpdateRequest: method from_dict (line 4486) | def from_dict(obj: Any) -> 'MCPConfigUpdateRequest': method to_dict (line 4492) | def to_dict(self) -> dict: class MCPServerList (line 4499) | class MCPServerList: method from_dict (line 4504) | def from_dict(obj: Any) -> 'MCPServerList': method to_dict (line 4509) | def to_dict(self) -> dict: class ModelCapabilitiesOverride (line 4515) | class ModelCapabilitiesOverride: method from_dict (line 4525) | def from_dict(obj: Any) -> 'ModelCapabilitiesOverride': method to_dict (line 4531) | def to_dict(self) -> dict: class PermissionDecision (line 4540) | class PermissionDecision: method from_dict (line 4571) | def from_dict(obj: Any) -> 'PermissionDecision': method to_dict (line 4580) | def to_dict(self) -> dict: class PermissionDecisionApproveForLocation (line 4594) | class PermissionDecisionApproveForLocation: method from_dict (line 4605) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForLocation': method to_dict (line 4612) | def to_dict(self) -> dict: class PermissionDecisionApproveForSession (line 4620) | class PermissionDecisionApproveForSession: method from_dict (line 4631) | def from_dict(obj: Any) -> 'PermissionDecisionApproveForSession': method to_dict (line 4638) | def to_dict(self) -> dict: class SessionFSReadFileResult (line 4648) | class SessionFSReadFileResult: method from_dict (line 4656) | def from_dict(obj: Any) -> 'SessionFSReadFileResult': method to_dict (line 4662) | def to_dict(self) -> dict: class SessionFSReaddirResult (line 4670) | class SessionFSReaddirResult: method from_dict (line 4678) | def from_dict(obj: Any) -> 'SessionFSReaddirResult': method to_dict (line 4684) | def to_dict(self) -> dict: class SessionFSStatResult (line 4692) | class SessionFSStatResult: method from_dict (line 4712) | def from_dict(obj: Any) -> 'SessionFSStatResult': method to_dict (line 4722) | def to_dict(self) -> dict: class SessionFSReaddirWithTypesResult (line 4734) | class SessionFSReaddirWithTypesResult: method from_dict (line 4742) | def from_dict(obj: Any) -> 'SessionFSReaddirWithTypesResult': method to_dict (line 4748) | def to_dict(self) -> dict: class UIElicitationArrayAnyOfField (line 4756) | class UIElicitationArrayAnyOfField: method from_dict (line 4766) | def from_dict(obj: Any) -> 'UIElicitationArrayAnyOfField': method to_dict (line 4777) | def to_dict(self) -> dict: class UIElicitationArrayEnumField (line 4794) | class UIElicitationArrayEnumField: method from_dict (line 4804) | def from_dict(obj: Any) -> 'UIElicitationArrayEnumField': method to_dict (line 4815) | def to_dict(self) -> dict: class UIElicitationSchemaProperty (line 4832) | class UIElicitationSchemaProperty: method from_dict (line 4850) | def from_dict(obj: Any) -> 'UIElicitationSchemaProperty': method to_dict (line 4869) | def to_dict(self) -> dict: class UIHandlePendingElicitationRequest (line 4903) | class UIHandlePendingElicitationRequest: method from_dict (line 4911) | def from_dict(obj: Any) -> 'UIHandlePendingElicitationRequest': method to_dict (line 4917) | def to_dict(self) -> dict: class UsageGetMetricsResult (line 4925) | class UsageGetMetricsResult: method from_dict (line 4961) | def from_dict(obj: Any) -> 'UsageGetMetricsResult': method to_dict (line 4976) | def to_dict(self) -> dict: class WorkspacesGetWorkspaceResult (line 4995) | class WorkspacesGetWorkspaceResult: method from_dict (line 5000) | def from_dict(obj: Any) -> 'WorkspacesGetWorkspaceResult': method to_dict (line 5005) | def to_dict(self) -> dict: class ExternalToolTextResultForLlm (line 5011) | class ExternalToolTextResultForLlm: method from_dict (line 5034) | def from_dict(obj: Any) -> 'ExternalToolTextResultForLlm': method to_dict (line 5044) | def to_dict(self) -> dict: class PermissionDecisionRequest (line 5060) | class PermissionDecisionRequest: method from_dict (line 5067) | def from_dict(obj: Any) -> 'PermissionDecisionRequest': method to_dict (line 5073) | def to_dict(self) -> dict: class UIElicitationSchema (line 5080) | class UIElicitationSchema: method from_dict (line 5093) | def from_dict(obj: Any) -> 'UIElicitationSchema': method to_dict (line 5100) | def to_dict(self) -> dict: class HandlePendingToolCallRequest (line 5109) | class HandlePendingToolCallRequest: method from_dict (line 5120) | def from_dict(obj: Any) -> 'HandlePendingToolCallRequest': method to_dict (line 5127) | def to_dict(self) -> dict: class UIElicitationRequest (line 5137) | class UIElicitationRequest: method from_dict (line 5145) | def from_dict(obj: Any) -> 'UIElicitationRequest': method to_dict (line 5151) | def to_dict(self) -> dict: class ModelCapabilities (line 5158) | class ModelCapabilities: method from_dict (line 5168) | def from_dict(obj: Any) -> 'ModelCapabilities': method to_dict (line 5174) | def to_dict(self) -> dict: class Model (line 5183) | class Model: method from_dict (line 5206) | def from_dict(obj: Any) -> 'Model': method to_dict (line 5217) | def to_dict(self) -> dict: class ModelList (line 5233) | class ModelList: method from_dict (line 5238) | def from_dict(obj: Any) -> 'ModelList': method to_dict (line 5243) | def to_dict(self) -> dict: class ModelSwitchToRequest (line 5249) | class ModelSwitchToRequest: method from_dict (line 5260) | def from_dict(obj: Any) -> 'ModelSwitchToRequest': method to_dict (line 5267) | def to_dict(self) -> dict: class TaskAgentInfo (line 5277) | class TaskAgentInfo: method from_dict (line 5335) | def from_dict(obj: Any) -> 'TaskAgentInfo': method to_dict (line 5357) | def to_dict(self) -> dict: class TaskInfo (line 5390) | class TaskInfo: method from_dict (line 5465) | def from_dict(obj: Any) -> 'TaskInfo': method to_dict (line 5491) | def to_dict(self) -> dict: class TaskList (line 5536) | class TaskList: method from_dict (line 5541) | def from_dict(obj: Any) -> 'TaskList': method to_dict (line 5546) | def to_dict(self) -> dict: class RPC (line 5552) | class RPC: method from_dict (line 5777) | def from_dict(obj: Any) -> 'RPC': method to_dict (line 6003) | def to_dict(self) -> dict: function rpc_from_dict (line 6229) | def rpc_from_dict(s: Any) -> RPC: function rpc_to_dict (line 6232) | def rpc_to_dict(x: RPC) -> Any: function _timeout_kwargs (line 6236) | def _timeout_kwargs(timeout: float | None) -> dict: function _patch_model_capabilities (line 6242) | def _patch_model_capabilities(data: dict) -> dict: class ServerModelsApi (line 6264) | class ServerModelsApi: method __init__ (line 6265) | def __init__(self, client: "JsonRpcClient"): method list (line 6268) | async def list(self, params: ModelsListRequest | None = None, *, timeo... class ServerToolsApi (line 6273) | class ServerToolsApi: method __init__ (line 6274) | def __init__(self, client: "JsonRpcClient"): method list (line 6277) | async def list(self, params: ToolsListRequest, *, timeout: float | Non... class ServerAccountApi (line 6282) | class ServerAccountApi: method __init__ (line 6283) | def __init__(self, client: "JsonRpcClient"): method get_quota (line 6286) | async def get_quota(self, params: AccountGetQuotaRequest | None = None... class ServerMcpConfigApi (line 6291) | class ServerMcpConfigApi: method __init__ (line 6292) | def __init__(self, client: "JsonRpcClient"): method list (line 6295) | async def list(self, *, timeout: float | None = None) -> MCPConfigList: method add (line 6298) | async def add(self, params: MCPConfigAddRequest, *, timeout: float | N... method update (line 6302) | async def update(self, params: MCPConfigUpdateRequest, *, timeout: flo... method remove (line 6306) | async def remove(self, params: MCPConfigRemoveRequest, *, timeout: flo... method enable (line 6310) | async def enable(self, params: MCPConfigEnableRequest, *, timeout: flo... method disable (line 6314) | async def disable(self, params: MCPConfigDisableRequest, *, timeout: f... class ServerMcpApi (line 6319) | class ServerMcpApi: method __init__ (line 6320) | def __init__(self, client: "JsonRpcClient"): method discover (line 6324) | async def discover(self, params: MCPDiscoverRequest, *, timeout: float... class ServerSkillsConfigApi (line 6329) | class ServerSkillsConfigApi: method __init__ (line 6330) | def __init__(self, client: "JsonRpcClient"): method set_disabled_skills (line 6333) | async def set_disabled_skills(self, params: SkillsConfigSetDisabledSki... class ServerSkillsApi (line 6338) | class ServerSkillsApi: method __init__ (line 6339) | def __init__(self, client: "JsonRpcClient"): method discover (line 6343) | async def discover(self, params: SkillsDiscoverRequest, *, timeout: fl... class ServerSessionFsApi (line 6348) | class ServerSessionFsApi: method __init__ (line 6349) | def __init__(self, client: "JsonRpcClient"): method set_provider (line 6352) | async def set_provider(self, params: SessionFSSetProviderRequest, *, t... class ServerSessionsApi (line 6358) | class ServerSessionsApi: method __init__ (line 6359) | def __init__(self, client: "JsonRpcClient"): method fork (line 6362) | async def fork(self, params: SessionsForkRequest, *, timeout: float | ... class ServerRpc (line 6367) | class ServerRpc: method __init__ (line 6369) | def __init__(self, client: "JsonRpcClient"): method ping (line 6379) | async def ping(self, params: PingRequest, *, timeout: float | None = N... class AuthApi (line 6384) | class AuthApi: method __init__ (line 6385) | def __init__(self, client: "JsonRpcClient", session_id: str): method get_status (line 6389) | async def get_status(self, *, timeout: float | None = None) -> Session... class ModelApi (line 6393) | class ModelApi: method __init__ (line 6394) | def __init__(self, client: "JsonRpcClient", session_id: str): method get_current (line 6398) | async def get_current(self, *, timeout: float | None = None) -> Curren... method switch_to (line 6401) | async def switch_to(self, params: ModelSwitchToRequest, *, timeout: fl... class ModeApi (line 6407) | class ModeApi: method __init__ (line 6408) | def __init__(self, client: "JsonRpcClient", session_id: str): method get (line 6412) | async def get(self, *, timeout: float | None = None) -> SessionMode: method set (line 6415) | async def set(self, params: ModeSetRequest, *, timeout: float | None =... class NameApi (line 6421) | class NameApi: method __init__ (line 6422) | def __init__(self, client: "JsonRpcClient", session_id: str): method get (line 6426) | async def get(self, *, timeout: float | None = None) -> NameGetResult: method set (line 6429) | async def set(self, params: NameSetRequest, *, timeout: float | None =... class PlanApi (line 6435) | class PlanApi: method __init__ (line 6436) | def __init__(self, client: "JsonRpcClient", session_id: str): method read (line 6440) | async def read(self, *, timeout: float | None = None) -> PlanReadResult: method update (line 6443) | async def update(self, params: PlanUpdateRequest, *, timeout: float | ... method delete (line 6448) | async def delete(self, *, timeout: float | None = None) -> None: class WorkspacesApi (line 6452) | class WorkspacesApi: method __init__ (line 6453) | def __init__(self, client: "JsonRpcClient", session_id: str): method get_workspace (line 6457) | async def get_workspace(self, *, timeout: float | None = None) -> Work... method list_files (line 6460) | async def list_files(self, *, timeout: float | None = None) -> Workspa... method read_file (line 6463) | async def read_file(self, params: WorkspacesReadFileRequest, *, timeou... method create_file (line 6468) | async def create_file(self, params: WorkspacesCreateFileRequest, *, ti... class InstructionsApi (line 6474) | class InstructionsApi: method __init__ (line 6475) | def __init__(self, client: "JsonRpcClient", session_id: str): method get_sources (line 6479) | async def get_sources(self, *, timeout: float | None = None) -> Instru... class FleetApi (line 6484) | class FleetApi: method __init__ (line 6485) | def __init__(self, client: "JsonRpcClient", session_id: str): method start (line 6489) | async def start(self, params: FleetStartRequest, *, timeout: float | N... class AgentApi (line 6496) | class AgentApi: method __init__ (line 6497) | def __init__(self, client: "JsonRpcClient", session_id: str): method list (line 6501) | async def list(self, *, timeout: float | None = None) -> AgentList: method get_current (line 6504) | async def get_current(self, *, timeout: float | None = None) -> AgentG... method select (line 6507) | async def select(self, params: AgentSelectRequest, *, timeout: float |... method deselect (line 6512) | async def deselect(self, *, timeout: float | None = None) -> None: method reload (line 6515) | async def reload(self, *, timeout: float | None = None) -> AgentReload... class TasksApi (line 6520) | class TasksApi: method __init__ (line 6521) | def __init__(self, client: "JsonRpcClient", session_id: str): method start_agent (line 6525) | async def start_agent(self, params: TasksStartAgentRequest, *, timeout... method list (line 6530) | async def list(self, *, timeout: float | None = None) -> TaskList: method promote_to_background (line 6533) | async def promote_to_background(self, params: TasksPromoteToBackground... method cancel (line 6538) | async def cancel(self, params: TasksCancelRequest, *, timeout: float |... method remove (line 6543) | async def remove(self, params: TasksRemoveRequest, *, timeout: float |... class SkillsApi (line 6550) | class SkillsApi: method __init__ (line 6551) | def __init__(self, client: "JsonRpcClient", session_id: str): method list (line 6555) | async def list(self, *, timeout: float | None = None) -> SkillList: method enable (line 6558) | async def enable(self, params: SkillsEnableRequest, *, timeout: float ... method disable (line 6563) | async def disable(self, params: SkillsDisableRequest, *, timeout: floa... method reload (line 6568) | async def reload(self, *, timeout: float | None = None) -> None: class McpOauthApi (line 6573) | class McpOauthApi: method __init__ (line 6574) | def __init__(self, client: "JsonRpcClient", session_id: str): method login (line 6578) | async def login(self, params: MCPOauthLoginRequest, *, timeout: float ... class McpApi (line 6585) | class McpApi: method __init__ (line 6586) | def __init__(self, client: "JsonRpcClient", session_id: str): method list (line 6591) | async def list(self, *, timeout: float | None = None) -> MCPServerList: method enable (line 6594) | async def enable(self, params: MCPEnableRequest, *, timeout: float | N... method disable (line 6599) | async def disable(self, params: MCPDisableRequest, *, timeout: float |... method reload (line 6604) | async def reload(self, *, timeout: float | None = None) -> None: class PluginsApi (line 6609) | class PluginsApi: method __init__ (line 6610) | def __init__(self, client: "JsonRpcClient", session_id: str): method list (line 6614) | async def list(self, *, timeout: float | None = None) -> PluginList: class ExtensionsApi (line 6619) | class ExtensionsApi: method __init__ (line 6620) | def __init__(self, client: "JsonRpcClient", session_id: str): method list (line 6624) | async def list(self, *, timeout: float | None = None) -> ExtensionList: method enable (line 6627) | async def enable(self, params: ExtensionsEnableRequest, *, timeout: fl... method disable (line 6632) | async def disable(self, params: ExtensionsDisableRequest, *, timeout: ... method reload (line 6637) | async def reload(self, *, timeout: float | None = None) -> None: class ToolsApi (line 6641) | class ToolsApi: method __init__ (line 6642) | def __init__(self, client: "JsonRpcClient", session_id: str): method handle_pending_tool_call (line 6646) | async def handle_pending_tool_call(self, params: HandlePendingToolCall... class CommandsApi (line 6652) | class CommandsApi: method __init__ (line 6653) | def __init__(self, client: "JsonRpcClient", session_id: str): method handle_pending_command (line 6657) | async def handle_pending_command(self, params: CommandsHandlePendingCo... class UiApi (line 6663) | class UiApi: method __init__ (line 6664) | def __init__(self, client: "JsonRpcClient", session_id: str): method elicitation (line 6668) | async def elicitation(self, params: UIElicitationRequest, *, timeout: ... method handle_pending_elicitation (line 6673) | async def handle_pending_elicitation(self, params: UIHandlePendingElic... class PermissionsApi (line 6679) | class PermissionsApi: method __init__ (line 6680) | def __init__(self, client: "JsonRpcClient", session_id: str): method handle_pending_permission_request (line 6684) | async def handle_pending_permission_request(self, params: PermissionDe... method set_approve_all (line 6689) | async def set_approve_all(self, params: PermissionsSetApproveAllReques... method reset_session_approvals (line 6694) | async def reset_session_approvals(self, *, timeout: float | None = Non... class ShellApi (line 6698) | class ShellApi: method __init__ (line 6699) | def __init__(self, client: "JsonRpcClient", session_id: str): method exec (line 6703) | async def exec(self, params: ShellExecRequest, *, timeout: float | Non... method kill (line 6708) | async def kill(self, params: ShellKillRequest, *, timeout: float | Non... class HistoryApi (line 6715) | class HistoryApi: method __init__ (line 6716) | def __init__(self, client: "JsonRpcClient", session_id: str): method compact (line 6720) | async def compact(self, *, timeout: float | None = None) -> HistoryCom... method truncate (line 6723) | async def truncate(self, params: HistoryTruncateRequest, *, timeout: f... class UsageApi (line 6730) | class UsageApi: method __init__ (line 6731) | def __init__(self, client: "JsonRpcClient", session_id: str): method get_metrics (line 6735) | async def get_metrics(self, *, timeout: float | None = None) -> UsageG... class SessionRpc (line 6739) | class SessionRpc: method __init__ (line 6741) | def __init__(self, client: "JsonRpcClient", session_id: str): method suspend (line 6766) | async def suspend(self, *, timeout: float | None = None) -> None: method log (line 6769) | async def log(self, params: LogRequest, *, timeout: float | None = Non... class SessionFsHandler (line 6775) | class SessionFsHandler(Protocol): method read_file (line 6776) | async def read_file(self, params: SessionFSReadFileRequest) -> Session... method write_file (line 6778) | async def write_file(self, params: SessionFSWriteFileRequest) -> Sessi... method append_file (line 6780) | async def append_file(self, params: SessionFSAppendFileRequest) -> Ses... method exists (line 6782) | async def exists(self, params: SessionFSExistsRequest) -> SessionFSExi... method stat (line 6784) | async def stat(self, params: SessionFSStatRequest) -> SessionFSStatRes... method mkdir (line 6786) | async def mkdir(self, params: SessionFSMkdirRequest) -> SessionFSError... method readdir (line 6788) | async def readdir(self, params: SessionFSReaddirRequest) -> SessionFSR... method readdir_with_types (line 6790) | async def readdir_with_types(self, params: SessionFSReaddirWithTypesRe... method rm (line 6792) | async def rm(self, params: SessionFSRmRequest) -> SessionFSError | None: method rename (line 6794) | async def rename(self, params: SessionFSRenameRequest) -> SessionFSErr... class ClientSessionApiHandlers (line 6798) | class ClientSessionApiHandlers: function register_client_session_api_handlers (line 6801) | def register_client_session_api_handlers( FILE: python/copilot/generated/session_events.py function from_str (line 21) | def from_str(x: Any) -> str: function from_int (line 26) | def from_int(x: Any) -> int: function to_int (line 31) | def to_int(x: Any) -> int: function from_float (line 36) | def from_float(x: Any) -> float: function to_float (line 41) | def to_float(x: Any) -> float: function from_bool (line 46) | def from_bool(x: Any) -> bool: function from_none (line 51) | def from_none(x: Any) -> Any: function from_union (line 56) | def from_union(fs: list[Callable[[Any], T]], x: Any) -> T: function from_list (line 65) | def from_list(f: Callable[[Any], T], x: Any) -> list[T]: function from_dict (line 70) | def from_dict(f: Callable[[Any], T], x: Any) -> dict[str, T]: function from_datetime (line 75) | def from_datetime(x: Any) -> datetime: function to_datetime (line 79) | def to_datetime(x: datetime) -> str: function from_uuid (line 83) | def from_uuid(x: Any) -> UUID: function to_uuid (line 87) | def to_uuid(x: UUID) -> str: function parse_enum (line 91) | def parse_enum(c: type[EnumT], x: Any) -> EnumT: function to_class (line 96) | def to_class(c: type[T], x: Any) -> dict: function to_enum (line 101) | def to_enum(c: type[EnumT], x: Any) -> str: class SessionEventType (line 106) | class SessionEventType(Enum): method _missing_ (line 188) | def _missing_(cls, value: object) -> "SessionEventType": class RawSessionEventData (line 193) | class RawSessionEventData: method from_dict (line 197) | def from_dict(obj: Any) -> "RawSessionEventData": method to_dict (line 200) | def to_dict(self) -> Any: function _compat_to_python_key (line 204) | def _compat_to_python_key(name: str) -> str: function _compat_to_json_key (line 214) | def _compat_to_json_key(name: str) -> str: function _compat_to_json_value (line 221) | def _compat_to_json_value(value: Any) -> Any: function _compat_from_json_value (line 237) | def _compat_from_json_value(value: Any) -> Any: class Data (line 241) | class Data: method __init__ (line 244) | def __init__(self, **kwargs: Any): method from_dict (line 250) | def from_dict(obj: Any) -> "Data": method to_dict (line 254) | def to_dict(self) -> dict: class AbortData (line 259) | class AbortData: method from_dict (line 264) | def from_dict(obj: Any) -> "AbortData": method to_dict (line 271) | def to_dict(self) -> dict: class AssistantIntentData (line 278) | class AssistantIntentData: method from_dict (line 283) | def from_dict(obj: Any) -> "AssistantIntentData": method to_dict (line 290) | def to_dict(self) -> dict: class AssistantMessageData (line 297) | class AssistantMessageData: method from_dict (line 314) | def from_dict(obj: Any) -> "AssistantMessageData": method to_dict (line 343) | def to_dict(self) -> dict: class AssistantMessageDeltaData (line 371) | class AssistantMessageDeltaData: method from_dict (line 379) | def from_dict(obj: Any) -> "AssistantMessageDeltaData": method to_dict (line 390) | def to_dict(self) -> dict: class AssistantMessageStartData (line 400) | class AssistantMessageStartData: method from_dict (line 406) | def from_dict(obj: Any) -> "AssistantMessageStartData": method to_dict (line 415) | def to_dict(self) -> dict: class AssistantMessageToolRequest (line 424) | class AssistantMessageToolRequest: method from_dict (line 435) | def from_dict(obj: Any) -> "AssistantMessageToolRequest": method to_dict (line 454) | def to_dict(self) -> dict: class AssistantReasoningData (line 472) | class AssistantReasoningData: method from_dict (line 478) | def from_dict(obj: Any) -> "AssistantReasoningData": method to_dict (line 487) | def to_dict(self) -> dict: class AssistantReasoningDeltaData (line 495) | class AssistantReasoningDeltaData: method from_dict (line 501) | def from_dict(obj: Any) -> "AssistantReasoningDeltaData": method to_dict (line 510) | def to_dict(self) -> dict: class AssistantStreamingDeltaData (line 518) | class AssistantStreamingDeltaData: method from_dict (line 523) | def from_dict(obj: Any) -> "AssistantStreamingDeltaData": method to_dict (line 530) | def to_dict(self) -> dict: class AssistantTurnEndData (line 537) | class AssistantTurnEndData: method from_dict (line 542) | def from_dict(obj: Any) -> "AssistantTurnEndData": method to_dict (line 549) | def to_dict(self) -> dict: class AssistantTurnStartData (line 556) | class AssistantTurnStartData: method from_dict (line 562) | def from_dict(obj: Any) -> "AssistantTurnStartData": method to_dict (line 571) | def to_dict(self) -> dict: class AssistantUsageCopilotUsage (line 580) | class AssistantUsageCopilotUsage: method from_dict (line 586) | def from_dict(obj: Any) -> "AssistantUsageCopilotUsage": method to_dict (line 595) | def to_dict(self) -> dict: class AssistantUsageCopilotUsageTokenDetail (line 603) | class AssistantUsageCopilotUsageTokenDetail: method from_dict (line 611) | def from_dict(obj: Any) -> "AssistantUsageCopilotUsageTokenDetail": method to_dict (line 624) | def to_dict(self) -> dict: class AssistantUsageData (line 634) | class AssistantUsageData: method from_dict (line 656) | def from_dict(obj: Any) -> "AssistantUsageData": method to_dict (line 695) | def to_dict(self) -> dict: class AssistantUsageQuotaSnapshot (line 734) | class AssistantUsageQuotaSnapshot: method from_dict (line 745) | def from_dict(obj: Any) -> "AssistantUsageQuotaSnapshot": method to_dict (line 766) | def to_dict(self) -> dict: class AutoModeSwitchCompletedData (line 781) | class AutoModeSwitchCompletedData: method from_dict (line 787) | def from_dict(obj: Any) -> "AutoModeSwitchCompletedData": method to_dict (line 796) | def to_dict(self) -> dict: class AutoModeSwitchRequestedData (line 804) | class AutoModeSwitchRequestedData: method from_dict (line 811) | def from_dict(obj: Any) -> "AutoModeSwitchRequestedData": method to_dict (line 822) | def to_dict(self) -> dict: class CapabilitiesChangedData (line 833) | class CapabilitiesChangedData: method from_dict (line 838) | def from_dict(obj: Any) -> "CapabilitiesChangedData": method to_dict (line 845) | def to_dict(self) -> dict: class CapabilitiesChangedUI (line 853) | class CapabilitiesChangedUI: method from_dict (line 858) | def from_dict(obj: Any) -> "CapabilitiesChangedUI": method to_dict (line 865) | def to_dict(self) -> dict: class CommandCompletedData (line 873) | class CommandCompletedData: method from_dict (line 878) | def from_dict(obj: Any) -> "CommandCompletedData": method to_dict (line 885) | def to_dict(self) -> dict: class CommandExecuteData (line 892) | class CommandExecuteData: method from_dict (line 900) | def from_dict(obj: Any) -> "CommandExecuteData": method to_dict (line 913) | def to_dict(self) -> dict: class CommandQueuedData (line 923) | class CommandQueuedData: method from_dict (line 929) | def from_dict(obj: Any) -> "CommandQueuedData": method to_dict (line 938) | def to_dict(self) -> dict: class CommandsChangedCommand (line 946) | class CommandsChangedCommand: method from_dict (line 951) | def from_dict(obj: Any) -> "CommandsChangedCommand": method to_dict (line 960) | def to_dict(self) -> dict: class CommandsChangedData (line 969) | class CommandsChangedData: method from_dict (line 974) | def from_dict(obj: Any) -> "CommandsChangedData": method to_dict (line 981) | def to_dict(self) -> dict: class CompactionCompleteCompactionTokensUsed (line 988) | class CompactionCompleteCompactionTokensUsed: method from_dict (line 999) | def from_dict(obj: Any) -> "CompactionCompleteCompactionTokensUsed": method to_dict (line 1018) | def to_dict(self) -> dict: class CompactionCompleteCompactionTokensUsedCopilotUsage (line 1038) | class CompactionCompleteCompactionTokensUsedCopilotUsage: method from_dict (line 1044) | def from_dict(obj: Any) -> "CompactionCompleteCompactionTokensUsedCopi... method to_dict (line 1053) | def to_dict(self) -> dict: class CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail (line 1061) | class CompactionCompleteCompactionTokensUsedCopilotUsageTokenDetail: method from_dict (line 1069) | def from_dict(obj: Any) -> "CompactionCompleteCompactionTokensUsedCopi... method to_dict (line 1082) | def to_dict(self) -> dict: class CustomAgentsUpdatedAgent (line 1092) | class CustomAgentsUpdatedAgent: method from_dict (line 1103) | def from_dict(obj: Any) -> "CustomAgentsUpdatedAgent": method to_dict (line 1124) | def to_dict(self) -> dict: class ElicitationCompletedData (line 1139) | class ElicitationCompletedData: method from_dict (line 1146) | def from_dict(obj: Any) -> "ElicitationCompletedData": method to_dict (line 1157) | def to_dict(self) -> dict: class ElicitationRequestedData (line 1168) | class ElicitationRequestedData: method from_dict (line 1179) | def from_dict(obj: Any) -> "ElicitationRequestedData": method to_dict (line 1198) | def to_dict(self) -> dict: class ElicitationRequestedSchema (line 1216) | class ElicitationRequestedSchema: method from_dict (line 1223) | def from_dict(obj: Any) -> "ElicitationRequestedSchema": method to_dict (line 1234) | def to_dict(self) -> dict: class ExitPlanModeCompletedData (line 1244) | class ExitPlanModeCompletedData: method from_dict (line 1253) | def from_dict(obj: Any) -> "ExitPlanModeCompletedData": method to_dict (line 1268) | def to_dict(self) -> dict: class ExitPlanModeRequestedData (line 1283) | class ExitPlanModeRequestedData: method from_dict (line 1292) | def from_dict(obj: Any) -> "ExitPlanModeRequestedData": method to_dict (line 1307) | def to_dict(self) -> dict: class ExtensionsLoadedExtension (line 1318) | class ExtensionsLoadedExtension: method from_dict (line 1325) | def from_dict(obj: Any) -> "ExtensionsLoadedExtension": method to_dict (line 1338) | def to_dict(self) -> dict: class ExternalToolCompletedData (line 1348) | class ExternalToolCompletedData: method from_dict (line 1353) | def from_dict(obj: Any) -> "ExternalToolCompletedData": method to_dict (line 1360) | def to_dict(self) -> dict: class ExternalToolRequestedData (line 1367) | class ExternalToolRequestedData: method from_dict (line 1378) | def from_dict(obj: Any) -> "ExternalToolRequestedData": method to_dict (line 1397) | def to_dict(self) -> dict: class HandoffRepository (line 1413) | class HandoffRepository: method from_dict (line 1420) | def from_dict(obj: Any) -> "HandoffRepository": method to_dict (line 1431) | def to_dict(self) -> dict: class HookEndData (line 1441) | class HookEndData: method from_dict (line 1450) | def from_dict(obj: Any) -> "HookEndData": method to_dict (line 1465) | def to_dict(self) -> dict: class HookEndError (line 1478) | class HookEndError: method from_dict (line 1484) | def from_dict(obj: Any) -> "HookEndError": method to_dict (line 1493) | def to_dict(self) -> dict: class HookStartData (line 1502) | class HookStartData: method from_dict (line 1509) | def from_dict(obj: Any) -> "HookStartData": method to_dict (line 1520) | def to_dict(self) -> dict: class McpOauthCompletedData (line 1530) | class McpOauthCompletedData: method from_dict (line 1535) | def from_dict(obj: Any) -> "McpOauthCompletedData": method to_dict (line 1542) | def to_dict(self) -> dict: class McpOauthRequiredData (line 1549) | class McpOauthRequiredData: method from_dict (line 1557) | def from_dict(obj: Any) -> "McpOauthRequiredData": method to_dict (line 1570) | def to_dict(self) -> dict: class McpOauthRequiredStaticClientConfig (line 1581) | class McpOauthRequiredStaticClientConfig: method from_dict (line 1588) | def from_dict(obj: Any) -> "McpOauthRequiredStaticClientConfig": method to_dict (line 1599) | def to_dict(self) -> dict: class McpServersLoadedServer (line 1610) | class McpServersLoadedServer: method from_dict (line 1617) | def from_dict(obj: Any) -> "McpServersLoadedServer": method to_dict (line 1630) | def to_dict(self) -> dict: class ModelCallFailureData (line 1642) | class ModelCallFailureData: method from_dict (line 1654) | def from_dict(obj: Any) -> "ModelCallFailureData": method to_dict (line 1675) | def to_dict(self) -> dict: class PendingMessagesModifiedData (line 1696) | class PendingMessagesModifiedData: method from_dict (line 1699) | def from_dict(obj: Any) -> "PendingMessagesModifiedData": method to_dict (line 1703) | def to_dict(self) -> dict: class PermissionCompletedData (line 1708) | class PermissionCompletedData: method from_dict (line 1715) | def from_dict(obj: Any) -> "PermissionCompletedData": method to_dict (line 1726) | def to_dict(self) -> dict: class PermissionPromptRequest (line 1736) | class PermissionPromptRequest: method from_dict (line 1767) | def from_dict(obj: Any) -> "PermissionPromptRequest": method to_dict (line 1826) | def to_dict(self) -> dict: class PermissionRequest (line 1885) | class PermissionRequest: method from_dict (line 1918) | def from_dict(obj: Any) -> "PermissionRequest": method to_dict (line 1981) | def to_dict(self) -> dict: class PermissionRequestShellCommand (line 2044) | class PermissionRequestShellCommand: method from_dict (line 2049) | def from_dict(obj: Any) -> "PermissionRequestShellCommand": method to_dict (line 2058) | def to_dict(self) -> dict: class PermissionRequestShellPossibleUrl (line 2066) | class PermissionRequestShellPossibleUrl: method from_dict (line 2070) | def from_dict(obj: Any) -> "PermissionRequestShellPossibleUrl": method to_dict (line 2077) | def to_dict(self) -> dict: class PermissionRequestedData (line 2084) | class PermissionRequestedData: method from_dict (line 2092) | def from_dict(obj: Any) -> "PermissionRequestedData": method to_dict (line 2105) | def to_dict(self) -> dict: class PermissionResult (line 2117) | class PermissionResult: method from_dict (line 2131) | def from_dict(obj: Any) -> "PermissionResult": method to_dict (line 2156) | def to_dict(self) -> dict: class PermissionRule (line 2181) | class PermissionRule: method from_dict (line 2186) | def from_dict(obj: Any) -> "PermissionRule": method to_dict (line 2195) | def to_dict(self) -> dict: class SamplingCompletedData (line 2203) | class SamplingCompletedData: method from_dict (line 2208) | def from_dict(obj: Any) -> "SamplingCompletedData": method to_dict (line 2215) | def to_dict(self) -> dict: class SamplingRequestedData (line 2222) | class SamplingRequestedData: method from_dict (line 2229) | def from_dict(obj: Any) -> "SamplingRequestedData": method to_dict (line 2240) | def to_dict(self) -> dict: class SessionBackgroundTasksChangedData (line 2249) | class SessionBackgroundTasksChangedData: method from_dict (line 2251) | def from_dict(obj: Any) -> "SessionBackgroundTasksChangedData": method to_dict (line 2255) | def to_dict(self) -> dict: class SessionCompactionCompleteData (line 2260) | class SessionCompactionCompleteData: method from_dict (line 2279) | def from_dict(obj: Any) -> "SessionCompactionCompleteData": method to_dict (line 2314) | def to_dict(self) -> dict: class SessionCompactionStartData (line 2349) | class SessionCompactionStartData: method from_dict (line 2356) | def from_dict(obj: Any) -> "SessionCompactionStartData": method to_dict (line 2367) | def to_dict(self) -> dict: class SessionContextChangedData (line 2379) | class SessionContextChangedData: method from_dict (line 2391) | def from_dict(obj: Any) -> "SessionContextChangedData": method to_dict (line 2412) | def to_dict(self) -> dict: class SessionCustomAgentsUpdatedData (line 2433) | class SessionCustomAgentsUpdatedData: method from_dict (line 2439) | def from_dict(obj: Any) -> "SessionCustomAgentsUpdatedData": method to_dict (line 2450) | def to_dict(self) -> dict: class SessionErrorData (line 2459) | class SessionErrorData: method from_dict (line 2471) | def from_dict(obj: Any) -> "SessionErrorData": method to_dict (line 2492) | def to_dict(self) -> dict: class SessionExtensionsLoadedData (line 2512) | class SessionExtensionsLoadedData: method from_dict (line 2516) | def from_dict(obj: Any) -> "SessionExtensionsLoadedData": method to_dict (line 2523) | def to_dict(self) -> dict: class SessionHandoffData (line 2530) | class SessionHandoffData: method from_dict (line 2541) | def from_dict(obj: Any) -> "SessionHandoffData": method to_dict (line 2560) | def to_dict(self) -> dict: class SessionIdleData (line 2578) | class SessionIdleData: method from_dict (line 2583) | def from_dict(obj: Any) -> "SessionIdleData": method to_dict (line 2590) | def to_dict(self) -> dict: class SessionInfoData (line 2598) | class SessionInfoData: method from_dict (line 2606) | def from_dict(obj: Any) -> "SessionInfoData": method to_dict (line 2619) | def to_dict(self) -> dict: class SessionMcpServerStatusChangedData (line 2631) | class SessionMcpServerStatusChangedData: method from_dict (line 2636) | def from_dict(obj: Any) -> "SessionMcpServerStatusChangedData": method to_dict (line 2645) | def to_dict(self) -> dict: class SessionMcpServersLoadedData (line 2653) | class SessionMcpServersLoadedData: method from_dict (line 2657) | def from_dict(obj: Any) -> "SessionMcpServersLoadedData": method to_dict (line 2664) | def to_dict(self) -> dict: class SessionModeChangedData (line 2671) | class SessionModeChangedData: method from_dict (line 2677) | def from_dict(obj: Any) -> "SessionModeChangedData": method to_dict (line 2686) | def to_dict(self) -> dict: class SessionModelChangeData (line 2694) | class SessionModelChangeData: method from_dict (line 2703) | def from_dict(obj: Any) -> "SessionModelChangeData": method to_dict (line 2718) | def to_dict(self) -> dict: class SessionPlanChangedData (line 2733) | class SessionPlanChangedData: method from_dict (line 2738) | def from_dict(obj: Any) -> "SessionPlanChangedData": method to_dict (line 2745) | def to_dict(self) -> dict: class SessionRemoteSteerableChangedData (line 2752) | class SessionRemoteSteerableChangedData: method from_dict (line 2757) | def from_dict(obj: Any) -> "SessionRemoteSteerableChangedData": method to_dict (line 2764) | def to_dict(self) -> dict: class SessionResumeData (line 2771) | class SessionResumeData: method from_dict (line 2784) | def from_dict(obj: Any) -> "SessionResumeData": method to_dict (line 2807) | def to_dict(self) -> dict: class SessionShutdownData (line 2829) | class SessionShutdownData: method from_dict (line 2847) | def from_dict(obj: Any) -> "SessionShutdownData": method to_dict (line 2880) | def to_dict(self) -> dict: class SessionSkillsLoadedData (line 2908) | class SessionSkillsLoadedData: method from_dict (line 2912) | def from_dict(obj: Any) -> "SessionSkillsLoadedData": method to_dict (line 2919) | def to_dict(self) -> dict: class SessionSnapshotRewindData (line 2926) | class SessionSnapshotRewindData: method from_dict (line 2932) | def from_dict(obj: Any) -> "SessionSnapshotRewindData": method to_dict (line 2941) | def to_dict(self) -> dict: class SessionStartData (line 2949) | class SessionStartData: method from_dict (line 2963) | def from_dict(obj: Any) -> "SessionStartData": method to_dict (line 2988) | def to_dict(self) -> dict: class SessionTaskCompleteData (line 3009) | class SessionTaskCompleteData: method from_dict (line 3015) | def from_dict(obj: Any) -> "SessionTaskCompleteData": method to_dict (line 3024) | def to_dict(self) -> dict: class SessionTitleChangedData (line 3034) | class SessionTitleChangedData: method from_dict (line 3039) | def from_dict(obj: Any) -> "SessionTitleChangedData": method to_dict (line 3046) | def to_dict(self) -> dict: class SessionToolsUpdatedData (line 3053) | class SessionToolsUpdatedData: method from_dict (line 3057) | def from_dict(obj: Any) -> "SessionToolsUpdatedData": method to_dict (line 3064) | def to_dict(self) -> dict: class SessionTruncationData (line 3071) | class SessionTruncationData: method from_dict (line 3083) | def from_dict(obj: Any) -> "SessionTruncationData": method to_dict (line 3104) | def to_dict(self) -> dict: class SessionUsageInfoData (line 3118) | class SessionUsageInfoData: method from_dict (line 3129) | def from_dict(obj: Any) -> "SessionUsageInfoData": method to_dict (line 3148) | def to_dict(self) -> dict: class SessionWarningData (line 3165) | class SessionWarningData: method from_dict (line 3172) | def from_dict(obj: Any) -> "SessionWarningData": method to_dict (line 3183) | def to_dict(self) -> dict: class SessionWorkspaceFileChangedData (line 3193) | class SessionWorkspaceFileChangedData: method from_dict (line 3199) | def from_dict(obj: Any) -> "SessionWorkspaceFileChangedData": method to_dict (line 3208) | def to_dict(self) -> dict: class ShutdownCodeChanges (line 3216) | class ShutdownCodeChanges: method from_dict (line 3223) | def from_dict(obj: Any) -> "ShutdownCodeChanges": method to_dict (line 3234) | def to_dict(self) -> dict: class ShutdownModelMetric (line 3243) | class ShutdownModelMetric: method from_dict (line 3250) | def from_dict(obj: Any) -> "ShutdownModelMetric": method to_dict (line 3263) | def to_dict(self) -> dict: class ShutdownModelMetricRequests (line 3275) | class ShutdownModelMetricRequests: method from_dict (line 3281) | def from_dict(obj: Any) -> "ShutdownModelMetricRequests": method to_dict (line 3290) | def to_dict(self) -> dict: class ShutdownModelMetricTokenDetail (line 3298) | class ShutdownModelMetricTokenDetail: method from_dict (line 3302) | def from_dict(obj: Any) -> "ShutdownModelMetricTokenDetail": method to_dict (line 3309) | def to_dict(self) -> dict: class ShutdownModelMetricUsage (line 3316) | class ShutdownModelMetricUsage: method from_dict (line 3325) | def from_dict(obj: Any) -> "ShutdownModelMetricUsage": method to_dict (line 3340) | def to_dict(self) -> dict: class ShutdownTokenDetail (line 3352) | class ShutdownTokenDetail: method from_dict (line 3356) | def from_dict(obj: Any) -> "ShutdownTokenDetail": method to_dict (line 3363) | def to_dict(self) -> dict: class SkillInvokedData (line 3370) | class SkillInvokedData: method from_dict (line 3381) | def from_dict(obj: Any) -> "SkillInvokedData": method to_dict (line 3400) | def to_dict(self) -> dict: class SkillsLoadedSkill (line 3417) | class SkillsLoadedSkill: method from_dict (line 3426) | def from_dict(obj: Any) -> "SkillsLoadedSkill": method to_dict (line 3443) | def to_dict(self) -> dict: class SubagentCompletedData (line 3456) | class SubagentCompletedData: method from_dict (line 3467) | def from_dict(obj: Any) -> "SubagentCompletedData": method to_dict (line 3486) | def to_dict(self) -> dict: class SubagentDeselectedData (line 3503) | class SubagentDeselectedData: method from_dict (line 3506) | def from_dict(obj: Any) -> "SubagentDeselectedData": method to_dict (line 3510) | def to_dict(self) -> dict: class SubagentFailedData (line 3515) | class SubagentFailedData: method from_dict (line 3527) | def from_dict(obj: Any) -> "SubagentFailedData": method to_dict (line 3548) | def to_dict(self) -> dict: class SubagentSelectedData (line 3566) | class SubagentSelectedData: method from_dict (line 3573) | def from_dict(obj: Any) -> "SubagentSelectedData": method to_dict (line 3584) | def to_dict(self) -> dict: class SubagentStartedData (line 3593) | class SubagentStartedData: method from_dict (line 3601) | def from_dict(obj: Any) -> "SubagentStartedData": method to_dict (line 3614) | def to_dict(self) -> dict: class SystemMessageData (line 3624) | class SystemMessageData: method from_dict (line 3632) | def from_dict(obj: Any) -> "SystemMessageData": method to_dict (line 3645) | def to_dict(self) -> dict: class SystemMessageMetadata (line 3657) | class SystemMessageMetadata: method from_dict (line 3663) | def from_dict(obj: Any) -> "SystemMessageMetadata": method to_dict (line 3672) | def to_dict(self) -> dict: class SystemNotification (line 3682) | class SystemNotification: method from_dict (line 3701) | def from_dict(obj: Any) -> "SystemNotification": method to_dict (line 3736) | def to_dict(self) -> dict: class SystemNotificationData (line 3771) | class SystemNotificationData: method from_dict (line 3777) | def from_dict(obj: Any) -> "SystemNotificationData": method to_dict (line 3786) | def to_dict(self) -> dict: class ToolExecutionCompleteContent (line 3794) | class ToolExecutionCompleteContent: method from_dict (line 3811) | def from_dict(obj: Any) -> "ToolExecutionCompleteContent": method to_dict (line 3842) | def to_dict(self) -> dict: class ToolExecutionCompleteContentResourceLinkIcon (line 3873) | class ToolExecutionCompleteContentResourceLinkIcon: method from_dict (line 3881) | def from_dict(obj: Any) -> "ToolExecutionCompleteContentResourceLinkIc... method to_dict (line 3894) | def to_dict(self) -> dict: class ToolExecutionCompleteData (line 3907) | class ToolExecutionCompleteData: method from_dict (line 3922) | def from_dict(obj: Any) -> "ToolExecutionCompleteData": method to_dict (line 3947) | def to_dict(self) -> dict: class ToolExecutionCompleteError (line 3971) | class ToolExecutionCompleteError: method from_dict (line 3977) | def from_dict(obj: Any) -> "ToolExecutionCompleteError": method to_dict (line 3986) | def to_dict(self) -> dict: class ToolExecutionCompleteResult (line 3995) | class ToolExecutionCompleteResult: method from_dict (line 4002) | def from_dict(obj: Any) -> "ToolExecutionCompleteResult": method to_dict (line 4013) | def to_dict(self) -> dict: class ToolExecutionPartialResultData (line 4024) | class ToolExecutionPartialResultData: method from_dict (line 4030) | def from_dict(obj: Any) -> "ToolExecutionPartialResultData": method to_dict (line 4039) | def to_dict(self) -> dict: class ToolExecutionProgressData (line 4047) | class ToolExecutionProgressData: method from_dict (line 4053) | def from_dict(obj: Any) -> "ToolExecutionProgressData": method to_dict (line 4062) | def to_dict(self) -> dict: class ToolExecutionStartData (line 4070) | class ToolExecutionStartData: method from_dict (line 4082) | def from_dict(obj: Any) -> "ToolExecutionStartData": method to_dict (line 4101) | def to_dict(self) -> dict: class ToolUserRequestedData (line 4119) | class ToolUserRequestedData: method from_dict (line 4126) | def from_dict(obj: Any) -> "ToolUserRequestedData": method to_dict (line 4137) | def to_dict(self) -> dict: class UserInputCompletedData (line 4147) | class UserInputCompletedData: method from_dict (line 4154) | def from_dict(obj: Any) -> "UserInputCompletedData": method to_dict (line 4165) | def to_dict(self) -> dict: class UserInputRequestedData (line 4176) | class UserInputRequestedData: method from_dict (line 4185) | def from_dict(obj: Any) -> "UserInputRequestedData": method to_dict (line 4200) | def to_dict(self) -> dict: class UserMessageAttachment (line 4214) | class UserMessageAttachment: method from_dict (line 4232) | def from_dict(obj: Any) -> "UserMessageAttachment": method to_dict (line 4265) | def to_dict(self) -> dict: class UserMessageAttachmentFileLineRange (line 4298) | class UserMessageAttachmentFileLineRange: method from_dict (line 4304) | def from_dict(obj: Any) -> "UserMessageAttachmentFileLineRange": method to_dict (line 4313) | def to_dict(self) -> dict: class UserMessageAttachmentSelectionDetails (line 4321) | class UserMessageAttachmentSelectionDetails: method from_dict (line 4327) | def from_dict(obj: Any) -> "UserMessageAttachmentSelectionDetails": method to_dict (line 4336) | def to_dict(self) -> dict: class UserMessageAttachmentSelectionDetailsEnd (line 4344) | class UserMessageAttachmentSelectionDetailsEnd: method from_dict (line 4350) | def from_dict(obj: Any) -> "UserMessageAttachmentSelectionDetailsEnd": method to_dict (line 4359) | def to_dict(self) -> dict: class UserMessageAttachmentSelectionDetailsStart (line 4367) | class UserMessageAttachmentSelectionDetailsStart: method from_dict (line 4373) | def from_dict(obj: Any) -> "UserMessageAttachmentSelectionDetailsStart": method to_dict (line 4382) | def to_dict(self) -> dict: class UserMessageData (line 4390) | class UserMessageData: method from_dict (line 4402) | def from_dict(obj: Any) -> "UserMessageData": method to_dict (line 4425) | def to_dict(self) -> dict: class UserToolSessionApproval (line 4448) | class UserToolSessionApproval: method from_dict (line 4456) | def from_dict(obj: Any) -> "UserToolSessionApproval": method to_dict (line 4469) | def to_dict(self) -> dict: class WorkingDirectoryContext (line 4482) | class WorkingDirectoryContext: method from_dict (line 4494) | def from_dict(obj: Any) -> "WorkingDirectoryContext": method to_dict (line 4515) | def to_dict(self) -> dict: class AssistantMessageToolRequestType (line 4535) | class AssistantMessageToolRequestType(Enum): class ElicitationCompletedAction (line 4541) | class ElicitationCompletedAction(Enum): class ElicitationRequestedMode (line 4548) | class ElicitationRequestedMode(Enum): class ExtensionsLoadedExtensionSource (line 4554) | class ExtensionsLoadedExtensionSource(Enum): class ExtensionsLoadedExtensionStatus (line 4560) | class ExtensionsLoadedExtensionStatus(Enum): class HandoffSourceType (line 4568) | class HandoffSourceType(Enum): class McpServerStatusChangedStatus (line 4574) | class McpServerStatusChangedStatus(Enum): class McpServersLoadedServerStatus (line 4584) | class McpServersLoadedServerStatus(Enum): class ModelCallFailureSource (line 4594) | class ModelCallFailureSource(Enum): class PermissionPromptRequestKind (line 4601) | class PermissionPromptRequestKind(Enum): class PermissionPromptRequestMemoryAction (line 4614) | class PermissionPromptRequestMemoryAction(Enum): class PermissionPromptRequestMemoryDirection (line 4620) | class PermissionPromptRequestMemoryDirection(Enum): class PermissionPromptRequestPathAccessKind (line 4626) | class PermissionPromptRequestPathAccessKind(Enum): class PermissionRequestKind (line 4633) | class PermissionRequestKind(Enum): class PermissionRequestMemoryAction (line 4645) | class PermissionRequestMemoryAction(Enum): class PermissionRequestMemoryDirection (line 4651) | class PermissionRequestMemoryDirection(Enum): class PermissionResultKind (line 4657) | class PermissionResultKind(Enum): class PlanChangedOperation (line 4670) | class PlanChangedOperation(Enum): class ShutdownType (line 4677) | class ShutdownType(Enum): class SystemMessageRole (line 4683) | class SystemMessageRole(Enum): class SystemNotificationAgentCompletedStatus (line 4689) | class SystemNotificationAgentCompletedStatus(Enum): class SystemNotificationType (line 4695) | class SystemNotificationType(Enum): class ToolExecutionCompleteContentResourceLinkIconTheme (line 4705) | class ToolExecutionCompleteContentResourceLinkIconTheme(Enum): class ToolExecutionCompleteContentType (line 4711) | class ToolExecutionCompleteContentType(Enum): class UserMessageAgentMode (line 4721) | class UserMessageAgentMode(Enum): class UserMessageAttachmentGithubReferenceType (line 4729) | class UserMessageAttachmentGithubReferenceType(Enum): class UserMessageAttachmentType (line 4736) | class UserMessageAttachmentType(Enum): class UserToolSessionApprovalKind (line 4745) | class UserToolSessionApprovalKind(Enum): class WorkingDirectoryContextHostType (line 4755) | class WorkingDirectoryContextHostType(Enum): class WorkspaceFileChangedOperation (line 4761) | class WorkspaceFileChangedOperation(Enum): class SessionEvent (line 4771) | class SessionEvent: method from_dict (line 4782) | def from_dict(obj: Any) -> "SessionEvent": method to_dict (line 4883) | def to_dict(self) -> dict: function session_event_from_dict (line 4897) | def session_event_from_dict(s: Any) -> SessionEvent: function session_event_to_dict (line 4901) | def session_event_to_dict(x: SessionEvent) -> Any: FILE: python/copilot/session.py class SessionFsConfig (line 76) | class SessionFsConfig(TypedDict): class SelectionRange (line 87) | class SelectionRange(TypedDict): class Selection (line 92) | class Selection(TypedDict): class FileAttachment (line 97) | class FileAttachment(TypedDict): class DirectoryAttachment (line 105) | class DirectoryAttachment(TypedDict): class SelectionAttachment (line 113) | class SelectionAttachment(TypedDict): class BlobAttachment (line 123) | class BlobAttachment(TypedDict): class SystemMessageAppendConfig (line 141) | class SystemMessageAppendConfig(TypedDict, total=False): class SystemMessageReplaceConfig (line 150) | class SystemMessageReplaceConfig(TypedDict): class SectionOverride (line 197) | class SectionOverride(TypedDict, total=False): class SystemMessageCustomizeConfig (line 204) | class SystemMessageCustomizeConfig(TypedDict, total=False): class PermissionRequestResult (line 232) | class PermissionRequestResult: class PermissionHandler (line 244) | class PermissionHandler: method approve_all (line 246) | def approve_all( class UserInputRequest (line 257) | class UserInputRequest(TypedDict, total=False): class UserInputResponse (line 265) | class UserInputResponse(TypedDict): class CommandContext (line 283) | class CommandContext: class CommandDefinition (line 301) | class CommandDefinition: class SessionUiCapabilities (line 321) | class SessionUiCapabilities(TypedDict, total=False): class SessionCapabilities (line 328) | class SessionCapabilities(TypedDict, total=False): class ElicitationResult (line 342) | class ElicitationResult(TypedDict, total=False): class ElicitationParams (line 352) | class ElicitationParams(TypedDict): class InputOptions (line 361) | class InputOptions(TypedDict, total=False): class ElicitationContext (line 383) | class ElicitationContext(TypedDict, total=False): class SessionUiApi (line 415) | class SessionUiApi: method __init__ (line 424) | def __init__(self, session: CopilotSession) -> None: method elicitation (line 427) | async def elicitation(self, params: ElicitationParams) -> ElicitationR... method confirm (line 451) | async def confirm(self, message: str) -> bool: method select (line 485) | async def select(self, message: str, options: list[str]) -> str | None: method input (line 522) | async def input(self, message: str, options: InputOptions | None = Non... class BaseHookInput (line 568) | class BaseHookInput(TypedDict): class PreToolUseHookInput (line 575) | class PreToolUseHookInput(TypedDict): class PreToolUseHookOutput (line 584) | class PreToolUseHookOutput(TypedDict, total=False): class PostToolUseHookInput (line 600) | class PostToolUseHookInput(TypedDict): class PostToolUseHookOutput (line 610) | class PostToolUseHookOutput(TypedDict, total=False): class UserPromptSubmittedHookInput (line 624) | class UserPromptSubmittedHookInput(TypedDict): class UserPromptSubmittedHookOutput (line 632) | class UserPromptSubmittedHookOutput(TypedDict, total=False): class SessionStartHookInput (line 646) | class SessionStartHookInput(TypedDict): class SessionStartHookOutput (line 655) | class SessionStartHookOutput(TypedDict, total=False): class SessionEndHookInput (line 668) | class SessionEndHookInput(TypedDict): class SessionEndHookOutput (line 678) | class SessionEndHookOutput(TypedDict, total=False): class ErrorOccurredHookInput (line 692) | class ErrorOccurredHookInput(TypedDict): class ErrorOccurredHookOutput (line 702) | class ErrorOccurredHookOutput(TypedDict, total=False): class SessionHooks (line 717) | class SessionHooks(TypedDict, total=False): class MCPStdioServerConfig (line 733) | class MCPStdioServerConfig(TypedDict, total=False): class MCPHTTPServerConfig (line 745) | class MCPHTTPServerConfig(TypedDict, total=False): class CustomAgentConfig (line 762) | class CustomAgentConfig(TypedDict, total=False): class DefaultAgentConfig (line 778) | class DefaultAgentConfig(TypedDict, total=False): class InfiniteSessionConfig (line 790) | class InfiniteSessionConfig(TypedDict, total=False): class AzureProviderOptions (line 816) | class AzureProviderOptions(TypedDict, total=False): class ProviderConfig (line 822) | class ProviderConfig(TypedDict, total=False): class SessionConfig (line 837) | class SessionConfig(TypedDict, total=False): class ResumeSessionConfig (line 912) | class ResumeSessionConfig(TypedDict, total=False): class CopilotSession (line 988) | class CopilotSession: method __init__ (line 1016) | def __init__( method rpc (line 1057) | def rpc(self) -> SessionRpc: method capabilities (line 1064) | def capabilities(self) -> SessionCapabilities: method ui (line 1072) | def ui(self) -> SessionUiApi: method workspace_path (line 1086) | def workspace_path(self) -> pathlib.Path | None: method send (line 1099) | async def send( method send_and_wait (line 1147) | async def send_and_wait( method on (line 1220) | def on(self, handler: Callable[[SessionEvent], None]) -> Callable[[], ... method _dispatch_event (line 1256) | def _dispatch_event(self, event: SessionEvent) -> None: method _handle_broadcast_event (line 1282) | def _handle_broadcast_event(self, event: SessionEvent) -> None: method _execute_tool_and_respond (line 1374) | async def _execute_tool_and_respond( method _execute_permission_and_respond (line 1443) | async def _execute_permission_and_respond( method _execute_command_and_respond (line 1482) | async def _execute_command_and_respond( method _handle_elicitation_request (line 1530) | async def _handle_elicitation_request( method _assert_elicitation (line 1574) | def _assert_elicitation(self) -> None: method _register_commands (line 1583) | def _register_commands(self, commands: list[CommandDefinition] | None)... method _register_elicitation_handler (line 1596) | def _register_elicitation_handler(self, handler: ElicitationHandler | ... method _set_capabilities (line 1606) | def _set_capabilities(self, capabilities: SessionCapabilities | None) ... method _register_tools (line 1614) | def _register_tools(self, tools: list[Tool] | None) -> None: method _get_tool_handler (line 1638) | def _get_tool_handler(self, name: str) -> ToolHandler | None: method _register_permission_handler (line 1655) | def _register_permission_handler(self, handler: _PermissionHandlerFn |... method _handle_permission_request (line 1672) | async def _handle_permission_request( method _register_user_input_handler (line 1703) | def _register_user_input_handler(self, handler: UserInputHandler | Non... method _handle_user_input_request (line 1720) | async def _handle_user_input_request(self, request: dict) -> UserInput... method _register_transform_callbacks (line 1754) | def _register_transform_callbacks( method _register_hooks (line 1761) | def _register_hooks(self, hooks: SessionHooks | None) -> None: method _handle_system_message_transform (line 1778) | async def _handle_system_message_transform( method _handle_hooks_invoke (line 1801) | async def _handle_hooks_invoke(self, hook_type: str, input_data: Any) ... method get_messages (line 1843) | async def get_messages(self) -> list[SessionEvent]: method disconnect (line 1869) | async def disconnect(self) -> None: method destroy (line 1914) | async def destroy(self) -> None: method __aenter__ (line 1934) | async def __aenter__(self) -> CopilotSession: method __aexit__ (line 1938) | async def __aexit__( method abort (line 1951) | async def abort(self) -> None: method set_model (line 1973) | async def set_model( method log (line 2014) | async def log( FILE: python/copilot/session_fs_provider.py class SessionFsFileInfo (line 39) | class SessionFsFileInfo: class SessionFsProvider (line 49) | class SessionFsProvider(abc.ABC): method read_file (line 59) | async def read_file(self, path: str) -> str: method write_file (line 63) | async def write_file(self, path: str, content: str, mode: int | None =... method append_file (line 67) | async def append_file(self, path: str, content: str, mode: int | None ... method exists (line 71) | async def exists(self, path: str) -> bool: method stat (line 75) | async def stat(self, path: str) -> SessionFsFileInfo: method mkdir (line 79) | async def mkdir(self, path: str, recursive: bool, mode: int | None = N... method readdir (line 83) | async def readdir(self, path: str) -> list[str]: method readdir_with_types (line 87) | async def readdir_with_types(self, path: str) -> Sequence[SessionFSRea... method rm (line 91) | async def rm(self, path: str, recursive: bool, force: bool) -> None: method rename (line 95) | async def rename(self, src: str, dest: str) -> None: function create_session_fs_adapter (line 99) | def create_session_fs_adapter(provider: SessionFsProvider) -> SessionFsH... class _SessionFsAdapter (line 108) | class _SessionFsAdapter: method __init__ (line 111) | def __init__(self, provider: SessionFsProvider) -> None: method read_file (line 114) | async def read_file(self, params: object) -> SessionFSReadFileResult: method write_file (line 122) | async def write_file(self, params: object) -> SessionFSError | None: method append_file (line 129) | async def append_file(self, params: object) -> SessionFSError | None: method exists (line 136) | async def exists(self, params: object) -> SessionFSExistsResult: method stat (line 143) | async def stat(self, params: object) -> SessionFSStatResult: method mkdir (line 165) | async def mkdir(self, params: object) -> SessionFSError | None: method readdir (line 176) | async def readdir(self, params: object) -> SessionFSReaddirResult: method readdir_with_types (line 184) | async def readdir_with_types(self, params: object) -> SessionFSReaddir... method rm (line 194) | async def rm(self, params: object) -> SessionFSError | None: method rename (line 205) | async def rename(self, params: object) -> SessionFSError | None: function _to_session_fs_error (line 213) | def _to_session_fs_error(exc: Exception) -> SessionFSError: function _is_enoent (line 218) | def _is_enoent(exc: Exception) -> bool: FILE: python/copilot/tools.py class ToolBinaryResult (line 22) | class ToolBinaryResult: class ToolResult (line 32) | class ToolResult: class ToolInvocation (line 45) | class ToolInvocation: class Tool (line 58) | class Tool: function define_tool (line 72) | def define_tool( function define_tool (line 82) | def define_tool( function define_tool (line 93) | def define_tool( function _is_pydantic_model (line 228) | def _is_pydantic_model(t: Any) -> bool: function _normalize_result (line 236) | def _normalize_result(result: Any) -> ToolResult: function convert_mcp_call_tool_result (line 279) | def convert_mcp_call_tool_result(call_result: dict[str, Any]) -> ToolRes... FILE: python/e2e/conftest.py function pytest_runtest_makereport (line 10) | def pytest_runtest_makereport(item, call): function ctx (line 21) | async def ctx(request): function configure_test (line 31) | async def configure_test(request, ctx): FILE: python/e2e/test_agent_and_compact_rpc_e2e.py class TestAgentSelectionRpc (line 15) | class TestAgentSelectionRpc: method test_should_list_available_custom_agents (line 17) | async def test_should_list_available_custom_agents(self): method test_should_return_null_when_no_agent_is_selected (line 55) | async def test_should_return_null_when_no_agent_is_selected(self): method test_should_select_and_get_current_agent (line 82) | async def test_should_select_and_get_current_agent(self): method test_should_deselect_current_agent (line 117) | async def test_should_deselect_current_agent(self): method test_should_return_empty_list_when_no_custom_agents_configured (line 149) | async def test_should_return_empty_list_when_no_custom_agents_configur... method test_should_call_agent_reload (line 174) | async def test_should_call_agent_reload(self): class TestSessionCompactionRpc (line 207) | class TestSessionCompactionRpc: method test_should_compact_session_history_after_messages (line 209) | async def test_should_compact_session_history_after_messages(self, ctx... FILE: python/e2e/test_ask_user_e2e.py class TestAskUser (line 14) | class TestAskUser: method test_should_invoke_user_input_handler_when_model_uses_ask_user_tool (line 15) | async def test_should_invoke_user_input_handler_when_model_uses_ask_us... method test_should_receive_choices_in_user_input_request (line 52) | async def test_should_receive_choices_in_user_input_request(self, ctx:... method test_should_handle_freeform_user_input_response (line 87) | async def test_should_handle_freeform_user_input_response(self, ctx: E... FILE: python/e2e/test_builtin_tools_e2e.py class TestBuiltinTools (line 18) | class TestBuiltinTools: method test_should_capture_exit_code_in_output (line 19) | async def test_should_capture_exit_code_in_output(self, ctx: E2ETestCo... method test_should_capture_stderr_output (line 37) | async def test_should_capture_stderr_output(self, ctx: E2ETestContext): method test_should_read_file_with_line_range (line 51) | async def test_should_read_file_with_line_range(self, ctx: E2ETestCont... method test_should_handle_nonexistent_file_gracefully (line 69) | async def test_should_handle_nonexistent_file_gracefully(self, ctx: E2... method test_should_edit_a_file_successfully (line 87) | async def test_should_edit_a_file_successfully(self, ctx: E2ETestConte... method test_should_create_a_new_file (line 104) | async def test_should_create_a_new_file(self, ctx: E2ETestContext): method test_should_search_for_patterns_in_files (line 118) | async def test_should_search_for_patterns_in_files(self, ctx: E2ETestC... method test_should_find_files_by_pattern (line 136) | async def test_should_find_files_by_pattern(self, ctx: E2ETestContext): FILE: python/e2e/test_client_api_e2e.py class TestClientApi (line 22) | class TestClientApi: method test_should_delete_session_by_id (line 23) | async def test_should_delete_session_by_id(self, ctx: E2ETestContext): method test_should_report_error_when_deleting_unknown_session_id (line 35) | async def test_should_report_error_when_deleting_unknown_session_id(se... method test_should_get_null_last_session_id_before_any_sessions_exist (line 42) | async def test_should_get_null_last_session_id_before_any_sessions_exist( method test_should_track_last_session_id_after_session_created (line 49) | async def test_should_track_last_session_id_after_session_created(self... method test_should_get_null_foreground_session_id_in_headless_mode (line 60) | async def test_should_get_null_foreground_session_id_in_headless_mode( method test_should_report_error_when_setting_foreground_session_in_headless_mode (line 67) | async def test_should_report_error_when_setting_foreground_session_in_... FILE: python/e2e/test_client_e2e.py class TestClient (line 19) | class TestClient: method test_should_start_and_connect_to_server_using_stdio (line 21) | async def test_should_start_and_connect_to_server_using_stdio(self): method test_should_start_and_connect_to_server_using_tcp (line 38) | async def test_should_start_and_connect_to_server_using_tcp(self): method test_should_raise_exception_group_on_failed_cleanup (line 55) | async def test_should_raise_exception_group_on_failed_cleanup(self): method test_should_force_stop_without_cleanup (line 81) | async def test_should_force_stop_without_cleanup(self): method test_should_get_status_with_version_and_protocol_info (line 89) | async def test_should_get_status_with_version_and_protocol_info(self): method test_should_get_auth_status (line 107) | async def test_should_get_auth_status(self): method test_should_list_models_when_authenticated (line 125) | async def test_should_list_models_when_authenticated(self): method test_should_cache_models_list (line 152) | async def test_should_cache_models_list(self): method test_should_report_error_with_stderr_when_cli_fails_to_start (line 196) | async def test_should_report_error_with_stderr_when_cli_fails_to_start... method test_should_not_throw_when_disposing_session_after_stopping_client (line 232) | async def test_should_not_throw_when_disposing_session_after_stopping_... method test_should_throw_when_create_session_called_without_permission_handler (line 251) | async def test_should_throw_when_create_session_called_without_permiss... method test_should_throw_when_resume_session_called_without_permission_handler (line 271) | async def test_should_throw_when_resume_session_called_without_permiss... method test_list_models_with_custom_handler_calls_handler (line 290) | async def test_list_models_with_custom_handler_calls_handler(self): method test_list_models_with_custom_handler_works_without_start (line 328) | async def test_list_models_with_custom_handler_works_without_start(self): FILE: python/e2e/test_client_lifecycle_e2e.py function _make_isolated_client (line 26) | def _make_isolated_client(ctx: E2ETestContext) -> CopilotClient: class TestClientLifecycle (line 45) | class TestClientLifecycle: method test_should_return_last_session_id_after_sending_a_message (line 46) | async def test_should_return_last_session_id_after_sending_a_message(s... method test_should_emit_session_lifecycle_events (line 60) | async def test_should_emit_session_lifecycle_events(self, ctx: E2ETest... method test_should_receive_session_created_lifecycle_event (line 79) | async def test_should_receive_session_created_lifecycle_event(self, ct... method test_should_filter_session_lifecycle_events_by_type (line 101) | async def test_should_filter_session_lifecycle_events_by_type(self, ct... method test_disposing_lifecycle_subscription_stops_receiving_events (line 123) | async def test_disposing_lifecycle_subscription_stops_receiving_events( method test_stop_disconnects_client_and_disposes_rpc_surface (line 154) | async def test_stop_disconnects_client_and_disposes_rpc_surface(self, ... FILE: python/e2e/test_client_options_e2e.py function _make_subprocess_config (line 32) | def _make_subprocess_config(ctx: E2ETestContext, **overrides) -> Subproc... function _get_available_port (line 45) | def _get_available_port() -> int: function _assert_arg_value (line 132) | def _assert_arg_value(args: list[str], name: str, expected_value: str) -... class TestClientOptions (line 139) | class TestClientOptions: method test_autostart_false_requires_explicit_start (line 140) | async def test_autostart_false_requires_explicit_start(self, ctx: E2ET... method test_should_listen_on_configured_tcp_port (line 166) | async def test_should_listen_on_configured_tcp_port(self, ctx: E2ETest... method test_should_use_client_cwd_for_default_workingdirectory (line 179) | async def test_should_use_client_cwd_for_default_workingdirectory(self... method test_should_propagate_process_options_to_spawned_cli (line 200) | async def test_should_propagate_process_options_to_spawned_cli(self, c... class TestSubprocessConfigOptions (line 280) | class TestSubprocessConfigOptions: method test_should_accept_github_token_option (line 283) | async def test_should_accept_github_token_option(self): method test_should_default_use_logged_in_user_to_none (line 288) | async def test_should_default_use_logged_in_user_to_none(self): method test_should_allow_explicit_use_logged_in_user_false (line 293) | async def test_should_allow_explicit_use_logged_in_user_false(self): method test_should_allow_explicit_use_logged_in_user_true_with_github_token (line 298) | async def test_should_allow_explicit_use_logged_in_user_true_with_gith... method test_should_default_session_idle_timeout_seconds_to_none (line 310) | async def test_should_default_session_idle_timeout_seconds_to_none(self): method test_should_accept_session_idle_timeout_seconds_option (line 315) | async def test_should_accept_session_idle_timeout_seconds_option(self): FILE: python/e2e/test_commands_e2e.py class CommandsMultiClientContext (line 33) | class CommandsMultiClientContext: method __init__ (line 36) | def __init__(self): method setup (line 45) | async def setup(self): method teardown (line 79) | async def teardown(self, test_failed: bool = False): method configure_for_test (line 96) | async def configure_for_test(self, test_file: str, test_name: str): method _get_env (line 113) | def _get_env(self) -> dict: method client1 (line 126) | def client1(self) -> CopilotClient: method client2 (line 131) | def client2(self) -> CopilotClient: function pytest_runtest_makereport (line 142) | def pytest_runtest_makereport(item, call): function mctx (line 151) | async def mctx(request): function configure_cmd_test (line 160) | async def configure_cmd_test(request): class TestCommands (line 181) | class TestCommands: method test_client_receives_commands_changed_when_another_client_joins (line 182) | async def test_client_receives_commands_changed_when_another_client_jo... class TestCommandsLifecycle (line 226) | class TestCommandsLifecycle: method test_session_with_commands_creates_successfully (line 229) | async def test_session_with_commands_creates_successfully(self, ctx): method test_session_with_commands_resumes_successfully (line 250) | async def test_session_with_commands_resumes_successfully(self, ctx): method test_session_with_no_commands_creates_successfully (line 274) | async def test_session_with_no_commands_creates_successfully(self, ctx): FILE: python/e2e/test_compaction_e2e.py class TestCompaction (line 18) | class TestCompaction: method test_should_trigger_compaction_with_low_threshold_and_emit_events (line 20) | async def test_should_trigger_compaction_with_low_threshold_and_emit_e... method test_should_not_emit_compaction_events_when_infinite_sessions_disabled (line 72) | async def test_should_not_emit_compaction_events_when_infinite_session... FILE: python/e2e/test_error_resilience_e2e.py class TestErrorResilience (line 14) | class TestErrorResilience: method test_should_throw_when_sending_to_disconnected_session (line 15) | async def test_should_throw_when_sending_to_disconnected_session(self,... method test_should_throw_when_getting_messages_from_disconnected_session (line 24) | async def test_should_throw_when_getting_messages_from_disconnected_se... method test_should_handle_double_abort_without_error (line 35) | async def test_should_handle_double_abort_without_error(self, ctx: E2E... method test_should_throw_when_resuming_non_existent_session (line 45) | async def test_should_throw_when_resuming_non_existent_session(self, c... FILE: python/e2e/test_event_fidelity_e2e.py class TestEventFidelity (line 22) | class TestEventFidelity: method test_should_emit_events_in_correct_order_for_tool_using_conversation (line 23) | async def test_should_emit_events_in_correct_order_for_tool_using_conv... method test_should_include_valid_fields_on_all_events (line 51) | async def test_should_include_valid_fields_on_all_events(self, ctx: E2... method test_should_emit_tool_execution_events_with_correct_fields (line 82) | async def test_should_emit_tool_execution_events_with_correct_fields(s... method test_should_emit_assistant_message_with_messageid (line 110) | async def test_should_emit_assistant_message_with_messageid(self, ctx:... FILE: python/e2e/test_hooks_e2e.py class TestHooks (line 17) | class TestHooks: method test_should_invoke_pretooluse_hook_when_model_runs_a_tool (line 18) | async def test_should_invoke_pretooluse_hook_when_model_runs_a_tool(se... method test_should_invoke_posttooluse_hook_after_model_runs_a_tool (line 46) | async def test_should_invoke_posttooluse_hook_after_model_runs_a_tool( method test_should_invoke_both_pretooluse_and_posttooluse_hooks_for_a_single_tool_call (line 76) | async def test_should_invoke_both_pretooluse_and_posttooluse_hooks_for... method test_should_deny_tool_execution_when_pretooluse_returns_deny (line 115) | async def test_should_deny_tool_execution_when_pretooluse_returns_deny( FILE: python/e2e/test_hooks_extended_e2e.py class TestHooksExtended (line 25) | class TestHooksExtended: method test_should_invoke_userpromptsubmitted_hook_and_modify_prompt (line 26) | async def test_should_invoke_userpromptsubmitted_hook_and_modify_prompt( method test_should_invoke_sessionstart_hook (line 48) | async def test_should_invoke_sessionstart_hook(self, ctx: E2ETestConte... method test_should_invoke_sessionend_hook (line 68) | async def test_should_invoke_sessionend_hook(self, ctx: E2ETestContext): method test_should_register_erroroccurred_hook (line 88) | async def test_should_register_erroroccurred_hook(self, ctx: E2ETestCo... method test_should_allow_pretooluse_to_return_modifiedargs_and_suppressoutput (line 108) | async def test_should_allow_pretooluse_to_return_modifiedargs_and_supp... method test_should_allow_posttooluse_to_return_modifiedresult (line 158) | async def test_should_allow_posttooluse_to_return_modifiedresult(self,... FILE: python/e2e/test_mcp_and_agents_e2e.py class TestMCPServers (line 21) | class TestMCPServers: method test_should_accept_mcp_server_configuration_on_session_create (line 22) | async def test_should_accept_mcp_server_configuration_on_session_create( method test_should_accept_mcp_server_configuration_on_session_resume (line 47) | async def test_should_accept_mcp_server_configuration_on_session_resume( method test_should_pass_literal_env_values_to_mcp_server_subprocess (line 81) | async def test_should_pass_literal_env_values_to_mcp_server_subprocess( class TestCustomAgents (line 111) | class TestCustomAgents: method test_should_accept_custom_agent_configuration_on_session_create (line 112) | async def test_should_accept_custom_agent_configuration_on_session_cre... method test_should_accept_custom_agent_configuration_on_session_resume (line 139) | async def test_should_accept_custom_agent_configuration_on_session_res... method test_should_handle_multiple_mcp_servers (line 174) | async def test_should_handle_multiple_mcp_servers(self, ctx: E2ETestCo... class TestCombinedConfiguration (line 194) | class TestCombinedConfiguration: method test_should_accept_both_mcp_servers_and_custom_agents (line 195) | async def test_should_accept_both_mcp_servers_and_custom_agents(self, ... method test_should_handle_custom_agent_with_tools_configuration (line 228) | async def test_should_handle_custom_agent_with_tools_configuration(sel... method test_should_handle_custom_agent_with_mcp_servers (line 253) | async def test_should_handle_custom_agent_with_mcp_servers(self, ctx: ... method test_should_handle_multiple_custom_agents (line 283) | async def test_should_handle_multiple_custom_agents(self, ctx: E2ETest... FILE: python/e2e/test_multi_client_e2e.py class MultiClientContext (line 28) | class MultiClientContext: method __init__ (line 31) | def __init__(self): method setup (line 40) | async def setup(self): method teardown (line 77) | async def teardown(self, test_failed: bool = False): method configure_for_test (line 101) | async def configure_for_test(self, test_file: str, test_name: str): method get_env (line 126) | def get_env(self) -> dict: method client1 (line 139) | def client1(self) -> CopilotClient: method client2 (line 145) | def client2(self) -> CopilotClient: function pytest_runtest_makereport (line 152) | def pytest_runtest_makereport(item, call): function mctx (line 161) | async def mctx(request): function configure_multi_test (line 171) | async def configure_multi_test(request, mctx): class TestMultiClientBroadcast (line 184) | class TestMultiClientBroadcast: method test_both_clients_see_tool_request_and_completion_events (line 185) | async def test_both_clients_see_tool_request_and_completion_events( method test_one_client_approves_permission_and_both_see_the_result (line 230) | async def test_one_client_approves_permission_and_both_see_the_result( method test_one_client_rejects_permission_and_both_see_the_result (line 278) | async def test_one_client_rejects_permission_and_both_see_the_result( method test_two_clients_register_different_tools_and_agent_uses_both (line 330) | async def test_two_clients_register_different_tools_and_agent_uses_both( method test_disconnecting_client_removes_its_tools (line 378) | async def test_disconnecting_client_removes_its_tools(self, mctx: Mult... FILE: python/e2e/test_multi_turn_e2e.py class TestMultiTurn (line 16) | class TestMultiTurn: method test_should_use_tool_results_from_previous_turns (line 17) | async def test_should_use_tool_results_from_previous_turns(self, ctx: ... method test_should_handle_file_creation_then_reading_across_turns (line 37) | async def test_should_handle_file_creation_then_reading_across_turns(s... FILE: python/e2e/test_pending_work_resume_e2e.py function _make_subprocess_client (line 32) | def _make_subprocess_client(ctx: E2ETestContext, *, use_stdio: bool = Tr... function _make_pending_tool (line 47) | def _make_pending_tool(name: str, handler) -> Tool: function _wait_for_external_tool_requests (line 74) | async def _wait_for_external_tool_requests( function _wait_for_permission_request (line 102) | async def _wait_for_permission_request(session, timeout: float = PENDING... function _safe_force_stop (line 121) | async def _safe_force_stop(client: CopilotClient) -> None: class TestPendingWorkResume (line 128) | class TestPendingWorkResume: method test_should_continue_pending_permission_request_after_resume (line 129) | async def test_should_continue_pending_permission_request_after_resume( method test_should_continue_pending_external_tool_request_after_resume (line 212) | async def test_should_continue_pending_external_tool_request_after_res... method test_should_continue_parallel_pending_external_tool_requests_after_resume (line 278) | async def test_should_continue_parallel_pending_external_tool_requests... method test_should_resume_successfully_when_no_pending_work_exists (line 371) | async def test_should_resume_successfully_when_no_pending_work_exists( FILE: python/e2e/test_per_session_auth_e2e.py function auth_ctx (line 13) | async def auth_ctx(ctx: E2ETestContext): class TestPerSessionAuth (line 51) | class TestPerSessionAuth: method test_should_create_session_with_github_token_and_check_auth_status (line 52) | async def test_should_create_session_with_github_token_and_check_auth_... method test_should_isolate_auth_between_sessions_with_different_tokens (line 67) | async def test_should_isolate_auth_between_sessions_with_different_tok... method test_should_return_unauthenticated_when_no_token_provided (line 93) | async def test_should_return_unauthenticated_when_no_token_provided( method test_should_error_when_creating_session_with_invalid_token (line 109) | async def test_should_error_when_creating_session_with_invalid_token( FILE: python/e2e/test_permissions_e2e.py class TestPermissions (line 22) | class TestPermissions: method test_should_invoke_permission_handler_for_write_operations (line 23) | async def test_should_invoke_permission_handler_for_write_operations(s... method test_should_deny_permission_when_handler_returns_denied (line 49) | async def test_should_deny_permission_when_handler_returns_denied(self... method test_should_deny_tool_operations_when_handler_explicitly_denies (line 70) | async def test_should_deny_tool_operations_when_handler_explicitly_den... method test_should_deny_tool_operations_when_handler_explicitly_denies_after_resume (line 106) | async def test_should_deny_tool_operations_when_handler_explicitly_den... method test_should_work_with_approve_all_permission_handler (line 147) | async def test_should_work_with_approve_all_permission_handler(self, c... method test_should_handle_async_permission_handler (line 160) | async def test_should_handle_async_permission_handler(self, ctx: E2ETe... method test_should_resume_session_with_permission_handler (line 180) | async def test_should_resume_session_with_permission_handler(self, ctx... method test_should_handle_permission_handler_errors_gracefully (line 209) | async def test_should_handle_permission_handler_errors_gracefully(self... method test_should_receive_toolcallid_in_permission_requests (line 228) | async def test_should_receive_toolcallid_in_permission_requests(self, ... FILE: python/e2e/test_rpc_e2e.py class TestRpc (line 15) | class TestRpc: method test_should_call_rpc_ping_with_typed_params (line 17) | async def test_should_call_rpc_ping_with_typed_params(self): method test_should_call_rpc_models_list (line 33) | async def test_should_call_rpc_models_list(self): method test_should_call_rpc_account_get_quota (line 56) | async def test_should_call_rpc_account_get_quota(self): class TestSessionRpc (line 77) | class TestSessionRpc: method test_should_call_session_rpc_model_get_current (line 80) | async def test_should_call_session_rpc_model_get_current(self, ctx: E2... method test_should_call_session_rpc_model_switch_to (line 92) | async def test_should_call_session_rpc_model_switch_to(self, ctx: E2ET... method test_get_and_set_session_mode (line 115) | async def test_get_and_set_session_mode(self): method test_read_update_and_delete_plan (line 147) | async def test_read_update_and_delete_plan(self): method test_create_list_and_read_workspace_files (line 187) | async def test_create_list_and_read_workspace_files(self): FILE: python/e2e/test_rpc_mcp_and_skills_e2e.py function _create_skill (line 31) | def _create_skill(skills_dir: Path, skill_name: str, description: str) -... function _create_skill_directory (line 45) | def _create_skill_directory(work_dir: str, skill_name: str, description:... function _assert_skill (line 52) | def _assert_skill(skills, skill_name: str, *, enabled: bool): function _assert_failure (line 62) | async def _assert_failure(awaitable, expected: str) -> None: class TestRpcMcpAndSkills (line 68) | class TestRpcMcpAndSkills: method test_should_list_and_toggle_session_skills (line 69) | async def test_should_list_and_toggle_session_skills(self, ctx: E2ETes... method test_should_reload_session_skills (line 94) | async def test_should_reload_session_skills(self, ctx: E2ETestContext): method test_should_list_mcp_servers_with_configured_server (line 116) | async def test_should_list_mcp_servers_with_configured_server(self, ct... method test_should_list_plugins (line 136) | async def test_should_list_plugins(self, ctx: E2ETestContext): method test_should_list_extensions (line 147) | async def test_should_list_extensions(self, ctx: E2ETestContext): method test_should_report_error_when_mcp_host_is_not_initialized (line 160) | async def test_should_report_error_when_mcp_host_is_not_initialized(se... method test_should_report_error_when_extensions_are_not_available (line 180) | async def test_should_report_error_when_extensions_are_not_available(s... FILE: python/e2e/test_rpc_mcp_config_e2e.py function _server_config (line 30) | def _server_config(servers: dict, name: str) -> MCPServerConfig: class TestRpcMcpConfig (line 35) | class TestRpcMcpConfig: method test_should_call_server_mcp_config_rpcs (line 36) | async def test_should_call_server_mcp_config_rpcs(self, ctx: E2ETestCo... method test_should_round_trip_http_mcp_oauth_config_rpc (line 69) | async def test_should_round_trip_http_mcp_oauth_config_rpc(self, ctx: ... FILE: python/e2e/test_rpc_server_e2e.py function _create_skill_directory (line 31) | def _create_skill_directory(work_dir: str, skill_name: str, description:... function authed_ctx (line 48) | async def authed_ctx(ctx: E2ETestContext): function _make_authed_client (line 54) | def _make_authed_client(ctx: E2ETestContext, token: str) -> CopilotClient: function _configure_user (line 67) | async def _configure_user( class TestRpcServer (line 86) | class TestRpcServer: method test_should_call_rpc_ping_with_typed_params_and_result (line 87) | async def test_should_call_rpc_ping_with_typed_params_and_result(self,... method test_should_call_rpc_models_list_with_typed_result (line 93) | async def test_should_call_rpc_models_list_with_typed_result(self, aut... method test_should_call_rpc_account_get_quota_when_authenticated (line 112) | async def test_should_call_rpc_account_get_quota_when_authenticated( method test_should_call_rpc_tools_list_with_typed_result (line 151) | async def test_should_call_rpc_tools_list_with_typed_result(self, ctx:... method test_should_discover_server_mcp_and_skills (line 158) | async def test_should_discover_server_mcp_and_skills(self, ctx: E2ETes... FILE: python/e2e/test_rpc_session_state_e2e.py function _conversation_messages (line 33) | def _conversation_messages(events) -> list[tuple[str, str]]: function _assert_implemented_failure (line 44) | async def _assert_implemented_failure(awaitable, method: str) -> None: class TestRpcSessionState (line 50) | class TestRpcSessionState: method test_should_call_session_rpc_model_get_current (line 51) | async def test_should_call_session_rpc_model_get_current(self, ctx: E2... method test_should_call_session_rpc_model_switch_to (line 62) | async def test_should_call_session_rpc_model_switch_to(self, ctx: E2ET... method test_should_get_and_set_session_mode (line 82) | async def test_should_get_and_set_session_mode(self, ctx: E2ETestConte... method test_should_read_update_and_delete_plan (line 98) | async def test_should_read_update_and_delete_plan(self, ctx: E2ETestCo... method test_should_call_workspace_file_rpc_methods (line 122) | async def test_should_call_workspace_file_rpc_methods(self, ctx: E2ETe... method test_should_get_and_set_session_metadata (line 148) | async def test_should_get_and_set_session_metadata(self, ctx: E2ETestC... method test_should_fork_session_with_persisted_messages (line 162) | async def test_should_fork_session_with_persisted_messages(self, ctx: ... method test_should_report_error_when_forking_session_without_persisted_events (line 219) | async def test_should_report_error_when_forking_session_without_persis... method test_should_call_session_usage_and_permission_rpcs (line 236) | async def test_should_call_session_usage_and_permission_rpcs(self, ctx... method test_should_report_implemented_errors_for_unsupported_session_rpc_paths (line 270) | async def test_should_report_implemented_errors_for_unsupported_sessio... method test_should_compact_session_history_after_messages (line 288) | async def test_should_compact_session_history_after_messages(self, ctx... FILE: python/e2e/test_rpc_shell_and_fleet_e2e.py function _write_file_command (line 33) | def _write_file_command(marker_path: Path, marker: str) -> str: function _wait_for_file_text (line 42) | async def _wait_for_file_text(path: Path, expected: str, *, timeout: flo... class TestRpcShellAndFleet (line 53) | class TestRpcShellAndFleet: method test_should_execute_shell_command (line 54) | async def test_should_execute_shell_command(self, ctx: E2ETestContext): method test_should_kill_shell_process (line 69) | async def test_should_kill_shell_process(self, ctx: E2ETestContext): method test_should_start_fleet_and_complete_custom_tool_task (line 88) | async def test_should_start_fleet_and_complete_custom_tool_task(self, ... FILE: python/e2e/test_rpc_tasks_and_handlers_e2e.py function _assert_implemented_failure (line 33) | async def _assert_implemented_failure(awaitable, method: str) -> None: class TestRpcTasksAndHandlers (line 39) | class TestRpcTasksAndHandlers: method test_should_list_task_state_and_return_false_for_missing_task_operations (line 40) | async def test_should_list_task_state_and_return_false_for_missing_tas... method test_should_report_implemented_error_for_missing_task_agent_type (line 64) | async def test_should_report_implemented_error_for_missing_task_agent_... method test_should_return_expected_results_for_missing_pending_handler_request_ids (line 84) | async def test_should_return_expected_results_for_missing_pending_hand... FILE: python/e2e/test_session_config_e2e.py function has_image_url_content (line 20) | def has_image_url_content(exchanges: list[dict]) -> bool: function _make_proxy_provider (line 30) | def _make_proxy_provider(proxy_url: str, header_value: str) -> dict: function _normalize_headers (line 39) | def _normalize_headers(headers) -> dict[str, str]: function _assert_header_contains (line 60) | def _assert_header_contains(headers, name: str, expected: str) -> None: function _get_system_message (line 68) | def _get_system_message(exchange: dict) -> str: function _get_tool_names (line 77) | def _get_tool_names(exchange: dict) -> list[str]: class TestSessionConfig (line 95) | class TestSessionConfig: method test_vision_disabled_then_enabled_via_setmodel (line 98) | async def test_vision_disabled_then_enabled_via_setmodel(self, ctx: E2... method test_vision_enabled_then_disabled_via_setmodel (line 131) | async def test_vision_enabled_then_disabled_via_setmodel(self, ctx: E2... method test_should_use_custom_sessionid (line 164) | async def test_should_use_custom_sessionid(self, ctx: E2ETestContext): method test_should_forward_clientname_in_useragent (line 182) | async def test_should_forward_clientname_in_useragent(self, ctx: E2ETe... method test_should_forward_custom_provider_headers_on_create (line 196) | async def test_should_forward_custom_provider_headers_on_create(self, ... method test_should_forward_custom_provider_headers_on_resume (line 214) | async def test_should_forward_custom_provider_headers_on_resume(self, ... method test_should_use_workingdirectory_for_tool_execution (line 239) | async def test_should_use_workingdirectory_for_tool_execution(self, ct... method test_should_apply_workingdirectory_on_session_resume (line 255) | async def test_should_apply_workingdirectory_on_session_resume(self, c... method test_should_apply_systemmessage_on_session_resume (line 280) | async def test_should_apply_systemmessage_on_session_resume(self, ctx:... method test_should_apply_availabletools_on_session_resume (line 303) | async def test_should_apply_availabletools_on_session_resume(self, ctx... FILE: python/e2e/test_session_e2e.py class TestSessions (line 19) | class TestSessions: method test_should_create_and_disconnect_sessions (line 20) | async def test_should_create_and_disconnect_sessions(self, ctx: E2ETes... method test_should_have_stateful_conversation (line 37) | async def test_should_have_stateful_conversation(self, ctx: E2ETestCon... method test_should_create_a_session_with_appended_systemMessage_config (line 50) | async def test_should_create_a_session_with_appended_systemMessage_con... method test_should_create_a_session_with_replaced_systemMessage_config (line 70) | async def test_should_create_a_session_with_replaced_systemMessage_con... method test_should_create_a_session_with_customized_systemMessage_config (line 89) | async def test_should_create_a_session_with_customized_systemMessage_c... method test_should_create_a_session_with_availableTools (line 116) | async def test_should_create_a_session_with_availableTools(self, ctx: ... method test_should_create_a_session_with_excludedTools (line 133) | async def test_should_create_a_session_with_excludedTools(self, ctx: E... method test_should_create_a_session_with_defaultAgent_excludedTools (line 149) | async def test_should_create_a_session_with_defaultAgent_excludedTools( method test_should_handle_multiple_concurrent_sessions (line 182) | async def test_should_handle_multiple_concurrent_sessions(self, ctx: E... method test_should_resume_a_session_using_the_same_client (line 208) | async def test_should_resume_a_session_using_the_same_client(self, ctx... method test_should_resume_a_session_using_a_new_client (line 231) | async def test_should_resume_a_session_using_a_new_client(self, ctx: E... method test_should_throw_error_resuming_nonexistent_session (line 272) | async def test_should_throw_error_resuming_nonexistent_session(self, c... method test_should_list_sessions (line 278) | async def test_should_list_sessions(self, ctx: E2ETestContext): method test_should_delete_session (line 321) | async def test_should_delete_session(self, ctx: E2ETestContext): method test_should_get_session_metadata (line 353) | async def test_should_get_session_metadata(self, ctx: E2ETestContext): method test_should_get_last_session_id (line 382) | async def test_should_get_last_session_id(self, ctx: E2ETestContext): method test_should_create_session_with_custom_tool (line 399) | async def test_should_create_session_with_custom_tool(self, ctx: E2ETe... method test_should_create_session_with_custom_provider (line 428) | async def test_should_create_session_with_custom_provider(self, ctx: E... method test_should_create_session_with_azure_provider (line 439) | async def test_should_create_session_with_azure_provider(self, ctx: E2... method test_should_resume_session_with_custom_provider (line 453) | async def test_should_resume_session_with_custom_provider(self, ctx: E... method test_should_abort_a_session (line 472) | async def test_should_abort_a_session(self, ctx: E2ETestContext): method test_should_receive_session_events (line 513) | async def test_should_receive_session_events(self, ctx: E2ETestContext): method test_should_create_session_with_custom_config_dir (line 563) | async def test_should_create_session_with_custom_config_dir(self, ctx:... method test_session_log_emits_events_at_all_levels (line 578) | async def test_session_log_emits_events_at_all_levels(self, ctx: E2ETe... method test_should_set_model_with_reasoning_effort (line 621) | async def test_should_set_model_with_reasoning_effort(self, ctx: E2ETe... method test_should_accept_blob_attachments (line 647) | async def test_should_accept_blob_attachments(self, ctx: E2ETestContext): method test_should_send_with_file_attachment (line 676) | async def test_should_send_with_file_attachment(self, ctx: E2ETestCont... method test_should_send_with_directory_attachment (line 714) | async def test_should_send_with_directory_attachment(self, ctx: E2ETes... method test_should_send_with_selection_attachment (line 749) | async def test_should_send_with_selection_attachment(self, ctx: E2ETes... method test_should_send_with_custom_requestheaders (line 794) | async def test_should_send_with_custom_requestheaders(self, ctx: E2ETe... method test_should_list_sessions_with_context (line 813) | async def test_should_list_sessions_with_context(self, ctx: E2ETestCon... method test_should_get_session_metadata_by_id (line 839) | async def test_should_get_session_metadata_by_id(self, ctx: E2ETestCon... method test_send_returns_immediately_while_events_stream_in_background (line 863) | async def test_send_returns_immediately_while_events_stream_in_backgro... method test_sendandwait_blocks_until_session_idle_and_returns_final_assistant_message (line 890) | async def test_sendandwait_blocks_until_session_idle_and_returns_final... method test_sendandwait_throws_on_timeout (line 909) | async def test_sendandwait_throws_on_timeout(self, ctx: E2ETestContext): method test_sendandwait_throws_operationcanceledexception_when_token_cancelled (line 936) | async def test_sendandwait_throws_operationcanceledexception_when_toke... method test_should_set_model_on_existing_session (line 973) | async def test_should_set_model_on_existing_session(self, ctx: E2ETest... method test_handler_exception_does_not_halt_event_delivery (line 1001) | async def test_handler_exception_does_not_halt_event_delivery(self, ct... method test_disposeasync_from_handler_does_not_deadlock (line 1034) | async def test_disposeasync_from_handler_does_not_deadlock(self, ctx: ... method test_should_send_with_mode_property (line 1072) | async def test_should_send_with_mode_property(self, ctx: E2ETestContext): function _get_system_message (line 1096) | def _get_system_message(exchange: dict) -> str: FILE: python/e2e/test_session_fs_e2e.py function session_fs_client (line 46) | async def session_fs_client(ctx: E2ETestContext): class TestSessionFs (line 66) | class TestSessionFs: method test_should_route_file_operations_through_the_session_fs_provider (line 67) | async def test_should_route_file_operations_through_the_session_fs_pro... method test_should_load_session_data_from_fs_provider_on_resume (line 87) | async def test_should_load_session_data_from_fs_provider_on_resume( method test_should_reject_setprovider_when_sessions_already_exist (line 121) | async def test_should_reject_setprovider_when_sessions_already_exist(s... method test_should_map_large_output_handling_into_sessionfs (line 160) | async def test_should_map_large_output_handling_into_sessionfs( method test_should_succeed_with_compaction_while_using_sessionfs (line 190) | async def test_should_succeed_with_compaction_while_using_sessionfs( method test_should_write_workspace_metadata_via_sessionfs (line 226) | async def test_should_write_workspace_metadata_via_sessionfs( method test_should_persist_plan_md_via_sessionfs (line 256) | async def test_should_persist_plan_md_via_sessionfs( method test_should_map_all_sessionfs_handler_operations (line 280) | async def test_should_map_all_sessionfs_handler_operations(self, ctx: ... method test_sessionfsprovider_converts_exceptions_to_rpc_errors (line 408) | async def test_sessionfsprovider_converts_exceptions_to_rpc_errors(self): class _TestSessionFsProvider (line 523) | class _TestSessionFsProvider(SessionFsProvider): method __init__ (line 524) | def __init__(self, provider_root: Path, session_id: str): method _path (line 528) | def _path(self, path: str) -> Path: method read_file (line 531) | async def read_file(self, path: str) -> str: method write_file (line 534) | async def write_file(self, path: str, content: str, mode: int | None =... method append_file (line 539) | async def append_file(self, path: str, content: str, mode: int | None ... method exists (line 545) | async def exists(self, path: str) -> bool: method stat (line 548) | async def stat(self, path: str) -> SessionFsFileInfo: method mkdir (line 560) | async def mkdir(self, path: str, recursive: bool, mode: int | None = N... method readdir (line 567) | async def readdir(self, path: str) -> list[str]: method readdir_with_types (line 570) | async def readdir_with_types(self, path: str) -> list[SessionFSReaddir... method rm (line 583) | async def rm(self, path: str, recursive: bool, force: bool) -> None: method rename (line 586) | async def rename(self, src: str, dest: str) -> None: function create_test_session_fs_handler (line 592) | def create_test_session_fs_handler(provider_root: Path): function provider_path (line 599) | def provider_path(provider_root: Path, session_id: str, path: str) -> Path: function find_tool_call_result (line 603) | def find_tool_call_result(messages: list[SessionEvent], tool_name: str) ... function find_tool_name (line 614) | def find_tool_name(messages: list[SessionEvent], tool_call_id: str) -> s... function wait_for_path (line 624) | async def wait_for_path(path: Path, timeout: float = 5.0) -> None: function wait_for_content (line 631) | async def wait_for_content(path: Path, expected: str, timeout: float = 5... function wait_for_predicate (line 638) | async def wait_for_predicate(predicate, timeout: float = 5.0) -> None: FILE: python/e2e/test_skills_e2e.py function clean_skills_dir (line 20) | def clean_skills_dir(ctx: E2ETestContext): function create_skill_dir (line 28) | def create_skill_dir(work_dir: str) -> str: class TestSkillBehavior (line 54) | class TestSkillBehavior: method test_should_load_and_apply_skill_from_skilldirectories (line 55) | async def test_should_load_and_apply_skill_from_skilldirectories(self,... method test_should_not_apply_skill_when_disabled_via_disabledskills (line 71) | async def test_should_not_apply_skill_when_disabled_via_disabledskills( method test_should_allow_agent_with_skills_to_invoke_skill (line 91) | async def test_should_allow_agent_with_skills_to_invoke_skill(self, ct... method test_should_not_provide_skills_to_agent_without_skills_field (line 119) | async def test_should_not_provide_skills_to_agent_without_skills_field( method test_should_apply_skill_on_session_resume_with_skilldirectories (line 152) | async def test_should_apply_skill_on_session_resume_with_skilldirector... method test_should_control_ambient_project_skills_with_enableconfigdiscovery (line 185) | async def test_should_control_ambient_project_skills_with_enableconfig... FILE: python/e2e/test_streaming_fidelity_e2e.py class TestStreamingFidelity (line 16) | class TestStreamingFidelity: method test_should_produce_delta_events_when_streaming_is_enabled (line 17) | async def test_should_produce_delta_events_when_streaming_is_enabled(s... method test_should_not_produce_deltas_when_streaming_is_disabled (line 49) | async def test_should_not_produce_deltas_when_streaming_is_disabled(se... method test_should_produce_deltas_after_session_resume (line 70) | async def test_should_produce_deltas_after_session_resume(self, ctx: E... FILE: python/e2e/test_suspend_e2e.py function _make_subprocess_client (line 29) | def _make_subprocess_client(ctx: E2ETestContext, *, use_stdio: bool = Tr... function _make_tool (line 44) | def _make_tool(name: str, handler) -> Tool: function _safe_force_stop (line 69) | async def _safe_force_stop(client: CopilotClient) -> None: function _safe_disconnect (line 76) | async def _safe_disconnect(session: Any) -> None: class TestSuspend (line 84) | class TestSuspend: method test_should_suspend_idle_session_without_throwing (line 85) | async def test_should_suspend_idle_session_without_throwing(self, ctx:... method test_should_allow_resume_and_continue_conversation_after_suspend (line 95) | async def test_should_allow_resume_and_continue_conversation_after_sus... method test_should_cancel_pending_permission_request_when_suspending (line 138) | async def test_should_cancel_pending_permission_request_when_suspending( method test_should_reject_pending_external_tool_when_suspending (line 175) | async def test_should_reject_pending_external_tool_when_suspending(sel... FILE: python/e2e/test_system_message_transform_e2e.py class TestSystemMessageTransform (line 17) | class TestSystemMessageTransform: method test_should_invoke_transform_callbacks_with_section_content (line 18) | async def test_should_invoke_transform_callbacks_with_section_content( method test_should_apply_transform_modifications_to_section_content (line 58) | async def test_should_apply_transform_modifications_to_section_content( method test_should_work_with_static_overrides_and_transforms_together (line 87) | async def test_should_work_with_static_overrides_and_transforms_together( function _get_system_message (line 118) | def _get_system_message(exchange: dict) -> str: FILE: python/e2e/test_telemetry_e2e.py function _string_attribute (line 36) | def _string_attribute(entry: dict[str, Any], name: str) -> str | None: function _is_root_span (line 44) | def _is_root_span(entry: dict[str, Any]) -> bool: function _read_telemetry_entries (line 49) | async def _read_telemetry_entries( class TestTelemetryExport (line 67) | class TestTelemetryExport: method test_should_export_file_telemetry_for_sdk_interactions (line 68) | async def test_should_export_file_telemetry_for_sdk_interactions(self,... class TestTelemetryConfig (line 184) | class TestTelemetryConfig: method test_default_values_are_unset (line 187) | async def test_default_values_are_unset(self): method test_can_set_all_properties (line 197) | async def test_can_set_all_properties(self): class TestSubprocessConfigTelemetry (line 212) | class TestSubprocessConfigTelemetry: method test_telemetry_defaults_to_none (line 215) | async def test_telemetry_defaults_to_none(self): class TestTelemetryHelpers (line 224) | class TestTelemetryHelpers: method test_restores_w3c_trace_context (line 227) | async def test_restores_w3c_trace_context(self): FILE: python/e2e/test_tool_results_e2e.py class TestToolResults (line 15) | class TestToolResults: method test_should_handle_structured_toolresultobject_from_custom_tool (line 16) | async def test_should_handle_structured_toolresultobject_from_custom_t... method test_should_handle_tool_result_with_failure_resulttype (line 43) | async def test_should_handle_tool_result_with_failure_resulttype(self,... method test_should_preserve_tooltelemetry_and_not_stringify_structured_results_for_llm (line 66) | async def test_should_preserve_tooltelemetry_and_not_stringify_structu... FILE: python/e2e/test_tools_e2e.py class TestTools (line 17) | class TestTools: method test_invokes_built_in_tools (line 18) | async def test_invokes_built_in_tools(self, ctx: E2ETestContext): method test_invokes_custom_tool (line 31) | async def test_invokes_custom_tool(self, ctx: E2ETestContext): method test_handles_tool_calling_errors (line 47) | async def test_handles_tool_calling_errors(self, ctx: E2ETestContext): method test_can_receive_and_return_complex_types (line 87) | async def test_can_receive_and_return_complex_types(self, ctx: E2ETest... method test_skippermission_sent_in_tool_definition (line 134) | async def test_skippermission_sent_in_tool_definition(self, ctx: E2ETe... method test_overrides_built_in_tool_with_custom_tool (line 162) | async def test_overrides_built_in_tool_with_custom_tool(self, ctx: E2E... method test_invokes_custom_tool_with_permission_handler (line 182) | async def test_invokes_custom_tool_with_permission_handler(self, ctx: ... method test_denies_custom_tool_when_permission_denied (line 209) | async def test_denies_custom_tool_when_permission_denied(self, ctx: E2... FILE: python/e2e/test_ui_elicitation_e2e.py class TestUiElicitation (line 22) | class TestUiElicitation: method test_elicitation_methods_throw_in_headless_mode (line 23) | async def test_elicitation_methods_throw_in_headless_mode(self, ctx: E... method test_session_with_elicitation_handler_reports_capability (line 56) | async def test_session_with_elicitation_handler_reports_capability(sel... method test_session_without_elicitation_handler_reports_no_capability (line 73) | async def test_session_without_elicitation_handler_reports_no_capability( method test_sends_request_elicitation_when_handler_provided (line 85) | async def test_sends_request_elicitation_when_handler_provided(self, c... method test_session_without_elicitation_handler_creates_successfully (line 99) | async def test_session_without_elicitation_handler_creates_successfully( method test_confirm_returns_true_when_handler_accepts (line 110) | async def test_confirm_returns_true_when_handler_accepts(self, ctx: E2... method test_confirm_returns_false_when_handler_declines (line 127) | async def test_confirm_returns_false_when_handler_declines(self, ctx: ... method test_select_returns_selected_option (line 140) | async def test_select_returns_selected_option(self, ctx: E2ETestContext): method test_input_returns_freeform_value (line 156) | async def test_input_returns_freeform_value(self, ctx: E2ETestContext): method test_elicitation_returns_all_action_shapes (line 182) | async def test_elicitation_returns_all_action_shapes(self, ctx: E2ETes... FILE: python/e2e/test_ui_elicitation_multi_client_e2e.py class ElicitationMultiClientContext (line 39) | class ElicitationMultiClientContext: method __init__ (line 42) | def __init__(self): method setup (line 52) | async def setup(self): method teardown (line 86) | async def teardown(self, test_failed: bool = False): method configure_for_test (line 103) | async def configure_for_test(self, test_file: str, test_name: str): method _get_env (line 120) | def _get_env(self) -> dict: method make_external_client (line 132) | def make_external_client(self) -> CopilotClient: method client1 (line 138) | def client1(self) -> CopilotClient: method client2 (line 143) | def client2(self) -> CopilotClient: function pytest_runtest_makereport (line 154) | def pytest_runtest_makereport(item, call): function mctx (line 163) | async def mctx(request): function configure_elicit_multi_test (line 172) | async def configure_elicit_multi_test(request, mctx): class TestUiElicitationMultiClient (line 185) | class TestUiElicitationMultiClient: method test_client_receives_commands_changed_when_another_client_joins_with_commands (line 186) | async def test_client_receives_commands_changed_when_another_client_jo... method test_capabilities_changed_when_second_client_joins_with_elicitation (line 231) | async def test_capabilities_changed_when_second_client_joins_with_elic... method test_capabilities_changed_when_elicitation_provider_disconnects (line 278) | async def test_capabilities_changed_when_elicitation_provider_disconne... FILE: python/e2e/testharness/context.py function get_cli_path_for_tests (line 21) | def get_cli_path_for_tests() -> str: class E2ETestContext (line 43) | class E2ETestContext: method __init__ (line 46) | def __init__(self): method setup (line 54) | async def setup(self): method teardown (line 78) | async def teardown(self, test_failed: bool = False): method configure_for_test (line 101) | async def configure_for_test(self, test_file: str, test_name: str): method get_env (line 128) | def get_env(self) -> dict: method client (line 143) | def client(self) -> CopilotClient: method set_copilot_user_by_token (line 149) | async def set_copilot_user_by_token(self, token: str, response: dict[s... method get_exchanges (line 155) | async def get_exchanges(self): FILE: python/e2e/testharness/helper.py function get_final_assistant_message (line 16) | async def get_final_assistant_message( function _get_existing_final_response (line 66) | async def _get_existing_final_response(session: CopilotSession, already_... function write_file (line 108) | def write_file(work_dir: str, filename: str, content: str) -> str: function read_file (line 126) | def read_file(work_dir: str, filename: str) -> str: function get_next_event_of_type (line 142) | async def get_next_event_of_type(session: CopilotSession, event_type: st... FILE: python/e2e/testharness/proxy.py class CapiProxy (line 17) | class CapiProxy: method __init__ (line 20) | def __init__(self): method start (line 24) | async def start(self) -> str: method stop (line 62) | async def stop(self, skip_writing_cache: bool = False): method configure (line 87) | async def configure(self, file_path: str, work_dir: str): method get_exchanges (line 100) | async def get_exchanges(self) -> list[dict[str, Any]]: method set_copilot_user_by_token (line 109) | async def set_copilot_user_by_token(self, token: str, response: dict[s... method url (line 122) | def url(self) -> str | None: FILE: python/samples/chat.py function main (line 15) | async def main(): FILE: python/scripts/build-wheels.mjs constant PLATFORMS (line 40) | const PLATFORMS = { function getCliVersion (line 49) | function getCliVersion() { function getPkgVersion (line 67) | function getPkgVersion() { function downloadCliBinary (line 77) | async function downloadCliBinary(platform, cliVersion, cacheDir) { function getCliLicensePath (line 141) | function getCliLicensePath() { function buildWheel (line 152) | async function buildWheel(platform, pkgVersion, cliVersion, outputDir, l... function repackWheelWithPlatform (line 241) | async function repackWheelWithPlatform(srcWheel, destWheel, platformTag) { function main (line 319) | async function main() { FILE: python/test_client.py class TestPermissionHandlerRequired (line 24) | class TestPermissionHandlerRequired: method test_create_session_raises_without_permission_handler (line 26) | async def test_create_session_raises_without_permission_handler(self): method test_create_session_raises_with_none_permission_handler (line 36) | async def test_create_session_raises_with_none_permission_handler(self): method test_v2_permission_adapter_rejects_no_result (line 46) | async def test_v2_permission_adapter_rejects_no_result(self): method test_resume_session_raises_without_permission_handler (line 66) | async def test_resume_session_raises_without_permission_handler(self): class TestURLParsing (line 79) | class TestURLParsing: method test_parse_port_only_url (line 80) | def test_parse_port_only_url(self): method test_parse_host_port_url (line 86) | def test_parse_host_port_url(self): method test_parse_http_url (line 92) | def test_parse_http_url(self): method test_parse_https_url (line 98) | def test_parse_https_url(self): method test_invalid_url_format (line 104) | def test_invalid_url_format(self): method test_invalid_port_too_high (line 108) | def test_invalid_port_too_high(self): method test_invalid_port_zero (line 112) | def test_invalid_port_zero(self): method test_invalid_port_negative (line 116) | def test_invalid_port_negative(self): method test_is_external_server_true (line 120) | def test_is_external_server_true(self): class TestSessionFsConfig (line 125) | class TestSessionFsConfig: method test_missing_initial_cwd (line 126) | def test_missing_initial_cwd(self): method test_missing_session_state_path (line 140) | def test_missing_session_state_path(self): class TestAuthOptions (line 155) | class TestAuthOptions: method test_accepts_github_token (line 156) | def test_accepts_github_token(self): method test_default_use_logged_in_user_true_without_token (line 167) | def test_default_use_logged_in_user_true_without_token(self): method test_default_use_logged_in_user_false_with_token (line 172) | def test_default_use_logged_in_user_false_with_token(self): method test_explicit_use_logged_in_user_true_with_token (line 183) | def test_explicit_use_logged_in_user_true_with_token(self): method test_explicit_use_logged_in_user_false_without_token (line 195) | def test_explicit_use_logged_in_user_false_without_token(self): class TestSessionIdleTimeoutSeconds (line 207) | class TestSessionIdleTimeoutSeconds: method test_accepts_session_idle_timeout_seconds (line 208) | def test_accepts_session_idle_timeout_seconds(self): method test_default_session_idle_timeout_seconds_is_none (line 219) | def test_default_session_idle_timeout_seconds_is_none(self): class TestOverridesBuiltInTool (line 225) | class TestOverridesBuiltInTool: method test_overrides_built_in_tool_sent_in_tool_definition (line 227) | async def test_overrides_built_in_tool_sent_in_tool_definition(self): method test_resume_session_sends_overrides_built_in_tool (line 256) | async def test_resume_session_sends_overrides_built_in_tool(self): class TestOnListModels (line 291) | class TestOnListModels: method test_list_models_with_custom_handler (line 293) | async def test_list_models_with_custom_handler(self): method test_list_models_handler_caches_results (line 325) | async def test_list_models_handler_caches_results(self): method test_list_models_async_handler (line 357) | async def test_list_models_async_handler(self): method test_list_models_handler_without_start (line 385) | async def test_list_models_handler_without_start(self): class TestSessionConfigForwarding (line 413) | class TestSessionConfigForwarding: method test_create_session_forwards_client_name (line 415) | async def test_create_session_forwards_client_name(self): method test_resume_session_forwards_client_name (line 436) | async def test_resume_session_forwards_client_name(self): method test_create_session_forwards_provider_headers (line 466) | async def test_create_session_forwards_provider_headers(self): method test_resume_session_forwards_provider_headers (line 496) | async def test_resume_session_forwards_provider_headers(self): method test_session_send_forwards_request_headers (line 531) | async def test_session_send_forwards_request_headers(self): method test_create_session_forwards_agent (line 563) | async def test_create_session_forwards_agent(self): method test_resume_session_forwards_agent (line 586) | async def test_resume_session_forwards_agent(self): method test_create_session_defaults_include_sub_agent_streaming_events_to_true (line 616) | async def test_create_session_defaults_include_sub_agent_streaming_eve... method test_create_session_preserves_explicit_false_include_sub_agent_streaming_events (line 637) | async def test_create_session_preserves_explicit_false_include_sub_age... method test_resume_session_defaults_include_sub_agent_streaming_events_to_true (line 661) | async def test_resume_session_defaults_include_sub_agent_streaming_eve... method test_resume_session_preserves_explicit_false_include_sub_agent_streaming_events (line 689) | async def test_resume_session_preserves_explicit_false_include_sub_age... method test_resume_session_forwards_continue_pending_work (line 720) | async def test_resume_session_forwards_continue_pending_work(self): method test_resume_session_omits_continue_pending_work_by_default (line 749) | async def test_resume_session_omits_continue_pending_work_by_default(s... method test_set_model_sends_correct_rpc (line 777) | async def test_set_model_sends_correct_rpc(self): class TestCopilotClientContextManager (line 803) | class TestCopilotClientContextManager: method test_aenter_calls_start_and_returns_self (line 805) | async def test_aenter_calls_start_and_returns_self(self): method test_aexit_calls_stop (line 813) | async def test_aexit_calls_stop(self): class TestCopilotSessionContextManager (line 820) | class TestCopilotSessionContextManager: method test_aenter_returns_self (line 822) | async def test_aenter_returns_self(self): method test_aexit_calls_disconnect (line 830) | async def test_aexit_calls_disconnect(self): FILE: python/test_commands_and_elicitation.py function _wait_for (line 25) | async def _wait_for(predicate: Callable[[], bool], timeout: float = 2.0)... class TestCommands (line 45) | class TestCommands: method test_forwards_commands_in_session_create_rpc (line 47) | async def test_forwards_commands_in_session_create_rpc(self): method test_forwards_commands_in_session_resume_rpc (line 86) | async def test_forwards_commands_in_session_resume_rpc(self): method test_routes_command_execute_event_to_correct_handler (line 124) | async def test_routes_command_execute_event_to_correct_handler(self): method test_sends_error_when_command_handler_throws (line 195) | async def test_sends_error_when_command_handler_throws(self): method test_sends_error_for_unknown_command (line 253) | async def test_sends_error_for_unknown_command(self): class TestUiElicitation (line 312) | class TestUiElicitation: method test_reads_capabilities_from_session_create_response (line 314) | async def test_reads_capabilities_from_session_create_response(self): method test_defaults_capabilities_when_not_injected (line 338) | async def test_defaults_capabilities_when_not_injected(self): method test_elicitation_throws_when_capability_is_missing (line 355) | async def test_elicitation_throws_when_capability_is_missing(self): method test_confirm_throws_when_capability_is_missing (line 382) | async def test_confirm_throws_when_capability_is_missing(self): class TestOnElicitationContext (line 404) | class TestOnElicitationContext: method test_sends_request_elicitation_flag_when_handler_provided (line 406) | async def test_sends_request_elicitation_flag_when_handler_provided(se... method test_does_not_send_request_elicitation_when_no_handler (line 438) | async def test_does_not_send_request_elicitation_when_no_handler(self): method test_sends_cancel_when_elicitation_handler_throws (line 464) | async def test_sends_cancel_when_elicitation_handler_throws(self): method test_dispatches_elicitation_requested_event_to_handler (line 509) | async def test_dispatches_elicitation_requested_event_to_handler(self): method test_elicitation_handler_receives_full_schema (line 570) | async def test_elicitation_handler_receives_full_schema(self): class TestCapabilitiesChanged (line 644) | class TestCapabilitiesChanged: method test_capabilities_changed_event_updates_session (line 646) | async def test_capabilities_changed_event_updates_session(self): FILE: python/test_event_forward_compatibility.py class TestEventForwardCompatibility (line 31) | class TestEventForwardCompatibility: method test_session_usage_info_is_recognized (line 34) | def test_session_usage_info_is_recognized(self): method test_unknown_event_type_maps_to_unknown (line 38) | def test_unknown_event_type_maps_to_unknown(self): method test_known_event_preserves_top_level_agent_id (line 51) | def test_known_event_preserves_top_level_agent_id(self): method test_unknown_event_preserves_top_level_agent_id (line 66) | def test_unknown_event_preserves_top_level_agent_id(self): method test_malformed_uuid_raises_error (line 84) | def test_malformed_uuid_raises_error(self): method test_malformed_timestamp_raises_error (line 98) | def test_malformed_timestamp_raises_error(self): method test_explicit_generated_symbols_remain_available (line 112) | def test_explicit_generated_symbols_remain_available(self): method test_data_shim_preserves_raw_mapping_values (line 124) | def test_data_shim_preserves_raw_mapping_values(self): method test_schema_defaults_are_applied_for_missing_optional_fields (line 140) | def test_schema_defaults_are_applied_for_missing_optional_fields(self): FILE: python/test_jsonrpc.py class MockProcess (line 19) | class MockProcess: method __init__ (line 22) | def __init__(self): method poll (line 27) | def poll(self): class ShortReadStream (line 31) | class ShortReadStream: method __init__ (line 40) | def __init__(self, data: bytes, chunk_size: int = 32768): method readline (line 50) | def readline(self): method read (line 61) | def read(self, n: int) -> bytes: class TestReadExact (line 76) | class TestReadExact: method test_read_exact_single_chunk (line 79) | def test_read_exact_single_chunk(self): method test_read_exact_multiple_chunks (line 92) | def test_read_exact_multiple_chunks(self): method test_read_exact_at_64kb_boundary (line 108) | def test_read_exact_at_64kb_boundary(self): method test_read_exact_exceeds_64kb (line 122) | def test_read_exact_exceeds_64kb(self): method test_read_exact_empty_stream_raises_eof (line 138) | def test_read_exact_empty_stream_raises_eof(self): method test_read_exact_partial_data_raises_eof (line 150) | def test_read_exact_partial_data_raises_eof(self): class TestReadMessageWithLargePayloads (line 165) | class TestReadMessageWithLargePayloads: method create_jsonrpc_message (line 168) | def create_jsonrpc_message(self, content_dict: dict) -> bytes: method test_read_message_small_payload (line 175) | def test_read_message_small_payload(self): method test_read_message_large_payload_70kb (line 189) | def test_read_message_large_payload_70kb(self): method test_read_message_large_payload_100kb (line 212) | def test_read_message_large_payload_100kb(self): method test_read_message_exactly_64kb_content (line 234) | def test_read_message_exactly_64kb_content(self): method test_read_message_multiple_messages_in_sequence (line 251) | def test_read_message_multiple_messages_in_sequence(self): class ClosingStream (line 273) | class ClosingStream: method readline (line 276) | def readline(self): method read (line 279) | def read(self, n: int) -> bytes: class TestOnClose (line 283) | class TestOnClose: method test_on_close_called_on_unexpected_exit (line 286) | def test_on_close_called_on_unexpected_exit(self): method test_on_close_not_called_on_intentional_stop (line 305) | def test_on_close_not_called_on_intentional_stop(self): FILE: python/test_rpc_timeout.py class TestRpcTimeout (line 20) | class TestRpcTimeout: method test_default_timeout_not_forwarded (line 31) | async def test_default_timeout_not_forwarded(self): method test_custom_timeout_forwarded (line 43) | async def test_custom_timeout_forwarded(self): method test_timeout_on_session_params_method (line 54) | async def test_timeout_on_session_params_method(self): method test_timeout_on_session_no_params_method (line 67) | async def test_timeout_on_session_no_params_method(self): method test_default_timeout_on_session_no_params_method (line 78) | async def test_default_timeout_on_session_no_params_method(self): method test_timeout_on_server_params_method (line 91) | async def test_timeout_on_server_params_method(self): method test_default_timeout_on_server_params_method (line 102) | async def test_default_timeout_on_server_params_method(self): method test_timeout_on_server_no_params_method (line 115) | async def test_timeout_on_server_no_params_method(self): method test_default_timeout_on_server_no_params_method (line 126) | async def test_default_timeout_on_server_no_params_method(self): FILE: python/test_telemetry.py class TestGetTraceContext (line 11) | class TestGetTraceContext: method test_returns_empty_dict_when_otel_not_installed (line 12) | def test_returns_empty_dict_when_otel_not_installed(self): method test_returns_dict_type (line 26) | def test_returns_dict_type(self): class TestTraceContext (line 32) | class TestTraceContext: method test_yields_without_error_when_no_traceparent (line 33) | def test_yields_without_error_when_no_traceparent(self): method test_yields_without_error_when_otel_not_installed (line 38) | def test_yields_without_error_when_otel_not_installed(self): method test_yields_without_error_with_traceparent (line 51) | def test_yields_without_error_with_traceparent(self): method test_yields_without_error_with_tracestate (line 57) | def test_yields_without_error_with_tracestate(self): class TestTelemetryConfig (line 64) | class TestTelemetryConfig: method test_telemetry_config_type (line 65) | def test_telemetry_config_type(self): method test_telemetry_config_in_subprocess_config (line 76) | def test_telemetry_config_in_subprocess_config(self): method test_telemetry_env_var_mapping (line 87) | def test_telemetry_env_var_mapping(self): method test_capture_content_false_maps_to_lowercase (line 119) | def test_capture_content_false_maps_to_lowercase(self): method test_empty_telemetry_config (line 125) | def test_empty_telemetry_config(self): FILE: python/test_tools.py class TestDefineTool (line 17) | class TestDefineTool: method test_creates_tool_with_correct_name_and_description (line 18) | def test_creates_tool_with_correct_name_and_description(self): method test_infers_name_from_function (line 31) | def test_infers_name_from_function(self): method test_generates_schema_from_pydantic_model (line 41) | def test_generates_schema_from_pydantic_model(self): method test_handler_receives_typed_arguments (line 57) | async def test_handler_receives_typed_arguments(self): method test_handler_receives_invocation (line 83) | async def test_handler_receives_invocation(self): method test_zero_param_handler (line 107) | async def test_zero_param_handler(self): method test_invocation_only_handler (line 129) | async def test_invocation_only_handler(self): method test_params_only_handler (line 151) | async def test_params_only_handler(self): method test_handler_error_is_hidden_from_llm (line 177) | async def test_handler_error_is_hidden_from_llm(self): method test_function_style_api (line 200) | async def test_function_style_api(self): method test_function_style_requires_name (line 224) | def test_function_style_requires_name(self): class TestNormalizeResult (line 236) | class TestNormalizeResult: method test_none_returns_empty_success (line 237) | def test_none_returns_empty_success(self): method test_string_passes_through (line 242) | def test_string_passes_through(self): method test_tool_result_passes_through (line 247) | def test_tool_result_passes_through(self): method test_dict_is_json_serialized (line 257) | def test_dict_is_json_serialized(self): method test_list_is_json_serialized (line 263) | def test_list_is_json_serialized(self): method test_pydantic_model_is_serialized (line 268) | def test_pydantic_model_is_serialized(self): method test_list_of_pydantic_models_is_serialized (line 277) | def test_list_of_pydantic_models_is_serialized(self): method test_raises_for_unserializable_value (line 288) | def test_raises_for_unserializable_value(self): class TestConvertMcpCallToolResult (line 294) | class TestConvertMcpCallToolResult: method test_text_only_call_tool_result (line 295) | def test_text_only_call_tool_result(self): method test_multiple_text_blocks (line 304) | def test_multiple_text_blocks(self): method test_is_error_maps_to_failure (line 315) | def test_is_error_maps_to_failure(self): method test_is_error_false_maps_to_success (line 324) | def test_is_error_false_maps_to_success(self): method test_image_content_to_binary (line 333) | def test_image_content_to_binary(self): method test_resource_text_to_text_result (line 345) | def test_resource_text_to_text_result(self): method test_resource_blob_to_binary (line 358) | def test_resource_blob_to_binary(self): method test_empty_content_array (line 378) | def test_empty_content_array(self): method test_call_tool_result_dict_is_json_serialized_by_normalize (line 383) | def test_call_tool_result_dict_is_json_serialized_by_normalize(self): FILE: scripts/codegen/csharp.ts constant TYPE_RENAMES (line 48) | const TYPE_RENAMES: Record = { function applyTypeRename (line 53) | function applyTypeRename(className: string): string { function escapeXml (line 65) | function escapeXml(text: string): string { function ensureTrailingPunctuation (line 70) | function ensureTrailingPunctuation(text: string): string { function xmlDocComment (line 76) | function xmlDocComment(description: string | undefined, indent: string):... function rawXmlDocSummary (line 91) | function rawXmlDocSummary(text: string, indent: string): string[] { function xmlDocCommentWithFallback (line 97) | function xmlDocCommentWithFallback(description: string | undefined, fall... function xmlDocPropertyComment (line 108) | function xmlDocPropertyComment(description: string | undefined, jsonProp... function xmlDocEnumComment (line 114) | function xmlDocEnumComment(description: string | undefined, indent: stri... function toPascalCase (line 119) | function toPascalCase(name: string): string { function typeToClassName (line 126) | function typeToClassName(typeName: string): string { function toPascalCaseEnumMember (line 130) | function toPascalCaseEnumMember(value: string): string { function formatCSharpFile (line 134) | async function formatCSharpFile(filePath: string): Promise { function collectRpcMethods (line 144) | function collectRpcMethods(node: Record): RpcMethod[] { function schemaTypeToCSharp (line 156) | function schemaTypeToCSharp(schema: JSONSchema7, required: boolean, know... function emitDataAnnotations (line 222) | function emitDataAnnotations(schema: JSONSchema7, indent: string): strin... function isDurationProperty (line 294) | function isDurationProperty(schema: JSONSchema7): boolean { constant COPYRIGHT (line 307) | const COPYRIGHT = `/*---------------------------------------------------... type EventVariant (line 315) | interface EventVariant { function getOrCreateEnum (line 328) | function getOrCreateEnum(parentClassName: string, propName: string, valu... function extractEventVariants (line 347) | function extractEventVariants(schema: JSONSchema7): EventVariant[] { function findDiscriminator (line 372) | function findDiscriminator(variants: JSONSchema7[]): { property: string;... type PropertyTypeResolver (line 402) | type PropertyTypeResolver = ( function generatePolymorphicClasses (line 415) | function generatePolymorphicClasses( function generateDerivedClass (line 460) | function generateDerivedClass( function generateNestedClass (line 508) | function generateNestedClass( function resolveSessionPropertyType (line 542) | function resolveSessionPropertyType( function generateDataClass (line 639) | function generateDataClass(variant: EventVariant, knownTypes: Map { function singularPascal (line 813) | function singularPascal(s: string): string { function getMethodResultSchema (line 821) | function getMethodResultSchema(method: RpcMethod): JSONSchema7 | undefin... function resultTypeName (line 825) | function resultTypeName(method: RpcMethod): string { function resolvedResultTypeName (line 830) | function resolvedResultTypeName(method: RpcMethod): string { function handlerTaskType (line 845) | function handlerTaskType(method: RpcMethod): string { function resultTaskType (line 851) | function resultTaskType(method: RpcMethod): string { function paramsTypeName (line 856) | function paramsTypeName(method: RpcMethod): string { function resolveMethodParamsSchema (line 860) | function resolveMethodParamsSchema(method: RpcMethod): JSONSchema7 | und... function stableStringify (line 869) | function stableStringify(value: unknown): string { function resolveRpcType (line 880) | function resolveRpcType(schema: JSONSchema7, isRequired: boolean, parent... function emitRpcClass (line 977) | function emitRpcClass( function emitNonObjectResultType (line 1052) | function emitNonObjectResultType(typeName: string, schema: JSONSchema7, ... function emitServerRpcClasses (line 1065) | function emitServerRpcClasses(node: Record, classes: st... function emitServerApiClass (line 1112) | function emitServerApiClass(className: string, node: Record, classes: s... function emitSessionMethod (line 1277) | function emitSessionMethod(key: string, method: RpcMethod, lines: string... function emitSessionApiClass (line 1340) | function emitSessionApiClass(className: string, node: Record): Array<{ gro... function clientHandlerInterfaceName (line 1394) | function clientHandlerInterfaceName(groupName: string): string { function clientHandlerMethodName (line 1398) | function clientHandlerMethodName(rpcMethod: string): string { function emitClientSessionApiRegistration (line 1403) | function emitClientSessionApiRegistration(clientSchema: Record { function generate (line 1595) | async function generate(sessionSchemaPath?: string, apiSchemaPath?: stri... FILE: scripts/codegen/go.ts function toPascalCase (line 50) | function toPascalCase(s: string): string { function toGoFieldName (line 57) | function toGoFieldName(jsonName: string): string { function postProcessEnumConstants (line 71) | function postProcessEnumConstants(code: string): string { function collapsePlaceholderGoStructs (line 116) | function collapsePlaceholderGoStructs(code: string, knownDefinitionNames... function normalizeGoStructBlock (line 151) | function normalizeGoStructBlock(block: string, name: string): string { function chooseCanonicalPlaceholderDuplicate (line 161) | function chooseCanonicalPlaceholderDuplicate(names: string[], knownDefin... function isPlaceholderTypeName (line 173) | function isPlaceholderTypeName(name: string): boolean { function extractFieldNames (line 181) | function extractFieldNames(qtCode: string): Map { function collectRpcMethods (line 334) | function collectRpcMethods(node: Record): RpcMethod[] { function withRootTitle (line 348) | function withRootTitle(schema: JSONSchema7, title: string): JSONSchema7 { function goRequestFallbackName (line 352) | function goRequestFallbackName(method: RpcMethod): string { function schemaSourceForNamedDefinition (line 356) | function schemaSourceForNamedDefinition( function isNamedGoObjectSchema (line 372) | function isNamedGoObjectSchema(schema: JSONSchema7 | undefined): schema ... function getMethodResultSchema (line 376) | function getMethodResultSchema(method: RpcMethod): JSONSchema7 | undefin... function getMethodParamsSchema (line 380) | function getMethodParamsSchema(method: RpcMethod): JSONSchema7 | undefin... function goResultTypeName (line 389) | function goResultTypeName(method: RpcMethod): string { function goNullableResultTypeName (line 393) | function goNullableResultTypeName(method: RpcMethod, innerSchema: JSONSc... function goParamsTypeName (line 401) | function goParamsTypeName(method: RpcMethod): string { type GoEventVariant (line 411) | interface GoEventVariant { type GoEventEnvelopeProperty (line 418) | interface GoEventEnvelopeProperty extends SessionEventEnvelopeProperty { type GoCodegenCtx (line 425) | interface GoCodegenCtx { function extractGoEventVariants (line 433) | function extractGoEventVariants(schema: JSONSchema7): GoEventVariant[] { function getGoSharedEventEnvelopeProperties (line 453) | function getGoSharedEventEnvelopeProperties(schema: JSONSchema7, ctx: Go... function emitGoEnvelopeStructField (line 472) | function emitGoEnvelopeStructField(property: GoEventEnvelopeProperty, in... function findGoDiscriminator (line 486) | function findGoDiscriminator( function getOrCreateGoEnum (line 516) | function getOrCreateGoEnum( function resolveGoPropertyType (line 560) | function resolveGoPropertyType( function emitGoStruct (line 728) | function emitGoStruct( function emitGoFlatDiscriminatedUnion (line 775) | function emitGoFlatDiscriminatedUnion( function generateGoSessionEventsCode (line 867) | function generateGoSessionEventsCode(schema: JSONSchema7): string { function generateSessionEvents (line 1122) | async function generateSessionEvents(schemaPath?: string): Promise { function generateRpc (line 1139) | async function generateRpc(schemaPath?: string): Promise { function emitApiGroup (line 1355) | function emitApiGroup( function emitRpcWrapper (line 1398) | function emitRpcWrapper(lines: string[], node: Record, ... function emitMethod (line 1464) | function emitMethod(lines: string[], receiver: string, name: string, met... type ClientGroup (line 1531) | interface ClientGroup { function collectClientGroups (line 1537) | function collectClientGroups(node: Record): ClientGroup... function clientHandlerInterfaceName (line 1551) | function clientHandlerInterfaceName(groupName: string): string { function clientHandlerMethodName (line 1555) | function clientHandlerMethodName(rpcMethod: string): string { function emitClientSessionApiRegistration (line 1559) | function emitClientSessionApiRegistration(lines: string[], clientSchema:... function generate (line 1645) | async function generate(sessionSchemaPath?: string, apiSchemaPath?: stri... FILE: scripts/codegen/python.ts function replaceBalancedBrackets (line 53) | function replaceBalancedBrackets(code: string, prefix: string, replacer:... function splitTopLevelCommas (line 79) | function splitTopLevelCommas(s: string): string[] { function pyDocstringLiteral (line 95) | function pyDocstringLiteral(text: string): string { function modernizePython (line 103) | function modernizePython(code: string): string { function unwrapRedundantPythonLambdas (line 151) | function unwrapRedundantPythonLambdas(code: string): string { function collapsePlaceholderPythonDataclasses (line 158) | function collapsePlaceholderPythonDataclasses(code: string, knownDefinit... function reorderPythonForwardRefs (line 200) | function reorderPythonForwardRefs(code: string): string { function normalizePythonDataclassBlock (line 344) | function normalizePythonDataclassBlock(block: string, name: string): str... function chooseCanonicalPlaceholderDuplicate (line 354) | function chooseCanonicalPlaceholderDuplicate(names: string[], knownDefin... function isPlaceholderTypeName (line 366) | function isPlaceholderTypeName(name: string): boolean { function toSnakeCase (line 371) | function toSnakeCase(s: string): string { function toPascalCase (line 378) | function toPascalCase(s: string): string { function collectRpcMethods (line 385) | function collectRpcMethods(node: Record): RpcMethod[] { function withRootTitle (line 399) | function withRootTitle(schema: JSONSchema7, title: string): JSONSchema7 { function pythonRequestFallbackName (line 403) | function pythonRequestFallbackName(method: RpcMethod): string { function schemaSourceForNamedDefinition (line 407) | function schemaSourceForNamedDefinition( function isNamedPyObjectSchema (line 423) | function isNamedPyObjectSchema(schema: JSONSchema7 | undefined): schema ... function getMethodResultSchema (line 427) | function getMethodResultSchema(method: RpcMethod): JSONSchema7 | undefin... function getMethodParamsSchema (line 431) | function getMethodParamsSchema(method: RpcMethod): JSONSchema7 | undefin... function pythonResultTypeName (line 440) | function pythonResultTypeName(method: RpcMethod, schemaOverride?: JSONSc... function isParamsOptional (line 451) | function isParamsOptional(method: RpcMethod): boolean { function pythonParamsTypeName (line 463) | function pythonParamsTypeName(method: RpcMethod): string { type PyEventVariant (line 474) | interface PyEventVariant { type PyEventEnvelopeProperty (line 481) | interface PyEventEnvelopeProperty extends SessionEventEnvelopeProperty { type PyResolvedType (line 488) | interface PyResolvedType { type PyCodegenCtx (line 494) | interface PyCodegenCtx { function toEnumMemberName (line 504) | function toEnumMemberName(value: string): string { function wrapParser (line 516) | function wrapParser(resolved: PyResolvedType, arg = "x"): string { function wrapSerializer (line 520) | function wrapSerializer(resolved: PyResolvedType, arg = "x"): string { constant PY_SESSION_EVENT_TYPE_RENAMES (line 524) | const PY_SESSION_EVENT_TYPE_RENAMES: Record = { function postProcessPythonSessionEventCode (line 567) | function postProcessPythonSessionEventCode(code: string): string { function pyPrimitiveResolvedType (line 576) | function pyPrimitiveResolvedType(annotation: string, fromFn: string, toF... function pyOptionalResolvedType (line 584) | function pyOptionalResolvedType(inner: PyResolvedType): PyResolvedType { function pyAnyResolvedType (line 592) | function pyAnyResolvedType(): PyResolvedType { function pyDurationResolvedType (line 600) | function pyDurationResolvedType(ctx: PyCodegenCtx, isInteger: boolean): ... function isPyBase64StringSchema (line 612) | function isPyBase64StringSchema(schema: JSONSchema7): boolean { function toPythonLiteral (line 616) | function toPythonLiteral(value: unknown): string | undefined { function extractPyEventVariants (line 632) | function extractPyEventVariants(schema: JSONSchema7): PyEventVariant[] { function getPySharedEventEnvelopeProperties (line 655) | function getPySharedEventEnvelopeProperties(schema: JSONSchema7, ctx: Py... function findPyDiscriminator (line 672) | function findPyDiscriminator( function getOrCreatePyEnum (line 717) | function getOrCreatePyEnum( function resolvePyPropertyType (line 747) | function resolvePyPropertyType( function emitPyClass (line 1029) | function emitPyClass( function emitPyFlatDiscriminatedUnion (line 1127) | function emitPyFlatDiscriminatedUnion( function generatePythonSessionEventsCode (line 1267) | function generatePythonSessionEventsCode(schema: JSONSchema7): string { function generateSessionEvents (line 1595) | async function generateSessionEvents(schemaPath?: string): Promise { function generateRpc (line 1609) | async function generateRpc(schemaPath?: string): Promise { function emitPyApiGroup (line 1871) | function emitPyApiGroup( function emitRpcWrapper (line 1923) | function emitRpcWrapper(lines: string[], node: Record, ... function emitMethod (line 1967) | function emitMethod(lines: string[], name: string, method: RpcMethod, is... function emitClientSessionApiRegistration (line 2062) | function emitClientSessionApiRegistration( function emitClientSessionHandlerMethod (line 2122) | function emitClientSessionHandlerMethod( function emitClientSessionRegistrationMethod (line 2151) | function emitClientSessionRegistrationMethod( function generate (line 2196) | async function generate(sessionSchemaPath?: string, apiSchemaPath?: stri... FILE: scripts/codegen/typescript.ts function toPascalCase (line 34) | function toPascalCase(s: string): string { function appendUniqueExportBlocks (line 38) | function appendUniqueExportBlocks(output: string[], compiled: string, se... function splitExportBlocks (line 61) | function splitExportBlocks(compiled: string): string[] { function countBraces (line 106) | function countBraces(line: string): number { function normalizeExportBlock (line 115) | function normalizeExportBlock(block: string): string { function collectRpcMethods (line 124) | function collectRpcMethods(node: Record): RpcMethod[] { function normalizeSchemaForTypeScript (line 136) | function normalizeSchemaForTypeScript(schema: JSONSchema7): JSONSchema7 { function generateSessionEvents (line 193) | async function generateSessionEvents(schemaPath?: string): Promise { function withRootTitle (line 223) | function withRootTitle(schema: JSONSchema7, title: string): JSONSchema7 { function rpcRequestFallbackName (line 227) | function rpcRequestFallbackName(method: RpcMethod): string { function schemaSourceForNamedDefinition (line 231) | function schemaSourceForNamedDefinition( function getMethodResultSchema (line 247) | function getMethodResultSchema(method: RpcMethod): JSONSchema7 | undefin... function getMethodParamsSchema (line 251) | function getMethodParamsSchema(method: RpcMethod): JSONSchema7 | undefin... function isParamsOptional (line 261) | function isParamsOptional(method: RpcMethod): boolean { function resultTypeName (line 273) | function resultTypeName(method: RpcMethod): string { function tsNullableResultTypeName (line 280) | function tsNullableResultTypeName(method: RpcMethod): string | undefined { function tsResultType (line 294) | function tsResultType(method: RpcMethod): string { function paramsTypeName (line 299) | function paramsTypeName(method: RpcMethod): string { function generateRpc (line 307) | async function generateRpc(schemaPath?: string): Promise { function emitGroup (line 462) | function emitGroup(node: Record, indent: string, isSess... function collectClientGroups (line 531) | function collectClientGroups(node: Record): Map = ... function getSessionEventsSchemaPath (line 46) | async function getSessionEventsSchemaPath(): Promise { function getApiSchemaPath (line 55) | async function getApiSchemaPath(cliArg?: string): Promise { function postProcessSchema (line 71) | function postProcessSchema(schema: JSONSchema7): JSONSchema7 { function normalizeNullableRequiredRefs (line 153) | function normalizeNullableRequiredRefs(schema: JSONSchema7): JSONSchema7 { function writeGeneratedFile (line 211) | async function writeGeneratedFile(relativePath: string, content: string)... type RpcMethod (line 220) | interface RpcMethod { function getRpcSchemaTypeName (line 228) | function getRpcSchemaTypeName(schema: JSONSchema7 | null | undefined, fa... function isObjectSchema (line 238) | function isObjectSchema(schema: JSONSchema7 | null | undefined): boolean { function isVoidSchema (line 249) | function isVoidSchema(schema: JSONSchema7 | null | undefined): boolean { function getNullableInner (line 260) | function getNullableInner(schema: JSONSchema7): JSONSchema7 | undefined { function isNullLike (line 268) | function isNullLike(s: unknown): boolean { function cloneSchemaForCodegen (line 276) | function cloneSchemaForCodegen(value: T): T { type ApiSchema (line 295) | interface ApiSchema { function isRpcMethod (line 303) | function isRpcMethod(node: unknown): node is RpcMethod { function fixNullableRequiredRefsInApiSchema (line 312) | function fixNullableRequiredRefsInApiSchema(schema: ApiSchema): ApiSchema { function isNodeFullyExperimental (line 354) | function isNodeFullyExperimental(node: Record): boolean { function isNodeFullyDeprecated (line 369) | function isNodeFullyDeprecated(node: Record): boolean { function isSchemaDeprecated (line 384) | function isSchemaDeprecated(schema: JSONSchema7 | null | undefined): boo... function refTypeName (line 391) | function refTypeName(ref: string, definitions?: DefinitionCollections): ... function resolveRef (line 411) | function resolveRef( function resolveSchema (line 424) | function resolveSchema( function resolveObjectSchema (line 440) | function resolveObjectSchema( function getSessionEventVariantSchemas (line 506) | function getSessionEventVariantSchemas( function getSharedSessionEventEnvelopeProperties (line 525) | function getSharedSessionEventEnvelopeProperties( function selectSessionEventEnvelopePropertySchema (line 551) | function selectSessionEventEnvelopePropertySchema(propertySchemas: JSONS... function isConstOrEnumSchema (line 562) | function isConstOrEnumSchema(schema: JSONSchema7): boolean { function hasSchemaPayload (line 566) | function hasSchemaPayload(schema: JSONSchema7 | null | undefined): boole... function collectDefinitionCollections (line 579) | function collectDefinitionCollections( function collectDefinitions (line 589) | function collectDefinitions( function withSharedDefinitions (line 596) | function withSharedDefinitions( FILE: scripts/corrections/collect-corrections.js constant TRACKING_LABEL (line 7) | const TRACKING_LABEL = "triage-agent-tracking"; constant CCA_THRESHOLD (line 8) | const CCA_THRESHOLD = 10; constant MAX_TITLE_LENGTH (line 9) | const MAX_TITLE_LENGTH = 50; constant TRACKING_ISSUE_BODY (line 11) | const TRACKING_ISSUE_BODY = `# Triage Agent Corrections function truncateTitle (line 39) | function truncateTitle(title) { function sanitizeText (line 50) | function sanitizeText(text) { function escapeForTable (line 63) | function escapeForTable(text) { function resolveContext (line 73) | function resolveContext(payload, sender) { function findOrCreateTrackingIssue (line 99) | async function findOrCreateTrackingIssue(github, owner, repo) { function appendCorrection (line 136) | async function appendCorrection(github, owner, repo, trackingIssue, corr... function maybeAssignCCA (line 187) | async function maybeAssignCCA(github, owner, repo, trackingIssue, correc... FILE: scripts/corrections/test/collect-corrections.test.ts function mockGitHub (line 161) | function mockGitHub(overrides: Record = {}) { constant OWNER (line 180) | const OWNER = "test-owner"; constant REPO (line 181) | const REPO = "test-repo"; FILE: scripts/docs-validation/extract.ts constant DOCS_DIR (line 10) | const DOCS_DIR = path.resolve(import.meta.dirname, "../../docs"); constant OUTPUT_DIR (line 11) | const OUTPUT_DIR = path.resolve(import.meta.dirname, "../../docs/.valida... constant LANGUAGE_MAP (line 14) | const LANGUAGE_MAP: Record = { type CodeBlock (line 28) | interface CodeBlock { type ExtractionManifest (line 38) | interface ExtractionManifest { function parseMarkdownCodeBlocks (line 49) | function parseMarkdownCodeBlocks( function generateFileName (line 131) | function generateFileName( function getExtension (line 145) | function getExtension(language: string): string { function shouldSkipFragment (line 165) | function shouldSkipFragment(block: CodeBlock): boolean { function wrapCodeForValidation (line 191) | function wrapCodeForValidation(block: CodeBlock): string { function main (line 348) | async function main() { function getSourceComment (line 457) | function getSourceComment( FILE: scripts/docs-validation/validate.ts constant ROOT_DIR (line 11) | const ROOT_DIR = path.resolve(import.meta.dirname, "../.."); constant VALIDATION_DIR (line 12) | const VALIDATION_DIR = path.join(ROOT_DIR, "docs/.validation"); type ValidationResult (line 14) | interface ValidationResult { type Manifest (line 22) | interface Manifest { function loadManifest (line 32) | function loadManifest(): Manifest { function validateTypeScript (line 43) | async function validateTypeScript(): Promise { function validatePython (line 142) | async function validatePython(): Promise { function validateGo (line 206) | async function validateGo(): Promise { function validateCSharp (line 272) | async function validateCSharp(): Promise { function printResults (line 356) | function printResults(results: ValidationResult[], language: string): { ... function writeGitHubSummary (line 382) | function writeGitHubSummary(summaryData: { language: string; passed: num... function main (line 421) | async function main() { FILE: test/harness/capturingHttpProxy.ts class CapturingHttpProxy (line 11) | class CapturingHttpProxy { method constructor (line 15) | constructor(private targetUrl: string) {} method exchanges (line 17) | get exchanges(): ReadonlyArray { method start (line 21) | async start(): Promise { method stop (line 132) | async stop(): Promise { method performRequest (line 146) | performRequest(options: PerformRequestOptions): void { method clearExchanges (line 169) | protected clearExchanges(): void { type PerformRequestOptions (line 174) | interface PerformRequestOptions { type CapturedRequest (line 187) | interface CapturedRequest { type CapturedResponse (line 195) | interface CapturedResponse { type CapturedExchange (line 202) | interface CapturedExchange { FILE: test/harness/replayingCapiProxy.test.ts function createProxy (line 37) | async function createProxy( function readYamlOutput (line 71) | async function readYamlOutput(outputPath: string): Promise { method updateConfig (line 101) | async updateConfig(config: Partial): Promise<... method loadStoredData (line 126) | private async loadStoredData(): Promise { method stop (line 133) | async stop(skipWritingCache?: boolean): Promise { method addToolResultNormalizer (line 146) | addToolResultNormalizer( method setCopilotUserByToken (line 163) | setCopilotUserByToken(token: string, response: CopilotUserResponse): v... method performRequest (line 167) | override performRequest(options: PerformRequestOptions): void { function writeCapturesToDisk (line 414) | async function writeCapturesToDisk( function diagnoseMatchFailure (line 442) | function diagnoseMatchFailure( function exitWithNoMatchingRequestError (line 499) | async function exitWithNoMatchingRequestError( function findSavedChatCompletionResponse (line 534) | async function findSavedChatCompletionResponse( function isRequestOnlySnapshot (line 573) | async function isRequestOnlySnapshot( function parseAndNormalizeRequest (line 600) | async function parseAndNormalizeRequest( function transformHttpExchanges (line 616) | async function transformHttpExchanges( function normalizeFilenames (line 641) | function normalizeFilenames( function normalizeToolCalls (line 687) | function normalizeToolCalls( function removePrefixConversations (line 749) | function removePrefixConversations( function isPrefix (line 764) | function isPrefix( function parseHttpExchange (line 776) | async function parseHttpExchange( function transformHttpExchange (line 787) | async function transformHttpExchange( function transformOpenAIRequestMessage (line 806) | function transformOpenAIRequestMessage( function normalizeUserMessage (line 863) | function normalizeUserMessage(content: string): string { function normalizeLargeOutputFilepaths (line 876) | function normalizeLargeOutputFilepaths(result: string): string { function normalizeGhAuthMessages (line 892) | function normalizeGhAuthMessages(result: string): string { function transformOpenAIResponseChoice (line 908) | function transformOpenAIResponseChoice( function transformOpenAIToolCall (line 927) | function transformOpenAIToolCall(tc: { function normalizeToolCallArguments (line 942) | function normalizeToolCallArguments(args: string): string { function parseOpenAIResponse (line 955) | async function parseOpenAIResponse( function findAssistantIndexAfterPrefix (line 990) | function findAssistantIndexAfterPrefix( function expandWorkDir (line 1018) | function expandWorkDir( function expandToolName (line 1033) | function expandToolName(name: string): string { function createOpenAIResponse (line 1044) | function createOpenAIResponse( constant STREAM_CHUNK_SIZE (line 1097) | const STREAM_CHUNK_SIZE = 200; function convertToStreamingResponseChunks (line 1099) | function convertToStreamingResponseChunks( function createGetModelsResponse (line 1162) | function createGetModelsResponse(modelIds: string[]) { function writeFileIfDifferent (line 1178) | async function writeFileIfDifferent(filePath: string, contents: string) { function excludeFailedResponses (line 1189) | function excludeFailedResponses(exchange: CapturedExchange): boolean { type ToolResultNormalizer (line 1194) | type ToolResultNormalizer = { type CopilotUserResponse (line 1203) | type CopilotUserResponse = { type ParsedHttpExchange (line 1224) | type ParsedHttpExchange = { type ReplayingCapiProxyState (line 1232) | type ReplayingCapiProxyState = { type NormalizedToolCall (line 1240) | interface NormalizedToolCall { type NormalizedMessage (line 1249) | interface NormalizedMessage { type NormalizedConversation (line 1257) | interface NormalizedConversation { type NormalizedData (line 1261) | interface NormalizedData { function sortJsonKeys (line 1266) | function sortJsonKeys(obj: unknown): unknown { FILE: test/harness/util.ts function iife (line 7) | function iife(fn: () => Promise): Promise { function sleep (line 11) | function sleep(ms: number): Promise { type ShellConfigType (line 15) | type ShellConfigType = NonNullable; FILE: test/scenarios/auth/byok-anthropic/go/main.go function main (line 12) | func main() { FILE: test/scenarios/auth/byok-anthropic/python/main.py function main (line 16) | async def main(): FILE: test/scenarios/auth/byok-anthropic/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/auth/byok-azure/go/main.go function main (line 12) | func main() { FILE: test/scenarios/auth/byok-azure/python/main.py function main (line 17) | async def main(): FILE: test/scenarios/auth/byok-azure/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/auth/byok-ollama/go/main.go constant compactSystemPrompt (line 12) | compactSystemPrompt = "You are a compact local assistant. Keep answers s... function main (line 14) | func main() { FILE: test/scenarios/auth/byok-ollama/python/main.py function main (line 15) | async def main(): FILE: test/scenarios/auth/byok-ollama/typescript/src/index.ts constant OLLAMA_BASE_URL (line 3) | const OLLAMA_BASE_URL = process.env.OLLAMA_BASE_URL ?? "http://localhost... constant OLLAMA_MODEL (line 4) | const OLLAMA_MODEL = process.env.OLLAMA_MODEL ?? "llama3.2:3b"; constant COMPACT_SYSTEM_PROMPT (line 6) | const COMPACT_SYSTEM_PROMPT = function main (line 9) | async function main() { FILE: test/scenarios/auth/byok-openai/go/main.go function main (line 12) | func main() { FILE: test/scenarios/auth/byok-openai/python/main.py function main (line 16) | async def main(): FILE: test/scenarios/auth/byok-openai/typescript/src/index.ts constant OPENAI_BASE_URL (line 3) | const OPENAI_BASE_URL = process.env.OPENAI_BASE_URL ?? "https://api.open... constant OPENAI_MODEL (line 4) | const OPENAI_MODEL = process.env.OPENAI_MODEL ?? "claude-haiku-4.5"; constant OPENAI_API_KEY (line 5) | const OPENAI_API_KEY = process.env.OPENAI_API_KEY; function main (line 12) | async function main() { FILE: test/scenarios/auth/gh-app/go/main.go constant deviceCodeURL (line 18) | deviceCodeURL = "https://github.com/login/device/code" constant accessTokenURL (line 19) | accessTokenURL = "https://github.com/login/oauth/access_token" constant userURL (line 20) | userURL = "https://api.github.com/user" type deviceCodeResponse (line 23) | type deviceCodeResponse struct type tokenResponse (line 30) | type tokenResponse struct type githubUser (line 37) | type githubUser struct function postJSON (line 42) | func postJSON(url string, payload any, target any) error { function getUser (line 65) | func getUser(token string) (*githubUser, error) { function startDeviceFlow (line 89) | func startDeviceFlow(clientID string) (*deviceCodeResponse, error) { function pollForToken (line 98) | func pollForToken(clientID, deviceCode string, interval int) (string, er... function main (line 134) | func main() { FILE: test/scenarios/auth/gh-app/python/main.py function post_json (line 16) | def post_json(url: str, payload: dict) -> dict: function get_json (line 27) | def get_json(url: str, token: str) -> dict: function start_device_flow (line 41) | def start_device_flow(client_id: str) -> dict: function poll_for_access_token (line 45) | def poll_for_access_token(client_id: str, device_code: str, interval: in... function main (line 67) | async def main(): FILE: test/scenarios/auth/gh-app/typescript/src/index.ts type DeviceCodeResponse (line 5) | type DeviceCodeResponse = { type OAuthTokenResponse (line 13) | type OAuthTokenResponse = { type GitHubUser (line 20) | type GitHubUser = { constant DEVICE_CODE_URL (line 25) | const DEVICE_CODE_URL = "https://github.com/login/device/code"; constant ACCESS_TOKEN_URL (line 26) | const ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token"; constant USER_URL (line 27) | const USER_URL = "https://api.github.com/user"; constant CLIENT_ID (line 29) | const CLIENT_ID = process.env.GITHUB_OAUTH_CLIENT_ID; function postJson (line 36) | async function postJson(url: string, body: Record): ... function getJson (line 53) | async function getJson(url: string, token: string): Promise { function startDeviceFlow (line 69) | async function startDeviceFlow(): Promise { function pollForAccessToken (line 76) | async function pollForAccessToken(deviceCode: string, intervalSeconds: n... function main (line 99) | async function main() { FILE: test/scenarios/bundling/app-backend-to-server/go/main.go function cliURL (line 18) | func cliURL() string { type chatRequest (line 28) | type chatRequest struct type chatResponse (line 32) | type chatResponse struct function chatHandler (line 37) | func chatHandler(w http.ResponseWriter, r *http.Request) { function writeJSON (line 94) | func writeJSON(w http.ResponseWriter, status int, v interface{}) { function main (line 100) | func main() { FILE: test/scenarios/bundling/app-backend-to-server/python/main.py function ask_copilot (line 16) | async def ask_copilot(prompt: str) -> str: function chat (line 34) | def chat(): function self_test (line 46) | def self_test(port: int): FILE: test/scenarios/bundling/app-backend-to-server/typescript/src/index.ts constant PORT (line 4) | const PORT = parseInt(process.env.PORT || "8080", 10); constant CLI_URL (line 5) | const CLI_URL = process.env.CLI_URL || process.env.COPILOT_CLI_URL || "l... FILE: test/scenarios/bundling/app-direct-server/go/main.go function main (line 12) | func main() { FILE: test/scenarios/bundling/app-direct-server/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/bundling/app-direct-server/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/bundling/container-proxy/go/main.go function main (line 12) | func main() { FILE: test/scenarios/bundling/container-proxy/proxy.py class ProxyHandler (line 18) | class ProxyHandler(BaseHTTPRequestHandler): method do_POST (line 19) | def do_POST(self): method do_GET (line 31) | def do_GET(self): method _handle_non_stream (line 40) | def _handle_non_stream(self, model: str): method _handle_stream (line 67) | def _handle_stream(self, model: str): method log_message (line 110) | def log_message(self, format, *args): function main (line 114) | def main(): FILE: test/scenarios/bundling/container-proxy/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/bundling/container-proxy/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/bundling/fully-bundled/go/main.go function main (line 12) | func main() { FILE: test/scenarios/bundling/fully-bundled/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/bundling/fully-bundled/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/callbacks/hooks/go/main.go function main (line 13) | func main() { FILE: test/scenarios/callbacks/hooks/python/main.py function auto_approve_permission (line 10) | async def auto_approve_permission(request, invocation): function on_session_start (line 14) | async def on_session_start(input_data, invocation): function on_session_end (line 18) | async def on_session_end(input_data, invocation): function on_pre_tool_use (line 22) | async def on_pre_tool_use(input_data, invocation): function on_post_tool_use (line 28) | async def on_post_tool_use(input_data, invocation): function on_user_prompt_submitted (line 33) | async def on_user_prompt_submitted(input_data, invocation): function on_error_occurred (line 38) | async def on_error_occurred(input_data, invocation): function main (line 43) | async def main(): FILE: test/scenarios/callbacks/hooks/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/callbacks/permissions/go/main.go function main (line 13) | func main() { FILE: test/scenarios/callbacks/permissions/python/main.py function log_permission (line 10) | async def log_permission(request, invocation): function auto_approve_tool (line 15) | async def auto_approve_tool(input_data, invocation): function main (line 19) | async def main(): FILE: test/scenarios/callbacks/permissions/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/callbacks/user-input/go/main.go function main (line 18) | func main() { FILE: test/scenarios/callbacks/user-input/python/main.py function auto_approve_permission (line 10) | async def auto_approve_permission(request, invocation): function auto_approve_tool (line 14) | async def auto_approve_tool(input_data, invocation): function handle_user_input (line 18) | async def handle_user_input(request, invocation): function main (line 23) | async def main(): FILE: test/scenarios/callbacks/user-input/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/modes/default/go/main.go function main (line 12) | func main() { FILE: test/scenarios/modes/default/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/modes/default/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/modes/minimal/go/main.go function main (line 12) | func main() { FILE: test/scenarios/modes/minimal/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/modes/minimal/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/prompts/attachments/go/main.go constant systemPrompt (line 13) | systemPrompt = `You are a helpful assistant. Answer questions about atta... function main (line 15) | func main() { FILE: test/scenarios/prompts/attachments/python/main.py function main (line 9) | async def main(): FILE: test/scenarios/prompts/attachments/typescript/src/index.ts function main (line 7) | async function main() { FILE: test/scenarios/prompts/reasoning-effort/go/main.go function main (line 12) | func main() { FILE: test/scenarios/prompts/reasoning-effort/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/prompts/reasoning-effort/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/prompts/system-message/go/main.go constant piratePrompt (line 12) | piratePrompt = `You are a pirate. Always respond in pirate speak. Say 'A... function main (line 14) | func main() { FILE: test/scenarios/prompts/system-message/python/main.py function main (line 9) | async def main(): FILE: test/scenarios/prompts/system-message/typescript/src/index.ts constant PIRATE_PROMPT (line 3) | const PIRATE_PROMPT = `You are a pirate. Always respond in pirate speak.... function main (line 5) | async function main() { FILE: test/scenarios/sessions/concurrent-sessions/go/main.go constant piratePrompt (line 13) | piratePrompt = `You are a pirate. Always say Arrr!` constant robotPrompt (line 14) | robotPrompt = `You are a robot. Always say BEEP BOOP!` function main (line 16) | func main() { FILE: test/scenarios/sessions/concurrent-sessions/python/main.py function main (line 10) | async def main(): FILE: test/scenarios/sessions/concurrent-sessions/typescript/src/index.ts constant PIRATE_PROMPT (line 3) | const PIRATE_PROMPT = `You are a pirate. Always say Arrr!`; constant ROBOT_PROMPT (line 4) | const ROBOT_PROMPT = `You are a robot. Always say BEEP BOOP!`; function main (line 6) | async function main() { FILE: test/scenarios/sessions/infinite-sessions/go/main.go function boolPtr (line 12) | func boolPtr(b bool) *bool { return &b } function float64Ptr (line 13) | func float64Ptr(f float64) *float64 { return &f } function main (line 15) | func main() { FILE: test/scenarios/sessions/infinite-sessions/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/sessions/infinite-sessions/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/sessions/multi-user-long-lived/go/main.go function main (line 5) | func main() { FILE: test/scenarios/sessions/multi-user-short-lived/go/main.go function main (line 5) | func main() { FILE: test/scenarios/sessions/session-resume/go/main.go function main (line 12) | func main() { FILE: test/scenarios/sessions/session-resume/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/sessions/session-resume/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/sessions/streaming/go/main.go function main (line 12) | func main() { FILE: test/scenarios/sessions/streaming/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/sessions/streaming/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/tools/custom-agents/go/main.go function main (line 12) | func main() { FILE: test/scenarios/tools/custom-agents/python/main.py function analyze_handler (line 8) | async def analyze_handler(args): function main (line 12) | async def main(): FILE: test/scenarios/tools/custom-agents/typescript/src/index.ts function main (line 12) | async function main() { FILE: test/scenarios/tools/mcp-servers/go/main.go function main (line 13) | func main() { FILE: test/scenarios/tools/mcp-servers/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/tools/mcp-servers/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/tools/no-tools/go/main.go constant systemPrompt (line 12) | systemPrompt = `You are a minimal assistant with no tools available. function main (line 17) | func main() { FILE: test/scenarios/tools/no-tools/python/main.py function main (line 12) | async def main(): FILE: test/scenarios/tools/no-tools/typescript/src/index.ts constant SYSTEM_PROMPT (line 3) | const SYSTEM_PROMPT = `You are a minimal assistant with no tools available. function main (line 8) | async function main() { FILE: test/scenarios/tools/skills/go/main.go function main (line 14) | func main() { FILE: test/scenarios/tools/skills/python/main.py function main (line 9) | async def main(): FILE: test/scenarios/tools/skills/typescript/src/index.ts function main (line 7) | async function main() { FILE: test/scenarios/tools/tool-filtering/go/main.go constant systemPrompt (line 12) | systemPrompt = `You are a helpful assistant. You have access to a limite... function main (line 14) | func main() { FILE: test/scenarios/tools/tool-filtering/python/main.py function main (line 9) | async def main(): FILE: test/scenarios/tools/tool-filtering/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/tools/tool-overrides/go/main.go type GrepParams (line 12) | type GrepParams struct function main (line 16) | func main() { FILE: test/scenarios/tools/tool-overrides/python/main.py class GrepParams (line 11) | class GrepParams(BaseModel): function custom_grep (line 16) | def custom_grep(params: GrepParams) -> str: function main (line 20) | async def main(): FILE: test/scenarios/tools/tool-overrides/typescript/src/index.ts function main (line 4) | async function main() { FILE: test/scenarios/tools/virtual-filesystem/go/main.go type CreateFileArgs (line 20) | type CreateFileArgs struct type ReadFileArgs (line 25) | type ReadFileArgs struct function main (line 29) | func main() { FILE: test/scenarios/tools/virtual-filesystem/python/main.py class CreateFileParams (line 11) | class CreateFileParams(BaseModel): class ReadFileParams (line 16) | class ReadFileParams(BaseModel): function create_file (line 21) | def create_file(params: CreateFileParams) -> str: function read_file (line 27) | def read_file(params: ReadFileParams) -> str: function list_files (line 35) | def list_files() -> str: function auto_approve_permission (line 41) | async def auto_approve_permission(request, invocation): function auto_approve_tool (line 45) | async def auto_approve_tool(input_data, invocation): function main (line 49) | async def main(): FILE: test/scenarios/tools/virtual-filesystem/typescript/src/index.ts function main (line 40) | async function main() { FILE: test/scenarios/transport/reconnect/go/main.go function main (line 12) | func main() { FILE: test/scenarios/transport/reconnect/python/main.py function main (line 8) | async def main(): FILE: test/scenarios/transport/reconnect/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/transport/stdio/go/main.go function main (line 12) | func main() { FILE: test/scenarios/transport/stdio/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/transport/stdio/typescript/src/index.ts function main (line 3) | async function main() { FILE: test/scenarios/transport/tcp/go/main.go function main (line 12) | func main() { FILE: test/scenarios/transport/tcp/python/main.py function main (line 7) | async def main(): FILE: test/scenarios/transport/tcp/typescript/src/index.ts function main (line 3) | async function main() {