acp-sdk 0.8.0 → 0.9.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +12 -0
- data/lib/acp/sdk.rb +3 -1
- data/lib/acp/transport/cancellation.rb +25 -0
- data/lib/acp/transport/stdio.rb +67 -1
- data/lib/acp/types/unstable/accept_nes_notification.rb +41 -0
- data/lib/acp/types/unstable/agent_capabilities.rb +122 -0
- data/lib/acp/types/unstable/client_capabilities.rb +127 -0
- data/lib/acp/types/unstable/client_nes_capabilities.rb +62 -0
- data/lib/acp/types/unstable/client_session_capabilities.rb +57 -0
- data/lib/acp/types/unstable/close_nes_request.rb +35 -0
- data/lib/acp/types/unstable/close_nes_response.rb +27 -0
- data/lib/acp/types/unstable/compaction_status.rb +11 -0
- data/lib/acp/types/unstable/compaction_summary_chunk.rb +41 -0
- data/lib/acp/types/unstable/compaction_update.rb +62 -0
- data/lib/acp/types/unstable/did_change_document_notification.rb +65 -0
- data/lib/acp/types/unstable/did_close_document_notification.rb +41 -0
- data/lib/acp/types/unstable/did_focus_document_notification.rb +74 -0
- data/lib/acp/types/unstable/did_open_document_notification.rb +66 -0
- data/lib/acp/types/unstable/did_save_document_notification.rb +41 -0
- data/lib/acp/types/unstable/disable_provider_request.rb +35 -0
- data/lib/acp/types/unstable/disable_provider_response.rb +27 -0
- data/lib/acp/types/unstable/fork_session_request.rb +69 -0
- data/lib/acp/types/unstable/fork_session_response.rb +55 -0
- data/lib/acp/types/unstable/idle_state_update.rb +46 -0
- data/lib/acp/types/unstable/initialize_response.rb +72 -0
- data/lib/acp/types/unstable/list_providers_request.rb +27 -0
- data/lib/acp/types/unstable/list_providers_response.rb +35 -0
- data/lib/acp/types/unstable/llm_protocol.rb +12 -0
- data/lib/acp/types/unstable/mcp_capabilities.rb +47 -0
- data/lib/acp/types/unstable/mcp_error.rb +41 -0
- data/lib/acp/types/unstable/mcp_server/acp.rb +41 -0
- data/lib/acp/types/unstable/mcp_server/http.rb +50 -0
- data/lib/acp/types/unstable/mcp_server/sse.rb +50 -0
- data/lib/acp/types/unstable/mcp_server.rb +25 -0
- data/lib/acp/types/unstable/mcp_server_acp.rb +41 -0
- data/lib/acp/types/unstable/message_mcp_notification.rb +59 -0
- data/lib/acp/types/unstable/message_mcp_request.rb +59 -0
- data/lib/acp/types/unstable/message_mcp_response/error.rb +35 -0
- data/lib/acp/types/unstable/message_mcp_response/result.rb +32 -0
- data/lib/acp/types/unstable/message_mcp_response.rb +23 -0
- data/lib/acp/types/unstable/nes_capabilities.rb +51 -0
- data/lib/acp/types/unstable/nes_context_capabilities.rb +111 -0
- data/lib/acp/types/unstable/nes_diagnostic.rb +57 -0
- data/lib/acp/types/unstable/nes_diagnostic_severity.rb +11 -0
- data/lib/acp/types/unstable/nes_diagnostics_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_document_did_change_capabilities.rb +35 -0
- data/lib/acp/types/unstable/nes_document_did_close_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_document_did_focus_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_document_did_open_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_document_did_save_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_document_event_capabilities.rb +91 -0
- data/lib/acp/types/unstable/nes_edit_history_capabilities.rb +35 -0
- data/lib/acp/types/unstable/nes_edit_history_entry.rb +41 -0
- data/lib/acp/types/unstable/nes_edit_suggestion.rb +67 -0
- data/lib/acp/types/unstable/nes_event_capabilities.rb +40 -0
- data/lib/acp/types/unstable/nes_excerpt.rb +47 -0
- data/lib/acp/types/unstable/nes_jump_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_jump_suggestion.rb +51 -0
- data/lib/acp/types/unstable/nes_open_file.rb +64 -0
- data/lib/acp/types/unstable/nes_open_files_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_recent_file.rb +47 -0
- data/lib/acp/types/unstable/nes_recent_files_capabilities.rb +35 -0
- data/lib/acp/types/unstable/nes_reject_reason.rb +11 -0
- data/lib/acp/types/unstable/nes_related_snippet.rb +40 -0
- data/lib/acp/types/unstable/nes_related_snippets_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_rename_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_rename_suggestion.rb +57 -0
- data/lib/acp/types/unstable/nes_repository.rb +47 -0
- data/lib/acp/types/unstable/nes_search_and_replace_capabilities.rb +27 -0
- data/lib/acp/types/unstable/nes_search_and_replace_suggestion.rb +66 -0
- data/lib/acp/types/unstable/nes_suggest_context.rb +95 -0
- data/lib/acp/types/unstable/nes_suggestion/edit.rb +68 -0
- data/lib/acp/types/unstable/nes_suggestion/jump.rb +51 -0
- data/lib/acp/types/unstable/nes_suggestion/rename.rb +64 -0
- data/lib/acp/types/unstable/nes_suggestion/searchandreplace.rb +67 -0
- data/lib/acp/types/unstable/nes_suggestion.rb +25 -0
- data/lib/acp/types/unstable/nes_text_edit.rb +41 -0
- data/lib/acp/types/unstable/nes_trigger_kind.rb +10 -0
- data/lib/acp/types/unstable/nes_user_action.rb +63 -0
- data/lib/acp/types/unstable/nes_user_actions_capabilities.rb +35 -0
- data/lib/acp/types/unstable/notice.rb +47 -0
- data/lib/acp/types/unstable/notice_severity.rb +10 -0
- data/lib/acp/types/unstable/plan_capabilities.rb +27 -0
- data/lib/acp/types/unstable/plan_file.rb +41 -0
- data/lib/acp/types/unstable/plan_items.rb +44 -0
- data/lib/acp/types/unstable/plan_markdown.rb +41 -0
- data/lib/acp/types/unstable/plan_removed.rb +32 -0
- data/lib/acp/types/unstable/plan_update.rb +39 -0
- data/lib/acp/types/unstable/plan_update_content/file.rb +41 -0
- data/lib/acp/types/unstable/plan_update_content/items.rb +44 -0
- data/lib/acp/types/unstable/plan_update_content/markdown.rb +41 -0
- data/lib/acp/types/unstable/plan_update_content.rb +23 -0
- data/lib/acp/types/unstable/position.rb +41 -0
- data/lib/acp/types/unstable/position_encoding_kind.rb +10 -0
- data/lib/acp/types/unstable/prompt_response.rb +45 -0
- data/lib/acp/types/unstable/provider_current_config.rb +41 -0
- data/lib/acp/types/unstable/provider_info.rb +64 -0
- data/lib/acp/types/unstable/providers_capabilities.rb +27 -0
- data/lib/acp/types/unstable/range.rb +41 -0
- data/lib/acp/types/unstable/reject_nes_notification.rb +52 -0
- data/lib/acp/types/unstable/requires_action_state_update.rb +27 -0
- data/lib/acp/types/unstable/running_state_update.rb +27 -0
- data/lib/acp/types/unstable/session_cancel_capabilities.rb +27 -0
- data/lib/acp/types/unstable/session_capabilities.rb +93 -0
- data/lib/acp/types/unstable/session_fork_capabilities.rb +27 -0
- data/lib/acp/types/unstable/session_message.rb +62 -0
- data/lib/acp/types/unstable/session_message_chunk.rb +59 -0
- data/lib/acp/types/unstable/session_update/agent_message_chunk.rb +46 -0
- data/lib/acp/types/unstable/session_update/agent_thought_chunk.rb +46 -0
- data/lib/acp/types/unstable/session_update/available_commands_update.rb +42 -0
- data/lib/acp/types/unstable/session_update/compaction_summary_chunk.rb +46 -0
- data/lib/acp/types/unstable/session_update/compaction_update.rb +63 -0
- data/lib/acp/types/unstable/session_update/config_option_update.rb +42 -0
- data/lib/acp/types/unstable/session_update/current_mode_update.rb +35 -0
- data/lib/acp/types/unstable/session_update/notice.rb +53 -0
- data/lib/acp/types/unstable/session_update/plan.rb +35 -0
- data/lib/acp/types/unstable/session_update/plan_removed.rb +32 -0
- data/lib/acp/types/unstable/session_update/plan_update.rb +39 -0
- data/lib/acp/types/unstable/session_update/session_info_update.rb +49 -0
- data/lib/acp/types/unstable/session_update/session_message.rb +63 -0
- data/lib/acp/types/unstable/session_update/session_message_chunk.rb +60 -0
- data/lib/acp/types/unstable/session_update/subagent_update.rb +72 -0
- data/lib/acp/types/unstable/session_update/tool_call.rb +122 -0
- data/lib/acp/types/unstable/session_update/tool_call_update.rb +122 -0
- data/lib/acp/types/unstable/session_update/usage_update.rb +47 -0
- data/lib/acp/types/unstable/session_update/user_message_chunk.rb +46 -0
- data/lib/acp/types/unstable/session_update.rb +55 -0
- data/lib/acp/types/unstable/set_provider_request.rb +62 -0
- data/lib/acp/types/unstable/set_provider_response.rb +27 -0
- data/lib/acp/types/unstable/start_nes_request.rb +64 -0
- data/lib/acp/types/unstable/start_nes_response.rb +35 -0
- data/lib/acp/types/unstable/state_update/idle.rb +46 -0
- data/lib/acp/types/unstable/state_update/requires_action.rb +27 -0
- data/lib/acp/types/unstable/state_update/running.rb +27 -0
- data/lib/acp/types/unstable/state_update/unknown.rb +27 -0
- data/lib/acp/types/unstable/state_update.rb +25 -0
- data/lib/acp/types/unstable/subagent_capabilities.rb +27 -0
- data/lib/acp/types/unstable/subagent_session_capabilities.rb +40 -0
- data/lib/acp/types/unstable/subagent_update.rb +71 -0
- data/lib/acp/types/unstable/suggest_nes_request.rb +93 -0
- data/lib/acp/types/unstable/suggest_nes_response.rb +35 -0
- data/lib/acp/types/unstable/text_document_content_change_event.rb +41 -0
- data/lib/acp/types/unstable/text_document_sync_kind.rb +9 -0
- data/lib/acp/types/unstable/unknown_state_update.rb +27 -0
- data/lib/acp/types/unstable/usage.rb +91 -0
- data/lib/acp/types/unstable/workspace_folder.rb +41 -0
- data/lib/acp/types/unstable.rb +155 -0
- data/lib/acp/version.rb +1 -1
- data/sig/generated/acp/transport/cancellation.rbs +19 -0
- data/sig/generated/acp/transport/stdio.rbs +38 -0
- data/sig/generated/acp/types/unstable/accept_nes_notification.rbs +25 -0
- data/sig/generated/acp/types/unstable/agent_capabilities.rbs +49 -0
- data/sig/generated/acp/types/unstable/client_capabilities.rbs +53 -0
- data/sig/generated/acp/types/unstable/client_nes_capabilities.rbs +29 -0
- data/sig/generated/acp/types/unstable/client_session_capabilities.rbs +29 -0
- data/sig/generated/acp/types/unstable/close_nes_request.rbs +21 -0
- data/sig/generated/acp/types/unstable/close_nes_response.rbs +17 -0
- data/sig/generated/acp/types/unstable/compaction_status.rbs +11 -0
- data/sig/generated/acp/types/unstable/compaction_summary_chunk.rbs +25 -0
- data/sig/generated/acp/types/unstable/compaction_update.rbs +33 -0
- data/sig/generated/acp/types/unstable/did_change_document_notification.rbs +33 -0
- data/sig/generated/acp/types/unstable/did_close_document_notification.rbs +25 -0
- data/sig/generated/acp/types/unstable/did_focus_document_notification.rbs +37 -0
- data/sig/generated/acp/types/unstable/did_open_document_notification.rbs +37 -0
- data/sig/generated/acp/types/unstable/did_save_document_notification.rbs +25 -0
- data/sig/generated/acp/types/unstable/disable_provider_request.rbs +21 -0
- data/sig/generated/acp/types/unstable/disable_provider_response.rbs +17 -0
- data/sig/generated/acp/types/unstable/fork_session_request.rbs +33 -0
- data/sig/generated/acp/types/unstable/fork_session_response.rbs +29 -0
- data/sig/generated/acp/types/unstable/idle_state_update.rbs +25 -0
- data/sig/generated/acp/types/unstable/initialize_response.rbs +33 -0
- data/sig/generated/acp/types/unstable/list_providers_request.rbs +17 -0
- data/sig/generated/acp/types/unstable/list_providers_response.rbs +21 -0
- data/sig/generated/acp/types/unstable/llm_protocol.rbs +13 -0
- data/sig/generated/acp/types/unstable/mcp_capabilities.rbs +29 -0
- data/sig/generated/acp/types/unstable/mcp_error.rbs +25 -0
- data/sig/generated/acp/types/unstable/mcp_server/acp.rbs +25 -0
- data/sig/generated/acp/types/unstable/mcp_server/http.rbs +29 -0
- data/sig/generated/acp/types/unstable/mcp_server/sse.rbs +29 -0
- data/sig/generated/acp/types/unstable/mcp_server.rbs +9 -0
- data/sig/generated/acp/types/unstable/mcp_server_acp.rbs +25 -0
- data/sig/generated/acp/types/unstable/message_mcp_notification.rbs +33 -0
- data/sig/generated/acp/types/unstable/message_mcp_request.rbs +33 -0
- data/sig/generated/acp/types/unstable/message_mcp_response/error.rbs +21 -0
- data/sig/generated/acp/types/unstable/message_mcp_response/result.rbs +21 -0
- data/sig/generated/acp/types/unstable/message_mcp_response.rbs +9 -0
- data/sig/generated/acp/types/unstable/nes_capabilities.rbs +25 -0
- data/sig/generated/acp/types/unstable/nes_context_capabilities.rbs +41 -0
- data/sig/generated/acp/types/unstable/nes_diagnostic.rbs +33 -0
- data/sig/generated/acp/types/unstable/nes_diagnostic_severity.rbs +11 -0
- data/sig/generated/acp/types/unstable/nes_diagnostics_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_document_did_change_capabilities.rbs +21 -0
- data/sig/generated/acp/types/unstable/nes_document_did_close_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_document_did_focus_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_document_did_open_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_document_did_save_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_document_event_capabilities.rbs +37 -0
- data/sig/generated/acp/types/unstable/nes_edit_history_capabilities.rbs +21 -0
- data/sig/generated/acp/types/unstable/nes_edit_history_entry.rbs +25 -0
- data/sig/generated/acp/types/unstable/nes_edit_suggestion.rbs +33 -0
- data/sig/generated/acp/types/unstable/nes_event_capabilities.rbs +21 -0
- data/sig/generated/acp/types/unstable/nes_excerpt.rbs +29 -0
- data/sig/generated/acp/types/unstable/nes_jump_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_jump_suggestion.rbs +29 -0
- data/sig/generated/acp/types/unstable/nes_open_file.rbs +33 -0
- data/sig/generated/acp/types/unstable/nes_open_files_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_recent_file.rbs +29 -0
- data/sig/generated/acp/types/unstable/nes_recent_files_capabilities.rbs +21 -0
- data/sig/generated/acp/types/unstable/nes_reject_reason.rbs +11 -0
- data/sig/generated/acp/types/unstable/nes_related_snippet.rbs +25 -0
- data/sig/generated/acp/types/unstable/nes_related_snippets_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_rename_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_rename_suggestion.rbs +33 -0
- data/sig/generated/acp/types/unstable/nes_repository.rbs +29 -0
- data/sig/generated/acp/types/unstable/nes_search_and_replace_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/nes_search_and_replace_suggestion.rbs +37 -0
- data/sig/generated/acp/types/unstable/nes_suggest_context.rbs +41 -0
- data/sig/generated/acp/types/unstable/nes_suggestion/edit.rbs +33 -0
- data/sig/generated/acp/types/unstable/nes_suggestion/jump.rbs +29 -0
- data/sig/generated/acp/types/unstable/nes_suggestion/rename.rbs +33 -0
- data/sig/generated/acp/types/unstable/nes_suggestion/searchandreplace.rbs +37 -0
- data/sig/generated/acp/types/unstable/nes_suggestion.rbs +9 -0
- data/sig/generated/acp/types/unstable/nes_text_edit.rbs +25 -0
- data/sig/generated/acp/types/unstable/nes_trigger_kind.rbs +9 -0
- data/sig/generated/acp/types/unstable/nes_user_action.rbs +33 -0
- data/sig/generated/acp/types/unstable/nes_user_actions_capabilities.rbs +21 -0
- data/sig/generated/acp/types/unstable/notice.rbs +29 -0
- data/sig/generated/acp/types/unstable/notice_severity.rbs +9 -0
- data/sig/generated/acp/types/unstable/plan_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/plan_file.rbs +25 -0
- data/sig/generated/acp/types/unstable/plan_items.rbs +25 -0
- data/sig/generated/acp/types/unstable/plan_markdown.rbs +25 -0
- data/sig/generated/acp/types/unstable/plan_removed.rbs +21 -0
- data/sig/generated/acp/types/unstable/plan_update.rbs +21 -0
- data/sig/generated/acp/types/unstable/plan_update_content/file.rbs +25 -0
- data/sig/generated/acp/types/unstable/plan_update_content/items.rbs +25 -0
- data/sig/generated/acp/types/unstable/plan_update_content/markdown.rbs +25 -0
- data/sig/generated/acp/types/unstable/plan_update_content.rbs +9 -0
- data/sig/generated/acp/types/unstable/position.rbs +25 -0
- data/sig/generated/acp/types/unstable/position_encoding_kind.rbs +9 -0
- data/sig/generated/acp/types/unstable/prompt_response.rbs +25 -0
- data/sig/generated/acp/types/unstable/provider_current_config.rbs +25 -0
- data/sig/generated/acp/types/unstable/provider_info.rbs +33 -0
- data/sig/generated/acp/types/unstable/providers_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/range.rbs +25 -0
- data/sig/generated/acp/types/unstable/reject_nes_notification.rbs +29 -0
- data/sig/generated/acp/types/unstable/requires_action_state_update.rbs +17 -0
- data/sig/generated/acp/types/unstable/running_state_update.rbs +17 -0
- data/sig/generated/acp/types/unstable/session_cancel_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/session_capabilities.rbs +41 -0
- data/sig/generated/acp/types/unstable/session_fork_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/session_message.rbs +33 -0
- data/sig/generated/acp/types/unstable/session_message_chunk.rbs +33 -0
- data/sig/generated/acp/types/unstable/session_update/agent_message_chunk.rbs +25 -0
- data/sig/generated/acp/types/unstable/session_update/agent_thought_chunk.rbs +25 -0
- data/sig/generated/acp/types/unstable/session_update/available_commands_update.rbs +21 -0
- data/sig/generated/acp/types/unstable/session_update/compaction_summary_chunk.rbs +25 -0
- data/sig/generated/acp/types/unstable/session_update/compaction_update.rbs +33 -0
- data/sig/generated/acp/types/unstable/session_update/config_option_update.rbs +21 -0
- data/sig/generated/acp/types/unstable/session_update/current_mode_update.rbs +21 -0
- data/sig/generated/acp/types/unstable/session_update/notice.rbs +29 -0
- data/sig/generated/acp/types/unstable/session_update/plan.rbs +21 -0
- data/sig/generated/acp/types/unstable/session_update/plan_removed.rbs +21 -0
- data/sig/generated/acp/types/unstable/session_update/plan_update.rbs +21 -0
- data/sig/generated/acp/types/unstable/session_update/session_info_update.rbs +25 -0
- data/sig/generated/acp/types/unstable/session_update/session_message.rbs +33 -0
- data/sig/generated/acp/types/unstable/session_update/session_message_chunk.rbs +33 -0
- data/sig/generated/acp/types/unstable/session_update/subagent_update.rbs +37 -0
- data/sig/generated/acp/types/unstable/session_update/tool_call.rbs +53 -0
- data/sig/generated/acp/types/unstable/session_update/tool_call_update.rbs +53 -0
- data/sig/generated/acp/types/unstable/session_update/usage_update.rbs +29 -0
- data/sig/generated/acp/types/unstable/session_update/user_message_chunk.rbs +25 -0
- data/sig/generated/acp/types/unstable/session_update.rbs +9 -0
- data/sig/generated/acp/types/unstable/set_provider_request.rbs +33 -0
- data/sig/generated/acp/types/unstable/set_provider_response.rbs +17 -0
- data/sig/generated/acp/types/unstable/start_nes_request.rbs +29 -0
- data/sig/generated/acp/types/unstable/start_nes_response.rbs +21 -0
- data/sig/generated/acp/types/unstable/state_update/idle.rbs +25 -0
- data/sig/generated/acp/types/unstable/state_update/requires_action.rbs +17 -0
- data/sig/generated/acp/types/unstable/state_update/running.rbs +17 -0
- data/sig/generated/acp/types/unstable/state_update/unknown.rbs +17 -0
- data/sig/generated/acp/types/unstable/state_update.rbs +9 -0
- data/sig/generated/acp/types/unstable/subagent_capabilities.rbs +17 -0
- data/sig/generated/acp/types/unstable/subagent_session_capabilities.rbs +21 -0
- data/sig/generated/acp/types/unstable/subagent_update.rbs +37 -0
- data/sig/generated/acp/types/unstable/suggest_nes_request.rbs +45 -0
- data/sig/generated/acp/types/unstable/suggest_nes_response.rbs +21 -0
- data/sig/generated/acp/types/unstable/text_document_content_change_event.rbs +25 -0
- data/sig/generated/acp/types/unstable/text_document_sync_kind.rbs +7 -0
- data/sig/generated/acp/types/unstable/unknown_state_update.rbs +17 -0
- data/sig/generated/acp/types/unstable/usage.rbs +41 -0
- data/sig/generated/acp/types/unstable/workspace_folder.rbs +25 -0
- data/sig/generated/acp/types/unstable.rbs +4 -0
- metadata +289 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/message_mcp_notification.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::MessageMcpNotification
|
|
4
|
+
# @dynamic server_id
|
|
5
|
+
attr_reader server_id: String
|
|
6
|
+
|
|
7
|
+
# @dynamic request_id
|
|
8
|
+
attr_reader request_id: String
|
|
9
|
+
|
|
10
|
+
# @dynamic method
|
|
11
|
+
attr_reader method: String
|
|
12
|
+
|
|
13
|
+
# @dynamic params
|
|
14
|
+
attr_reader params: Hash[String, untyped]?
|
|
15
|
+
|
|
16
|
+
# @dynamic meta
|
|
17
|
+
attr_reader meta: Hash[String, untyped]?
|
|
18
|
+
|
|
19
|
+
# @rbs server_id: String
|
|
20
|
+
# @rbs request_id: String
|
|
21
|
+
# @rbs method: String
|
|
22
|
+
# @rbs params: Hash[String, untyped]?
|
|
23
|
+
# @rbs meta: Hash[String, untyped]?
|
|
24
|
+
# @rbs return: void
|
|
25
|
+
def initialize: (server_id: String, request_id: String, method: String, ?params: Hash[String, untyped]?, ?meta: Hash[String, untyped]?) -> void
|
|
26
|
+
|
|
27
|
+
# @rbs hash: Hash[String, untyped]
|
|
28
|
+
# @rbs return: ACP::Types::Unstable::MessageMcpNotification
|
|
29
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::MessageMcpNotification
|
|
30
|
+
|
|
31
|
+
# @rbs return: Hash[String, untyped]
|
|
32
|
+
def to_h: () -> Hash[String, untyped]
|
|
33
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/message_mcp_request.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::MessageMcpRequest
|
|
4
|
+
# @dynamic server_id
|
|
5
|
+
attr_reader server_id: String
|
|
6
|
+
|
|
7
|
+
# @dynamic request_id
|
|
8
|
+
attr_reader request_id: String
|
|
9
|
+
|
|
10
|
+
# @dynamic method
|
|
11
|
+
attr_reader method: String
|
|
12
|
+
|
|
13
|
+
# @dynamic params
|
|
14
|
+
attr_reader params: Hash[String, untyped]?
|
|
15
|
+
|
|
16
|
+
# @dynamic meta
|
|
17
|
+
attr_reader meta: Hash[String, untyped]?
|
|
18
|
+
|
|
19
|
+
# @rbs server_id: String
|
|
20
|
+
# @rbs request_id: String
|
|
21
|
+
# @rbs method: String
|
|
22
|
+
# @rbs params: Hash[String, untyped]?
|
|
23
|
+
# @rbs meta: Hash[String, untyped]?
|
|
24
|
+
# @rbs return: void
|
|
25
|
+
def initialize: (server_id: String, request_id: String, method: String, ?params: Hash[String, untyped]?, ?meta: Hash[String, untyped]?) -> void
|
|
26
|
+
|
|
27
|
+
# @rbs hash: Hash[String, untyped]
|
|
28
|
+
# @rbs return: ACP::Types::Unstable::MessageMcpRequest
|
|
29
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::MessageMcpRequest
|
|
30
|
+
|
|
31
|
+
# @rbs return: Hash[String, untyped]
|
|
32
|
+
def to_h: () -> Hash[String, untyped]
|
|
33
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/message_mcp_response/error.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::MessageMcpResponse::Error
|
|
4
|
+
# @dynamic error
|
|
5
|
+
attr_reader error: ACP::Types::Unstable::McpError
|
|
6
|
+
|
|
7
|
+
# @dynamic meta
|
|
8
|
+
attr_reader meta: Hash[String, untyped]?
|
|
9
|
+
|
|
10
|
+
# @rbs error: ACP::Types::Unstable::McpError
|
|
11
|
+
# @rbs meta: Hash[String, untyped]?
|
|
12
|
+
# @rbs return: void
|
|
13
|
+
def initialize: (error: ACP::Types::Unstable::McpError, ?meta: Hash[String, untyped]?) -> void
|
|
14
|
+
|
|
15
|
+
# @rbs hash: Hash[String, untyped]
|
|
16
|
+
# @rbs return: ACP::Types::Unstable::MessageMcpResponse::Error
|
|
17
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::MessageMcpResponse::Error
|
|
18
|
+
|
|
19
|
+
# @rbs return: Hash[String, untyped]
|
|
20
|
+
def to_h: () -> Hash[String, untyped]
|
|
21
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/message_mcp_response/result.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::MessageMcpResponse::Result
|
|
4
|
+
# @dynamic result
|
|
5
|
+
attr_reader result: untyped
|
|
6
|
+
|
|
7
|
+
# @dynamic meta
|
|
8
|
+
attr_reader meta: Hash[String, untyped]?
|
|
9
|
+
|
|
10
|
+
# @rbs result: untyped
|
|
11
|
+
# @rbs meta: Hash[String, untyped]?
|
|
12
|
+
# @rbs return: void
|
|
13
|
+
def initialize: (result: untyped, ?meta: Hash[String, untyped]?) -> void
|
|
14
|
+
|
|
15
|
+
# @rbs hash: Hash[String, untyped]
|
|
16
|
+
# @rbs return: ACP::Types::Unstable::MessageMcpResponse::Result
|
|
17
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::MessageMcpResponse::Result
|
|
18
|
+
|
|
19
|
+
# @rbs return: Hash[String, untyped]
|
|
20
|
+
def to_h: () -> Hash[String, untyped]
|
|
21
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/message_mcp_response.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
module ACP::Types::Unstable::MessageMcpResponse
|
|
4
|
+
type t = ACP::Types::Unstable::MessageMcpResponse::Result | ACP::Types::Unstable::MessageMcpResponse::Error | Hash[String, untyped]
|
|
5
|
+
|
|
6
|
+
# @rbs hash: Hash[String, untyped]
|
|
7
|
+
# @rbs return: t
|
|
8
|
+
def self.from_h: (Hash[String, untyped] hash) -> t
|
|
9
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesCapabilities
|
|
4
|
+
# @dynamic events
|
|
5
|
+
attr_reader events: ACP::Types::Unstable::NesEventCapabilities?
|
|
6
|
+
|
|
7
|
+
# @dynamic context
|
|
8
|
+
attr_reader context: ACP::Types::Unstable::NesContextCapabilities?
|
|
9
|
+
|
|
10
|
+
# @dynamic meta
|
|
11
|
+
attr_reader meta: Hash[String, untyped]?
|
|
12
|
+
|
|
13
|
+
# @rbs events: ACP::Types::Unstable::NesEventCapabilities?
|
|
14
|
+
# @rbs context: ACP::Types::Unstable::NesContextCapabilities?
|
|
15
|
+
# @rbs meta: Hash[String, untyped]?
|
|
16
|
+
# @rbs return: void
|
|
17
|
+
def initialize: (?events: ACP::Types::Unstable::NesEventCapabilities?, ?context: ACP::Types::Unstable::NesContextCapabilities?, ?meta: Hash[String, untyped]?) -> void
|
|
18
|
+
|
|
19
|
+
# @rbs hash: Hash[String, untyped]
|
|
20
|
+
# @rbs return: ACP::Types::Unstable::NesCapabilities
|
|
21
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesCapabilities
|
|
22
|
+
|
|
23
|
+
# @rbs return: Hash[String, untyped]
|
|
24
|
+
def to_h: () -> Hash[String, untyped]
|
|
25
|
+
end
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_context_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesContextCapabilities
|
|
4
|
+
# @dynamic recent_files
|
|
5
|
+
attr_reader recent_files: ACP::Types::Unstable::NesRecentFilesCapabilities?
|
|
6
|
+
|
|
7
|
+
# @dynamic related_snippets
|
|
8
|
+
attr_reader related_snippets: ACP::Types::Unstable::NesRelatedSnippetsCapabilities?
|
|
9
|
+
|
|
10
|
+
# @dynamic edit_history
|
|
11
|
+
attr_reader edit_history: ACP::Types::Unstable::NesEditHistoryCapabilities?
|
|
12
|
+
|
|
13
|
+
# @dynamic user_actions
|
|
14
|
+
attr_reader user_actions: ACP::Types::Unstable::NesUserActionsCapabilities?
|
|
15
|
+
|
|
16
|
+
# @dynamic open_files
|
|
17
|
+
attr_reader open_files: ACP::Types::Unstable::NesOpenFilesCapabilities?
|
|
18
|
+
|
|
19
|
+
# @dynamic diagnostics
|
|
20
|
+
attr_reader diagnostics: ACP::Types::Unstable::NesDiagnosticsCapabilities?
|
|
21
|
+
|
|
22
|
+
# @dynamic meta
|
|
23
|
+
attr_reader meta: Hash[String, untyped]?
|
|
24
|
+
|
|
25
|
+
# @rbs recent_files: ACP::Types::Unstable::NesRecentFilesCapabilities?
|
|
26
|
+
# @rbs related_snippets: ACP::Types::Unstable::NesRelatedSnippetsCapabilities?
|
|
27
|
+
# @rbs edit_history: ACP::Types::Unstable::NesEditHistoryCapabilities?
|
|
28
|
+
# @rbs user_actions: ACP::Types::Unstable::NesUserActionsCapabilities?
|
|
29
|
+
# @rbs open_files: ACP::Types::Unstable::NesOpenFilesCapabilities?
|
|
30
|
+
# @rbs diagnostics: ACP::Types::Unstable::NesDiagnosticsCapabilities?
|
|
31
|
+
# @rbs meta: Hash[String, untyped]?
|
|
32
|
+
# @rbs return: void
|
|
33
|
+
def initialize: (?recent_files: ACP::Types::Unstable::NesRecentFilesCapabilities?, ?related_snippets: ACP::Types::Unstable::NesRelatedSnippetsCapabilities?, ?edit_history: ACP::Types::Unstable::NesEditHistoryCapabilities?, ?user_actions: ACP::Types::Unstable::NesUserActionsCapabilities?, ?open_files: ACP::Types::Unstable::NesOpenFilesCapabilities?, ?diagnostics: ACP::Types::Unstable::NesDiagnosticsCapabilities?, ?meta: Hash[String, untyped]?) -> void
|
|
34
|
+
|
|
35
|
+
# @rbs hash: Hash[String, untyped]
|
|
36
|
+
# @rbs return: ACP::Types::Unstable::NesContextCapabilities
|
|
37
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesContextCapabilities
|
|
38
|
+
|
|
39
|
+
# @rbs return: Hash[String, untyped]
|
|
40
|
+
def to_h: () -> Hash[String, untyped]
|
|
41
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_diagnostic.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesDiagnostic
|
|
4
|
+
# @dynamic uri
|
|
5
|
+
attr_reader uri: String
|
|
6
|
+
|
|
7
|
+
# @dynamic range
|
|
8
|
+
attr_reader range: ACP::Types::Unstable::Range
|
|
9
|
+
|
|
10
|
+
# @dynamic severity
|
|
11
|
+
attr_reader severity: String
|
|
12
|
+
|
|
13
|
+
# @dynamic message
|
|
14
|
+
attr_reader message: String
|
|
15
|
+
|
|
16
|
+
# @dynamic meta
|
|
17
|
+
attr_reader meta: Hash[String, untyped]?
|
|
18
|
+
|
|
19
|
+
# @rbs uri: String
|
|
20
|
+
# @rbs range: ACP::Types::Unstable::Range
|
|
21
|
+
# @rbs severity: String
|
|
22
|
+
# @rbs message: String
|
|
23
|
+
# @rbs meta: Hash[String, untyped]?
|
|
24
|
+
# @rbs return: void
|
|
25
|
+
def initialize: (uri: String, range: ACP::Types::Unstable::Range, severity: String, message: String, ?meta: Hash[String, untyped]?) -> void
|
|
26
|
+
|
|
27
|
+
# @rbs hash: Hash[String, untyped]
|
|
28
|
+
# @rbs return: ACP::Types::Unstable::NesDiagnostic
|
|
29
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesDiagnostic
|
|
30
|
+
|
|
31
|
+
# @rbs return: Hash[String, untyped]
|
|
32
|
+
def to_h: () -> Hash[String, untyped]
|
|
33
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_diagnostics_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesDiagnosticsCapabilities
|
|
4
|
+
# @dynamic meta
|
|
5
|
+
attr_reader meta: Hash[String, untyped]?
|
|
6
|
+
|
|
7
|
+
# @rbs meta: Hash[String, untyped]?
|
|
8
|
+
# @rbs return: void
|
|
9
|
+
def initialize: (?meta: Hash[String, untyped]?) -> void
|
|
10
|
+
|
|
11
|
+
# @rbs hash: Hash[String, untyped]
|
|
12
|
+
# @rbs return: ACP::Types::Unstable::NesDiagnosticsCapabilities
|
|
13
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesDiagnosticsCapabilities
|
|
14
|
+
|
|
15
|
+
# @rbs return: Hash[String, untyped]
|
|
16
|
+
def to_h: () -> Hash[String, untyped]
|
|
17
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_document_did_change_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesDocumentDidChangeCapabilities
|
|
4
|
+
# @dynamic sync_kind
|
|
5
|
+
attr_reader sync_kind: String
|
|
6
|
+
|
|
7
|
+
# @dynamic meta
|
|
8
|
+
attr_reader meta: Hash[String, untyped]?
|
|
9
|
+
|
|
10
|
+
# @rbs sync_kind: String
|
|
11
|
+
# @rbs meta: Hash[String, untyped]?
|
|
12
|
+
# @rbs return: void
|
|
13
|
+
def initialize: (sync_kind: String, ?meta: Hash[String, untyped]?) -> void
|
|
14
|
+
|
|
15
|
+
# @rbs hash: Hash[String, untyped]
|
|
16
|
+
# @rbs return: ACP::Types::Unstable::NesDocumentDidChangeCapabilities
|
|
17
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesDocumentDidChangeCapabilities
|
|
18
|
+
|
|
19
|
+
# @rbs return: Hash[String, untyped]
|
|
20
|
+
def to_h: () -> Hash[String, untyped]
|
|
21
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_document_did_close_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesDocumentDidCloseCapabilities
|
|
4
|
+
# @dynamic meta
|
|
5
|
+
attr_reader meta: Hash[String, untyped]?
|
|
6
|
+
|
|
7
|
+
# @rbs meta: Hash[String, untyped]?
|
|
8
|
+
# @rbs return: void
|
|
9
|
+
def initialize: (?meta: Hash[String, untyped]?) -> void
|
|
10
|
+
|
|
11
|
+
# @rbs hash: Hash[String, untyped]
|
|
12
|
+
# @rbs return: ACP::Types::Unstable::NesDocumentDidCloseCapabilities
|
|
13
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesDocumentDidCloseCapabilities
|
|
14
|
+
|
|
15
|
+
# @rbs return: Hash[String, untyped]
|
|
16
|
+
def to_h: () -> Hash[String, untyped]
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_document_did_focus_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesDocumentDidFocusCapabilities
|
|
4
|
+
# @dynamic meta
|
|
5
|
+
attr_reader meta: Hash[String, untyped]?
|
|
6
|
+
|
|
7
|
+
# @rbs meta: Hash[String, untyped]?
|
|
8
|
+
# @rbs return: void
|
|
9
|
+
def initialize: (?meta: Hash[String, untyped]?) -> void
|
|
10
|
+
|
|
11
|
+
# @rbs hash: Hash[String, untyped]
|
|
12
|
+
# @rbs return: ACP::Types::Unstable::NesDocumentDidFocusCapabilities
|
|
13
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesDocumentDidFocusCapabilities
|
|
14
|
+
|
|
15
|
+
# @rbs return: Hash[String, untyped]
|
|
16
|
+
def to_h: () -> Hash[String, untyped]
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_document_did_open_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesDocumentDidOpenCapabilities
|
|
4
|
+
# @dynamic meta
|
|
5
|
+
attr_reader meta: Hash[String, untyped]?
|
|
6
|
+
|
|
7
|
+
# @rbs meta: Hash[String, untyped]?
|
|
8
|
+
# @rbs return: void
|
|
9
|
+
def initialize: (?meta: Hash[String, untyped]?) -> void
|
|
10
|
+
|
|
11
|
+
# @rbs hash: Hash[String, untyped]
|
|
12
|
+
# @rbs return: ACP::Types::Unstable::NesDocumentDidOpenCapabilities
|
|
13
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesDocumentDidOpenCapabilities
|
|
14
|
+
|
|
15
|
+
# @rbs return: Hash[String, untyped]
|
|
16
|
+
def to_h: () -> Hash[String, untyped]
|
|
17
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_document_did_save_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesDocumentDidSaveCapabilities
|
|
4
|
+
# @dynamic meta
|
|
5
|
+
attr_reader meta: Hash[String, untyped]?
|
|
6
|
+
|
|
7
|
+
# @rbs meta: Hash[String, untyped]?
|
|
8
|
+
# @rbs return: void
|
|
9
|
+
def initialize: (?meta: Hash[String, untyped]?) -> void
|
|
10
|
+
|
|
11
|
+
# @rbs hash: Hash[String, untyped]
|
|
12
|
+
# @rbs return: ACP::Types::Unstable::NesDocumentDidSaveCapabilities
|
|
13
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesDocumentDidSaveCapabilities
|
|
14
|
+
|
|
15
|
+
# @rbs return: Hash[String, untyped]
|
|
16
|
+
def to_h: () -> Hash[String, untyped]
|
|
17
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_document_event_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesDocumentEventCapabilities
|
|
4
|
+
# @dynamic did_open
|
|
5
|
+
attr_reader did_open: ACP::Types::Unstable::NesDocumentDidOpenCapabilities?
|
|
6
|
+
|
|
7
|
+
# @dynamic did_change
|
|
8
|
+
attr_reader did_change: ACP::Types::Unstable::NesDocumentDidChangeCapabilities?
|
|
9
|
+
|
|
10
|
+
# @dynamic did_close
|
|
11
|
+
attr_reader did_close: ACP::Types::Unstable::NesDocumentDidCloseCapabilities?
|
|
12
|
+
|
|
13
|
+
# @dynamic did_save
|
|
14
|
+
attr_reader did_save: ACP::Types::Unstable::NesDocumentDidSaveCapabilities?
|
|
15
|
+
|
|
16
|
+
# @dynamic did_focus
|
|
17
|
+
attr_reader did_focus: ACP::Types::Unstable::NesDocumentDidFocusCapabilities?
|
|
18
|
+
|
|
19
|
+
# @dynamic meta
|
|
20
|
+
attr_reader meta: Hash[String, untyped]?
|
|
21
|
+
|
|
22
|
+
# @rbs did_open: ACP::Types::Unstable::NesDocumentDidOpenCapabilities?
|
|
23
|
+
# @rbs did_change: ACP::Types::Unstable::NesDocumentDidChangeCapabilities?
|
|
24
|
+
# @rbs did_close: ACP::Types::Unstable::NesDocumentDidCloseCapabilities?
|
|
25
|
+
# @rbs did_save: ACP::Types::Unstable::NesDocumentDidSaveCapabilities?
|
|
26
|
+
# @rbs did_focus: ACP::Types::Unstable::NesDocumentDidFocusCapabilities?
|
|
27
|
+
# @rbs meta: Hash[String, untyped]?
|
|
28
|
+
# @rbs return: void
|
|
29
|
+
def initialize: (?did_open: ACP::Types::Unstable::NesDocumentDidOpenCapabilities?, ?did_change: ACP::Types::Unstable::NesDocumentDidChangeCapabilities?, ?did_close: ACP::Types::Unstable::NesDocumentDidCloseCapabilities?, ?did_save: ACP::Types::Unstable::NesDocumentDidSaveCapabilities?, ?did_focus: ACP::Types::Unstable::NesDocumentDidFocusCapabilities?, ?meta: Hash[String, untyped]?) -> void
|
|
30
|
+
|
|
31
|
+
# @rbs hash: Hash[String, untyped]
|
|
32
|
+
# @rbs return: ACP::Types::Unstable::NesDocumentEventCapabilities
|
|
33
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesDocumentEventCapabilities
|
|
34
|
+
|
|
35
|
+
# @rbs return: Hash[String, untyped]
|
|
36
|
+
def to_h: () -> Hash[String, untyped]
|
|
37
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_edit_history_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesEditHistoryCapabilities
|
|
4
|
+
# @dynamic max_count
|
|
5
|
+
attr_reader max_count: Integer?
|
|
6
|
+
|
|
7
|
+
# @dynamic meta
|
|
8
|
+
attr_reader meta: Hash[String, untyped]?
|
|
9
|
+
|
|
10
|
+
# @rbs max_count: Integer?
|
|
11
|
+
# @rbs meta: Hash[String, untyped]?
|
|
12
|
+
# @rbs return: void
|
|
13
|
+
def initialize: (?max_count: Integer?, ?meta: Hash[String, untyped]?) -> void
|
|
14
|
+
|
|
15
|
+
# @rbs hash: Hash[String, untyped]
|
|
16
|
+
# @rbs return: ACP::Types::Unstable::NesEditHistoryCapabilities
|
|
17
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesEditHistoryCapabilities
|
|
18
|
+
|
|
19
|
+
# @rbs return: Hash[String, untyped]
|
|
20
|
+
def to_h: () -> Hash[String, untyped]
|
|
21
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_edit_history_entry.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesEditHistoryEntry
|
|
4
|
+
# @dynamic uri
|
|
5
|
+
attr_reader uri: String
|
|
6
|
+
|
|
7
|
+
# @dynamic diff
|
|
8
|
+
attr_reader diff: String
|
|
9
|
+
|
|
10
|
+
# @dynamic meta
|
|
11
|
+
attr_reader meta: Hash[String, untyped]?
|
|
12
|
+
|
|
13
|
+
# @rbs uri: String
|
|
14
|
+
# @rbs diff: String
|
|
15
|
+
# @rbs meta: Hash[String, untyped]?
|
|
16
|
+
# @rbs return: void
|
|
17
|
+
def initialize: (uri: String, diff: String, ?meta: Hash[String, untyped]?) -> void
|
|
18
|
+
|
|
19
|
+
# @rbs hash: Hash[String, untyped]
|
|
20
|
+
# @rbs return: ACP::Types::Unstable::NesEditHistoryEntry
|
|
21
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesEditHistoryEntry
|
|
22
|
+
|
|
23
|
+
# @rbs return: Hash[String, untyped]
|
|
24
|
+
def to_h: () -> Hash[String, untyped]
|
|
25
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_edit_suggestion.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesEditSuggestion
|
|
4
|
+
# @dynamic id
|
|
5
|
+
attr_reader id: String
|
|
6
|
+
|
|
7
|
+
# @dynamic uri
|
|
8
|
+
attr_reader uri: String
|
|
9
|
+
|
|
10
|
+
# @dynamic edits
|
|
11
|
+
attr_reader edits: Array[ACP::Types::Unstable::NesTextEdit]
|
|
12
|
+
|
|
13
|
+
# @dynamic cursor_position
|
|
14
|
+
attr_reader cursor_position: ACP::Types::Unstable::Position?
|
|
15
|
+
|
|
16
|
+
# @dynamic meta
|
|
17
|
+
attr_reader meta: Hash[String, untyped]?
|
|
18
|
+
|
|
19
|
+
# @rbs id: String
|
|
20
|
+
# @rbs uri: String
|
|
21
|
+
# @rbs edits: Array[ACP::Types::Unstable::NesTextEdit]
|
|
22
|
+
# @rbs cursor_position: ACP::Types::Unstable::Position?
|
|
23
|
+
# @rbs meta: Hash[String, untyped]?
|
|
24
|
+
# @rbs return: void
|
|
25
|
+
def initialize: (id: String, uri: String, edits: Array[ACP::Types::Unstable::NesTextEdit], ?cursor_position: ACP::Types::Unstable::Position?, ?meta: Hash[String, untyped]?) -> void
|
|
26
|
+
|
|
27
|
+
# @rbs hash: Hash[String, untyped]
|
|
28
|
+
# @rbs return: ACP::Types::Unstable::NesEditSuggestion
|
|
29
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesEditSuggestion
|
|
30
|
+
|
|
31
|
+
# @rbs return: Hash[String, untyped]
|
|
32
|
+
def to_h: () -> Hash[String, untyped]
|
|
33
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_event_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesEventCapabilities
|
|
4
|
+
# @dynamic document
|
|
5
|
+
attr_reader document: ACP::Types::Unstable::NesDocumentEventCapabilities?
|
|
6
|
+
|
|
7
|
+
# @dynamic meta
|
|
8
|
+
attr_reader meta: Hash[String, untyped]?
|
|
9
|
+
|
|
10
|
+
# @rbs document: ACP::Types::Unstable::NesDocumentEventCapabilities?
|
|
11
|
+
# @rbs meta: Hash[String, untyped]?
|
|
12
|
+
# @rbs return: void
|
|
13
|
+
def initialize: (?document: ACP::Types::Unstable::NesDocumentEventCapabilities?, ?meta: Hash[String, untyped]?) -> void
|
|
14
|
+
|
|
15
|
+
# @rbs hash: Hash[String, untyped]
|
|
16
|
+
# @rbs return: ACP::Types::Unstable::NesEventCapabilities
|
|
17
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesEventCapabilities
|
|
18
|
+
|
|
19
|
+
# @rbs return: Hash[String, untyped]
|
|
20
|
+
def to_h: () -> Hash[String, untyped]
|
|
21
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_excerpt.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesExcerpt
|
|
4
|
+
# @dynamic start_line
|
|
5
|
+
attr_reader start_line: Integer
|
|
6
|
+
|
|
7
|
+
# @dynamic end_line
|
|
8
|
+
attr_reader end_line: Integer
|
|
9
|
+
|
|
10
|
+
# @dynamic text
|
|
11
|
+
attr_reader text: String
|
|
12
|
+
|
|
13
|
+
# @dynamic meta
|
|
14
|
+
attr_reader meta: Hash[String, untyped]?
|
|
15
|
+
|
|
16
|
+
# @rbs start_line: Integer
|
|
17
|
+
# @rbs end_line: Integer
|
|
18
|
+
# @rbs text: String
|
|
19
|
+
# @rbs meta: Hash[String, untyped]?
|
|
20
|
+
# @rbs return: void
|
|
21
|
+
def initialize: (start_line: Integer, end_line: Integer, text: String, ?meta: Hash[String, untyped]?) -> void
|
|
22
|
+
|
|
23
|
+
# @rbs hash: Hash[String, untyped]
|
|
24
|
+
# @rbs return: ACP::Types::Unstable::NesExcerpt
|
|
25
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesExcerpt
|
|
26
|
+
|
|
27
|
+
# @rbs return: Hash[String, untyped]
|
|
28
|
+
def to_h: () -> Hash[String, untyped]
|
|
29
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_jump_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesJumpCapabilities
|
|
4
|
+
# @dynamic meta
|
|
5
|
+
attr_reader meta: Hash[String, untyped]?
|
|
6
|
+
|
|
7
|
+
# @rbs meta: Hash[String, untyped]?
|
|
8
|
+
# @rbs return: void
|
|
9
|
+
def initialize: (?meta: Hash[String, untyped]?) -> void
|
|
10
|
+
|
|
11
|
+
# @rbs hash: Hash[String, untyped]
|
|
12
|
+
# @rbs return: ACP::Types::Unstable::NesJumpCapabilities
|
|
13
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesJumpCapabilities
|
|
14
|
+
|
|
15
|
+
# @rbs return: Hash[String, untyped]
|
|
16
|
+
def to_h: () -> Hash[String, untyped]
|
|
17
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_jump_suggestion.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesJumpSuggestion
|
|
4
|
+
# @dynamic id
|
|
5
|
+
attr_reader id: String
|
|
6
|
+
|
|
7
|
+
# @dynamic uri
|
|
8
|
+
attr_reader uri: String
|
|
9
|
+
|
|
10
|
+
# @dynamic position
|
|
11
|
+
attr_reader position: ACP::Types::Unstable::Position
|
|
12
|
+
|
|
13
|
+
# @dynamic meta
|
|
14
|
+
attr_reader meta: Hash[String, untyped]?
|
|
15
|
+
|
|
16
|
+
# @rbs id: String
|
|
17
|
+
# @rbs uri: String
|
|
18
|
+
# @rbs position: ACP::Types::Unstable::Position
|
|
19
|
+
# @rbs meta: Hash[String, untyped]?
|
|
20
|
+
# @rbs return: void
|
|
21
|
+
def initialize: (id: String, uri: String, position: ACP::Types::Unstable::Position, ?meta: Hash[String, untyped]?) -> void
|
|
22
|
+
|
|
23
|
+
# @rbs hash: Hash[String, untyped]
|
|
24
|
+
# @rbs return: ACP::Types::Unstable::NesJumpSuggestion
|
|
25
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesJumpSuggestion
|
|
26
|
+
|
|
27
|
+
# @rbs return: Hash[String, untyped]
|
|
28
|
+
def to_h: () -> Hash[String, untyped]
|
|
29
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_open_file.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesOpenFile
|
|
4
|
+
# @dynamic uri
|
|
5
|
+
attr_reader uri: String
|
|
6
|
+
|
|
7
|
+
# @dynamic language_id
|
|
8
|
+
attr_reader language_id: String
|
|
9
|
+
|
|
10
|
+
# @dynamic visible_range
|
|
11
|
+
attr_reader visible_range: ACP::Types::Unstable::Range?
|
|
12
|
+
|
|
13
|
+
# @dynamic last_focused_ms
|
|
14
|
+
attr_reader last_focused_ms: Integer?
|
|
15
|
+
|
|
16
|
+
# @dynamic meta
|
|
17
|
+
attr_reader meta: Hash[String, untyped]?
|
|
18
|
+
|
|
19
|
+
# @rbs uri: String
|
|
20
|
+
# @rbs language_id: String
|
|
21
|
+
# @rbs visible_range: ACP::Types::Unstable::Range?
|
|
22
|
+
# @rbs last_focused_ms: Integer?
|
|
23
|
+
# @rbs meta: Hash[String, untyped]?
|
|
24
|
+
# @rbs return: void
|
|
25
|
+
def initialize: (uri: String, language_id: String, ?visible_range: ACP::Types::Unstable::Range?, ?last_focused_ms: Integer?, ?meta: Hash[String, untyped]?) -> void
|
|
26
|
+
|
|
27
|
+
# @rbs hash: Hash[String, untyped]
|
|
28
|
+
# @rbs return: ACP::Types::Unstable::NesOpenFile
|
|
29
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesOpenFile
|
|
30
|
+
|
|
31
|
+
# @rbs return: Hash[String, untyped]
|
|
32
|
+
def to_h: () -> Hash[String, untyped]
|
|
33
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_open_files_capabilities.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesOpenFilesCapabilities
|
|
4
|
+
# @dynamic meta
|
|
5
|
+
attr_reader meta: Hash[String, untyped]?
|
|
6
|
+
|
|
7
|
+
# @rbs meta: Hash[String, untyped]?
|
|
8
|
+
# @rbs return: void
|
|
9
|
+
def initialize: (?meta: Hash[String, untyped]?) -> void
|
|
10
|
+
|
|
11
|
+
# @rbs hash: Hash[String, untyped]
|
|
12
|
+
# @rbs return: ACP::Types::Unstable::NesOpenFilesCapabilities
|
|
13
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesOpenFilesCapabilities
|
|
14
|
+
|
|
15
|
+
# @rbs return: Hash[String, untyped]
|
|
16
|
+
def to_h: () -> Hash[String, untyped]
|
|
17
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated from lib/acp/types/unstable/nes_recent_file.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
class ACP::Types::Unstable::NesRecentFile
|
|
4
|
+
# @dynamic uri
|
|
5
|
+
attr_reader uri: String
|
|
6
|
+
|
|
7
|
+
# @dynamic language_id
|
|
8
|
+
attr_reader language_id: String
|
|
9
|
+
|
|
10
|
+
# @dynamic text
|
|
11
|
+
attr_reader text: String
|
|
12
|
+
|
|
13
|
+
# @dynamic meta
|
|
14
|
+
attr_reader meta: Hash[String, untyped]?
|
|
15
|
+
|
|
16
|
+
# @rbs uri: String
|
|
17
|
+
# @rbs language_id: String
|
|
18
|
+
# @rbs text: String
|
|
19
|
+
# @rbs meta: Hash[String, untyped]?
|
|
20
|
+
# @rbs return: void
|
|
21
|
+
def initialize: (uri: String, language_id: String, text: String, ?meta: Hash[String, untyped]?) -> void
|
|
22
|
+
|
|
23
|
+
# @rbs hash: Hash[String, untyped]
|
|
24
|
+
# @rbs return: ACP::Types::Unstable::NesRecentFile
|
|
25
|
+
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesRecentFile
|
|
26
|
+
|
|
27
|
+
# @rbs return: Hash[String, untyped]
|
|
28
|
+
def to_h: () -> Hash[String, untyped]
|
|
29
|
+
end
|