acp-sdk 0.9.0 → 0.11.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 +32 -0
- data/README.md +20 -8
- data/lib/acp/agent_connection/client.rb +31 -13
- data/lib/acp/agent_connection/optional_method/spec.rb +42 -0
- data/lib/acp/agent_connection/optional_method.rb +36 -0
- data/lib/acp/agent_connection.rb +67 -20
- data/lib/acp/agent_process.rb +0 -13
- data/lib/acp/client_connection/streams.rb +183 -0
- data/lib/acp/client_connection.rb +280 -338
- data/lib/acp/protocol.rb +33 -0
- data/lib/acp/request_error.rb +13 -13
- data/lib/acp/transport/cancellation.rb +13 -3
- data/lib/acp/transport/reply.rb +0 -2
- data/lib/acp/transport/stderr_logger.rb +1 -2
- data/lib/acp/transport/stdio.rb +25 -26
- data/lib/acp/types/audio_content.rb +3 -46
- data/lib/acp/types/auth_method_terminal.rb +3 -59
- data/lib/acp/types/available_commands_update.rb +3 -32
- data/lib/acp/types/boolean_property_schema.rb +3 -41
- data/lib/acp/types/check.rb +210 -0
- data/lib/acp/types/config_option_update.rb +3 -32
- data/lib/acp/types/content.rb +3 -29
- data/lib/acp/types/{elicitation_url_mode → create_elicitation_request/mode/form}/scope.rb +1 -1
- data/lib/acp/types/create_elicitation_request/mode/form.rb +3 -3
- data/lib/acp/types/{elicitation_form_mode → create_elicitation_request/mode/url}/scope.rb +1 -1
- data/lib/acp/types/create_elicitation_request/mode/url.rb +3 -3
- data/lib/acp/types/current_mode_update.rb +3 -29
- data/lib/acp/types/diff.rb +3 -41
- data/lib/acp/types/elicitation_accept_action.rb +3 -26
- data/lib/acp/types/elicitation_form_mode.rb +3 -33
- data/lib/acp/types/elicitation_url_mode.rb +3 -35
- data/lib/acp/types/embedded_resource.rb +3 -44
- data/lib/acp/types/image_content.rb +3 -58
- data/lib/acp/types/integer_property_schema.rb +3 -60
- data/lib/acp/types/mcp_server_http.rb +3 -44
- data/lib/acp/types/mcp_server_sse.rb +3 -44
- data/lib/acp/types/multi_select_property_schema.rb +3 -70
- data/lib/acp/types/number_property_schema.rb +3 -60
- data/lib/acp/types/parse_error.rb +37 -0
- data/lib/acp/types/plan.rb +3 -29
- data/lib/acp/types/resource_link.rb +3 -79
- data/lib/acp/types/selected_permission_outcome.rb +3 -26
- data/lib/acp/types/session_config_boolean.rb +3 -21
- data/lib/acp/types/session_config_select.rb +3 -33
- data/lib/acp/types/session_info_update.rb +3 -42
- data/lib/acp/types/string_multi_select_items.rb +3 -29
- data/lib/acp/types/string_property_schema.rb +3 -105
- data/lib/acp/types/terminal.rb +3 -29
- data/lib/acp/types/text_content.rb +3 -40
- data/lib/acp/types/tool_call.rb +3 -115
- data/lib/acp/types/unstable/compaction_summary_chunk.rb +3 -35
- data/lib/acp/types/unstable/compaction_update.rb +3 -56
- data/lib/acp/types/unstable/idle_state_update.rb +3 -40
- data/lib/acp/types/unstable/mcp_server_acp.rb +3 -35
- data/lib/acp/types/unstable/message_mcp_response/result.rb +1 -1
- data/lib/acp/types/unstable/nes_edit_suggestion.rb +3 -61
- data/lib/acp/types/unstable/nes_jump_suggestion.rb +3 -45
- data/lib/acp/types/unstable/nes_rename_suggestion.rb +3 -51
- data/lib/acp/types/unstable/nes_search_and_replace_suggestion.rb +3 -60
- data/lib/acp/types/unstable/notice.rb +3 -41
- data/lib/acp/types/unstable/plan_file.rb +3 -35
- data/lib/acp/types/unstable/plan_items.rb +3 -38
- data/lib/acp/types/unstable/plan_markdown.rb +3 -35
- data/lib/acp/types/unstable/plan_removed.rb +3 -26
- data/lib/acp/types/unstable/plan_update.rb +3 -33
- data/lib/acp/types/unstable/requires_action_state_update.rb +3 -21
- data/lib/acp/types/unstable/running_state_update.rb +3 -21
- data/lib/acp/types/unstable/session_message.rb +3 -56
- data/lib/acp/types/unstable/session_message_chunk.rb +3 -53
- data/lib/acp/types/unstable/subagent_update.rb +3 -65
- data/lib/acp/types/unstable/unknown_state_update.rb +3 -21
- data/lib/acp/types/unstable.rb +20 -20
- data/lib/acp/types/usage_update.rb +3 -41
- data/lib/acp/types.rb +7 -246
- data/lib/acp/version.rb +1 -1
- data/sig/generated/acp/agent_connection/client.rbs +25 -15
- data/sig/generated/acp/agent_connection/optional_method/spec.rbs +32 -0
- data/sig/generated/acp/agent_connection/optional_method.rbs +3 -0
- data/sig/generated/acp/agent_connection.rbs +34 -13
- data/sig/generated/acp/agent_process.rbs +0 -13
- data/sig/generated/acp/client_connection/streams.rbs +94 -0
- data/sig/generated/acp/client_connection.rbs +128 -131
- data/sig/generated/acp/protocol.rbs +9 -0
- data/sig/generated/acp/request_error.rbs +11 -13
- data/sig/generated/acp/transport/cancellation.rbs +9 -3
- data/sig/generated/acp/transport/reply.rbs +0 -2
- data/sig/generated/acp/transport/stderr_logger.rbs +1 -2
- data/sig/generated/acp/transport/stdio.rbs +14 -22
- data/sig/generated/acp/types/audio_content.rbs +1 -27
- data/sig/generated/acp/types/auth_method_terminal.rbs +1 -35
- data/sig/generated/acp/types/available_commands_update.rbs +1 -19
- data/sig/generated/acp/types/boolean_property_schema.rbs +1 -27
- data/sig/generated/acp/types/check.rbs +115 -0
- data/sig/generated/acp/types/config_option_update.rbs +1 -19
- data/sig/generated/acp/types/content.rbs +1 -19
- data/sig/generated/acp/types/{elicitation_url_mode → create_elicitation_request/mode/form}/scope.rbs +2 -2
- data/sig/generated/acp/types/create_elicitation_request/mode/form.rbs +3 -3
- data/sig/generated/acp/types/{elicitation_form_mode → create_elicitation_request/mode/url}/scope.rbs +2 -2
- data/sig/generated/acp/types/create_elicitation_request/mode/url.rbs +3 -3
- data/sig/generated/acp/types/current_mode_update.rbs +1 -19
- data/sig/generated/acp/types/diff.rbs +1 -27
- data/sig/generated/acp/types/elicitation_accept_action.rbs +1 -15
- data/sig/generated/acp/types/elicitation_form_mode.rbs +1 -19
- data/sig/generated/acp/types/elicitation_url_mode.rbs +1 -23
- data/sig/generated/acp/types/embedded_resource.rbs +1 -23
- data/sig/generated/acp/types/image_content.rbs +1 -31
- data/sig/generated/acp/types/integer_property_schema.rbs +1 -35
- data/sig/generated/acp/types/mcp_server_http.rbs +1 -27
- data/sig/generated/acp/types/mcp_server_sse.rbs +1 -27
- data/sig/generated/acp/types/multi_select_property_schema.rbs +1 -39
- data/sig/generated/acp/types/number_property_schema.rbs +1 -35
- data/sig/generated/acp/types/parse_error.rbs +22 -0
- data/sig/generated/acp/types/plan.rbs +1 -19
- data/sig/generated/acp/types/resource_link.rbs +1 -43
- data/sig/generated/acp/types/selected_permission_outcome.rbs +1 -19
- data/sig/generated/acp/types/session_config_boolean.rbs +1 -15
- data/sig/generated/acp/types/session_config_select.rbs +1 -19
- data/sig/generated/acp/types/session_info_update.rbs +1 -23
- data/sig/generated/acp/types/string_multi_select_items.rbs +1 -19
- data/sig/generated/acp/types/string_property_schema.rbs +1 -51
- data/sig/generated/acp/types/terminal.rbs +1 -19
- data/sig/generated/acp/types/text_content.rbs +1 -23
- data/sig/generated/acp/types/tool_call.rbs +1 -51
- data/sig/generated/acp/types/unstable/compaction_summary_chunk.rbs +1 -23
- data/sig/generated/acp/types/unstable/compaction_update.rbs +1 -31
- data/sig/generated/acp/types/unstable/idle_state_update.rbs +1 -23
- data/sig/generated/acp/types/unstable/mcp_server_acp.rbs +1 -23
- data/sig/generated/acp/types/unstable/nes_edit_suggestion.rbs +1 -31
- data/sig/generated/acp/types/unstable/nes_jump_suggestion.rbs +1 -27
- data/sig/generated/acp/types/unstable/nes_rename_suggestion.rbs +1 -31
- data/sig/generated/acp/types/unstable/nes_search_and_replace_suggestion.rbs +1 -35
- data/sig/generated/acp/types/unstable/notice.rbs +1 -27
- data/sig/generated/acp/types/unstable/plan_file.rbs +1 -23
- data/sig/generated/acp/types/unstable/plan_items.rbs +1 -23
- data/sig/generated/acp/types/unstable/plan_markdown.rbs +1 -23
- data/sig/generated/acp/types/unstable/plan_removed.rbs +1 -19
- data/sig/generated/acp/types/unstable/plan_update.rbs +1 -19
- data/sig/generated/acp/types/unstable/requires_action_state_update.rbs +1 -15
- data/sig/generated/acp/types/unstable/running_state_update.rbs +1 -15
- data/sig/generated/acp/types/unstable/session_message.rbs +1 -31
- data/sig/generated/acp/types/unstable/session_message_chunk.rbs +1 -31
- data/sig/generated/acp/types/unstable/subagent_update.rbs +1 -35
- data/sig/generated/acp/types/unstable/unknown_state_update.rbs +1 -15
- data/sig/generated/acp/types/usage_update.rbs +1 -27
- data/sig/generated/acp/types.rbs +6 -143
- data/sig/manual/acp/agent_connection.rbs +28 -28
- data/sig/manual/acp/client_connection.rbs +7 -2
- data/sig/manual/acp/{agent_connection/optional_method/logout.rbs → protocol.rbs} +3 -3
- data/sig/manual/acp/transport/stdio.rbs +0 -2
- data/sig/manual/acp/transport.rbs +25 -2
- metadata +17 -29
- data/lib/acp/agent_connection/optional_method/authenticate.rb +0 -21
- data/lib/acp/agent_connection/optional_method/close_session.rb +0 -21
- data/lib/acp/agent_connection/optional_method/delete_session.rb +0 -21
- data/lib/acp/agent_connection/optional_method/list_sessions.rb +0 -21
- data/lib/acp/agent_connection/optional_method/load_session.rb +0 -21
- data/lib/acp/agent_connection/optional_method/logout.rb +0 -21
- data/lib/acp/agent_connection/optional_method/resume_session.rb +0 -21
- data/lib/acp/types/content_chunk.rb +0 -40
- data/sig/generated/acp/agent_connection/optional_method/authenticate.rbs +0 -13
- data/sig/generated/acp/agent_connection/optional_method/close_session.rbs +0 -13
- data/sig/generated/acp/agent_connection/optional_method/delete_session.rbs +0 -13
- data/sig/generated/acp/agent_connection/optional_method/list_sessions.rbs +0 -13
- data/sig/generated/acp/agent_connection/optional_method/load_session.rbs +0 -13
- data/sig/generated/acp/agent_connection/optional_method/logout.rbs +0 -13
- data/sig/generated/acp/agent_connection/optional_method/resume_session.rbs +0 -13
- data/sig/generated/acp/types/content_chunk.rbs +0 -25
- data/sig/manual/acp/agent_connection/optional_method/authenticate.rbs +0 -6
- data/sig/manual/acp/agent_connection/optional_method/close_session.rbs +0 -6
- data/sig/manual/acp/agent_connection/optional_method/delete_session.rbs +0 -6
- data/sig/manual/acp/agent_connection/optional_method/list_sessions.rbs +0 -6
- data/sig/manual/acp/agent_connection/optional_method/load_session.rbs +0 -6
- data/sig/manual/acp/agent_connection/optional_method/resume_session.rbs +0 -6
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/plan.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Plan
|
|
4
|
-
# @dynamic entries
|
|
5
|
-
attr_reader entries: Array[ACP::Types::PlanEntry]
|
|
6
|
-
|
|
7
|
-
# @dynamic meta
|
|
8
|
-
attr_reader meta: Hash[String, untyped]?
|
|
9
|
-
|
|
10
|
-
# @rbs entries: Array[ACP::Types::PlanEntry]
|
|
11
|
-
# @rbs meta: Hash[String, untyped]?
|
|
12
|
-
# @rbs return: void
|
|
13
|
-
def initialize: (entries: Array[ACP::Types::PlanEntry], ?meta: Hash[String, untyped]?) -> void
|
|
14
|
-
|
|
15
|
-
# @rbs hash: Hash[String, untyped]
|
|
16
|
-
# @rbs return: ACP::Types::Plan
|
|
17
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Plan
|
|
18
|
-
|
|
19
|
-
# @rbs return: Hash[String, untyped]
|
|
20
|
-
def to_h: () -> Hash[String, untyped]
|
|
21
|
-
end
|
|
3
|
+
class ACP::Types::Plan = ACP::Types::SessionUpdate::Plan
|
|
@@ -1,45 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/resource_link.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::ResourceLink
|
|
4
|
-
# @dynamic annotations
|
|
5
|
-
attr_reader annotations: ACP::Types::Annotations?
|
|
6
|
-
|
|
7
|
-
# @dynamic description
|
|
8
|
-
attr_reader description: String?
|
|
9
|
-
|
|
10
|
-
# @dynamic mime_type
|
|
11
|
-
attr_reader mime_type: String?
|
|
12
|
-
|
|
13
|
-
# @dynamic name
|
|
14
|
-
attr_reader name: String
|
|
15
|
-
|
|
16
|
-
# @dynamic size
|
|
17
|
-
attr_reader size: Integer?
|
|
18
|
-
|
|
19
|
-
# @dynamic title
|
|
20
|
-
attr_reader title: String?
|
|
21
|
-
|
|
22
|
-
# @dynamic uri
|
|
23
|
-
attr_reader uri: String
|
|
24
|
-
|
|
25
|
-
# @dynamic meta
|
|
26
|
-
attr_reader meta: Hash[String, untyped]?
|
|
27
|
-
|
|
28
|
-
# @rbs annotations: ACP::Types::Annotations?
|
|
29
|
-
# @rbs description: String?
|
|
30
|
-
# @rbs mime_type: String?
|
|
31
|
-
# @rbs name: String
|
|
32
|
-
# @rbs size: Integer?
|
|
33
|
-
# @rbs title: String?
|
|
34
|
-
# @rbs uri: String
|
|
35
|
-
# @rbs meta: Hash[String, untyped]?
|
|
36
|
-
# @rbs return: void
|
|
37
|
-
def initialize: (name: String, uri: String, ?annotations: ACP::Types::Annotations?, ?description: String?, ?mime_type: String?, ?size: Integer?, ?title: String?, ?meta: Hash[String, untyped]?) -> void
|
|
38
|
-
|
|
39
|
-
# @rbs hash: Hash[String, untyped]
|
|
40
|
-
# @rbs return: ACP::Types::ResourceLink
|
|
41
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::ResourceLink
|
|
42
|
-
|
|
43
|
-
# @rbs return: Hash[String, untyped]
|
|
44
|
-
def to_h: () -> Hash[String, untyped]
|
|
45
|
-
end
|
|
3
|
+
class ACP::Types::ResourceLink = ACP::Types::ContentBlock::ResourceLink
|
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/selected_permission_outcome.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::SelectedPermissionOutcome
|
|
4
|
-
# @dynamic option_id
|
|
5
|
-
attr_reader option_id: String
|
|
6
|
-
|
|
7
|
-
# @dynamic meta
|
|
8
|
-
attr_reader meta: Hash[String, untyped]?
|
|
9
|
-
|
|
10
|
-
# @rbs option_id: String
|
|
11
|
-
# @rbs meta: Hash[String, untyped]?
|
|
12
|
-
# @rbs return: void
|
|
13
|
-
def initialize: (option_id: String, ?meta: Hash[String, untyped]?) -> void
|
|
14
|
-
|
|
15
|
-
# @rbs hash: Hash[String, untyped]
|
|
16
|
-
# @rbs return: ACP::Types::SelectedPermissionOutcome
|
|
17
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::SelectedPermissionOutcome
|
|
18
|
-
|
|
19
|
-
# @rbs return: Hash[String, untyped]
|
|
20
|
-
def to_h: () -> Hash[String, untyped]
|
|
21
|
-
end
|
|
3
|
+
class ACP::Types::SelectedPermissionOutcome = ACP::Types::RequestPermissionOutcome::Selected
|
|
@@ -1,17 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/session_config_boolean.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::SessionConfigBoolean
|
|
4
|
-
# @dynamic current_value
|
|
5
|
-
attr_reader current_value: bool
|
|
6
|
-
|
|
7
|
-
# @rbs current_value: bool
|
|
8
|
-
# @rbs return: void
|
|
9
|
-
def initialize: (current_value: bool) -> void
|
|
10
|
-
|
|
11
|
-
# @rbs hash: Hash[String, untyped]
|
|
12
|
-
# @rbs return: ACP::Types::SessionConfigBoolean
|
|
13
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::SessionConfigBoolean
|
|
14
|
-
|
|
15
|
-
# @rbs return: Hash[String, untyped]
|
|
16
|
-
def to_h: () -> Hash[String, untyped]
|
|
17
|
-
end
|
|
3
|
+
class ACP::Types::SessionConfigBoolean = ACP::Types::SessionConfigOption::Kind::Boolean
|
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/session_config_select.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::SessionConfigSelect
|
|
4
|
-
# @dynamic current_value
|
|
5
|
-
attr_reader current_value: String
|
|
6
|
-
|
|
7
|
-
# @dynamic options
|
|
8
|
-
attr_reader options: ACP::Types::SessionConfigSelectOptions::t
|
|
9
|
-
|
|
10
|
-
# @rbs current_value: String
|
|
11
|
-
# @rbs options: ACP::Types::SessionConfigSelectOptions::t
|
|
12
|
-
# @rbs return: void
|
|
13
|
-
def initialize: (current_value: String, options: ACP::Types::SessionConfigSelectOptions::t) -> void
|
|
14
|
-
|
|
15
|
-
# @rbs hash: Hash[String, untyped]
|
|
16
|
-
# @rbs return: ACP::Types::SessionConfigSelect
|
|
17
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::SessionConfigSelect
|
|
18
|
-
|
|
19
|
-
# @rbs return: Hash[String, untyped]
|
|
20
|
-
def to_h: () -> Hash[String, untyped]
|
|
21
|
-
end
|
|
3
|
+
class ACP::Types::SessionConfigSelect = ACP::Types::SessionConfigOption::Kind::Select
|
|
@@ -1,25 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/session_info_update.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::SessionInfoUpdate
|
|
4
|
-
# @dynamic title
|
|
5
|
-
attr_reader title: String? | :unset
|
|
6
|
-
|
|
7
|
-
# @dynamic updated_at
|
|
8
|
-
attr_reader updated_at: String? | :unset
|
|
9
|
-
|
|
10
|
-
# @dynamic meta
|
|
11
|
-
attr_reader meta: Hash[String, untyped]?
|
|
12
|
-
|
|
13
|
-
# @rbs title: String? | :unset
|
|
14
|
-
# @rbs updated_at: String? | :unset
|
|
15
|
-
# @rbs meta: Hash[String, untyped]?
|
|
16
|
-
# @rbs return: void
|
|
17
|
-
def initialize: (?title: String? | :unset, ?updated_at: String? | :unset, ?meta: Hash[String, untyped]?) -> void
|
|
18
|
-
|
|
19
|
-
# @rbs hash: Hash[String, untyped]
|
|
20
|
-
# @rbs return: ACP::Types::SessionInfoUpdate
|
|
21
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::SessionInfoUpdate
|
|
22
|
-
|
|
23
|
-
# @rbs return: Hash[String, untyped]
|
|
24
|
-
def to_h: () -> Hash[String, untyped]
|
|
25
|
-
end
|
|
3
|
+
class ACP::Types::SessionInfoUpdate = ACP::Types::SessionUpdate::SessionInfoUpdate
|
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/string_multi_select_items.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::StringMultiSelectItems
|
|
4
|
-
# @dynamic enum
|
|
5
|
-
attr_reader enum: Array[String]
|
|
6
|
-
|
|
7
|
-
# @dynamic meta
|
|
8
|
-
attr_reader meta: Hash[String, untyped]?
|
|
9
|
-
|
|
10
|
-
# @rbs enum: Array[String]
|
|
11
|
-
# @rbs meta: Hash[String, untyped]?
|
|
12
|
-
# @rbs return: void
|
|
13
|
-
def initialize: (enum: Array[String], ?meta: Hash[String, untyped]?) -> void
|
|
14
|
-
|
|
15
|
-
# @rbs hash: Hash[String, untyped]
|
|
16
|
-
# @rbs return: ACP::Types::StringMultiSelectItems
|
|
17
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::StringMultiSelectItems
|
|
18
|
-
|
|
19
|
-
# @rbs return: Hash[String, untyped]
|
|
20
|
-
def to_h: () -> Hash[String, untyped]
|
|
21
|
-
end
|
|
3
|
+
class ACP::Types::StringMultiSelectItems = ACP::Types::MultiSelectItems::StringMultiSelectItems
|
|
@@ -1,53 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/string_property_schema.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::StringPropertySchema
|
|
4
|
-
# @dynamic title
|
|
5
|
-
attr_reader title: String?
|
|
6
|
-
|
|
7
|
-
# @dynamic description
|
|
8
|
-
attr_reader description: String?
|
|
9
|
-
|
|
10
|
-
# @dynamic min_length
|
|
11
|
-
attr_reader min_length: Integer?
|
|
12
|
-
|
|
13
|
-
# @dynamic max_length
|
|
14
|
-
attr_reader max_length: Integer?
|
|
15
|
-
|
|
16
|
-
# @dynamic pattern
|
|
17
|
-
attr_reader pattern: String?
|
|
18
|
-
|
|
19
|
-
# @dynamic format
|
|
20
|
-
attr_reader format: String?
|
|
21
|
-
|
|
22
|
-
# @dynamic default
|
|
23
|
-
attr_reader default: String?
|
|
24
|
-
|
|
25
|
-
# @dynamic enum
|
|
26
|
-
attr_reader enum: Array[String]?
|
|
27
|
-
|
|
28
|
-
# @dynamic one_of
|
|
29
|
-
attr_reader one_of: Array[ACP::Types::EnumOption]?
|
|
30
|
-
|
|
31
|
-
# @dynamic meta
|
|
32
|
-
attr_reader meta: Hash[String, untyped]?
|
|
33
|
-
|
|
34
|
-
# @rbs title: String?
|
|
35
|
-
# @rbs description: String?
|
|
36
|
-
# @rbs min_length: Integer?
|
|
37
|
-
# @rbs max_length: Integer?
|
|
38
|
-
# @rbs pattern: String?
|
|
39
|
-
# @rbs format: String?
|
|
40
|
-
# @rbs default: String?
|
|
41
|
-
# @rbs enum: Array[String]?
|
|
42
|
-
# @rbs one_of: Array[ACP::Types::EnumOption]?
|
|
43
|
-
# @rbs meta: Hash[String, untyped]?
|
|
44
|
-
# @rbs return: void
|
|
45
|
-
def initialize: (?title: String?, ?description: String?, ?min_length: Integer?, ?max_length: Integer?, ?pattern: String?, ?format: String?, ?default: String?, ?enum: Array[String]?, ?one_of: Array[ACP::Types::EnumOption]?, ?meta: Hash[String, untyped]?) -> void
|
|
46
|
-
|
|
47
|
-
# @rbs hash: Hash[String, untyped]
|
|
48
|
-
# @rbs return: ACP::Types::StringPropertySchema
|
|
49
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::StringPropertySchema
|
|
50
|
-
|
|
51
|
-
# @rbs return: Hash[String, untyped]
|
|
52
|
-
def to_h: () -> Hash[String, untyped]
|
|
53
|
-
end
|
|
3
|
+
class ACP::Types::StringPropertySchema = ACP::Types::ElicitationPropertySchema::StringPropertySchema
|
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/terminal.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Terminal
|
|
4
|
-
# @dynamic terminal_id
|
|
5
|
-
attr_reader terminal_id: String
|
|
6
|
-
|
|
7
|
-
# @dynamic meta
|
|
8
|
-
attr_reader meta: Hash[String, untyped]?
|
|
9
|
-
|
|
10
|
-
# @rbs terminal_id: String
|
|
11
|
-
# @rbs meta: Hash[String, untyped]?
|
|
12
|
-
# @rbs return: void
|
|
13
|
-
def initialize: (terminal_id: String, ?meta: Hash[String, untyped]?) -> void
|
|
14
|
-
|
|
15
|
-
# @rbs hash: Hash[String, untyped]
|
|
16
|
-
# @rbs return: ACP::Types::Terminal
|
|
17
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Terminal
|
|
18
|
-
|
|
19
|
-
# @rbs return: Hash[String, untyped]
|
|
20
|
-
def to_h: () -> Hash[String, untyped]
|
|
21
|
-
end
|
|
3
|
+
class ACP::Types::Terminal = ACP::Types::ToolCallContent::Terminal
|
|
@@ -1,25 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/text_content.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::TextContent
|
|
4
|
-
# @dynamic annotations
|
|
5
|
-
attr_reader annotations: ACP::Types::Annotations?
|
|
6
|
-
|
|
7
|
-
# @dynamic text
|
|
8
|
-
attr_reader text: String
|
|
9
|
-
|
|
10
|
-
# @dynamic meta
|
|
11
|
-
attr_reader meta: Hash[String, untyped]?
|
|
12
|
-
|
|
13
|
-
# @rbs annotations: ACP::Types::Annotations?
|
|
14
|
-
# @rbs text: String
|
|
15
|
-
# @rbs meta: Hash[String, untyped]?
|
|
16
|
-
# @rbs return: void
|
|
17
|
-
def initialize: (text: String, ?annotations: ACP::Types::Annotations?, ?meta: Hash[String, untyped]?) -> void
|
|
18
|
-
|
|
19
|
-
# @rbs hash: Hash[String, untyped]
|
|
20
|
-
# @rbs return: ACP::Types::TextContent
|
|
21
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::TextContent
|
|
22
|
-
|
|
23
|
-
# @rbs return: Hash[String, untyped]
|
|
24
|
-
def to_h: () -> Hash[String, untyped]
|
|
25
|
-
end
|
|
3
|
+
class ACP::Types::TextContent = ACP::Types::ContentBlock::Text
|
|
@@ -1,53 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/tool_call.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::ToolCall
|
|
4
|
-
# @dynamic tool_call_id
|
|
5
|
-
attr_reader tool_call_id: String
|
|
6
|
-
|
|
7
|
-
# @dynamic title
|
|
8
|
-
attr_reader title: String
|
|
9
|
-
|
|
10
|
-
# @dynamic name
|
|
11
|
-
attr_reader name: String?
|
|
12
|
-
|
|
13
|
-
# @dynamic kind
|
|
14
|
-
attr_reader kind: String?
|
|
15
|
-
|
|
16
|
-
# @dynamic status
|
|
17
|
-
attr_reader status: String?
|
|
18
|
-
|
|
19
|
-
# @dynamic content
|
|
20
|
-
attr_reader content: Array[ACP::Types::ToolCallContent::t]?
|
|
21
|
-
|
|
22
|
-
# @dynamic locations
|
|
23
|
-
attr_reader locations: Array[ACP::Types::ToolCallLocation]?
|
|
24
|
-
|
|
25
|
-
# @dynamic raw_input
|
|
26
|
-
attr_reader raw_input: untyped
|
|
27
|
-
|
|
28
|
-
# @dynamic raw_output
|
|
29
|
-
attr_reader raw_output: untyped
|
|
30
|
-
|
|
31
|
-
# @dynamic meta
|
|
32
|
-
attr_reader meta: Hash[String, untyped]?
|
|
33
|
-
|
|
34
|
-
# @rbs tool_call_id: String
|
|
35
|
-
# @rbs title: String
|
|
36
|
-
# @rbs name: String?
|
|
37
|
-
# @rbs kind: String?
|
|
38
|
-
# @rbs status: String?
|
|
39
|
-
# @rbs content: Array[ACP::Types::ToolCallContent::t]?
|
|
40
|
-
# @rbs locations: Array[ACP::Types::ToolCallLocation]?
|
|
41
|
-
# @rbs raw_input: untyped
|
|
42
|
-
# @rbs raw_output: untyped
|
|
43
|
-
# @rbs meta: Hash[String, untyped]?
|
|
44
|
-
# @rbs return: void
|
|
45
|
-
def initialize: (tool_call_id: String, title: String, ?name: String?, ?kind: String?, ?status: String?, ?content: Array[ACP::Types::ToolCallContent::t]?, ?locations: Array[ACP::Types::ToolCallLocation]?, ?raw_input: untyped, ?raw_output: untyped, ?meta: Hash[String, untyped]?) -> void
|
|
46
|
-
|
|
47
|
-
# @rbs hash: Hash[String, untyped]
|
|
48
|
-
# @rbs return: ACP::Types::ToolCall
|
|
49
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::ToolCall
|
|
50
|
-
|
|
51
|
-
# @rbs return: Hash[String, untyped]
|
|
52
|
-
def to_h: () -> Hash[String, untyped]
|
|
53
|
-
end
|
|
3
|
+
class ACP::Types::ToolCall = ACP::Types::SessionUpdate::ToolCall
|
|
@@ -1,25 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/compaction_summary_chunk.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Unstable::CompactionSummaryChunk
|
|
4
|
-
# @dynamic compaction_id
|
|
5
|
-
attr_reader compaction_id: String
|
|
6
|
-
|
|
7
|
-
# @dynamic content
|
|
8
|
-
attr_reader content: ACP::Types::ContentBlock::t
|
|
9
|
-
|
|
10
|
-
# @dynamic meta
|
|
11
|
-
attr_reader meta: Hash[String, untyped]?
|
|
12
|
-
|
|
13
|
-
# @rbs compaction_id: String
|
|
14
|
-
# @rbs content: ACP::Types::ContentBlock::t
|
|
15
|
-
# @rbs meta: Hash[String, untyped]?
|
|
16
|
-
# @rbs return: void
|
|
17
|
-
def initialize: (compaction_id: String, content: ACP::Types::ContentBlock::t, ?meta: Hash[String, untyped]?) -> void
|
|
18
|
-
|
|
19
|
-
# @rbs hash: Hash[String, untyped]
|
|
20
|
-
# @rbs return: ACP::Types::Unstable::CompactionSummaryChunk
|
|
21
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::CompactionSummaryChunk
|
|
22
|
-
|
|
23
|
-
# @rbs return: Hash[String, untyped]
|
|
24
|
-
def to_h: () -> Hash[String, untyped]
|
|
25
|
-
end
|
|
3
|
+
class ACP::Types::Unstable::CompactionSummaryChunk = ACP::Types::Unstable::SessionUpdate::CompactionSummaryChunk
|
|
@@ -1,33 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/compaction_update.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Unstable::CompactionUpdate
|
|
4
|
-
# @dynamic compaction_id
|
|
5
|
-
attr_reader compaction_id: String
|
|
6
|
-
|
|
7
|
-
# @dynamic status
|
|
8
|
-
attr_reader status: String
|
|
9
|
-
|
|
10
|
-
# @dynamic summary
|
|
11
|
-
attr_reader summary: Array[ACP::Types::ContentBlock::t]?
|
|
12
|
-
|
|
13
|
-
# @dynamic error
|
|
14
|
-
attr_reader error: String?
|
|
15
|
-
|
|
16
|
-
# @dynamic meta
|
|
17
|
-
attr_reader meta: Hash[String, untyped]?
|
|
18
|
-
|
|
19
|
-
# @rbs compaction_id: String
|
|
20
|
-
# @rbs status: String
|
|
21
|
-
# @rbs summary: Array[ACP::Types::ContentBlock::t]?
|
|
22
|
-
# @rbs error: String?
|
|
23
|
-
# @rbs meta: Hash[String, untyped]?
|
|
24
|
-
# @rbs return: void
|
|
25
|
-
def initialize: (compaction_id: String, status: String, ?summary: Array[ACP::Types::ContentBlock::t]?, ?error: String?, ?meta: Hash[String, untyped]?) -> void
|
|
26
|
-
|
|
27
|
-
# @rbs hash: Hash[String, untyped]
|
|
28
|
-
# @rbs return: ACP::Types::Unstable::CompactionUpdate
|
|
29
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::CompactionUpdate
|
|
30
|
-
|
|
31
|
-
# @rbs return: Hash[String, untyped]
|
|
32
|
-
def to_h: () -> Hash[String, untyped]
|
|
33
|
-
end
|
|
3
|
+
class ACP::Types::Unstable::CompactionUpdate = ACP::Types::Unstable::SessionUpdate::CompactionUpdate
|
|
@@ -1,25 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/idle_state_update.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Unstable::IdleStateUpdate
|
|
4
|
-
# @dynamic stop_reason
|
|
5
|
-
attr_reader stop_reason: String?
|
|
6
|
-
|
|
7
|
-
# @dynamic usage
|
|
8
|
-
attr_reader usage: ACP::Types::Unstable::Usage?
|
|
9
|
-
|
|
10
|
-
# @dynamic meta
|
|
11
|
-
attr_reader meta: Hash[String, untyped]?
|
|
12
|
-
|
|
13
|
-
# @rbs stop_reason: String?
|
|
14
|
-
# @rbs usage: ACP::Types::Unstable::Usage?
|
|
15
|
-
# @rbs meta: Hash[String, untyped]?
|
|
16
|
-
# @rbs return: void
|
|
17
|
-
def initialize: (?stop_reason: String?, ?usage: ACP::Types::Unstable::Usage?, ?meta: Hash[String, untyped]?) -> void
|
|
18
|
-
|
|
19
|
-
# @rbs hash: Hash[String, untyped]
|
|
20
|
-
# @rbs return: ACP::Types::Unstable::IdleStateUpdate
|
|
21
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::IdleStateUpdate
|
|
22
|
-
|
|
23
|
-
# @rbs return: Hash[String, untyped]
|
|
24
|
-
def to_h: () -> Hash[String, untyped]
|
|
25
|
-
end
|
|
3
|
+
class ACP::Types::Unstable::IdleStateUpdate = ACP::Types::Unstable::StateUpdate::Idle
|
|
@@ -1,25 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/mcp_server_acp.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Unstable::McpServerAcp
|
|
4
|
-
# @dynamic name
|
|
5
|
-
attr_reader name: String
|
|
6
|
-
|
|
7
|
-
# @dynamic server_id
|
|
8
|
-
attr_reader server_id: String
|
|
9
|
-
|
|
10
|
-
# @dynamic meta
|
|
11
|
-
attr_reader meta: Hash[String, untyped]?
|
|
12
|
-
|
|
13
|
-
# @rbs name: String
|
|
14
|
-
# @rbs server_id: String
|
|
15
|
-
# @rbs meta: Hash[String, untyped]?
|
|
16
|
-
# @rbs return: void
|
|
17
|
-
def initialize: (name: String, server_id: String, ?meta: Hash[String, untyped]?) -> void
|
|
18
|
-
|
|
19
|
-
# @rbs hash: Hash[String, untyped]
|
|
20
|
-
# @rbs return: ACP::Types::Unstable::McpServerAcp
|
|
21
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::McpServerAcp
|
|
22
|
-
|
|
23
|
-
# @rbs return: Hash[String, untyped]
|
|
24
|
-
def to_h: () -> Hash[String, untyped]
|
|
25
|
-
end
|
|
3
|
+
class ACP::Types::Unstable::McpServerAcp = ACP::Types::Unstable::McpServer::Acp
|
|
@@ -1,33 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/nes_edit_suggestion.rb with RBS::Inline
|
|
2
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
|
|
3
|
+
class ACP::Types::Unstable::NesEditSuggestion = ACP::Types::Unstable::NesSuggestion::Edit
|
|
@@ -1,29 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/nes_jump_suggestion.rb with RBS::Inline
|
|
2
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
|
|
3
|
+
class ACP::Types::Unstable::NesJumpSuggestion = ACP::Types::Unstable::NesSuggestion::Jump
|
|
@@ -1,33 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/nes_rename_suggestion.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Unstable::NesRenameSuggestion
|
|
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 new_name
|
|
14
|
-
attr_reader new_name: String
|
|
15
|
-
|
|
16
|
-
# @dynamic meta
|
|
17
|
-
attr_reader meta: Hash[String, untyped]?
|
|
18
|
-
|
|
19
|
-
# @rbs id: String
|
|
20
|
-
# @rbs uri: String
|
|
21
|
-
# @rbs position: ACP::Types::Unstable::Position
|
|
22
|
-
# @rbs new_name: String
|
|
23
|
-
# @rbs meta: Hash[String, untyped]?
|
|
24
|
-
# @rbs return: void
|
|
25
|
-
def initialize: (id: String, uri: String, position: ACP::Types::Unstable::Position, new_name: String, ?meta: Hash[String, untyped]?) -> void
|
|
26
|
-
|
|
27
|
-
# @rbs hash: Hash[String, untyped]
|
|
28
|
-
# @rbs return: ACP::Types::Unstable::NesRenameSuggestion
|
|
29
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesRenameSuggestion
|
|
30
|
-
|
|
31
|
-
# @rbs return: Hash[String, untyped]
|
|
32
|
-
def to_h: () -> Hash[String, untyped]
|
|
33
|
-
end
|
|
3
|
+
class ACP::Types::Unstable::NesRenameSuggestion = ACP::Types::Unstable::NesSuggestion::Rename
|
|
@@ -1,37 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/nes_search_and_replace_suggestion.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Unstable::NesSearchAndReplaceSuggestion
|
|
4
|
-
# @dynamic id
|
|
5
|
-
attr_reader id: String
|
|
6
|
-
|
|
7
|
-
# @dynamic uri
|
|
8
|
-
attr_reader uri: String
|
|
9
|
-
|
|
10
|
-
# @dynamic search
|
|
11
|
-
attr_reader search: String
|
|
12
|
-
|
|
13
|
-
# @dynamic replace
|
|
14
|
-
attr_reader replace: String
|
|
15
|
-
|
|
16
|
-
# @dynamic is_regex
|
|
17
|
-
attr_reader is_regex: bool?
|
|
18
|
-
|
|
19
|
-
# @dynamic meta
|
|
20
|
-
attr_reader meta: Hash[String, untyped]?
|
|
21
|
-
|
|
22
|
-
# @rbs id: String
|
|
23
|
-
# @rbs uri: String
|
|
24
|
-
# @rbs search: String
|
|
25
|
-
# @rbs replace: String
|
|
26
|
-
# @rbs is_regex: bool?
|
|
27
|
-
# @rbs meta: Hash[String, untyped]?
|
|
28
|
-
# @rbs return: void
|
|
29
|
-
def initialize: (id: String, uri: String, search: String, replace: String, ?is_regex: bool?, ?meta: Hash[String, untyped]?) -> void
|
|
30
|
-
|
|
31
|
-
# @rbs hash: Hash[String, untyped]
|
|
32
|
-
# @rbs return: ACP::Types::Unstable::NesSearchAndReplaceSuggestion
|
|
33
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::NesSearchAndReplaceSuggestion
|
|
34
|
-
|
|
35
|
-
# @rbs return: Hash[String, untyped]
|
|
36
|
-
def to_h: () -> Hash[String, untyped]
|
|
37
|
-
end
|
|
3
|
+
class ACP::Types::Unstable::NesSearchAndReplaceSuggestion = ACP::Types::Unstable::NesSuggestion::Searchandreplace
|
|
@@ -1,29 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/notice.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Unstable::Notice
|
|
4
|
-
# @dynamic severity
|
|
5
|
-
attr_reader severity: String
|
|
6
|
-
|
|
7
|
-
# @dynamic title
|
|
8
|
-
attr_reader title: String
|
|
9
|
-
|
|
10
|
-
# @dynamic description
|
|
11
|
-
attr_reader description: String?
|
|
12
|
-
|
|
13
|
-
# @dynamic meta
|
|
14
|
-
attr_reader meta: Hash[String, untyped]?
|
|
15
|
-
|
|
16
|
-
# @rbs severity: String
|
|
17
|
-
# @rbs title: String
|
|
18
|
-
# @rbs description: String?
|
|
19
|
-
# @rbs meta: Hash[String, untyped]?
|
|
20
|
-
# @rbs return: void
|
|
21
|
-
def initialize: (severity: String, title: String, ?description: String?, ?meta: Hash[String, untyped]?) -> void
|
|
22
|
-
|
|
23
|
-
# @rbs hash: Hash[String, untyped]
|
|
24
|
-
# @rbs return: ACP::Types::Unstable::Notice
|
|
25
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::Notice
|
|
26
|
-
|
|
27
|
-
# @rbs return: Hash[String, untyped]
|
|
28
|
-
def to_h: () -> Hash[String, untyped]
|
|
29
|
-
end
|
|
3
|
+
class ACP::Types::Unstable::Notice = ACP::Types::Unstable::SessionUpdate::Notice
|
|
@@ -1,25 +1,3 @@
|
|
|
1
1
|
# Generated from lib/acp/types/unstable/plan_file.rb with RBS::Inline
|
|
2
2
|
|
|
3
|
-
class ACP::Types::Unstable::PlanFile
|
|
4
|
-
# @dynamic plan_id
|
|
5
|
-
attr_reader plan_id: String
|
|
6
|
-
|
|
7
|
-
# @dynamic uri
|
|
8
|
-
attr_reader uri: String
|
|
9
|
-
|
|
10
|
-
# @dynamic meta
|
|
11
|
-
attr_reader meta: Hash[String, untyped]?
|
|
12
|
-
|
|
13
|
-
# @rbs plan_id: String
|
|
14
|
-
# @rbs uri: String
|
|
15
|
-
# @rbs meta: Hash[String, untyped]?
|
|
16
|
-
# @rbs return: void
|
|
17
|
-
def initialize: (plan_id: String, uri: String, ?meta: Hash[String, untyped]?) -> void
|
|
18
|
-
|
|
19
|
-
# @rbs hash: Hash[String, untyped]
|
|
20
|
-
# @rbs return: ACP::Types::Unstable::PlanFile
|
|
21
|
-
def self.from_h: (Hash[String, untyped] hash) -> ACP::Types::Unstable::PlanFile
|
|
22
|
-
|
|
23
|
-
# @rbs return: Hash[String, untyped]
|
|
24
|
-
def to_h: () -> Hash[String, untyped]
|
|
25
|
-
end
|
|
3
|
+
class ACP::Types::Unstable::PlanFile = ACP::Types::Unstable::PlanUpdateContent::File
|