opencode_client 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +102 -0
- data/README.md +423 -0
- data/Rakefile +10 -0
- data/docs/APIError.md +20 -0
- data/docs/APIErrorData.md +28 -0
- data/docs/Agent.md +46 -0
- data/docs/AgentConfig.md +38 -0
- data/docs/AgentConfigPermission.md +28 -0
- data/docs/AgentConfigPermissionBash.md +15 -0
- data/docs/AgentPart.md +28 -0
- data/docs/AgentPartInput.md +24 -0
- data/docs/AgentPartSource.md +22 -0
- data/docs/AgentPermission.md +28 -0
- data/docs/ApiAuth.md +20 -0
- data/docs/AppLogRequest.md +24 -0
- data/docs/AssistantMessage.md +46 -0
- data/docs/AssistantMessageError.md +20 -0
- data/docs/AssistantMessagePath.md +20 -0
- data/docs/AssistantMessageTime.md +20 -0
- data/docs/AssistantMessageTokens.md +24 -0
- data/docs/AssistantMessageTokensCache.md +20 -0
- data/docs/Auth.md +30 -0
- data/docs/BadRequestError.md +22 -0
- data/docs/Command.md +28 -0
- data/docs/CompactionPart.md +26 -0
- data/docs/Config.md +82 -0
- data/docs/ConfigAgent.md +30 -0
- data/docs/ConfigAutoupdate.md +15 -0
- data/docs/ConfigCommandValue.md +26 -0
- data/docs/ConfigCompaction.md +20 -0
- data/docs/ConfigEnterprise.md +18 -0
- data/docs/ConfigExperimental.md +30 -0
- data/docs/ConfigExperimentalHook.md +20 -0
- data/docs/ConfigExperimentalHookFileEditedValueInner.md +20 -0
- data/docs/ConfigFormatter.md +15 -0
- data/docs/ConfigFormatterAnyOfValue.md +24 -0
- data/docs/ConfigLsp.md +15 -0
- data/docs/ConfigLspAnyOfValue.md +26 -0
- data/docs/ConfigLspAnyOfValueAnyOf.md +18 -0
- data/docs/ConfigLspAnyOfValueAnyOf1.md +26 -0
- data/docs/ConfigMode.md +20 -0
- data/docs/ConfigProviders200Response.md +20 -0
- data/docs/ConfigTui.md +22 -0
- data/docs/ConfigTuiScrollAcceleration.md +18 -0
- data/docs/ConfigWatcher.md +18 -0
- data/docs/DefaultApi.md +5641 -0
- data/docs/Event.md +20 -0
- data/docs/EventCommandExecuted.md +20 -0
- data/docs/EventCommandExecutedProperties.md +24 -0
- data/docs/EventFileEdited.md +20 -0
- data/docs/EventFileEditedProperties.md +18 -0
- data/docs/EventFileWatcherUpdated.md +20 -0
- data/docs/EventFileWatcherUpdatedProperties.md +20 -0
- data/docs/EventGlobalDisposed.md +20 -0
- data/docs/EventInstallationUpdateAvailable.md +20 -0
- data/docs/EventInstallationUpdated.md +20 -0
- data/docs/EventInstallationUpdatedProperties.md +18 -0
- data/docs/EventLspClientDiagnostics.md +20 -0
- data/docs/EventLspClientDiagnosticsProperties.md +20 -0
- data/docs/EventLspUpdated.md +20 -0
- data/docs/EventMcpToolsChanged.md +20 -0
- data/docs/EventMcpToolsChangedProperties.md +18 -0
- data/docs/EventMessagePartRemoved.md +20 -0
- data/docs/EventMessagePartRemovedProperties.md +22 -0
- data/docs/EventMessagePartUpdated.md +20 -0
- data/docs/EventMessagePartUpdatedProperties.md +20 -0
- data/docs/EventMessageRemoved.md +20 -0
- data/docs/EventMessageRemovedProperties.md +20 -0
- data/docs/EventMessageUpdated.md +20 -0
- data/docs/EventMessageUpdatedProperties.md +18 -0
- data/docs/EventPermissionReplied.md +20 -0
- data/docs/EventPermissionRepliedProperties.md +22 -0
- data/docs/EventPermissionUpdated.md +20 -0
- data/docs/EventProjectUpdated.md +20 -0
- data/docs/EventPtyCreated.md +20 -0
- data/docs/EventPtyCreatedProperties.md +18 -0
- data/docs/EventPtyDeleted.md +20 -0
- data/docs/EventPtyDeletedProperties.md +18 -0
- data/docs/EventPtyExited.md +20 -0
- data/docs/EventPtyExitedProperties.md +20 -0
- data/docs/EventPtyUpdated.md +20 -0
- data/docs/EventServerConnected.md +20 -0
- data/docs/EventServerInstanceDisposed.md +20 -0
- data/docs/EventServerInstanceDisposedProperties.md +18 -0
- data/docs/EventSessionCompacted.md +20 -0
- data/docs/EventSessionCreated.md +20 -0
- data/docs/EventSessionCreatedProperties.md +18 -0
- data/docs/EventSessionDeleted.md +20 -0
- data/docs/EventSessionDiff.md +20 -0
- data/docs/EventSessionDiffProperties.md +20 -0
- data/docs/EventSessionError.md +20 -0
- data/docs/EventSessionErrorProperties.md +20 -0
- data/docs/EventSessionIdle.md +20 -0
- data/docs/EventSessionIdleProperties.md +18 -0
- data/docs/EventSessionStatus.md +20 -0
- data/docs/EventSessionStatusProperties.md +20 -0
- data/docs/EventSessionUpdated.md +20 -0
- data/docs/EventTodoUpdated.md +20 -0
- data/docs/EventTodoUpdatedProperties.md +20 -0
- data/docs/EventTuiCommandExecute.md +20 -0
- data/docs/EventTuiCommandExecuteProperties.md +18 -0
- data/docs/EventTuiCommandExecutePropertiesCommand.md +15 -0
- data/docs/EventTuiPromptAppend.md +20 -0
- data/docs/EventTuiToastShow.md +20 -0
- data/docs/EventVcsBranchUpdated.md +20 -0
- data/docs/EventVcsBranchUpdatedProperties.md +18 -0
- data/docs/File.md +24 -0
- data/docs/FileContent.md +28 -0
- data/docs/FileContentPatch.md +28 -0
- data/docs/FileContentPatchHunksInner.md +26 -0
- data/docs/FileDiff.md +26 -0
- data/docs/FileNode.md +26 -0
- data/docs/FilePart.md +32 -0
- data/docs/FilePartInput.md +28 -0
- data/docs/FilePartSource.md +28 -0
- data/docs/FilePartSourceText.md +22 -0
- data/docs/FileSource.md +22 -0
- data/docs/FindText200ResponseInner.md +26 -0
- data/docs/FindText200ResponseInnerPath.md +18 -0
- data/docs/FindText200ResponseInnerSubmatchesInner.md +22 -0
- data/docs/FormatterStatus.md +22 -0
- data/docs/GlobalEvent.md +20 -0
- data/docs/GlobalHealth200Response.md +20 -0
- data/docs/KeybindsConfig.md +188 -0
- data/docs/LSPStatus.md +24 -0
- data/docs/LayoutConfig.md +15 -0
- data/docs/LogLevel.md +15 -0
- data/docs/MCPStatus.md +20 -0
- data/docs/MCPStatusConnected.md +18 -0
- data/docs/MCPStatusDisabled.md +18 -0
- data/docs/MCPStatusFailed.md +20 -0
- data/docs/MCPStatusNeedsAuth.md +18 -0
- data/docs/MCPStatusNeedsClientRegistration.md +20 -0
- data/docs/McpAddRequest.md +20 -0
- data/docs/McpAddRequestConfig.md +32 -0
- data/docs/McpAuthCallbackRequest.md +18 -0
- data/docs/McpAuthRemove200Response.md +18 -0
- data/docs/McpAuthStart200Response.md +18 -0
- data/docs/McpLocalConfig.md +26 -0
- data/docs/McpOAuthConfig.md +22 -0
- data/docs/McpRemoteConfig.md +28 -0
- data/docs/McpRemoteConfigOauth.md +22 -0
- data/docs/Message.md +52 -0
- data/docs/MessageAbortedError.md +20 -0
- data/docs/MessageOutputLengthError.md +20 -0
- data/docs/Model.md +40 -0
- data/docs/ModelApi.md +22 -0
- data/docs/ModelCapabilities.md +30 -0
- data/docs/ModelCapabilitiesInput.md +26 -0
- data/docs/ModelCapabilitiesInterleaved.md +18 -0
- data/docs/ModelCapabilitiesInterleavedAnyOf.md +18 -0
- data/docs/ModelCost.md +24 -0
- data/docs/ModelCostExperimentalOver200K.md +22 -0
- data/docs/NotFoundError.md +20 -0
- data/docs/OAuth.md +26 -0
- data/docs/Part.md +76 -0
- data/docs/PartAnyOf.md +32 -0
- data/docs/PatchPart.md +28 -0
- data/docs/Path.md +26 -0
- data/docs/Permission.md +34 -0
- data/docs/PermissionPattern.md +15 -0
- data/docs/PermissionRespondRequest.md +18 -0
- data/docs/Project.md +28 -0
- data/docs/ProjectTime.md +22 -0
- data/docs/ProjectUpdateRequest.md +20 -0
- data/docs/ProjectUpdateRequestIcon.md +20 -0
- data/docs/Provider.md +30 -0
- data/docs/ProviderAuthAuthorization.md +22 -0
- data/docs/ProviderAuthError.md +20 -0
- data/docs/ProviderAuthErrorData.md +20 -0
- data/docs/ProviderAuthMethod.md +20 -0
- data/docs/ProviderConfig.md +34 -0
- data/docs/ProviderConfigModelsValue.md +50 -0
- data/docs/ProviderConfigModelsValueInterleaved.md +18 -0
- data/docs/ProviderConfigModelsValueInterleavedAnyOf.md +18 -0
- data/docs/ProviderConfigOptions.md +26 -0
- data/docs/ProviderConfigOptionsTimeout.md +15 -0
- data/docs/ProviderList200Response.md +22 -0
- data/docs/ProviderList200ResponseAllInner.md +28 -0
- data/docs/ProviderList200ResponseAllInnerModelsValue.md +50 -0
- data/docs/ProviderList200ResponseAllInnerModelsValueCost.md +26 -0
- data/docs/ProviderList200ResponseAllInnerModelsValueCostContextOver200k.md +24 -0
- data/docs/ProviderList200ResponseAllInnerModelsValueInterleaved.md +18 -0
- data/docs/ProviderList200ResponseAllInnerModelsValueInterleavedAnyOf.md +18 -0
- data/docs/ProviderList200ResponseAllInnerModelsValueLimit.md +20 -0
- data/docs/ProviderList200ResponseAllInnerModelsValueModalities.md +20 -0
- data/docs/ProviderList200ResponseAllInnerModelsValueProvider.md +18 -0
- data/docs/ProviderOauthAuthorizeRequest.md +18 -0
- data/docs/ProviderOauthCallbackRequest.md +20 -0
- data/docs/Pty.md +30 -0
- data/docs/PtyCreateRequest.md +26 -0
- data/docs/PtyUpdateRequest.md +20 -0
- data/docs/PtyUpdateRequestSize.md +20 -0
- data/docs/Range.md +20 -0
- data/docs/RangeStart.md +20 -0
- data/docs/ReasoningPart.md +30 -0
- data/docs/RetryPart.md +30 -0
- data/docs/ServerConfig.md +22 -0
- data/docs/Session.md +36 -0
- data/docs/SessionApi.md +145 -0
- data/docs/SessionCommandRequest.md +26 -0
- data/docs/SessionCreateRequest.md +20 -0
- data/docs/SessionForkRequest.md +18 -0
- data/docs/SessionInitRequest.md +22 -0
- data/docs/SessionMessages200ResponseInner.md +20 -0
- data/docs/SessionPrompt200Response.md +20 -0
- data/docs/SessionPromptRequest.md +30 -0
- data/docs/SessionPromptRequestModel.md +20 -0
- data/docs/SessionPromptRequestPartsInner.md +48 -0
- data/docs/SessionRevert.md +24 -0
- data/docs/SessionRevertRequest.md +20 -0
- data/docs/SessionShare.md +18 -0
- data/docs/SessionShellRequest.md +22 -0
- data/docs/SessionStatus.md +24 -0
- data/docs/SessionStatusAnyOf.md +18 -0
- data/docs/SessionStatusAnyOf1.md +24 -0
- data/docs/SessionStatusAnyOf2.md +18 -0
- data/docs/SessionSummarizeRequest.md +22 -0
- data/docs/SessionSummary.md +24 -0
- data/docs/SessionTime.md +24 -0
- data/docs/SessionUpdateRequest.md +20 -0
- data/docs/SessionUpdateRequestTime.md +18 -0
- data/docs/SnapshotPart.md +26 -0
- data/docs/StepFinishPart.md +32 -0
- data/docs/StepStartPart.md +26 -0
- data/docs/SubtaskPartInput.md +28 -0
- data/docs/Symbol.md +22 -0
- data/docs/SymbolLocation.md +20 -0
- data/docs/SymbolSource.md +28 -0
- data/docs/TextPart.md +34 -0
- data/docs/TextPartInput.md +30 -0
- data/docs/TextPartTime.md +20 -0
- data/docs/Todo.md +24 -0
- data/docs/ToolListItem.md +22 -0
- data/docs/ToolPart.md +32 -0
- data/docs/ToolState.md +34 -0
- data/docs/ToolStateCompleted.md +30 -0
- data/docs/ToolStateCompletedTime.md +22 -0
- data/docs/ToolStateError.md +26 -0
- data/docs/ToolStateErrorTime.md +20 -0
- data/docs/ToolStatePending.md +22 -0
- data/docs/ToolStateRunning.md +26 -0
- data/docs/ToolStateRunningTime.md +18 -0
- data/docs/TuiControlNext200Response.md +20 -0
- data/docs/TuiExecuteCommandRequest.md +18 -0
- data/docs/TuiPublishRequest.md +20 -0
- data/docs/TuiShowToastRequest.md +24 -0
- data/docs/UnknownError.md +20 -0
- data/docs/UnknownErrorData.md +18 -0
- data/docs/UserMessage.md +34 -0
- data/docs/UserMessageSummary.md +22 -0
- data/docs/UserMessageTime.md +18 -0
- data/docs/VcsInfo.md +18 -0
- data/docs/WellKnownAuth.md +22 -0
- data/git_push.sh +57 -0
- data/lib/opencode_client/api/default_api.rb +5442 -0
- data/lib/opencode_client/api/session_api.rb +164 -0
- data/lib/opencode_client/api_client.rb +374 -0
- data/lib/opencode_client/api_error.rb +58 -0
- data/lib/opencode_client/api_model_base.rb +88 -0
- data/lib/opencode_client/configuration.rb +288 -0
- data/lib/opencode_client/models/agent.rb +405 -0
- data/lib/opencode_client/models/agent_config.rb +316 -0
- data/lib/opencode_client/models/agent_config_permission.rb +262 -0
- data/lib/opencode_client/models/agent_config_permission_bash.rb +103 -0
- data/lib/opencode_client/models/agent_part.rb +301 -0
- data/lib/opencode_client/models/agent_part_input.rb +232 -0
- data/lib/opencode_client/models/agent_part_source.rb +252 -0
- data/lib/opencode_client/models/agent_permission.rb +287 -0
- data/lib/opencode_client/models/api_auth.rb +214 -0
- data/lib/opencode_client/models/api_error.rb +214 -0
- data/lib/opencode_client/models/api_error_data.rb +230 -0
- data/lib/opencode_client/models/app_log_request.rb +255 -0
- data/lib/opencode_client/models/assistant_message.rb +501 -0
- data/lib/opencode_client/models/assistant_message_error.rb +106 -0
- data/lib/opencode_client/models/assistant_message_path.rb +190 -0
- data/lib/opencode_client/models/assistant_message_time.rb +173 -0
- data/lib/opencode_client/models/assistant_message_tokens.rb +242 -0
- data/lib/opencode_client/models/assistant_message_tokens_cache.rb +190 -0
- data/lib/opencode_client/models/auth.rb +104 -0
- data/lib/opencode_client/models/bad_request_error.rb +228 -0
- data/lib/opencode_client/models/command.rb +226 -0
- data/lib/opencode_client/models/compaction_part.rb +292 -0
- data/lib/opencode_client/models/config.rb +500 -0
- data/lib/opencode_client/models/config_agent.rb +202 -0
- data/lib/opencode_client/models/config_autoupdate.rb +104 -0
- data/lib/opencode_client/models/config_command_value.rb +200 -0
- data/lib/opencode_client/models/config_compaction.rb +158 -0
- data/lib/opencode_client/models/config_enterprise.rb +148 -0
- data/lib/opencode_client/models/config_experimental.rb +208 -0
- data/lib/opencode_client/models/config_experimental_hook.rb +160 -0
- data/lib/opencode_client/models/config_experimental_hook_file_edited_value_inner.rb +177 -0
- data/lib/opencode_client/models/config_formatter.rb +103 -0
- data/lib/opencode_client/models/config_formatter_any_of_value.rb +180 -0
- data/lib/opencode_client/models/config_lsp.rb +103 -0
- data/lib/opencode_client/models/config_lsp_any_of_value.rb +103 -0
- data/lib/opencode_client/models/config_lsp_any_of_value_any_of.rb +188 -0
- data/lib/opencode_client/models/config_lsp_any_of_value_any_of1.rb +208 -0
- data/lib/opencode_client/models/config_mode.rb +157 -0
- data/lib/opencode_client/models/config_providers200_response.rb +194 -0
- data/lib/opencode_client/models/config_tui.rb +221 -0
- data/lib/opencode_client/models/config_tui_scroll_acceleration.rb +166 -0
- data/lib/opencode_client/models/config_watcher.rb +149 -0
- data/lib/opencode_client/models/event.rb +136 -0
- data/lib/opencode_client/models/event_command_executed.rb +214 -0
- data/lib/opencode_client/models/event_command_executed_properties.rb +264 -0
- data/lib/opencode_client/models/event_file_edited.rb +214 -0
- data/lib/opencode_client/models/event_file_edited_properties.rb +164 -0
- data/lib/opencode_client/models/event_file_watcher_updated.rb +214 -0
- data/lib/opencode_client/models/event_file_watcher_updated_properties.rb +214 -0
- data/lib/opencode_client/models/event_global_disposed.rb +214 -0
- data/lib/opencode_client/models/event_installation_update_available.rb +214 -0
- data/lib/opencode_client/models/event_installation_updated.rb +214 -0
- data/lib/opencode_client/models/event_installation_updated_properties.rb +164 -0
- data/lib/opencode_client/models/event_lsp_client_diagnostics.rb +214 -0
- data/lib/opencode_client/models/event_lsp_client_diagnostics_properties.rb +190 -0
- data/lib/opencode_client/models/event_lsp_updated.rb +214 -0
- data/lib/opencode_client/models/event_mcp_tools_changed.rb +214 -0
- data/lib/opencode_client/models/event_mcp_tools_changed_properties.rb +164 -0
- data/lib/opencode_client/models/event_message_part_removed.rb +214 -0
- data/lib/opencode_client/models/event_message_part_removed_properties.rb +216 -0
- data/lib/opencode_client/models/event_message_part_updated.rb +214 -0
- data/lib/opencode_client/models/event_message_part_updated_properties.rb +173 -0
- data/lib/opencode_client/models/event_message_removed.rb +214 -0
- data/lib/opencode_client/models/event_message_removed_properties.rb +190 -0
- data/lib/opencode_client/models/event_message_updated.rb +214 -0
- data/lib/opencode_client/models/event_message_updated_properties.rb +164 -0
- data/lib/opencode_client/models/event_permission_replied.rb +214 -0
- data/lib/opencode_client/models/event_permission_replied_properties.rb +216 -0
- data/lib/opencode_client/models/event_permission_updated.rb +214 -0
- data/lib/opencode_client/models/event_project_updated.rb +214 -0
- data/lib/opencode_client/models/event_pty_created.rb +214 -0
- data/lib/opencode_client/models/event_pty_created_properties.rb +164 -0
- data/lib/opencode_client/models/event_pty_deleted.rb +214 -0
- data/lib/opencode_client/models/event_pty_deleted_properties.rb +175 -0
- data/lib/opencode_client/models/event_pty_exited.rb +214 -0
- data/lib/opencode_client/models/event_pty_exited_properties.rb +201 -0
- data/lib/opencode_client/models/event_pty_updated.rb +214 -0
- data/lib/opencode_client/models/event_server_connected.rb +214 -0
- data/lib/opencode_client/models/event_server_instance_disposed.rb +214 -0
- data/lib/opencode_client/models/event_server_instance_disposed_properties.rb +164 -0
- data/lib/opencode_client/models/event_session_compacted.rb +214 -0
- data/lib/opencode_client/models/event_session_created.rb +214 -0
- data/lib/opencode_client/models/event_session_created_properties.rb +164 -0
- data/lib/opencode_client/models/event_session_deleted.rb +214 -0
- data/lib/opencode_client/models/event_session_diff.rb +214 -0
- data/lib/opencode_client/models/event_session_diff_properties.rb +192 -0
- data/lib/opencode_client/models/event_session_error.rb +214 -0
- data/lib/opencode_client/models/event_session_error_properties.rb +156 -0
- data/lib/opencode_client/models/event_session_idle.rb +214 -0
- data/lib/opencode_client/models/event_session_idle_properties.rb +164 -0
- data/lib/opencode_client/models/event_session_status.rb +214 -0
- data/lib/opencode_client/models/event_session_status_properties.rb +190 -0
- data/lib/opencode_client/models/event_session_updated.rb +214 -0
- data/lib/opencode_client/models/event_todo_updated.rb +214 -0
- data/lib/opencode_client/models/event_todo_updated_properties.rb +192 -0
- data/lib/opencode_client/models/event_tui_command_execute.rb +214 -0
- data/lib/opencode_client/models/event_tui_command_execute_properties.rb +164 -0
- data/lib/opencode_client/models/event_tui_command_execute_properties_command.rb +102 -0
- data/lib/opencode_client/models/event_tui_prompt_append.rb +214 -0
- data/lib/opencode_client/models/event_tui_toast_show.rb +214 -0
- data/lib/opencode_client/models/event_vcs_branch_updated.rb +214 -0
- data/lib/opencode_client/models/event_vcs_branch_updated_properties.rb +147 -0
- data/lib/opencode_client/models/file.rb +302 -0
- data/lib/opencode_client/models/file_content.rb +262 -0
- data/lib/opencode_client/models/file_content_patch.rb +245 -0
- data/lib/opencode_client/models/file_content_patch_hunks_inner.rb +270 -0
- data/lib/opencode_client/models/file_diff.rb +268 -0
- data/lib/opencode_client/models/file_node.rb +292 -0
- data/lib/opencode_client/models/file_part.rb +336 -0
- data/lib/opencode_client/models/file_part_input.rb +267 -0
- data/lib/opencode_client/models/file_part_source.rb +103 -0
- data/lib/opencode_client/models/file_part_source_text.rb +252 -0
- data/lib/opencode_client/models/file_source.rb +240 -0
- data/lib/opencode_client/models/find_text200_response_inner.rb +270 -0
- data/lib/opencode_client/models/find_text200_response_inner_path.rb +164 -0
- data/lib/opencode_client/models/find_text200_response_inner_submatches_inner.rb +216 -0
- data/lib/opencode_client/models/formatter_status.rb +218 -0
- data/lib/opencode_client/models/global_event.rb +190 -0
- data/lib/opencode_client/models/global_health200_response.rb +214 -0
- data/lib/opencode_client/models/keybinds_config.rb +1171 -0
- data/lib/opencode_client/models/layout_config.rb +40 -0
- data/lib/opencode_client/models/log_level.rb +42 -0
- data/lib/opencode_client/models/lsp_status.rb +266 -0
- data/lib/opencode_client/models/mcp_add_request.rb +190 -0
- data/lib/opencode_client/models/mcp_add_request_config.rb +103 -0
- data/lib/opencode_client/models/mcp_auth_callback_request.rb +165 -0
- data/lib/opencode_client/models/mcp_auth_remove200_response.rb +188 -0
- data/lib/opencode_client/models/mcp_auth_start200_response.rb +165 -0
- data/lib/opencode_client/models/mcp_local_config.rb +269 -0
- data/lib/opencode_client/models/mcp_o_auth_config.rb +168 -0
- data/lib/opencode_client/models/mcp_remote_config.rb +276 -0
- data/lib/opencode_client/models/mcp_remote_config_oauth.rb +104 -0
- data/lib/opencode_client/models/mcp_status.rb +106 -0
- data/lib/opencode_client/models/mcp_status_connected.rb +188 -0
- data/lib/opencode_client/models/mcp_status_disabled.rb +188 -0
- data/lib/opencode_client/models/mcp_status_failed.rb +214 -0
- data/lib/opencode_client/models/mcp_status_needs_auth.rb +188 -0
- data/lib/opencode_client/models/mcp_status_needs_client_registration.rb +214 -0
- data/lib/opencode_client/models/message.rb +103 -0
- data/lib/opencode_client/models/message_aborted_error.rb +214 -0
- data/lib/opencode_client/models/message_output_length_error.rb +214 -0
- data/lib/opencode_client/models/model.rb +461 -0
- data/lib/opencode_client/models/model_api.rb +216 -0
- data/lib/opencode_client/models/model_capabilities.rb +320 -0
- data/lib/opencode_client/models/model_capabilities_input.rb +268 -0
- data/lib/opencode_client/models/model_capabilities_interleaved.rb +103 -0
- data/lib/opencode_client/models/model_capabilities_interleaved_any_of.rb +188 -0
- data/lib/opencode_client/models/model_cost.rb +225 -0
- data/lib/opencode_client/models/model_cost_experimental_over200_k.rb +216 -0
- data/lib/opencode_client/models/not_found_error.rb +214 -0
- data/lib/opencode_client/models/o_auth.rb +275 -0
- data/lib/opencode_client/models/part.rb +113 -0
- data/lib/opencode_client/models/part_any_of.rb +353 -0
- data/lib/opencode_client/models/patch_part.rb +320 -0
- data/lib/opencode_client/models/path.rb +268 -0
- data/lib/opencode_client/models/permission.rb +340 -0
- data/lib/opencode_client/models/permission_pattern.rb +103 -0
- data/lib/opencode_client/models/permission_respond_request.rb +188 -0
- data/lib/opencode_client/models/project.rb +277 -0
- data/lib/opencode_client/models/project_time.rb +199 -0
- data/lib/opencode_client/models/project_update_request.rb +156 -0
- data/lib/opencode_client/models/project_update_request_icon.rb +156 -0
- data/lib/opencode_client/models/provider.rb +333 -0
- data/lib/opencode_client/models/provider_auth_authorization.rb +240 -0
- data/lib/opencode_client/models/provider_auth_error.rb +214 -0
- data/lib/opencode_client/models/provider_auth_error_data.rb +190 -0
- data/lib/opencode_client/models/provider_auth_method.rb +214 -0
- data/lib/opencode_client/models/provider_config.rb +227 -0
- data/lib/opencode_client/models/provider_config_models_value.rb +329 -0
- data/lib/opencode_client/models/provider_config_models_value_interleaved.rb +103 -0
- data/lib/opencode_client/models/provider_config_models_value_interleaved_any_of.rb +188 -0
- data/lib/opencode_client/models/provider_config_options.rb +185 -0
- data/lib/opencode_client/models/provider_config_options_timeout.rb +104 -0
- data/lib/opencode_client/models/provider_list200_response.rb +222 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner.rb +264 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner_models_value.rb +482 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner_models_value_cost.rb +217 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner_models_value_cost_context_over200k.rb +208 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner_models_value_interleaved.rb +103 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner_models_value_interleaved_any_of.rb +188 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner_models_value_limit.rb +190 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner_models_value_modalities.rb +196 -0
- data/lib/opencode_client/models/provider_list200_response_all_inner_models_value_provider.rb +164 -0
- data/lib/opencode_client/models/provider_oauth_authorize_request.rb +165 -0
- data/lib/opencode_client/models/provider_oauth_callback_request.rb +175 -0
- data/lib/opencode_client/models/pty.rb +357 -0
- data/lib/opencode_client/models/pty_create_request.rb +187 -0
- data/lib/opencode_client/models/pty_update_request.rb +156 -0
- data/lib/opencode_client/models/pty_update_request_size.rb +190 -0
- data/lib/opencode_client/models/range.rb +190 -0
- data/lib/opencode_client/models/range_start.rb +190 -0
- data/lib/opencode_client/models/reasoning_part.rb +329 -0
- data/lib/opencode_client/models/retry_part.rb +344 -0
- data/lib/opencode_client/models/server_config.rb +188 -0
- data/lib/opencode_client/models/session.rb +362 -0
- data/lib/opencode_client/models/session_command_request.rb +238 -0
- data/lib/opencode_client/models/session_create_request.rb +177 -0
- data/lib/opencode_client/models/session_fork_request.rb +168 -0
- data/lib/opencode_client/models/session_init_request.rb +227 -0
- data/lib/opencode_client/models/session_messages200_response_inner.rb +192 -0
- data/lib/opencode_client/models/session_prompt200_response.rb +192 -0
- data/lib/opencode_client/models/session_prompt_request.rb +243 -0
- data/lib/opencode_client/models/session_prompt_request_model.rb +190 -0
- data/lib/opencode_client/models/session_prompt_request_parts_inner.rb +105 -0
- data/lib/opencode_client/models/session_revert.rb +191 -0
- data/lib/opencode_client/models/session_revert_request.rb +205 -0
- data/lib/opencode_client/models/session_share.rb +164 -0
- data/lib/opencode_client/models/session_shell_request.rb +199 -0
- data/lib/opencode_client/models/session_status.rb +104 -0
- data/lib/opencode_client/models/session_status_any_of.rb +188 -0
- data/lib/opencode_client/models/session_status_any_of1.rb +266 -0
- data/lib/opencode_client/models/session_status_any_of2.rb +188 -0
- data/lib/opencode_client/models/session_summarize_request.rb +201 -0
- data/lib/opencode_client/models/session_summary.rb +227 -0
- data/lib/opencode_client/models/session_time.rb +208 -0
- data/lib/opencode_client/models/session_update_request.rb +156 -0
- data/lib/opencode_client/models/session_update_request_time.rb +147 -0
- data/lib/opencode_client/models/snapshot_part.rb +292 -0
- data/lib/opencode_client/models/step_finish_part.rb +353 -0
- data/lib/opencode_client/models/step_start_part.rb +275 -0
- data/lib/opencode_client/models/subtask_part_input.rb +284 -0
- data/lib/opencode_client/models/symbol.rb +216 -0
- data/lib/opencode_client/models/symbol_location.rb +190 -0
- data/lib/opencode_client/models/symbol_source.rb +336 -0
- data/lib/opencode_client/models/text_part.rb +330 -0
- data/lib/opencode_client/models/text_part_input.rb +261 -0
- data/lib/opencode_client/models/text_part_time.rb +173 -0
- data/lib/opencode_client/models/todo.rb +246 -0
- data/lib/opencode_client/models/tool_list_item.rb +202 -0
- data/lib/opencode_client/models/tool_part.rb +355 -0
- data/lib/opencode_client/models/tool_state.rb +105 -0
- data/lib/opencode_client/models/tool_state_completed.rb +333 -0
- data/lib/opencode_client/models/tool_state_completed_time.rb +199 -0
- data/lib/opencode_client/models/tool_state_error.rb +279 -0
- data/lib/opencode_client/models/tool_state_error_time.rb +190 -0
- data/lib/opencode_client/models/tool_state_pending.rb +242 -0
- data/lib/opencode_client/models/tool_state_running.rb +262 -0
- data/lib/opencode_client/models/tool_state_running_time.rb +164 -0
- data/lib/opencode_client/models/tui_control_next200_response.rb +176 -0
- data/lib/opencode_client/models/tui_execute_command_request.rb +164 -0
- data/lib/opencode_client/models/tui_publish_request.rb +104 -0
- data/lib/opencode_client/models/tui_show_toast_request.rb +235 -0
- data/lib/opencode_client/models/unknown_error.rb +214 -0
- data/lib/opencode_client/models/unknown_error_data.rb +164 -0
- data/lib/opencode_client/models/user_message.rb +347 -0
- data/lib/opencode_client/models/user_message_summary.rb +184 -0
- data/lib/opencode_client/models/user_message_time.rb +164 -0
- data/lib/opencode_client/models/vcs_info.rb +164 -0
- data/lib/opencode_client/models/well_known_auth.rb +240 -0
- data/lib/opencode_client/version.rb +15 -0
- data/lib/opencode_client.rb +291 -0
- data/opencode_client.gemspec +39 -0
- data/pkg/opencode_client-1.0.0.gem +0 -0
- data/spec/api/default_api_spec.rb +1090 -0
- data/spec/api/session_api_spec.rb +61 -0
- data/spec/models/agent_config_permission_bash_spec.rb +21 -0
- data/spec/models/agent_config_permission_spec.rb +82 -0
- data/spec/models/agent_config_spec.rb +100 -0
- data/spec/models/agent_part_input_spec.rb +58 -0
- data/spec/models/agent_part_source_spec.rb +48 -0
- data/spec/models/agent_part_spec.rb +70 -0
- data/spec/models/agent_permission_spec.rb +90 -0
- data/spec/models/agent_spec.rb +124 -0
- data/spec/models/api_auth_spec.rb +46 -0
- data/spec/models/api_error_data_spec.rb +66 -0
- data/spec/models/api_error_spec.rb +46 -0
- data/spec/models/app_log_request_spec.rb +58 -0
- data/spec/models/assistant_message_error_spec.rb +21 -0
- data/spec/models/assistant_message_path_spec.rb +42 -0
- data/spec/models/assistant_message_spec.rb +124 -0
- data/spec/models/assistant_message_time_spec.rb +42 -0
- data/spec/models/assistant_message_tokens_cache_spec.rb +42 -0
- data/spec/models/assistant_message_tokens_spec.rb +54 -0
- data/spec/models/auth_spec.rb +21 -0
- data/spec/models/bad_request_error_spec.rb +52 -0
- data/spec/models/command_spec.rb +66 -0
- data/spec/models/compaction_part_spec.rb +64 -0
- data/spec/models/config_agent_spec.rb +72 -0
- data/spec/models/config_autoupdate_spec.rb +21 -0
- data/spec/models/config_command_value_spec.rb +60 -0
- data/spec/models/config_compaction_spec.rb +42 -0
- data/spec/models/config_enterprise_spec.rb +36 -0
- data/spec/models/config_experimental_hook_file_edited_value_inner_spec.rb +42 -0
- data/spec/models/config_experimental_hook_spec.rb +42 -0
- data/spec/models/config_experimental_spec.rb +72 -0
- data/spec/models/config_formatter_any_of_value_spec.rb +54 -0
- data/spec/models/config_formatter_spec.rb +21 -0
- data/spec/models/config_lsp_any_of_value_any_of1_spec.rb +60 -0
- data/spec/models/config_lsp_any_of_value_any_of_spec.rb +40 -0
- data/spec/models/config_lsp_any_of_value_spec.rb +21 -0
- data/spec/models/config_lsp_spec.rb +21 -0
- data/spec/models/config_mode_spec.rb +42 -0
- data/spec/models/config_providers200_response_spec.rb +42 -0
- data/spec/models/config_spec.rb +232 -0
- data/spec/models/config_tui_scroll_acceleration_spec.rb +36 -0
- data/spec/models/config_tui_spec.rb +52 -0
- data/spec/models/config_watcher_spec.rb +36 -0
- data/spec/models/event_command_executed_properties_spec.rb +54 -0
- data/spec/models/event_command_executed_spec.rb +46 -0
- data/spec/models/event_file_edited_properties_spec.rb +36 -0
- data/spec/models/event_file_edited_spec.rb +46 -0
- data/spec/models/event_file_watcher_updated_properties_spec.rb +46 -0
- data/spec/models/event_file_watcher_updated_spec.rb +46 -0
- data/spec/models/event_global_disposed_spec.rb +46 -0
- data/spec/models/event_installation_update_available_spec.rb +46 -0
- data/spec/models/event_installation_updated_properties_spec.rb +36 -0
- data/spec/models/event_installation_updated_spec.rb +46 -0
- data/spec/models/event_lsp_client_diagnostics_properties_spec.rb +42 -0
- data/spec/models/event_lsp_client_diagnostics_spec.rb +46 -0
- data/spec/models/event_lsp_updated_spec.rb +46 -0
- data/spec/models/event_mcp_tools_changed_properties_spec.rb +36 -0
- data/spec/models/event_mcp_tools_changed_spec.rb +46 -0
- data/spec/models/event_message_part_removed_properties_spec.rb +48 -0
- data/spec/models/event_message_part_removed_spec.rb +46 -0
- data/spec/models/event_message_part_updated_properties_spec.rb +42 -0
- data/spec/models/event_message_part_updated_spec.rb +46 -0
- data/spec/models/event_message_removed_properties_spec.rb +42 -0
- data/spec/models/event_message_removed_spec.rb +46 -0
- data/spec/models/event_message_updated_properties_spec.rb +36 -0
- data/spec/models/event_message_updated_spec.rb +46 -0
- data/spec/models/event_permission_replied_properties_spec.rb +48 -0
- data/spec/models/event_permission_replied_spec.rb +46 -0
- data/spec/models/event_permission_updated_spec.rb +46 -0
- data/spec/models/event_project_updated_spec.rb +46 -0
- data/spec/models/event_pty_created_properties_spec.rb +36 -0
- data/spec/models/event_pty_created_spec.rb +46 -0
- data/spec/models/event_pty_deleted_properties_spec.rb +36 -0
- data/spec/models/event_pty_deleted_spec.rb +46 -0
- data/spec/models/event_pty_exited_properties_spec.rb +42 -0
- data/spec/models/event_pty_exited_spec.rb +46 -0
- data/spec/models/event_pty_updated_spec.rb +46 -0
- data/spec/models/event_server_connected_spec.rb +46 -0
- data/spec/models/event_server_instance_disposed_properties_spec.rb +36 -0
- data/spec/models/event_server_instance_disposed_spec.rb +46 -0
- data/spec/models/event_session_compacted_spec.rb +46 -0
- data/spec/models/event_session_created_properties_spec.rb +36 -0
- data/spec/models/event_session_created_spec.rb +46 -0
- data/spec/models/event_session_deleted_spec.rb +46 -0
- data/spec/models/event_session_diff_properties_spec.rb +42 -0
- data/spec/models/event_session_diff_spec.rb +46 -0
- data/spec/models/event_session_error_properties_spec.rb +42 -0
- data/spec/models/event_session_error_spec.rb +46 -0
- data/spec/models/event_session_idle_properties_spec.rb +36 -0
- data/spec/models/event_session_idle_spec.rb +46 -0
- data/spec/models/event_session_status_properties_spec.rb +42 -0
- data/spec/models/event_session_status_spec.rb +46 -0
- data/spec/models/event_session_updated_spec.rb +46 -0
- data/spec/models/event_spec.rb +21 -0
- data/spec/models/event_todo_updated_properties_spec.rb +42 -0
- data/spec/models/event_todo_updated_spec.rb +46 -0
- data/spec/models/event_tui_command_execute_properties_command_spec.rb +21 -0
- data/spec/models/event_tui_command_execute_properties_spec.rb +36 -0
- data/spec/models/event_tui_command_execute_spec.rb +46 -0
- data/spec/models/event_tui_prompt_append_spec.rb +46 -0
- data/spec/models/event_tui_toast_show_spec.rb +46 -0
- data/spec/models/event_vcs_branch_updated_properties_spec.rb +36 -0
- data/spec/models/event_vcs_branch_updated_spec.rb +46 -0
- data/spec/models/file_content_patch_hunks_inner_spec.rb +60 -0
- data/spec/models/file_content_patch_spec.rb +66 -0
- data/spec/models/file_content_spec.rb +74 -0
- data/spec/models/file_diff_spec.rb +60 -0
- data/spec/models/file_node_spec.rb +64 -0
- data/spec/models/file_part_input_spec.rb +70 -0
- data/spec/models/file_part_source_spec.rb +21 -0
- data/spec/models/file_part_source_text_spec.rb +48 -0
- data/spec/models/file_part_spec.rb +82 -0
- data/spec/models/file_source_spec.rb +52 -0
- data/spec/models/file_spec.rb +58 -0
- data/spec/models/find_text200_response_inner_path_spec.rb +36 -0
- data/spec/models/find_text200_response_inner_spec.rb +60 -0
- data/spec/models/find_text200_response_inner_submatches_inner_spec.rb +48 -0
- data/spec/models/formatter_status_spec.rb +48 -0
- data/spec/models/global_event_spec.rb +42 -0
- data/spec/models/global_health200_response_spec.rb +46 -0
- data/spec/models/keybinds_config_spec.rb +546 -0
- data/spec/models/layout_config_spec.rb +30 -0
- data/spec/models/log_level_spec.rb +30 -0
- data/spec/models/lsp_status_spec.rb +58 -0
- data/spec/models/mcp_add_request_config_spec.rb +21 -0
- data/spec/models/mcp_add_request_spec.rb +42 -0
- data/spec/models/mcp_auth_callback_request_spec.rb +36 -0
- data/spec/models/mcp_auth_remove200_response_spec.rb +40 -0
- data/spec/models/mcp_auth_start200_response_spec.rb +36 -0
- data/spec/models/mcp_local_config_spec.rb +64 -0
- data/spec/models/mcp_o_auth_config_spec.rb +48 -0
- data/spec/models/mcp_remote_config_oauth_spec.rb +21 -0
- data/spec/models/mcp_remote_config_spec.rb +70 -0
- data/spec/models/mcp_status_connected_spec.rb +40 -0
- data/spec/models/mcp_status_disabled_spec.rb +40 -0
- data/spec/models/mcp_status_failed_spec.rb +46 -0
- data/spec/models/mcp_status_needs_auth_spec.rb +40 -0
- data/spec/models/mcp_status_needs_client_registration_spec.rb +46 -0
- data/spec/models/mcp_status_spec.rb +21 -0
- data/spec/models/message_aborted_error_spec.rb +46 -0
- data/spec/models/message_output_length_error_spec.rb +46 -0
- data/spec/models/message_spec.rb +21 -0
- data/spec/models/model_api_spec.rb +48 -0
- data/spec/models/model_capabilities_input_spec.rb +60 -0
- data/spec/models/model_capabilities_interleaved_any_of_spec.rb +40 -0
- data/spec/models/model_capabilities_interleaved_spec.rb +21 -0
- data/spec/models/model_capabilities_spec.rb +72 -0
- data/spec/models/model_cost_experimental_over200_k_spec.rb +48 -0
- data/spec/models/model_cost_spec.rb +54 -0
- data/spec/models/model_spec.rb +106 -0
- data/spec/models/not_found_error_spec.rb +46 -0
- data/spec/models/o_auth_spec.rb +64 -0
- data/spec/models/part_any_of_spec.rb +82 -0
- data/spec/models/part_spec.rb +21 -0
- data/spec/models/patch_part_spec.rb +70 -0
- data/spec/models/path_spec.rb +60 -0
- data/spec/models/permission_pattern_spec.rb +21 -0
- data/spec/models/permission_respond_request_spec.rb +40 -0
- data/spec/models/permission_spec.rb +84 -0
- data/spec/models/project_spec.rb +70 -0
- data/spec/models/project_time_spec.rb +48 -0
- data/spec/models/project_update_request_icon_spec.rb +42 -0
- data/spec/models/project_update_request_spec.rb +42 -0
- data/spec/models/provider_auth_authorization_spec.rb +52 -0
- data/spec/models/provider_auth_error_data_spec.rb +42 -0
- data/spec/models/provider_auth_error_spec.rb +46 -0
- data/spec/models/provider_auth_method_spec.rb +46 -0
- data/spec/models/provider_config_models_value_interleaved_any_of_spec.rb +40 -0
- data/spec/models/provider_config_models_value_interleaved_spec.rb +21 -0
- data/spec/models/provider_config_models_value_spec.rb +136 -0
- data/spec/models/provider_config_options_spec.rb +60 -0
- data/spec/models/provider_config_options_timeout_spec.rb +21 -0
- data/spec/models/provider_config_spec.rb +84 -0
- data/spec/models/provider_list200_response_all_inner_models_value_cost_context_over200k_spec.rb +54 -0
- data/spec/models/provider_list200_response_all_inner_models_value_cost_spec.rb +60 -0
- data/spec/models/provider_list200_response_all_inner_models_value_interleaved_any_of_spec.rb +40 -0
- data/spec/models/provider_list200_response_all_inner_models_value_interleaved_spec.rb +21 -0
- data/spec/models/provider_list200_response_all_inner_models_value_limit_spec.rb +42 -0
- data/spec/models/provider_list200_response_all_inner_models_value_modalities_spec.rb +50 -0
- data/spec/models/provider_list200_response_all_inner_models_value_provider_spec.rb +36 -0
- data/spec/models/provider_list200_response_all_inner_models_value_spec.rb +136 -0
- data/spec/models/provider_list200_response_all_inner_spec.rb +66 -0
- data/spec/models/provider_list200_response_spec.rb +48 -0
- data/spec/models/provider_oauth_authorize_request_spec.rb +36 -0
- data/spec/models/provider_oauth_callback_request_spec.rb +42 -0
- data/spec/models/provider_spec.rb +76 -0
- data/spec/models/pty_create_request_spec.rb +60 -0
- data/spec/models/pty_spec.rb +76 -0
- data/spec/models/pty_update_request_size_spec.rb +42 -0
- data/spec/models/pty_update_request_spec.rb +42 -0
- data/spec/models/range_spec.rb +42 -0
- data/spec/models/range_start_spec.rb +42 -0
- data/spec/models/reasoning_part_spec.rb +76 -0
- data/spec/models/retry_part_spec.rb +76 -0
- data/spec/models/server_config_spec.rb +48 -0
- data/spec/models/session_command_request_spec.rb +60 -0
- data/spec/models/session_create_request_spec.rb +42 -0
- data/spec/models/session_fork_request_spec.rb +36 -0
- data/spec/models/session_init_request_spec.rb +48 -0
- data/spec/models/session_messages200_response_inner_spec.rb +42 -0
- data/spec/models/session_prompt200_response_spec.rb +42 -0
- data/spec/models/session_prompt_request_model_spec.rb +42 -0
- data/spec/models/session_prompt_request_parts_inner_spec.rb +21 -0
- data/spec/models/session_prompt_request_spec.rb +72 -0
- data/spec/models/session_revert_request_spec.rb +42 -0
- data/spec/models/session_revert_spec.rb +54 -0
- data/spec/models/session_share_spec.rb +36 -0
- data/spec/models/session_shell_request_spec.rb +48 -0
- data/spec/models/session_spec.rb +90 -0
- data/spec/models/session_status_any_of1_spec.rb +58 -0
- data/spec/models/session_status_any_of2_spec.rb +40 -0
- data/spec/models/session_status_any_of_spec.rb +40 -0
- data/spec/models/session_status_spec.rb +21 -0
- data/spec/models/session_summarize_request_spec.rb +48 -0
- data/spec/models/session_summary_spec.rb +54 -0
- data/spec/models/session_time_spec.rb +54 -0
- data/spec/models/session_update_request_spec.rb +42 -0
- data/spec/models/session_update_request_time_spec.rb +36 -0
- data/spec/models/snapshot_part_spec.rb +64 -0
- data/spec/models/step_finish_part_spec.rb +82 -0
- data/spec/models/step_start_part_spec.rb +64 -0
- data/spec/models/subtask_part_input_spec.rb +70 -0
- data/spec/models/symbol_location_spec.rb +42 -0
- data/spec/models/symbol_source_spec.rb +70 -0
- data/spec/models/symbol_spec.rb +48 -0
- data/spec/models/text_part_input_spec.rb +76 -0
- data/spec/models/text_part_spec.rb +88 -0
- data/spec/models/text_part_time_spec.rb +42 -0
- data/spec/models/todo_spec.rb +54 -0
- data/spec/models/tool_list_item_spec.rb +48 -0
- data/spec/models/tool_part_spec.rb +82 -0
- data/spec/models/tool_state_completed_spec.rb +76 -0
- data/spec/models/tool_state_completed_time_spec.rb +48 -0
- data/spec/models/tool_state_error_spec.rb +64 -0
- data/spec/models/tool_state_error_time_spec.rb +42 -0
- data/spec/models/tool_state_pending_spec.rb +52 -0
- data/spec/models/tool_state_running_spec.rb +64 -0
- data/spec/models/tool_state_running_time_spec.rb +36 -0
- data/spec/models/tool_state_spec.rb +21 -0
- data/spec/models/tui_control_next200_response_spec.rb +42 -0
- data/spec/models/tui_execute_command_request_spec.rb +36 -0
- data/spec/models/tui_publish_request_spec.rb +21 -0
- data/spec/models/tui_show_toast_request_spec.rb +58 -0
- data/spec/models/unknown_error_data_spec.rb +36 -0
- data/spec/models/unknown_error_spec.rb +46 -0
- data/spec/models/user_message_spec.rb +88 -0
- data/spec/models/user_message_summary_spec.rb +48 -0
- data/spec/models/user_message_time_spec.rb +36 -0
- data/spec/models/vcs_info_spec.rb +36 -0
- data/spec/models/well_known_auth_spec.rb +52 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1099 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# OpencodeClient::FileContentPatchHunksInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **old_start** | **Float** | | |
|
|
8
|
+
| **old_lines** | **Float** | | |
|
|
9
|
+
| **new_start** | **Float** | | |
|
|
10
|
+
| **new_lines** | **Float** | | |
|
|
11
|
+
| **lines** | **Array<String>** | | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'opencode_client'
|
|
17
|
+
|
|
18
|
+
instance = OpencodeClient::FileContentPatchHunksInner.new(
|
|
19
|
+
old_start: null,
|
|
20
|
+
old_lines: null,
|
|
21
|
+
new_start: null,
|
|
22
|
+
new_lines: null,
|
|
23
|
+
lines: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
data/docs/FileDiff.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# OpencodeClient::FileDiff
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **file** | **String** | | |
|
|
8
|
+
| **before** | **String** | | |
|
|
9
|
+
| **after** | **String** | | |
|
|
10
|
+
| **additions** | **Float** | | |
|
|
11
|
+
| **deletions** | **Float** | | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'opencode_client'
|
|
17
|
+
|
|
18
|
+
instance = OpencodeClient::FileDiff.new(
|
|
19
|
+
file: null,
|
|
20
|
+
before: null,
|
|
21
|
+
after: null,
|
|
22
|
+
additions: null,
|
|
23
|
+
deletions: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
data/docs/FileNode.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# OpencodeClient::FileNode
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | |
|
|
8
|
+
| **path** | **String** | | |
|
|
9
|
+
| **absolute** | **String** | | |
|
|
10
|
+
| **type** | **String** | | |
|
|
11
|
+
| **ignored** | **Boolean** | | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'opencode_client'
|
|
17
|
+
|
|
18
|
+
instance = OpencodeClient::FileNode.new(
|
|
19
|
+
name: null,
|
|
20
|
+
path: null,
|
|
21
|
+
absolute: null,
|
|
22
|
+
type: null,
|
|
23
|
+
ignored: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
data/docs/FilePart.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# OpencodeClient::FilePart
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **session_id** | **String** | | |
|
|
9
|
+
| **message_id** | **String** | | |
|
|
10
|
+
| **type** | **String** | | |
|
|
11
|
+
| **mime** | **String** | | |
|
|
12
|
+
| **filename** | **String** | | [optional] |
|
|
13
|
+
| **url** | **String** | | |
|
|
14
|
+
| **source** | [**FilePartSource**](FilePartSource.md) | | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'opencode_client'
|
|
20
|
+
|
|
21
|
+
instance = OpencodeClient::FilePart.new(
|
|
22
|
+
id: null,
|
|
23
|
+
session_id: null,
|
|
24
|
+
message_id: null,
|
|
25
|
+
type: null,
|
|
26
|
+
mime: null,
|
|
27
|
+
filename: null,
|
|
28
|
+
url: null,
|
|
29
|
+
source: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# OpencodeClient::FilePartInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | [optional] |
|
|
8
|
+
| **type** | **String** | | |
|
|
9
|
+
| **mime** | **String** | | |
|
|
10
|
+
| **filename** | **String** | | [optional] |
|
|
11
|
+
| **url** | **String** | | |
|
|
12
|
+
| **source** | [**FilePartSource**](FilePartSource.md) | | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'opencode_client'
|
|
18
|
+
|
|
19
|
+
instance = OpencodeClient::FilePartInput.new(
|
|
20
|
+
id: null,
|
|
21
|
+
type: null,
|
|
22
|
+
mime: null,
|
|
23
|
+
filename: null,
|
|
24
|
+
url: null,
|
|
25
|
+
source: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# OpencodeClient::FilePartSource
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **text** | [**FilePartSourceText**](FilePartSourceText.md) | | |
|
|
8
|
+
| **type** | **String** | | |
|
|
9
|
+
| **path** | **String** | | |
|
|
10
|
+
| **range** | [**Range**](Range.md) | | |
|
|
11
|
+
| **name** | **String** | | |
|
|
12
|
+
| **kind** | **Integer** | | |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'opencode_client'
|
|
18
|
+
|
|
19
|
+
instance = OpencodeClient::FilePartSource.new(
|
|
20
|
+
text: null,
|
|
21
|
+
type: null,
|
|
22
|
+
path: null,
|
|
23
|
+
range: null,
|
|
24
|
+
name: null,
|
|
25
|
+
kind: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OpencodeClient::FilePartSourceText
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **value** | **String** | | |
|
|
8
|
+
| **start** | **Integer** | | |
|
|
9
|
+
| **_end** | **Integer** | | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'opencode_client'
|
|
15
|
+
|
|
16
|
+
instance = OpencodeClient::FilePartSourceText.new(
|
|
17
|
+
value: null,
|
|
18
|
+
start: null,
|
|
19
|
+
_end: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
data/docs/FileSource.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OpencodeClient::FileSource
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **text** | [**FilePartSourceText**](FilePartSourceText.md) | | |
|
|
8
|
+
| **type** | **String** | | |
|
|
9
|
+
| **path** | **String** | | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'opencode_client'
|
|
15
|
+
|
|
16
|
+
instance = OpencodeClient::FileSource.new(
|
|
17
|
+
text: null,
|
|
18
|
+
type: null,
|
|
19
|
+
path: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# OpencodeClient::FindText200ResponseInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **path** | [**FindText200ResponseInnerPath**](FindText200ResponseInnerPath.md) | | |
|
|
8
|
+
| **lines** | [**FindText200ResponseInnerPath**](FindText200ResponseInnerPath.md) | | |
|
|
9
|
+
| **line_number** | **Float** | | |
|
|
10
|
+
| **absolute_offset** | **Float** | | |
|
|
11
|
+
| **submatches** | [**Array<FindText200ResponseInnerSubmatchesInner>**](FindText200ResponseInnerSubmatchesInner.md) | | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'opencode_client'
|
|
17
|
+
|
|
18
|
+
instance = OpencodeClient::FindText200ResponseInner.new(
|
|
19
|
+
path: null,
|
|
20
|
+
lines: null,
|
|
21
|
+
line_number: null,
|
|
22
|
+
absolute_offset: null,
|
|
23
|
+
submatches: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# OpencodeClient::FindText200ResponseInnerPath
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **text** | **String** | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'opencode_client'
|
|
13
|
+
|
|
14
|
+
instance = OpencodeClient::FindText200ResponseInnerPath.new(
|
|
15
|
+
text: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OpencodeClient::FindText200ResponseInnerSubmatchesInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **match** | [**FindText200ResponseInnerPath**](FindText200ResponseInnerPath.md) | | |
|
|
8
|
+
| **start** | **Float** | | |
|
|
9
|
+
| **_end** | **Float** | | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'opencode_client'
|
|
15
|
+
|
|
16
|
+
instance = OpencodeClient::FindText200ResponseInnerSubmatchesInner.new(
|
|
17
|
+
match: null,
|
|
18
|
+
start: null,
|
|
19
|
+
_end: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OpencodeClient::FormatterStatus
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | |
|
|
8
|
+
| **extensions** | **Array<String>** | | |
|
|
9
|
+
| **enabled** | **Boolean** | | |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'opencode_client'
|
|
15
|
+
|
|
16
|
+
instance = OpencodeClient::FormatterStatus.new(
|
|
17
|
+
name: null,
|
|
18
|
+
extensions: null,
|
|
19
|
+
enabled: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
data/docs/GlobalEvent.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# OpencodeClient::GlobalEvent
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **directory** | **String** | | |
|
|
8
|
+
| **payload** | [**Event**](Event.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'opencode_client'
|
|
14
|
+
|
|
15
|
+
instance = OpencodeClient::GlobalEvent.new(
|
|
16
|
+
directory: null,
|
|
17
|
+
payload: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# OpencodeClient::GlobalHealth200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **healthy** | **Boolean** | | |
|
|
8
|
+
| **version** | **String** | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'opencode_client'
|
|
14
|
+
|
|
15
|
+
instance = OpencodeClient::GlobalHealth200Response.new(
|
|
16
|
+
healthy: null,
|
|
17
|
+
version: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# OpencodeClient::KeybindsConfig
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **leader** | **String** | Leader key for keybind combinations | [optional][default to 'ctrl+x'] |
|
|
8
|
+
| **app_exit** | **String** | Exit the application | [optional][default to 'ctrl+c,ctrl+d,<leader>q'] |
|
|
9
|
+
| **editor_open** | **String** | Open external editor | [optional][default to '<leader>e'] |
|
|
10
|
+
| **theme_list** | **String** | List available themes | [optional][default to '<leader>t'] |
|
|
11
|
+
| **sidebar_toggle** | **String** | Toggle sidebar | [optional][default to '<leader>b'] |
|
|
12
|
+
| **scrollbar_toggle** | **String** | Toggle session scrollbar | [optional][default to 'none'] |
|
|
13
|
+
| **username_toggle** | **String** | Toggle username visibility | [optional][default to 'none'] |
|
|
14
|
+
| **status_view** | **String** | View status | [optional][default to '<leader>s'] |
|
|
15
|
+
| **session_export** | **String** | Export session to editor | [optional][default to '<leader>x'] |
|
|
16
|
+
| **session_new** | **String** | Create a new session | [optional][default to '<leader>n'] |
|
|
17
|
+
| **session_list** | **String** | List all sessions | [optional][default to '<leader>l'] |
|
|
18
|
+
| **session_timeline** | **String** | Show session timeline | [optional][default to '<leader>g'] |
|
|
19
|
+
| **session_fork** | **String** | Fork session from message | [optional][default to 'none'] |
|
|
20
|
+
| **session_rename** | **String** | Rename session | [optional][default to 'none'] |
|
|
21
|
+
| **session_share** | **String** | Share current session | [optional][default to 'none'] |
|
|
22
|
+
| **session_unshare** | **String** | Unshare current session | [optional][default to 'none'] |
|
|
23
|
+
| **session_interrupt** | **String** | Interrupt current session | [optional][default to 'escape'] |
|
|
24
|
+
| **session_compact** | **String** | Compact the session | [optional][default to '<leader>c'] |
|
|
25
|
+
| **messages_page_up** | **String** | Scroll messages up by one page | [optional][default to 'pageup'] |
|
|
26
|
+
| **messages_page_down** | **String** | Scroll messages down by one page | [optional][default to 'pagedown'] |
|
|
27
|
+
| **messages_half_page_up** | **String** | Scroll messages up by half page | [optional][default to 'ctrl+alt+u'] |
|
|
28
|
+
| **messages_half_page_down** | **String** | Scroll messages down by half page | [optional][default to 'ctrl+alt+d'] |
|
|
29
|
+
| **messages_first** | **String** | Navigate to first message | [optional][default to 'ctrl+g,home'] |
|
|
30
|
+
| **messages_last** | **String** | Navigate to last message | [optional][default to 'ctrl+alt+g,end'] |
|
|
31
|
+
| **messages_next** | **String** | Navigate to next message | [optional][default to 'none'] |
|
|
32
|
+
| **messages_previous** | **String** | Navigate to previous message | [optional][default to 'none'] |
|
|
33
|
+
| **messages_last_user** | **String** | Navigate to last user message | [optional][default to 'none'] |
|
|
34
|
+
| **messages_copy** | **String** | Copy message | [optional][default to '<leader>y'] |
|
|
35
|
+
| **messages_undo** | **String** | Undo message | [optional][default to '<leader>u'] |
|
|
36
|
+
| **messages_redo** | **String** | Redo message | [optional][default to '<leader>r'] |
|
|
37
|
+
| **messages_toggle_conceal** | **String** | Toggle code block concealment in messages | [optional][default to '<leader>h'] |
|
|
38
|
+
| **tool_details** | **String** | Toggle tool details visibility | [optional][default to 'none'] |
|
|
39
|
+
| **model_list** | **String** | List available models | [optional][default to '<leader>m'] |
|
|
40
|
+
| **model_cycle_recent** | **String** | Next recently used model | [optional][default to 'f2'] |
|
|
41
|
+
| **model_cycle_recent_reverse** | **String** | Previous recently used model | [optional][default to 'shift+f2'] |
|
|
42
|
+
| **model_cycle_favorite** | **String** | Next favorite model | [optional][default to 'none'] |
|
|
43
|
+
| **model_cycle_favorite_reverse** | **String** | Previous favorite model | [optional][default to 'none'] |
|
|
44
|
+
| **command_list** | **String** | List available commands | [optional][default to 'ctrl+p'] |
|
|
45
|
+
| **agent_list** | **String** | List agents | [optional][default to '<leader>a'] |
|
|
46
|
+
| **agent_cycle** | **String** | Next agent | [optional][default to 'tab'] |
|
|
47
|
+
| **agent_cycle_reverse** | **String** | Previous agent | [optional][default to 'shift+tab'] |
|
|
48
|
+
| **input_clear** | **String** | Clear input field | [optional][default to 'ctrl+c'] |
|
|
49
|
+
| **input_paste** | **String** | Paste from clipboard | [optional][default to 'ctrl+v'] |
|
|
50
|
+
| **input_submit** | **String** | Submit input | [optional][default to 'return'] |
|
|
51
|
+
| **input_newline** | **String** | Insert newline in input | [optional][default to 'shift+return,ctrl+return,alt+return,ctrl+j'] |
|
|
52
|
+
| **input_move_left** | **String** | Move cursor left in input | [optional][default to 'left,ctrl+b'] |
|
|
53
|
+
| **input_move_right** | **String** | Move cursor right in input | [optional][default to 'right,ctrl+f'] |
|
|
54
|
+
| **input_move_up** | **String** | Move cursor up in input | [optional][default to 'up'] |
|
|
55
|
+
| **input_move_down** | **String** | Move cursor down in input | [optional][default to 'down'] |
|
|
56
|
+
| **input_select_left** | **String** | Select left in input | [optional][default to 'shift+left'] |
|
|
57
|
+
| **input_select_right** | **String** | Select right in input | [optional][default to 'shift+right'] |
|
|
58
|
+
| **input_select_up** | **String** | Select up in input | [optional][default to 'shift+up'] |
|
|
59
|
+
| **input_select_down** | **String** | Select down in input | [optional][default to 'shift+down'] |
|
|
60
|
+
| **input_line_home** | **String** | Move to start of line in input | [optional][default to 'ctrl+a'] |
|
|
61
|
+
| **input_line_end** | **String** | Move to end of line in input | [optional][default to 'ctrl+e'] |
|
|
62
|
+
| **input_select_line_home** | **String** | Select to start of line in input | [optional][default to 'ctrl+shift+a'] |
|
|
63
|
+
| **input_select_line_end** | **String** | Select to end of line in input | [optional][default to 'ctrl+shift+e'] |
|
|
64
|
+
| **input_visual_line_home** | **String** | Move to start of visual line in input | [optional][default to 'alt+a'] |
|
|
65
|
+
| **input_visual_line_end** | **String** | Move to end of visual line in input | [optional][default to 'alt+e'] |
|
|
66
|
+
| **input_select_visual_line_home** | **String** | Select to start of visual line in input | [optional][default to 'alt+shift+a'] |
|
|
67
|
+
| **input_select_visual_line_end** | **String** | Select to end of visual line in input | [optional][default to 'alt+shift+e'] |
|
|
68
|
+
| **input_buffer_home** | **String** | Move to start of buffer in input | [optional][default to 'home'] |
|
|
69
|
+
| **input_buffer_end** | **String** | Move to end of buffer in input | [optional][default to 'end'] |
|
|
70
|
+
| **input_select_buffer_home** | **String** | Select to start of buffer in input | [optional][default to 'shift+home'] |
|
|
71
|
+
| **input_select_buffer_end** | **String** | Select to end of buffer in input | [optional][default to 'shift+end'] |
|
|
72
|
+
| **input_delete_line** | **String** | Delete line in input | [optional][default to 'ctrl+shift+d'] |
|
|
73
|
+
| **input_delete_to_line_end** | **String** | Delete to end of line in input | [optional][default to 'ctrl+k'] |
|
|
74
|
+
| **input_delete_to_line_start** | **String** | Delete to start of line in input | [optional][default to 'ctrl+u'] |
|
|
75
|
+
| **input_backspace** | **String** | Backspace in input | [optional][default to 'backspace,shift+backspace'] |
|
|
76
|
+
| **input_delete** | **String** | Delete character in input | [optional][default to 'ctrl+d,delete,shift+delete'] |
|
|
77
|
+
| **input_undo** | **String** | Undo in input | [optional][default to 'ctrl+-,super+z'] |
|
|
78
|
+
| **input_redo** | **String** | Redo in input | [optional][default to 'ctrl+.,super+shift+z'] |
|
|
79
|
+
| **input_word_forward** | **String** | Move word forward in input | [optional][default to 'alt+f,alt+right,ctrl+right'] |
|
|
80
|
+
| **input_word_backward** | **String** | Move word backward in input | [optional][default to 'alt+b,alt+left,ctrl+left'] |
|
|
81
|
+
| **input_select_word_forward** | **String** | Select word forward in input | [optional][default to 'alt+shift+f,alt+shift+right'] |
|
|
82
|
+
| **input_select_word_backward** | **String** | Select word backward in input | [optional][default to 'alt+shift+b,alt+shift+left'] |
|
|
83
|
+
| **input_delete_word_forward** | **String** | Delete word forward in input | [optional][default to 'alt+d,alt+delete,ctrl+delete'] |
|
|
84
|
+
| **input_delete_word_backward** | **String** | Delete word backward in input | [optional][default to 'ctrl+w,ctrl+backspace,alt+backspace'] |
|
|
85
|
+
| **history_previous** | **String** | Previous history item | [optional][default to 'up'] |
|
|
86
|
+
| **history_next** | **String** | Next history item | [optional][default to 'down'] |
|
|
87
|
+
| **session_child_cycle** | **String** | Next child session | [optional][default to '<leader>right'] |
|
|
88
|
+
| **session_child_cycle_reverse** | **String** | Previous child session | [optional][default to '<leader>left'] |
|
|
89
|
+
| **session_parent** | **String** | Go to parent session | [optional][default to '<leader>up'] |
|
|
90
|
+
| **terminal_suspend** | **String** | Suspend terminal | [optional][default to 'ctrl+z'] |
|
|
91
|
+
| **terminal_title_toggle** | **String** | Toggle terminal title | [optional][default to 'none'] |
|
|
92
|
+
| **tips_toggle** | **String** | Toggle tips on home screen | [optional][default to '<leader>h'] |
|
|
93
|
+
|
|
94
|
+
## Example
|
|
95
|
+
|
|
96
|
+
```ruby
|
|
97
|
+
require 'opencode_client'
|
|
98
|
+
|
|
99
|
+
instance = OpencodeClient::KeybindsConfig.new(
|
|
100
|
+
leader: null,
|
|
101
|
+
app_exit: null,
|
|
102
|
+
editor_open: null,
|
|
103
|
+
theme_list: null,
|
|
104
|
+
sidebar_toggle: null,
|
|
105
|
+
scrollbar_toggle: null,
|
|
106
|
+
username_toggle: null,
|
|
107
|
+
status_view: null,
|
|
108
|
+
session_export: null,
|
|
109
|
+
session_new: null,
|
|
110
|
+
session_list: null,
|
|
111
|
+
session_timeline: null,
|
|
112
|
+
session_fork: null,
|
|
113
|
+
session_rename: null,
|
|
114
|
+
session_share: null,
|
|
115
|
+
session_unshare: null,
|
|
116
|
+
session_interrupt: null,
|
|
117
|
+
session_compact: null,
|
|
118
|
+
messages_page_up: null,
|
|
119
|
+
messages_page_down: null,
|
|
120
|
+
messages_half_page_up: null,
|
|
121
|
+
messages_half_page_down: null,
|
|
122
|
+
messages_first: null,
|
|
123
|
+
messages_last: null,
|
|
124
|
+
messages_next: null,
|
|
125
|
+
messages_previous: null,
|
|
126
|
+
messages_last_user: null,
|
|
127
|
+
messages_copy: null,
|
|
128
|
+
messages_undo: null,
|
|
129
|
+
messages_redo: null,
|
|
130
|
+
messages_toggle_conceal: null,
|
|
131
|
+
tool_details: null,
|
|
132
|
+
model_list: null,
|
|
133
|
+
model_cycle_recent: null,
|
|
134
|
+
model_cycle_recent_reverse: null,
|
|
135
|
+
model_cycle_favorite: null,
|
|
136
|
+
model_cycle_favorite_reverse: null,
|
|
137
|
+
command_list: null,
|
|
138
|
+
agent_list: null,
|
|
139
|
+
agent_cycle: null,
|
|
140
|
+
agent_cycle_reverse: null,
|
|
141
|
+
input_clear: null,
|
|
142
|
+
input_paste: null,
|
|
143
|
+
input_submit: null,
|
|
144
|
+
input_newline: null,
|
|
145
|
+
input_move_left: null,
|
|
146
|
+
input_move_right: null,
|
|
147
|
+
input_move_up: null,
|
|
148
|
+
input_move_down: null,
|
|
149
|
+
input_select_left: null,
|
|
150
|
+
input_select_right: null,
|
|
151
|
+
input_select_up: null,
|
|
152
|
+
input_select_down: null,
|
|
153
|
+
input_line_home: null,
|
|
154
|
+
input_line_end: null,
|
|
155
|
+
input_select_line_home: null,
|
|
156
|
+
input_select_line_end: null,
|
|
157
|
+
input_visual_line_home: null,
|
|
158
|
+
input_visual_line_end: null,
|
|
159
|
+
input_select_visual_line_home: null,
|
|
160
|
+
input_select_visual_line_end: null,
|
|
161
|
+
input_buffer_home: null,
|
|
162
|
+
input_buffer_end: null,
|
|
163
|
+
input_select_buffer_home: null,
|
|
164
|
+
input_select_buffer_end: null,
|
|
165
|
+
input_delete_line: null,
|
|
166
|
+
input_delete_to_line_end: null,
|
|
167
|
+
input_delete_to_line_start: null,
|
|
168
|
+
input_backspace: null,
|
|
169
|
+
input_delete: null,
|
|
170
|
+
input_undo: null,
|
|
171
|
+
input_redo: null,
|
|
172
|
+
input_word_forward: null,
|
|
173
|
+
input_word_backward: null,
|
|
174
|
+
input_select_word_forward: null,
|
|
175
|
+
input_select_word_backward: null,
|
|
176
|
+
input_delete_word_forward: null,
|
|
177
|
+
input_delete_word_backward: null,
|
|
178
|
+
history_previous: null,
|
|
179
|
+
history_next: null,
|
|
180
|
+
session_child_cycle: null,
|
|
181
|
+
session_child_cycle_reverse: null,
|
|
182
|
+
session_parent: null,
|
|
183
|
+
terminal_suspend: null,
|
|
184
|
+
terminal_title_toggle: null,
|
|
185
|
+
tips_toggle: null
|
|
186
|
+
)
|
|
187
|
+
```
|
|
188
|
+
|
data/docs/LSPStatus.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# OpencodeClient::LSPStatus
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **name** | **String** | | |
|
|
9
|
+
| **root** | **String** | | |
|
|
10
|
+
| **status** | **String** | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'opencode_client'
|
|
16
|
+
|
|
17
|
+
instance = OpencodeClient::LSPStatus.new(
|
|
18
|
+
id: null,
|
|
19
|
+
name: null,
|
|
20
|
+
root: null,
|
|
21
|
+
status: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
data/docs/LogLevel.md
ADDED
data/docs/MCPStatus.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# OpencodeClient::MCPStatus
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **status** | **String** | | |
|
|
8
|
+
| **error** | **String** | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'opencode_client'
|
|
14
|
+
|
|
15
|
+
instance = OpencodeClient::MCPStatus.new(
|
|
16
|
+
status: null,
|
|
17
|
+
error: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# OpencodeClient::MCPStatusConnected
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **status** | **String** | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'opencode_client'
|
|
13
|
+
|
|
14
|
+
instance = OpencodeClient::MCPStatusConnected.new(
|
|
15
|
+
status: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# OpencodeClient::MCPStatusDisabled
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **status** | **String** | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'opencode_client'
|
|
13
|
+
|
|
14
|
+
instance = OpencodeClient::MCPStatusDisabled.new(
|
|
15
|
+
status: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# OpencodeClient::MCPStatusFailed
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **status** | **String** | | |
|
|
8
|
+
| **error** | **String** | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'opencode_client'
|
|
14
|
+
|
|
15
|
+
instance = OpencodeClient::MCPStatusFailed.new(
|
|
16
|
+
status: null,
|
|
17
|
+
error: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|