|
| 1 | +namespace ManagedCode.CodexSharpSDK.Models; |
| 2 | + |
| 3 | +/// <summary> |
| 4 | +/// Known Codex CLI feature flag keys for use with <see cref="Client.ThreadOptions.EnabledFeatures"/> |
| 5 | +/// and <see cref="Client.ThreadOptions.DisabledFeatures"/>. |
| 6 | +/// Keys are sourced from <c>codex-rs/core/src/features.rs</c> in the upstream <c>openai/codex</c> repository. |
| 7 | +/// </summary> |
| 8 | +public static class CodexFeatureKeys |
| 9 | +{ |
| 10 | + public const string Undo = "undo"; |
| 11 | + public const string ShellTool = "shell_tool"; |
| 12 | + public const string UnifiedExec = "unified_exec"; |
| 13 | + public const string ShellZshFork = "shell_zsh_fork"; |
| 14 | + public const string ShellSnapshot = "shell_snapshot"; |
| 15 | + public const string JsRepl = "js_repl"; |
| 16 | + public const string JsReplToolsOnly = "js_repl_tools_only"; |
| 17 | + public const string WebSearchRequest = "web_search_request"; |
| 18 | + public const string WebSearchCached = "web_search_cached"; |
| 19 | + public const string SearchTool = "search_tool"; |
| 20 | + public const string CodexGitCommit = "codex_git_commit"; |
| 21 | + public const string RuntimeMetrics = "runtime_metrics"; |
| 22 | + public const string Sqlite = "sqlite"; |
| 23 | + public const string Memories = "memories"; |
| 24 | + public const string ChildAgentsMd = "child_agents_md"; |
| 25 | + public const string ImageDetailOriginal = "image_detail_original"; |
| 26 | + public const string ApplyPatchFreeform = "apply_patch_freeform"; |
| 27 | + public const string RequestPermissions = "request_permissions"; |
| 28 | + public const string UseLinuxSandboxBwrap = "use_linux_sandbox_bwrap"; |
| 29 | + public const string RequestRule = "request_rule"; |
| 30 | + public const string ExperimentalWindowsSandbox = "experimental_windows_sandbox"; |
| 31 | + public const string ElevatedWindowsSandbox = "elevated_windows_sandbox"; |
| 32 | + public const string RemoteModels = "remote_models"; |
| 33 | + public const string PowershellUtf8 = "powershell_utf8"; |
| 34 | + public const string EnableRequestCompression = "enable_request_compression"; |
| 35 | + public const string MultiAgent = "multi_agent"; |
| 36 | + public const string Apps = "apps"; |
| 37 | + public const string Plugins = "plugins"; |
| 38 | + public const string ImageGeneration = "image_generation"; |
| 39 | + public const string AppsMcpGateway = "apps_mcp_gateway"; |
| 40 | + public const string SkillMcpDependencyInstall = "skill_mcp_dependency_install"; |
| 41 | + public const string SkillEnvVarDependencyPrompt = "skill_env_var_dependency_prompt"; |
| 42 | + public const string Steer = "steer"; |
| 43 | + public const string DefaultModeRequestUserInput = "default_mode_request_user_input"; |
| 44 | + public const string CollaborationModes = "collaboration_modes"; |
| 45 | + public const string ToolCallMcpElicitation = "tool_call_mcp_elicitation"; |
| 46 | + public const string Personality = "personality"; |
| 47 | + public const string Artifact = "artifact"; |
| 48 | + public const string FastMode = "fast_mode"; |
| 49 | + public const string VoiceTranscription = "voice_transcription"; |
| 50 | + public const string RealtimeConversation = "realtime_conversation"; |
| 51 | + public const string PreventIdleSleep = "prevent_idle_sleep"; |
| 52 | + public const string ResponsesWebsockets = "responses_websockets"; |
| 53 | + public const string ResponsesWebsocketsV2 = "responses_websockets_v2"; |
| 54 | +} |
0 commit comments